Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. :: This script removes Windows 7, 8, and 8.1 updates KB2952664, KB2976978, and KB2977759
  2. :: Version 1.0
  3. @echo off
  4. echo:
  5. for /L %%i in (1,1,60) do (
  6. echo KB2952664 uninstallation iteration %%i
  7. start /w wusa.exe /uninstall /quiet /norestart /kb:2952664
  8. )
  9. echo:
  10. for /L %%i in (1,1,99) do (
  11. echo KB2976978 uninstallation iteration %%i
  12. start /w wusa.exe /uninstall /quiet /norestart /kb:2976978
  13. )
  14. echo:
  15. for /L %%i in (1,1,60) do (
  16. echo KB2977759 uninstallation iteration %%i
  17. start /w wusa.exe /uninstall /quiet /norestart /kb:2977759
  18. )
  19. start /w wusa.exe /uninstall /norestart /kb:2952664
  20. start /w wusa.exe /uninstall /norestart /kb:2976978
  21. start /w wusa.exe /uninstall /norestart /kb:2977759
  22. echo:
  23. echo Please reboot now to complete uninstallation of Windows updates.
  24. echo:
  25. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement