How do I reset Windows Update components?

转载 2015年07月07日 20:26:41

How do I reset Windows Update components?

 Email
 Print

All Products
Windows 8.1, Windows 8, and Windows 7
Windows Vista and Windows XP

If you receive a Windows Update error, try Solutions for common Windows Update errors.
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
Microsoft fix it banner
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 more Run now
Windows Vista and Windows XP
Microsoft fix it banner
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 more Run now

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:

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.
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
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"
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.
        Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
        Ren %systemroot%\system32\catroot2 catroot2.bak
    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)

At a command prompt, type the following command, and then press Enter:
cd /d %windir%\system32
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
Reset Winsock. To do this, at a command prompt, type the following command, and then press Enter:
netsh winsock reset
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
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
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
Install the latest Windows Update Agent.
Restart the computer.

SVD在推荐系统中的应用(资源汇总)

关于SVD在推荐系统中的应用一些比较好的资源 博文[1]给出了一个具体的实例分析,能够很好的理解SVD在推荐系统中应用对推荐结果所起的作用。 博文[2]从强调SVD应用到推荐系统领域中的思想出发,详...
  • dajunxing
  • dajunxing
  • 2016年03月27日 22:06
  • 527

HDU3605 Escape(网络流,最大流,状态压缩,ISAP算法)

Problem Description 2012 If this is the end of the world how to do? I do not know how. But no...
  • riba2534
  • riba2534
  • 2018年01月11日 21:32
  • 56

Escape (SAP模板)

2012 If this is the end of the world how to do? I do not know how. But now scientists have found tha...
  • xiaoxiede_wo
  • xiaoxiede_wo
  • 2018年01月16日 16:55
  • 14

How do I make games? A Path to Game Development

By Geoff Howland's   When I talk to people looking to get into game development some of the fir...
  • arcticpenguin
  • arcticpenguin
  • 2010年07月12日 17:21
  • 465

10012---How do you think your friends would describe you

How do you think a friend or professor who knows you well would describe you? They would say I'm a...
  • xxxcyzyy
  • xxxcyzyy
  • 2017年02月04日 19:12
  • 116

HDOJ 1040 As Easy As A+B

Problem Description These days, I am thinking about a question, how can I get a problem as easy as ...
  • qq_26525215
  • qq_26525215
  • 2016年02月06日 13:56
  • 585

How do I update Ubuntu Linux softwares?

http://www.cyberciti.biz/faq/how-do-i-update-ubuntu-linux-softwares/ Q. I have latest version of ...
  • eqiang8271
  • eqiang8271
  • 2013年03月22日 14:10
  • 578

uva10943 How do you add?

题意:把K个不超过N的非负整数加起来,使得它们的和为N,有多少种方法 思路:令dp[i][j]为和为i用了j个数的方案数,那么转移就是dp[i][j]=dp[i-1][j]+dp[i][j-1] ...
  • qq_21057881
  • qq_21057881
  • 2016年04月16日 22:14
  • 307

java JDK setup for linux(Ubuntu)

Java is popular for long time, and it become more welcomed for Google's Android, for developers. But...
  • flxue
  • flxue
  • 2015年09月12日 18:07
  • 832

LIBSVM的FQA

这里是libsvm的FQA : 我研究了好久才发现有这么个好东西的:转别人的 问: 我在那里能够找到libsvm的文件 ?  软件包中有一个 README 文件,里面详细说明了所有参数选项、...
  • wangpengfei163
  • wangpengfei163
  • 2016年09月06日 15:17
  • 559
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:How do I reset Windows Update components?
举报原因:
原因补充:

(最多只允许输入30个字)