故障现象:笔者处理客户问题时遇到“无法安装IE8,安装 IE8 提示必须重起电脑,可是重启电脑后也无法安装IE。无论是微软官方的和allenhuang定制的IE8都无法安装”
解决方法:
新建文本文档,复制以下内容,粘贴,保存为任意名称的.bat文件
然后双击 按任意键退出重装可以啦!
@echo off
rem fix update garbage value
set Update=HKLM\SOFTWARE\MicroSoft\Update
set Updates=HKLM\SOFTWARE\MicroSoft\Updates
rem set AutoUpdate="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\AutoUpdate"
echo Cleanning "%Update%"
for /f "tokens=1 delims=" %%a in ('reg query %Update%^|Findstr /i "UpdateExeVolatile"') do (
reg delete %%a /f
)
echo %Update% is cleanned!
echo Cleanning "%Updates%"
for /f "tokens=1 delims=" %%a in ('reg query %Updates%^|Findstr /i "UpdateExeVolatile"') do (
reg delete %%a /f
)
echo %Updates% is cleanned!
echo press any key to exit...
pause>nul
编辑:信诚IT保姆http://www.xcitbm.com |