如果您使用IE,那么经常与“管理加载项”打交道,因此多余的话我就不讲了,下面讲PE下启用IE“管理加载项”的方法:
一、修改做盘
论坛大多数人使用修改做盘法制作PE,使用下面的方法启用“管理加载项”:
1. 需要的文件:
EXTMGR.DLL、OCCACHE.DLL,这两个文件需要放入系统目录System32
2. 注册表文件:
extmgr.reg
-----------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}]
@="Extensions Manager Folder"
[HKEY_CLASSES_ROOT\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\DefaultIcon]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
74,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
[HKEY_CLASSES_ROOT\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
74,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\ShellFolder]
"Attributes"=hex:04,00,00,00
[HKEY_CLASSES_ROOT\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}]
@="Extensions Manager"
[HKEY_CLASSES_ROOT\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
74,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_CLASSES_ROOT\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}]
@="IE Extensions Manager Dialog"
[HKEY_CLASSES_ROOT\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
74,00,6d,00,67,00,72,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
"{692F0339-CBAA-47e6-B5B5-3B84DB604E87}"="Extensions Manager Folder"
-----------------------
对于外置IE,您可以将上面三个文件放入IE包,启动IE时,将EXTMGR.DLL和OCCACHE.DLL拷入System32目录,并将上面的注册表文件导入注册表。
二、插件做盘
对于使用PEBuilder+XPE做盘,使用下面的插件:
ie_extmgr.inf
-----------------------
; IE_Extmgr.inf
; PE Builder v3 plug-in INF file for IE Extensions Manager
; Created by Liuhj
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="IE Extensions Manager"
Enable=1
[SourceDisksFiles]
; extmgr.dll=2
; occache.dll=2
[Software.AddReg]
0x0,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}"
0x1,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}",,"Extensions Manager Folder"
0x0,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\DefaultIcon"
0x2,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\DefaultIcon",,"%SystemRoot%\system32\extmgr.dll"
0x0,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\InProcServer32"
0x2,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\InProcServer32",,"%SystemRoot%\system32\extmgr.dll"
0x1,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\InProcServer32","ThreadingModel","Apartment"
0x0,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\ShellFolder"
0x3,"Classes\CLSID\{692F0339-CBAA-47e6-B5B5-3B84DB604E87}\ShellFolder","Attributes",\
04,00,00,00
0x0,"Classes\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}"
0x1,"Classes\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}",,"Extensions Manager"
0x0,"Classes\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}\InProcServer32"
0x2,"Classes\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}\InProcServer32",,"%SystemRoot%\system32\extmgr.dll"
0x1,"Classes\CLSID\{83EE8395-7DF5-43ee-A5C0-E1F1D1B0748D}\InProcServer32","ThreadingModel","Apartment"
0x0,"Classes\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}"
0x1,"Classes\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}",,"IE Extensions Manager Dialog"
0x0,"Classes\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}\InProcServer32"
0x2,"Classes\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}\InProcServer32",,"%SystemRoot%\system32\extmgr.dll"
0x1,"Classes\CLSID\{364626c9-440b-4cc5-9e6e-f854a57fcdde}\InProcServer32","ThreadingModel","Apartment"
0x0,"Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
0x1,"Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","{692F0339-CBAA-47e6-B5B5-3B84DB604E87}","Extensions Manager Folder"
-----------------------
上面插件中[SourceDisksFiles]段下文件被注释掉了,使用PEBuilder+XPE做盘时,这两个文件已经有了。
下面附一个效果图: |