penggodamjahat

clear windows 10 update [save as .cmd]

Oct 21st, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. cls
  2. echo Simple Script to Reset / Clear Windows Update
  3. echo.
  4. echo.
  5. attrib -h -r -s %windir%\system32\catroot2
  6. attrib -h -r -s %windir%\system32\catroot2\*.*
  7. start /wait net stop wuauserv
  8. start /wait net stop CryptSvc
  9. start /wait net stop BITS
  10. del /q /s /f %windir%\system32\catroot2\*.*
  11. del /q /s /f %windir%\SoftwareDistribution\*.*
  12. del /q /s /f "%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader\*.*"
  13. start /wait net Start BITS
  14. start /wait net start CryptSvc
  15. start /wait net start wuauserv
  16. echo.
  17. echo Task completed successfully...
  18. echo.
  19. PAUSE
Add Comment
Please, Sign In to add comment