Automatically reset Windows update components

Source: Internet
Author: User

Select Product Version: All products If you receive a Windows Update error, try the common solution for Windows Update errors. Automatically reset the Windows Update component to automatically reset the Windows Update components, click"Run Now", and then follow the onscreen instructions. Windows 8.1, Windows 8, and Windows 7

The automatic diagnosis and repair of Windows Update FAQ Troubleshooter may automatically fix the problem that is described in this article.


This troubleshooter can fix many problems. Learn More

Run now
Windows Vista and Windows XP

The troubleshooting for the automatic diagnosis and repair of Windows Update frequently asked questions may automatically fix the issues that are described in this article.


This troubleshooter can fix many problems. Learn More

Run now
To manually reset the Windows update componentImportantFollow the steps in this section carefully. Improper modification of the registry may cause serious problems. Before you modify it, back up the registry to restore it if a problem occurs.

to reset the Windows Update component, follow these steps:
  1. Open a command prompt. To do this, take any of the following actions based on your version of Windows:
    • Windows 8.1 and Windows 8: in the Start screen, swipe in from the right edge of the screen to display the charms, select Search, and then search for cmd. (Or, if you're using a keyboard or menu, type cmd in 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: 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, type the following command at a command prompt. Make sure that you press the Enter key after you type each command.
    • net stop bits
    • net stop Wuauserv
    • net stop server
    • net stop cryptsvc
  3. Delete the Qmgr*.dat file. 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 the first time that you have followed the steps in this article to try to resolve Windows Update issues, you can skip to step 5 from step 4. Perform step 4 only if you have followed all steps except step 4 to resolve the Windows Update issue. (The steps in step 4 are performed by the "active" mode of the Fix it solution mentioned earlier.)
    1. renames the backup copy of the software distribution folder. To do this, type the following command at a command prompt. Make sure that you press the Enter key after you type each command.
      • ren%systemroot%\softwaredistribution softwaredistribution.bak
      • ren%systemroot%\system32\catroot2 catroot2.bak
    2. the BITS service and Windows U The Pdate service is reset to the default security descriptor. To do this, type the following command at a command prompt. Make sure that you press the Enter key 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. Re-register the BITS file and the Windows Update file. To do this, type the following command at a command prompt. Make sure that you press the Enter key 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. Resets the Winsock. To do this, type the following command at a command prompt, and then press ENTER:netsh winsock reset
  8. If you are using Windows XP, you need to configure proxy settings. To do this, type the following command at a command prompt, and then press ENTER:

    proxycfg.exe-d If you are running a different version of Windows, type the following command at a command prompt, and then press ENTER:
    netsh winhttp reset proxy
  9. Stop the BITS service, the Windows Update service, and the cryptographic service. To do this, type the following command at a command prompt. Make sure that you press the Enter key after you type each command.
    • net start bits
    • net start wuauserv
    • net start Appidsvc
    • net start cryptsvc
  10. Windows Vista only: 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.

Automatically reset Windows update components

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.