* svchost.exe CPU Usage 100%, when my Windows using Automatic Update
* svchost.exe 吃掉所有 CPU 资源
* 微软官方说明: 使用“自动更新”搜索更新或对使用 Windows Installer 的应用程序应用更新时,遇到涉及 Svchost.exe 进程的问题
* Windows Update使SVCHOST.exe的问题跟踪
@echo off
rem ****************************************
rem Repair Start!
rem reregister windows update components
rem Supported Platforms
rem Windows XP
rem Part I
rem stop windows automatic update service and Background Intelligent Transfer Service
rem ****************************************
net stop WuAuServ
net stop BITS
rem net start WuAuServ
rem net start BITS
rem ****************************************
rem Part II
rem clear the cache directory of windows update that probably be destoried
rem step 1. stop Windows automatic update sercice
rem step 2. rename the directory as SDold which name is SoftwareDistribution
rem step 3. start windows automatic update servicerem
rem ****************************************
net stop cryptsvc
ren %systemroot%\System32\Catroot2 oldcatroot2
net start cryptsvc
cd %windir%
ren SoftwareDistribution SDold
rem ****************************************
rem Part III
rem repair the dll components
rem ****************************************
REGSVR32 WUAPI.DLL /s
REGSVR32 WUAUENG.DLL /s
REGSVR32 WUAUENG1.DLL /s
REGSVR32 ATL.DLL /s
REGSVR32 WUCLTUI.DLL /s
REGSVR32 WUPS.DLL /s
REGSVR32 WUPS2.DLL /s
REGSVR32 WUWEB.DLL /s
rem ****************************************
rem Part IV
rem start the service
rem ****************************************
net start WuAuServ
net start BITS
net start Eventlog
rem ****************************************
rem operation done!
rem ****************************************
@exit 作者: 何足挂齿 时间: 2009-6-1 18:43