tacticalrmm/scripts_wip/Win_WSUS_Clear_And_Restart.bat

12 lines
269 B
Batchfile
Raw Normal View History

2021-04-27 17:11:30 +00:00
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
timeout 1
Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
Ren C:\Windows\System32\catroot2 Catroot2.old
timeout 1
net start wuauserv
net start cryptSvc
net start bits
net start msiserver