Last active
May 8, 2022 18:44
-
-
Save Eddy-Barraud/fd9b6f5b60567d47e612efb63016470a to your computer and use it in GitHub Desktop.
Just reboot services linked to windows update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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