首页 > 建站教程 > 其他 >  32位和64位Win7恢复IE桌面图标(非快捷方式)正文

32位和64位Win7恢复IE桌面图标(非快捷方式)

一、32位win7恢复桌面IE图标,将下列代码复制粘贴到记事本里面,保存为XXX.reg后,双击导入注册表,最后刷新桌面即可。

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{00000000-0000-0000-0000-100000000001}]

@="Internet Explorer"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}]

@="Internet Explorer"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\DefaultIcon]

@="C:\\Windows\\System32\\ieframe.dll,-190"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell]

@=""

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell\NoAddOns]

@="无加载项启动(&N)"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell\NoAddOns\Command]

@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -extoff"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell\Open]

@="打开主页(&H)"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell\Open\Command]

@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\""

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell\Set]

@="属性(&R)"

[HKEY_CLASSES_ROOT\CLSID\{00000000-0000-0000-0000-100000000001}\\shell\Set\Command]

@="\"C:\\Windows\\System32\\rundll32.exe\"

C:\\Windows\\System32\\shell32.dll,Control_RunDLL

C:\\Windows\\System32\\inetcpl.cpl"

 

二、64位win7恢复桌面IE图标,以下文字就是inf文件的内容,复制下列代码,粘贴到记事本里面,保存为XXX.inf,右键选择“安装”后即可。


[Version]

signature="$Windows NT$"

DriverVer=10/01/2002,5.2.3790.1830

[DefaultInstall]

AddReg = DeskIEIcon.AddReg

[DeskIEIcon.AddReg]

HKCR,"%IECLSID%","InfoTip",0x00000000,"@%11%\ieframe.dll,-881"

HKCR,"%IECLSID%",,0x00000000,"Internet Explorer"

HKCR,"%IECLSID%\DefaultIcon",,0x00000000,"%11%\ieframe.dll,-190"

HKCR,"%IECLSID%\InProcServer32",,0x00000000,"%11%\ieframe.dll" HKCR,"%IECLSID%\InProcServer32","ThreadingModel",0x00000000,"Apartment"

HKCR,"%IECLSID%\shell",,0x00000000,"OpenHomePage"

HKCR,"%IECLSID%\shell\NoAddOns",,0x00000000,"在没有加载项的情况下启动"

HKCR,"%IECLSID%\shell\NoAddOns\Command",,0x00000000,""""%16422%\Internet Explorer\iexplore.exe""" -extoff"

HKCR,"%IECLSID%\shell\OpenHomePage",,0x00000000,"打开主页(&H)"

HKCR,"%IECLSID%\shell\OpenHomePage\Command",,0x00000000,"""%16422%\Internet Explorer\iexplore.exe"""

HKCR,"%IECLSID%\shell\Properties",,0x00000000,"属性(&R)"

HKCR,"%IECLSID%\shell\Properties","Position",0x00000000,"bottom" HKCR,"%IECLSID%\shell\Properties\command",,0x00000000,""""%11%\control.exe""" """%11%\inetcpl.cpl""""

HKCR,"%IECLSID%\Shellex\ContextMenuHandlers\ieframe",,0x00000000,"{871C5380-42A0-1069-A2EA-08002B30309D}"

HKCR,"%IECLSID%\Shellex\MayChangeDefaultMenu",,0x00000000 HKCR,"%IECLSID%\ShellFolder",,0x00000000,"%11%\ieframe.dll,-190"

HKCR,"%IECLSID%\ShellFolder","HideAsDeletePerUser",0x00000000 HKCR,"%IECLSID%\ShellFolder","HideFolderVerbs",0x00000000 HKCR,"%IECLSID%\ShellFolder","WantsParseDisplayName",0x00000000

HKCR,"%IECLSID%\ShellFolder","HideOnDesktopPerUser",0x00000000

HKCR,"%IECLSID%\ShellFolder","Attributes",0x00010001,0x00000024 HKCU,"Software\Microsoft\windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu","{871C5380-42A0-1069-A2EA-08002B30308D}",0x00010001,0

HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel","{871C5380-42A0-1069-A2EA-08002B30308D}",0x00010001,0

HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{871C5380-42A0-1069-A2EA-08002B30308D}",,0x00000000

[Strings]

IECLSID = "CLSID\{871C5380-42A0-1069-A2EA-08002B30308D}"