IE我的电脑修复器
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
有些朋友IE老是出问题。。。在下只是简单的发表下解决办法。。其实说白了就是主要将注
册表还原。。。。以此来达到修复的目的(顺便说一下。。不熟悉注册表的朋友千万不要乱
改)。。。高手可以无视下面的文章。。需要的朋友可以按下
面的方法做。。经测试。。可以解决大部分IE问题。。(附带“我的电脑”修复功能)。。
代码如下:
@echo off
color B5
echo.
echo.
:ccc
echo 此bat将修复IE和“我的电脑”(所有个人设置将丢失,恢复到默认状态),只修复IE按Y,
echo.
set /p aa=只修复“我的电脑”按N,都修复按A,退出请直接关闭本窗口,继续?(Y/N/A)
if /i %aa%==Y goto bbb
if /i %aa%==N goto t
if /i %aa%==A goto bbb
if /i not %aa%=="Y||N||A" echo 输入错误,请重新输入 & goto ccc
:bbb
echo.
echo. =======================正在修复IE。。。。。。。。。
=======================
echo ^# Copyright (c) 1993-1999 Microsoft
Corp. > %windir%\system32\drivers\etc\hosts
echo ^# >> %windir%\system32\drivers\etc\hosts
echo ^# This is a sample HOSTS file used by Microsoft TCP/IP for Windows. >> %windir%\system32\drivers\etc\hosts
echo ^# >> %windir%\system32\drivers\etc\hosts
echo ^# This file contains the mappings of IP addresses to host names. Each >> %windir%\system32\drivers\etc\hosts
echo ^# entry should be kept on an individual line. The IP address should >> %windir%\system32\drivers\etc\hosts
echo ^# be placed in the first column followed by the corresponding host
name. >> %windir%\system32\drivers\etc\hosts
echo ^# The IP address and the host name should be separated by at least one >> %windir%\system32\drivers\etc\hosts
echo ^# space. >> %windir%\system32\drivers\etc\hosts
echo ^# >> %windir%\system32\drivers\etc\hosts
echo ^# Additionally, comments (such as these) may be inserted on individual >> %windir%\system32\drivers\etc\hosts
echo ^# lines or following the machine name denoted by a '#' symbol. >> %windir%\system32\drivers\etc\hosts
echo. >>%windir%\system32\drivers\etc\hosts
echo. >>%windir%\system32\drivers\etc\hosts
echo. >>%windir%\system32\drivers\etc\hosts
echo 127.0.0.1 localhost >> %windir%\system32\drivers\etc\hosts ::还原HOSTS文件
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Defa ultIcon" /ve /t REG_EXPAND_SZ /d "shdoclc.dll,-190" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\InPr ocServer32" /ve /t REG_EXPAND_SZ /d "%SystemRoot%\system32\shdocvw.dll" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\InPr ocServer32" /v ThreadingModel /t REG_SZ /d "Apartment" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shel l" /ve /t REG_SZ /d "OpenHomePage" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shel l\OpenHomePage" /ve /t REG_SZ /d "打开主页(&H)" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shel l\OpenHomePage" /ve /t REG_SZ /d "MUIVerb"="@shdoclc.dll,-10241" /f reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shel l\OpenHomePage\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Internet Explorer\iexplore\"" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shel lFolder" /ve /t REG_SZ /d "" /f
reg add
"HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shel