Important Follow the steps in this section carefully. Serious problems might occur if you modify the registry incorrectly.
Before you modify it, back up the registry for restoration in case problems occur.
To reset the Windows Update components, follow these steps:
Step 1) Open a command prompt. To do this, use one of the following methods, depending on your version of Windows:
Windows 8.1 and Windows 8: From the Start screen, swipe in from the right side to display the charms, select Search, and then search for cmd. (Or, if you are using a keyboard and mouse, type cmd at the Start screen.) In the search results, press-and-hold or right-click Command Prompt, and then select
Run as Administrator.
Windows 7 and earlier versions: Press the
Windows logo key + R, type cmd in the Run box, and then press Enter. Right-click cmd, and then select
Run as Administrator.
Step 2: Stop the BITS service, the Windows Update service, and the Cryptographic service. To do this, at a command prompt, type the following commands. Make sure that you press Enter after you type each command.
net stop bits (verifies successfully stopped)
net stop wuauserv (verifies successfully stopped)
net stop appidsvc (no verification)
net stop cryptsvc (verifies successfully stopped)
Step 3: Delete the qmgr*.dat files. To do this, at a command prompt, type the following command, and then press Enter:
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" (quotes required-no verification)
Step 4: SKIP THIS STEP IF IT IS YOUR FIRST ATTEMPT TO FIX WINDOWS UPDATE! This step removes update history!
If this is your first attempt at resolving your Windows Update issues by following the steps in this article, you should skip step 4 and go to step 5. You should follow step 4 at this point in the troubleshooting only if you cannot resolve your Windows Update issues after you follow all steps except step 4. (Step 4 is performed by the "Aggressive" mode of the Fix it Solution that was mentioned earlier.)
Rename the softare distribution folders backup copies. To do this, at a command prompt, type the following commands. Make sure that you press Enter after you type each command.
Expect no verifications! May indicate file or folder not found if typo.
Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak (success if no error)
Ren %systemroot%\system32\catroot2 catroot2.bak (success if no error)
Step 5: Reset the BITS service and the Windows Update service to the default security descriptor. To do this, at a command prompt, type the following commands. Make sure that you press Enter after you type each command.
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)
Step 6: At a command prompt, type the following command, and then press Enter. Prompt should now display Windows\System32:
cd /d %windir%\system32
Step 6: Reregister the BITS files and the Windows Update files. To do this, at a command prompt, type the following commands. Make sure that you press Enter after you type each command.
regsvr32.exe atl.dll (verified success)
regsvr32.exe urlmon.dll (verified success)
regsvr32.exe mshtml.dll (not found)
regsvr32.exe shdocvw.dll (not found)
regsvr32.exe browseui.dll (not found)
regsvr32.exe jscript.dll (verified success)
regsvr32.exe vbscript.dll (verified success)
regsvr32.exe scrrun.dll (verified success)
regsvr32.exe msxml.dll (not found)
regsvr32.exe msxml3.dll (verified success)
regsvr32.exe msxml6.dll (verified success)
regsvr32.exe actxprxy.dll (verified success)
regsvr32.exe softpub.dll (verified success)
regsvr32.exe wintrust.dll (verified success)
regsvr32.exe dssenh.dll (verified success)
regsvr32.exe rsaenh.dll (verified success)
regsvr32.exe gpkcsp.dll (failed to load)
regsvr32.exe sccbase.dll (failed to load)
regsvr32.exe slbcsp.dll (failed to load)
regsvr32.exe cryptdlg.dll (verified success)
regsvr32.exe oleaut32.dll (verified success)
regsvr32.exe ole32.dll (verified success)
regsvr32.exe shell32.dll (verified success)
regsvr32.exe initpki.dll (failed to load)
regsvr32.exe wuapi.dll (verified success)
regsvr32.exe wuaueng.dll (verified success)
regsvr32.exe wuaueng1.dll (failed to load)
regsvr32.exe wucltui.dll (failed to load)
regsvr32.exe wups.dll (verified success)
regsvr32.exe wups2.dll (verified success)
regsvr32.exe wuweb.dll (failed to load)
regsvr32.exe qmgr.dll (not found)
regsvr32.exe qmgrprxy.dll (verified success)
regsvr32.exe wucltux.dll (verified success)
regsvr32.exe muweb.dll (failed to load)
regsvr32.exe wuwebv.dll (verified success)
Step 7: Reset Winsock. To do this, at a command prompt, type the following command, and then press Enter:
netsh winsock reset (verified success)
Step 8:
ONLY If you are running Windows XP, you have to configure the proxy settings. To do this, at a command prompt, type the following command, and then press Enter:
proxycfg.exe -d
If you are running
other versions of Windows, at a command prompt, type the following command, and then press Enter:
netsh winhttp reset proxy (verified Direct Access)
Step 9: Restart the BITS service, the Windows Update service, and the Cryptographic service. To do this, at a command prompt, type the following commands. Make sure that you press Enter after you type each command.
net start bits (verified start of service)
net start wuauserv (verified success)
net start appidsvc (WAIT for verification of start!)
net start cryptsvc (already started)
Windows Vista only: Clear the BITS queue. To do this, at a command prompt, type the following command, and then press Enter:
bitsadmin.exe /reset /allusers
Step 10: Install the latest
Windows Update Agent. Select Windows version. x86 is 32 bit and x64 is 64 bit
Restart the computer.