Fix Windows Update Failing

tenaj-207
CERTIFIED EXPERT
Published:
Updated:
On occasion I run into a computer that cannot install the Windows updates.  To resolve this I have a little batch file I run that clears up the issue.  If you want to skip the batch file you can also just cut and past the commands into the command prompt and it will run through each command.

Thanks to Andrew for showing this to me.
sc config bits start= demand
sc config cryptsvc start= auto
sc config wuauserv start= auto
sc stop wuauserv
sc stop BITS
sc stop cryptsvc
regsvr32 /s wuweb.dll
regsvr32 /s wups2.dll
regsvr32 /s wups.dll
regsvr32 /s wucltui.dll
regsvr32 /s wuaueng1.dll
regsvr32 /s wuaueng.dll
regsvr32 /s wuapi.dll
regsvr32 /s softpub.dll
regsvr32 /s wintrust.dll
regsvr32 /s initpki.dll
regsvr32 /s dssenh.dll
regsvr32 /s rsaenh.dll
regsvr32 /s gpkcsp.dll
regsvr32 /s sccbase.dll
regsvr32 /s slbcsp.dll
regsvr32 /s mssip32.dll
regsvr32 /s cryptdlg.dll
sc start wuauserv
sc start BITS
sc start cryptsvc

Open in new window

1
3,998 Views
tenaj-207
CERTIFIED EXPERT

Comments (2)

Thanks, this helps a ton!
DonNetwork Administrator
CERTIFIED EXPERT

Commented:
Resetting the windows update components with the Microsoft "Fix it" here

http://support.microsoft.com/kb/971058


Is my preferred method

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.

Get access with a 7-day free trial.
You Belong in the World's Smartest IT Community