Windows Update Stuck and Not Processing Updates

From DFWLPiki
Revision as of 13:54, 22 February 2020 by Jhorne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Windows Update often needs a swift kick in the pants. Paste this script into an admin-command promt, and it will reset the software cache folders, verify the updates source.

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
cd c:\windows\
ren SoftwareDistribution SoftwareDistribution.old
cd c:\windows\system32
ren catroot2 Catroot2.old
wuauclt.exe /resetauthorization /detectnow
REG QUERY "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate"
sc config wuauserv start=auto
@RD /S /Q  c:\windows\SoftwareDistribution.old
@RD /S /Q  c:\windows\system32\Catroot2.old