Tuesday, July 27, 2010

Resetting Windows Update Components

Here's a fix for some Windows Update issue, especially if you cannot download or install Windows Updates.

First you need to copy the following lines into Notepad:

Net stop cryptsvc
Net stop wscsvc
net stop wuauserv
net stop bits
Net stop windefend
ren %windir%\system32\catroot2 catroot99.old
ren %windir%\SoftwareDistribution SoftwareDistributio99.old
ren %systemroot%\Security\*.log *.log99.old
Ren %windir%\WindowsUpdate.log WindowsUpdate99.log
Ren %windir%\system32\drivers\etc\hosts hostess99
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
regsvr32 comcat.dll /s
Regsvr32 Msxml.dll /s
Regsvr32 Msxml2.dll /s
proxycfg -u
Regsvr32 Msxml3.dll /s
regsvr32 shdoc401.dll /s
regsvr32 cdm.dll /s
RegSvr32 Wuauserv.dll /s
regsvr32 softpub.dll /s
regsvr32 wintrust.dll /s

regsvr32 initpki.dll /s
regsvr32 dssenh.dll /s
regsvr32 rsaenh.dll /s
regsvr32 gpkcsp.dll /s
regsvr32 sccbase.dll /s
regsvr32 slbcsp.dll /s
regsvr32 mssip32.dll /s
regsvr32 cryptdlg.dll /s
regsvr32 wucltui.dll /s
regsvr32 shdoc401.dll /i /s
regsvr32 dssenh.dll /s

regsvr32 rsaenh.dll /s
regsvr32 gpkcsp.dll /s
regsvr32 sccbase.dll /s
regsvr32 slbcsp.dll /s
regsvr32 asctrls.ocx /s
regsvr32 wintrust.dll /s
regsvr32 softpub.dll /s
regsvr32 shdocvw.dll /I /s
regsvr32 shdocvw.dll /s
regsvr32 browseui.dll /I /s
regsvr32 msrating.dll /s
regsvr32 mlang.dll /s
regsvr32 hlink.dll /s
regsvr32 mshtmled.dll /s
regsvr32 urlmon.dll /s
regsvr32 plugin.ocx /s
regsvr32 sendmail.dll /s
regsvr32 scrobj.dll /s
regsvr32 mmefxe.ocx /s
regsvr32 corpol.dll /s
regsvr32 msxml.dll /s
regsvr32 imgutil.dll /s
regsvr32 thumbvw.dll /s
regsvr32 cryptext.dll /s
regsvr32 rsabase.dll /s
regsvr32 inseng.dll /s
regsvr32 iesetup.dll /i /s
regsvr32 cryptdlg.dll /s
regsvr32 dispex.dll /s
regsvr32 occache.dll /s
regsvr32 occache.dll /i /s
regsvr32 iepeers.dll /s
regsvr32 urlmon.dll /i /s
regsvr32 cdfview.dll /s
regsvr32 webcheck.dll /s

regsvr32 mobsync.dll /s
regsvr32 pngfilt.dll /s
regsvr32 licmgr10.dll /s
regsvr32 icmfilter.dll /s
regsvr32 hhctrl.ocx /s
regsvr32 inetcfg.dll /s
regsvr32 tdc.ocx /s
regsvr32 MSR2C.DLL /s
regsvr32 msident.dll /s

regsvr32 msieftp.dll /s

regsvr32 xmsconf.ocx /s
regsvr32 ils.dll /s
Regsvr32 Cdm.dll /s
regsvr32 msoeacct.dll /s
regsvr32 inetcomm.dll /s
regsvr32 msdxm.ocx /s
regsvr32 dxmasf.dll /s
regsvr32 l3codecx.ax /s
regsvr32 acelpdec.ax /s
regsvr32 mpg4ds32.ax /s
regsvr32 voxmsdec.ax /s
regsvr32 danim.dll /s
regsvr32 Daxctle.ocx /s
regsvr32 lmrt.dll /s

regsvr32 datime.dll /s

regsvr32 dxtrans.dll /s

regsvr32 dxtmsft.dll /s

regsvr32 WEBPOST.DLL /s

regsvr32 WPWIZDLL.DLL /s

regsvr32 POSTWPP.DLL /s

regsvr32 CRSWPP.DLL /s

regsvr32 FTPWPP.DLL /s

regsvr32 FPWPP.DLL /s

regsvr32 WUAPI.DLL /s

regsvr32 wups2.dll /S

regsvr32 WUAUENG.DLL /s

regsvr32 ATL.DLL /s

regsvr32 WUCLTUI.DLL /s

regsvr32 WUPS.DLL /s

regsvr32 WUWEB.DLL /s

regsvr32 wshom.ocx /s

regsvr32 wshext.dll /s

regsvr32 scrrun.dll mstinit.exe /setup /s

regsvr32 msnsspc.dll /SspcCreateSspiReg /s

regsvr32 msapsspc.dll /SspcCreateSspiReg /s

regsvr32 actxprxy.dll /s

regsvr32 shdocvw.dll /s

regsvr32 mshtml.dll /s

regsvr32 browseui.dll /s

regsvr32 jscript.dll /s

regsvr32 vbscript.dll /s

regsvr32 oleaut32.dll /s

regsvr32 ole32.dll /s

REGSVR32 schannel.dll /s

REGSVR32 rsaenh.dll /s

REGSVR32 rsabase.dll /s

REGSVR32 QMGR.DLL /s

REGSVR32 QMGRPRXY.DLL /s

REGSVR32 MUWEB.DLL /s

proxycfg -u

sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

Ren %temp% tempo99

Ren c:\windows\prefetch prefetcher99

net start windefend

net start bits

net start wuauserv

net start wscsvc

net start cryptsvc

netsh winsock reset

netsh int ip reset resetlog99.txt

netsh firewall reset

netsh int ip delete arpcache

ipconfig /flushdns

ipconfig /registerdns

bitsadmin.exe /reset /allusers


Now you have to save that notepad as a batch file as seen below:

Save the file as Winupsecure.bat on the desktop.

Now double click on the batch file we just created and a the command prompt screen should appear.

Once finished just restart your system then try performing Windows Update again.

No comments:

Post a Comment