Guest User

testbatch

a guest
Feb 4th, 2016
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. @Echo Off
  2. Title Edited Out Computer Setup...May the force be with you
  3. Echo Enabling Admin with pw
  4. start /wait net user administrator /active:yes
  5. start /wait net user edited out
  6. Echo.
  7. Echo Disabling User Account Control
  8. start /wait reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f
  9. Echo.
  10. Echo Showing all Icons in Taskbar
  11. start /wait reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 0 /f
  12. Echo.
  13. Echo Turning Off Windows Firewall for All Profiles
  14. start /wait netsh advfirewall set allprofiles state off
  15. Echo.
  16. Echo Enabling RDP and Remote Assistance
  17. start /wait reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
  18. start /wait reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fAllowToGetHelp /t REG_DWORD /d 1 /f
  19. Echo.
  20. Echo Displaying all Icons in Control Panel
  21. start /wait reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ForceClassicControlPanel /t REG_DWORD /d 1 /f
  22. Echo.
  23. Echo Enabling File and printer sharing and Network Discovery
  24. start /wait netsh firewall set service type=fileandprint mode=enable profile=all
  25. start /wait netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes
  26. Echo.
  27. Echo Importing Power Configuration
  28. start /wait powercfg -import E:\DentalPowerconfiguration.pow
  29. Echo.
  30. Echo Installing CCleaner with desired settings
  31. start Copy E:\ccsetup514.exe C:\Users\Public\Desktop
  32. start C:\Users\Public\Desktop\ccsetup514.exe /S
  33. start copy E:\ccleaner.ini C:\Program Files\CCleaner\
  34. Echo.
  35. Echo Installing Latst versions of Chrome Firefox Malwarebytes and Avast..patience grasshoppa!
  36. start copy E:\Ninite.exe C:\Users\Public\Desktop
  37. start C:\Users\Public\Desktop\Ninite.exe
  38. Echo.
  39. Echo Installing GWX Control Panel
  40. start copy E:\GwxControlPanelSetup.exe C:\Users\Public\Desktop
  41. start C:\Users\Public\Desktop\GwxControlPanelSetup.exe
  42. pause
  43. Echo.
  44. Echo Deleting icons from Desktop and emptying Recycle Bin.
  45. start del "C:\Users\Public\Desktop\GWX Control Panel.lnk"
  46. start del "C:\Users\Public\Desktop\Avast Free Antivirus.lnk"
  47. start del "C:\Users\Public\Desktop\Malwarebytes Anti-Malware.lnk"
  48. start del "C:\Users\Public\Desktop\CCleaner.lnk"
  49. start del "C:\Users\Public\Desktop\Protected Workspace.lnk"
  50. start del "C:\Users\Public\Desktop\Dell Backup and Recovery.lnk"
  51. start del "C:\Users\Public\Desktop\Ninite.exe"
  52. start del "C:\users\Public\Desktop\ccsetup514.exe"
  53. start del "C:\users\Public\Desktop\GwxControlPanelSetup.exe"
  54. Echo.
  55. Echo Running CCleaner
  56. start /wait C:\Program Files\CCleaner\CCleaner.exe /Auto
  57. Echo.
  58. start C:\windows\system32\wuauclt.exe /detectnow
  59. start C:\windows\system32\wuauclt.exe /updatenow
  60. End
Add Comment
Please, Sign In to add comment