Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cls
- echo Simple Script to Reset / Clear Windows Update
- echo.
- echo.
- attrib -h -r -s %windir%\system32\catroot2
- attrib -h -r -s %windir%\system32\catroot2\*.*
- start /wait net stop wuauserv
- start /wait net stop CryptSvc
- start /wait net stop BITS
- del /q /s /f %windir%\system32\catroot2\*.*
- del /q /s /f %windir%\SoftwareDistribution\*.*
- del /q /s /f "%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader\*.*"
- start /wait net Start BITS
- start /wait net start CryptSvc
- start /wait net start wuauserv
- echo.
- echo Task completed successfully...
- echo.
- PAUSE
Add Comment
Please, Sign In to add comment