本文旨在解决头痛的IE劫持问题。关于IE劫持,产生的原因很多,简单的可能就是注册表被改,复杂的就是有病毒、木马感染或者有驱动保护,但不管如何,最终还是要进行相关注册表复位。本文所提到的所有操作,有一个前提,那就是先要清除病毒,在这个前提下,我们可以按照本文所示的相关操作来处理。
一、注册表定位
开始-运行
cmd /c reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit" /v "LastKey" /d "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace" /f & start regedit.exe
二、WINXP系统标准显示
{1f4de370-d627-11d1-ba4f-00a0c91eedba}
{450D8FBA-AD25-11D0-98A8-0800361B1103}
{645FF040-5081-101B-9F08-00AA002F954E}
{e17d4fc0-5564-11d1-83f2-00a0c90dc849}
三、IE修复处理
开始-运行
cmd /k reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace /f
cmd /k reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{1f4de370-d627-11d1-ba4f-00a0c91eedba} /ve /t REG_SZ /d "Computer Search Results Folder" /f
cmd /k reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103} /ve /t REG_SZ /f
cmd /k reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103} /v "Removal Messagee" /t REG_SZ /d "@mydocs.dll,-900" /f
cmd /k reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E} /ve /t REG_SZ /d "Recycle Bin" /f
cmd /k reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e17d4fc0-5564-11d1-83f2-00a0c90dc849} /ve /t REG_SZ /d "Search Results Folder" /f
注意:在第二步,若产生多余的CLSID={XXXXXXXX-XXXX-XXXX-XXXX- XXXXXXXXXXXXX},则执行cmd /k reg delete HKEY_CLASSES_ROOT\CLSID\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX} /f
四、假如是由网上邻居或者我的文档或者回收站 变化而来的IE图标,则可以先执行下属命令
我的文档:
cmd /k reg delete HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103} /f
我的电脑:
cmd /k reg delete HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} /f
网上邻居:
cmd /k reg delete HKEY_CLASSES_ROOT\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D} /f
回收站:
cmd /k reg delete HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E} /f
完成上述操作后,然后把附件中的文件双击后导入到注册表。
五、桌面上标准的Internet Explorer图标右键条目若有问题,则可以如下操作
A)假如IE是6.0的,则依次在开始-运行中执行下面命令
第一条:CMD /K REG ADD HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D} /ve /t reg_sz /f
第二条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D} /v InfoTip /t reg_expand_sz /d "@shdoclc.dll,-881" /f
第三条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D} /v LocalizedString /t reg_expand_sz /d "@shdoclc.dll,-880" /f
第四条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon /ve /t REG_SZ /d "shdoclc.dll,-190" /f
第五条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell /ve /t reg_sz /f
第六条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage /ve /t reg_sz /d "打开主页(&H)" /f
第七条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command /ve /t reg_expand_sz /d "C:\Program Files\Internet Explorer\iexplore.exe" /f
第八条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder /ve /t reg_sz /f
第九条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder /v Attributes /t reg_dword /d 36 /f
B)假如IE是7.0或者8.0,则依次执行下属命令
第一条:CMD /K REG ADD HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D} /ve /t reg_sz /f
第二条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon /ve /t reg_sz /d "C:\WINDOWS\system32\ieframe.dll,-190" /f
第三条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\InProcServer32 /ve /t reg_sz /d "C:\WINDOWS\system32\ieframe.dll" /f
第四条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\InProcServer32 /v ThreadingModel /t reg_sz /d "Apartment" /f
第五条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\NoAddOns /ve /t reg_sz /d "Start Without Add-ons" /f
第六条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\NoAddOns /v LegacyDisable /t reg_sz /f
第七条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\NoAddOns\Command /ve /t reg_sz /d "\"C:\Program Files\Internet Explorer\iexplore.exe\" -extoff" /f
第八条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage /ve /t reg_sz /d "Open &Home Page" /f
第九条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage /v LegacyDisable /t reg_sz /f
第十条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage /v MUIVerb /t reg_sz /d "@shdoclc.dll,-10241" /f
第十一条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command /ve /t reg_sz /d "\"C:\Program Files\Internet Explorer\iexplore.exe\"" /f
第十二条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shellex /ve /t reg_sz /f
第十三条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shellex\ContextMenuHandlers /ve /t reg_sz /f
第十四条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shellex\ContextMenuHandlers\ieframe /ve /t reg_sz /d "{871C5380-42A0-1069-A2EA-08002B30309D}" /f
第十五条:cmd /k reg add HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\Shellex\MayChangeDefaultMenu /ve /t reg_sz /f
六、桌面没有Internet Explorer图标
依次执行下属命令:
第一条命令
cmd /k reg delete "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoInternetIcon /f
第二条命令
cmd /k reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoInternetIcon /f
第三条命令
cmd /k reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v {871C5380-42A0-1069-A2EA-08002B30309D} /d 00000000 /t REG_DWORD /f
第四条命令
cmd /k reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" /v {871C5380-42A0-1069-A2EA-08002B30309D} /d 00000000 /t REG_DWORD /f
第五条命令
cmd /k reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder" /v Attributes /d 00000000 /t REG_DWORD /f
第六条命令
cmd /k reg add "HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder" /v Attributes /d 36 /t REG_DWORD /f
重新加载explorer.exe
cmd /c taskkill /f /im explorer.exe & start explorer
七、在执行上述操作后,桌面上的IE图标标识变成其他的标识(功能已经正常)则执行下属命令
第一条:cmd /k reg delete HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Explorer Bars /f
第二条:cmd /k reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\DefaultIcon /f
八、桌面显示(如我的文档、回收站或者网上邻居等)的问题
在执行上述操作后,且在桌面空白处右键-桌面-自定义桌面 正确选择我的文档、我的电脑、网上邻居后,仍无法显示上述图标,则可以执行下属命令:
cmd /k reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{1f4de370-d627-11d1-ba4f-00a0c91eedba} /ve /t reg_sz /d "Computer Search Results Folder" /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103} /ve /t reg_sz /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103} /v "Removal Message" /t reg_sz /d "@mydocs.dll,-900" /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E} /ve /t reg_sz /d "Recycle Bin" /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e17d4fc0-5564-11d1-83f2-00a0c90dc849} /ve /t reg_sz /d "Search Results Folder" /f
cmd /k reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{1f4de370-d627-11d1-ba4f-00a0c91eedba} /ve /t reg_sz /d "Computer Search Results Folder" /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103} /ve /t reg_sz /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103} /v "Removal Message" /t reg_sz /d "@mydocs.dll,-900" /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{645FF040-5081-101B-9F08-00AA002F954E} /ve /t reg_sz /d "Recycle Bin" /f
cmd /k reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e17d4fc0-5564-11d1-83f2-00a0c90dc849} /ve /t reg_sz /d "Search Results Folder" /f
执行上述命令时要注意:
对于reg delete命令,执行后返回为:系统找不到指定的注册表项或值,则算过,可执行后面的命令;若返回提示:操作失败则说明该注册表项做了权限,可以进入注册表后修改权限,然后再执行该条命令。对于reg add 返回为操作失败的话,则可以打开注册表,修改该注册表项的权限,然后再执行该条命令。
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!