Advertisement
Guest User

Shutdown command

a guest
Dec 19th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.00 KB | None | 0 0
  1. @echo off
  2. ::echo "Starting spark"
  3. ::@start "" /b "C:\Program Files (x86)\Spark\Spark.exe"  javaws -uninstall ipconfig /flushdns  C:\Program Files\Java\jre7\bin C:\Windows\System32 C:\Program Files\Microsoft Security Client
  4. echo "updating MSE"
  5. @start "" /b "C:\Program Files\Microsoft Security Client\MpCmdRun.exe" -SignatureUpdate
  6. echo " Doing windows update bs"
  7. @start "" /b "C:\Windows\System32\wuauclt.exe" /ResetAuthorization  /DetectNow
  8. echo "Cleaning Java"
  9. @start "" /b "C:\Program Files\Java\jre7\bin\javaws.exe" -uninstall
  10. echo "Flushing Dns Cache"
  11. @start "" /b "C:\Windows\System32\ipconfig.exe" /flushdns
  12. echo "Running CC Tool"
  13. rd /s /q %temp%
  14. mkdir %temp%
  15. rd /s /q c:\windows\temp\
  16. mkdir c:\windows\temp\
  17. @start "" /b "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO
  18. echo "2 Minute warning to restart ctrl c now to abort"
  19. TIMEOUT 120
  20. echo "Rebooting"
  21. @start "" /b "C:\Windows\System32\shutdown.exe" /r /f /c "This Computer has a reboot script that runs automaticly that cleans cache etc"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement