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:
- 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.
- 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
- 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"
- 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.)
- 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
- 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)
- Type the following command at a command prompt, and then press ENTER: cd/d%windir%\system32
- 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
- Resets the Winsock. To do this, type the following command at a command prompt, and then press ENTER:netsh winsock reset
- 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
- 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
- Windows Vista only: to do this, type the following command at a command prompt, and then press ENTER:bitsadmin.exe/reset/allusers
- Install the latest Windows update agent.
- Restart the computer.
|