Use PowerShell to Reset Automatically


Prefer automation? Here’s a PowerShell script that does it all in one go:

Stop-Service -Name wuauserv, cryptSvc, bits, msiserver -Force

Rename-Item -Path "C:\Windows\SoftwareDistribution" -NewName "SoftwareDistribution.old" -Force

Rename-Item -Path "C:\Windows\System32\catroot2" -NewName "catroot2.old" -Force

Start-Service -Name wuauserv, cryptSvc, bits, msiserver

To run it:

  • Open PowerShell as Administrator
  • Paste and execute the script