Fix Windows Update Failing

Published on
6,816 Points
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


Expert Comment

Thanks, this helps a ton!
LVL 48

Expert Comment

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


Is my preferred method

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Join & Write a Comment

In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month