Guest User

Thekid89

a guest
Jul 25th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. @echo off
  2.  
  3. rem This needs to be run as admin
  4. rem You will need to have batch files with the .exe or .msi pointers in them.
  5. rem I hope you guys like this
  6.  
  7.  
  8. REG ADD "HKCU\Control Panel\Desktop" /v ScreenSaverIsSecure /t REG_SZ /d 0 /f
  9. RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True
  10.  
  11. cd %USERPROFILE%\Desktop
  12. echo. 2>setup.bat
  13. echo. 2>setup.log
  14. echo @echo off>>setup.bat
  15.  
  16. echo -----------------------------------------------------------------------
  17. echo Type help to get a list of the software supported by BNR.
  18. echo Type exit to start installing software.
  19. echo -----------------------------------------------------------------------
  20. echo If you have any problems or wish to have software added to the library.
  21. echo please email me at ********@******.COM
  22. echo -----------------------------------------------------------------------
  23.  
  24. :start
  25.  
  26. set /P software=Enter What software do you need?
  27. echo %software%>>setup.log
  28.  
  29. if "%software%" == "exit" (
  30. echo Thank you for using BNR have and have a nice day.
  31. echo call "CENTRAL SERVER LOCATION"\BNR_files\shutdown.bat>>setup.bat
  32. choice /d y /t 1 > nul
  33. %USERPROFILE%\Desktop\setup.bat
  34. exit
  35. )
  36. if "%software%" == "help" (
  37. type "CENTRAL SERVER LOCATION"\BNR_files\help.log|more
  38. goto start
  39. ) else (
  40.  
  41. echo call "CENTRAL SERVER LOCATION"\BNR_files\%software%.bat>>setup.bat
  42.  
  43. goto start
  44. )
Advertisement
Add Comment
Please, Sign In to add comment