Microsoft Edge Try Microsoft Edge A fast and secure browser that's designed for Windows 10 Get started

Skip to main content
Microsoft Microsoft
Microsoft Support
  • Office
  • Windows
  • Surface
  • Xbox
  • Deals
  • Support
      • Windows apps
      • OneDrive
      • Outlook
      • Skype
      • OneNote
      • PCs & tablets
      • Accessories
      • VR & mixed reality
      • Microsoft HoloLens
      • Xbox games
      • PC games
      • Windows digital games
      • Movies & TV
      • Books
      • Microsoft Azure
      • Microsoft Dynamics 365
      • Microsoft 365
      • Windows Server
      • Enterprise
      • Data platform
      • .NET
      • Visual Studio
      • Windows Dev Center
      • Docs
      • Microsoft Store
      • Microsoft Rewards
      • Free downloads & security
      • Education
      • Store locations
      • Gift cards
    • View all
    0
    Sign in
    Microsoft Support
    Contact us

    How do I reset Windows Update components?

    Content provided by Microsoft

    Content provided by Microsoft

    Applies to: Windows UpdateMicrosoft UpdateWindows 10Windows 8.1Windows 7 More


    If you receive a Windows Update error, try the steps in Fix Windows Update errors. The steps and troubleshooters on that page will reset the Windows Update components for you.
     

    How to reset Windows Update components manually

     

    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 do this, use one of the following methods, depending on your version of Windows:
       
      • Windows 10: Press and hold (or right-click) the Windows logo button on the taskbar and then select Command Prompt (Admin). Select Yes when the User Account Control box appears.
      • Windows8.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.
    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
      • net stop wuauserv
      • net stop appidsvc
      • net stop cryptsvc
    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"
    4. 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.)
       
      1. 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.
         
        • Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
        • Ren %systemroot%\system32\catroot2 catroot2.bak
      2. 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)
    5. At a command prompt, type the following command, and then press Enter:
      cd /d %windir%\system32
    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
      • 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, at a command prompt, type the following command, and then press Enter:
      netsh winsock reset
    8. 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
    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
      • net start wuauserv
      • net start appidsvc
      • net start cryptsvc
    10. 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
    11. Install the latest Windows Update Agent.
    12. Restart the computer.

    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

    Last Updated: Sep 19, 2018
    • Email
    • Print
    • Subscribe RSS Feeds

      Copied

    Thanks! Your feedback will help us improve the support experience.

    What's new

    • NEW Surface Pro 6
    • NEW Surface Laptop 2
    • NEW Surface Go
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Store & Support

    • Account profile
    • Download Center
    • Sales & support
    • Returns
    • Order tracking
    • Store locations
    • Support
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Enterprise
    • Data platform
    • Find a solution provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Manufacturing & resources
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft developer program
    • Channel 9
    • Office Dev Center

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Contact us
    • Terms of use
    • Privacy and cookies
    • Trademarks
    • Safety & eco
    • © Microsoft 2018

    This site in other countries/regions

    Algérie - Français
    Argentina - Español
    Australia - English
    Belgique - Français
    België - Nederlands
    Bolivia - Español
    Bosna i Hercegovina - Hrvatski
    Brasil - Português
    Canada - English
    Canada - Français
    Chile - Español
    Colombia - Español
    Costa Rica - Español
    Crna Gora - Srpski
    Danmark - Dansk
    Deutschland - Deutsch
    Dominican Republic - Español
    Ecuador - Español
    Eesti - Eesti
    El Salvador - Español
    España - Español
    Estados Unidos - Español
    France - Français
    Guatemala - Español
    Hong Kong SAR - English
    Hrvatska - Hrvatski
    India - English
    Indonesia (Bahasa) - Bahasa
    Ireland - English
    Italia - Italiano
    Latvija - Latviešu
    Lietuva - Lietuvių
    Luxembourg - Français
    Magyarország - Magyar
    Malaysia - English
    Maroc - Français
    México - Español
    Nederland - Nederlands
    New Zealand - English
    Norge - Bokmål
    Panamá - Español
    Paraguay - Español
    Perú - Español
    Philippines - English
    Polska - Polski
    Portugal - Português
    Puerto Rico - Español
    România - Română
    Schweiz - Deutsch
    Singapore - English
    Slovenija - Slovenščina
    Slovensko - Slovenčina
    South Africa - English
    Srbija - Srpski
    Suisse - Français
    Suomi - Suomi
    Sverige - Svenska
    Tunisie - Français
    Türkiye - Türkçe
    United Kingdom - English
    United States - English
    Uruguay - Español
    Venezuela - Español
    Việt Nam - Tiếng việt
    Ísland - Íslenska
    Österreich - Deutsch
    Česká Republika - Čeština
    Ελλάδα - Ελληνικά
    България - Български
    Казахстан - Русский
    Россия - Русский
    Україна - Українська
    ישראל - עברית
    الإمارات العربية المتحدة - العربية
    المملكة العربية السعودية - العربية
    مصر - العربية
    भारत - हिंदी
    ไทย - ไทย
    中国 - 简体中文
    台灣 - 繁體中文
    日本 - 日本語
    香港特別行政區 - 繁體中文
    대한민국 - 한국어