Automatically reset Windows Update components

To automatically reset Windows Update components, click Run now, and then follow the on-screen instruction.
Windows 8.1, Windows 8 and Windows 7
Collapse this imageExpand this image
The Automatically diagnose and fix common problems with Windows Update troubleshooter may automatically fix the problem described in this article.
This troubleshooter fixes many problems.learn moreRun now
Collapse this imageExpand this image
Windows Vista and Windows XP
Collapse this imageExpand this image
The Automatically diagnose and fix common problems with Windows Update troubleshooter may automatically fix the problem described in this article.
This troubleshooter fixes many problems.learn moreRun now
Collapse this imageExpand this image

Manually reset Windows Update components

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:
  1. Open a command prompt. To open a command prompt, press the Windows logo key + R, copy and paste (or type) the following command in the Run box, and then press ENTER: 

    cmd
  2. Stop the BITS service and the Windows Update service. To do this, type the following commands at a command prompt. Press ENTER after you type each command.
    • net stop bits
    • net stop wuauserv
  3. Delete the qmgr*.dat files. To do this, type the following command at a command prompt, and then press ENTER:
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  4. If this is your first attempt at resolving your Windows Update issues by using the steps in this article, go to step 5 without carrying out step 4. Step 4 should only be performed at this point in the troubleshooting if you cannot resolve your Windows Update issues after following all steps but step 4. The steps in step 4 are also performed by the "Aggressive" mode of the Fix it Solution above:
    1. Rename the following folders to *.BAK:
      • %systemroot%\SoftwareDistribution\DataStore
      • %systemroot%\SoftwareDistribution\Download
      • %systemroot%\system32\catroot2
      To do this, type the following commands at a command prompt. Press ENTER after you type each command.
      • Ren %systemroot%\SoftwareDistribution\DataStore *.bak
      • Ren %systemroot%\SoftwareDistribution\Download *.bak
      • Ren %systemroot%\system32\catroot2 *.bak
    2. Reset the BITS service and the Windows Update service to the default security descriptor. To do this, type the following commands at a command prompt. 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)
  5. Type the following command at a command prompt, and then press ENTER:
    cd /d %windir%\system32
  6. Reregister the BITS files and the Windows Update files. To do this, type the following commands at a command prompt. Press ENTER after you type each command.
    • regsvr32.exe atl.dll
    • regsvr32.exe urlmon.dll
    • regsvr32.exe mshtml.dll
    • regsvr32.exe shdocvw.dll
    • regsvr32.exe browseui.dll
    • regsvr32.exe jscript.dll
    • regsvr32.exe vbscript.dll
    • regsvr32.exe scrrun.dll
    • regsvr32.exe msxml.dll
    • regsvr32.exe msxml3.dll
    • regsvr32.exe msxml6.dll
    • regsvr32.exe actxprxy.dll
    • regsvr32.exe softpub.dll
    • regsvr32.exe wintrust.dll
    • regsvr32.exe dssenh.dll
    • regsvr32.exe rsaenh.dll
    • regsvr32.exe gpkcsp.dll
    • regsvr32.exe sccbase.dll
    • regsvr32.exe slbcsp.dll
    • regsvr32.exe cryptdlg.dll
    • regsvr32.exe oleaut32.dll
    • regsvr32.exe ole32.dll
    • regsvr32.exe shell32.dll
    • regsvr32.exe initpki.dll
    • regsvr32.exe wuapi.dll
    • regsvr32.exe wuaueng.dll
    • regsvr32.exe wuaueng1.dll
    • regsvr32.exe wucltui.dll
    • regsvr32.exe wups.dll
    • regsvr32.exe wups2.dll
    • regsvr32.exe wuweb.dll
    • regsvr32.exe qmgr.dll
    • regsvr32.exe qmgrprxy.dll
    • regsvr32.exe wucltux.dll
    • regsvr32.exe muweb.dll
    • regsvr32.exe wuwebv.dll
  7. Reset Winsock. To do this, type the following command at a command prompt, and then press ENTER:
    netsh winsock reset
  8. If you are running Windows XP, you have to configure the proxy settings. To do this, type the following command at a command prompt, and then press ENTER:

    proxycfg.exe -d
    If you are running other versions of Windows, type the following command at a command prompt, and then press ENTER:
    netsh winhttp reset proxy
  9. Restart the BITS service and the Windows Update service. To do this, type the following commands at a command prompt. Press ENTER after you type each command.
    • net start bits
    • net start wuauserv
  10. If you are running Windows Vista, clear the BITS queue. To do this, type the following command at a command prompt, and then press ENTER:
    bitsadmin.exe /reset /allusers
  11. Install the latest Windows Update Agent.
  12. Restart the computer.

For more information

References

Windows Update error 80072efe or 80072f76
Windows Update error "0x800A138F: There are no updates available at this time"
Visit the Answers community and post your product Windows Update question

About this article

Article ID: 971058
Last review: December 9, 2013
Applies to: Microsoft Windows Update, Microsoft Update
Would you like to provide feedback on this article?
 

Get more support from smallbusiness.support.microsoft.com

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.