[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More


Fix Windows Update Failing

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

Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month