<

Fix Windows Update Failing

Published on
6,905 Points
3,805 Views
1 Endorsement
Last Modified:
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
Author:tenaj-207
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free