-----------------------------------------------------------------------------------------------------------
net start wuauserv
path=c:;d:;c:\windows;c:\windows\system32
c:
cd %systemroot%\system32
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f
net stop BITS
net stop CryptSvc
net stop wuauserv
cd %systemroot%
ren SoftwareDistribution SoftwareDistribution.old
cd %systemroot%\system32
ren catroot2 catroot2.old
net start BITS
net start CryptSvc
net start wuauserv
-----------------------------------------------------------------------------------------------------------