Skip to content

Instantly share code, notes, and snippets.

@Eddy-Barraud
Last active May 8, 2022 18:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Eddy-Barraud/fd9b6f5b60567d47e612efb63016470a to your computer and use it in GitHub Desktop.
Save Eddy-Barraud/fd9b6f5b60567d47e612efb63016470a to your computer and use it in GitHub Desktop.
Just reboot services linked to windows update
@echo off
echo Reminder: This must be run from an elevated command prompt!
pause
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment