本帖子大部分方式方法都来源于网上,经测试整理而成!
主要来源:wingwy 给winpe添加explorer教程(上下)!
本帖子适合会最基本注册表操作童鞋,小白请跳过(因为解释一些基本操作太费时费力了)
废话不多说。直接上干货!
工具:(因为本人测试用的是win7 x86, 所以这里的工具用的是 x86的)
官方 win7 PE 完整wim包
官方 win7 x86 旗舰版 完整wim包
1. 在以下目录下添加文件:\windows\System32\winpeshl.ini
文件内容为:
[LaunchApps]
X:\windows\explorer.exe
2. 修改PE注册表
添加启动资源管理器
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Shell"="explorer.exe"
桌面添加我的电脑图标
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000000
不添加无法启动完成,会无限重启
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{ECD4FC4D-521C-11D0-B792-00A0C90312E1}]
@="Shell Rebar BandSite"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{ECD4FC4D-521C-11D0-B792-00A0C90312E1}\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,\
70,00,6c,00,6f,00,72,00,65,00,72,00,66,00,72,00,61,00,6d,00,65,00,2e,00,64,\
00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{ECD4FC4E-521C-11D0-B792-00A0C90312E1}]
@="Shell Band Site Menu"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{ECD4FC4E-521C-11D0-B792-00A0C90312E1}\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,\
70,00,6c,00,6f,00,72,00,65,00,72,00,66,00,72,00,61,00,6d,00,65,00,2e,00,64,\
00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
不添加不能进入"黑屏"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{13a4bbe8-6527-40cb-a996-1602829541ef}]
@="Frame Automation Object"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{13a4bbe8-6527-40cb-a996-1602829541ef}\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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,65,00,78,00,\
70,00,6c,00,6f,00,72,00,65,00,72,00,66,00,72,00,61,00,6d,00,65,00,2e,00,64,\
00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"
3. 添加explorer启动必须的文件 (从 官方 win7 x86 旗舰版 完整wim包 中复制文件)
文件列表如下:(已有文件跳过)
\Windows\System32\actxprxy.dll
\Windows\System32\comctl32.dl
\Windows\System32\oledlg.dll
\Windows\System32\shdocvw.dll
\Windows\System32\shellstyle.dll
\Windows\System32\zh-CN\comctl32.dll.mui
\Windows\System32\zh-CN\oledlg.dll.mui
\Windows\System32\zh-CN\shdocvw.dll.mui
\Windows\System32\zh-CN\shellstyle.dll.mui
第一个初始版本就好了,效果:
说明:这个版本只能让系统正常启动进入到explorer桌面,无法点击、关机等操作!
更多DIV功能后期持续更新!
|