无忧启动论坛

标题: 【全网首发!】纯手工自制Win11 23H2 UWP PE一条龙教程!(上) [打印本页]

作者: 远大的理想    时间: 前天 15:22
标题: 【全网首发!】纯手工自制Win11 23H2 UWP PE一条龙教程!(上)
本帖最后由 远大的理想 于 2025-4-21 22:02 编辑




简介
前段时间发的贴子:[原创] ==>从零开始,手工制作Win11 24H2 PE一条龙教程!(上)

经过将近半年陆陆续续的研究,终于把在通常的PE系统中使用UWP的难关攻克了。其实PE添加UWP组件并不难,只是需要一定的耐心和经验。开一篇帖子,分享一下制作经验。
(顺便吐槽一下最近论坛怎么回事?每次打开帖子都要加载好久,附件也经常上传不上去……)
同样还是要感谢为此教程贡献力量的所有大神和工具们(比如Wimbuilder2,现在已经可以构建生成UWP PE了),没有他们就不会有这篇教程。

注意:
本教程的目的仅为研究 Windows 操作系统的功能和稳定性,如有需要请购买正版软件!
本文教程中涉及对大量注册表、文件等的处理,需要对PE系统有足够了解、有一定耐心的人进行操作。本人不对因操作不当而导致的损失负责!
使用UWP应用对PE系统的要求非常高,包括但不限于文件、权限、注册表等。所以手工制作不保证能100%成功!


废话少说,制作研究不易,麻烦多多支持!


测试版本:Win11 23H2 10.0.22631.2428
测试母盘:zh-cn_windows_11_business_editions_version_23h2_x64_dvd_2a79e0f1.iso

制作前准备:

一、制作 CmdPE
1.1、挂载23H2系统镜像,用7-Zip打开install.wim文件,将以下文件提取出来放在一个地方备用:
  1. \Windows\System32\Recovery\Winre.wim
复制代码



1.2、用WimTool工具解开Winre.wim到BOOT文件夹。

1.3、精简无用文件。
(注:运行UWP应用对系统文件的要求非常苛刻,所以精简一定要适度,不建议自行删除PE中其他的文件,也不要随意修改文件夹的权限设置,否则影响UWP运行!)

1.3.1、以下文件和文件夹可以删除。删除时需要SYSTEM权限,建议使用NSudo提权,不要直接修改PE的文件夹权限:
  1. sources
  2. Windows\System32\ar-SA
  3. Windows\System32\bg-BG
  4. Windows\System32\ca-ES
  5. Windows\System32\cs-CZ
  6. Windows\System32\da-DK
  7. Windows\System32\de-DE
  8. Windows\System32\el-GR
  9. Windows\System32\en-GB
  10. Windows\System32\es-ES
  11. Windows\System32\es-MX
  12. Windows\System32\et-EE
  13. Windows\System32\eu-ES
  14. Windows\System32\fi-FI
  15. Windows\System32\fr-CA
  16. Windows\System32\fr-FR
  17. Windows\System32\gl-ES
  18. Windows\System32\he-IL
  19. Windows\System32\hr-HR
  20. Windows\System32\hu-HU
  21. Windows\System32\id-ID
  22. Windows\System32\it-IT
  23. Windows\System32\ja-JP
  24. Windows\System32\ko-KR
  25. Windows\System32\lt-LT
  26. Windows\System32\lv-LV
  27. Windows\System32\nb-NO
  28. Windows\System32\nl-NL
  29. Windows\System32\pl-PL
  30. Windows\System32\pt-BR
  31. Windows\System32\pt-PT
  32. Windows\System32\ro-RO
  33. Windows\System32\ru-RU
  34. Windows\System32\sk-SK
  35. Windows\System32\sl-SI
  36. Windows\System32\sr-Latn-RS
  37. Windows\System32\sv-SE
  38. Windows\System32\th-TH
  39. Windows\System32\tr-TR
  40. Windows\System32\vi-VN
  41. Windows\System32\uk-UA
  42. Windows\System32\zh-TW
  43. Windows\Fonts\85f1255.fon
  44. Windows\Fonts\85f1256.fon
  45. Windows\Fonts\85f1257.fon
  46. Windows\Fonts\85s874.fon
  47. Windows\Fonts\85s1255.fon
  48. Windows\Fonts\85s1256.fon
  49. Windows\Fonts\85s1257.fon
  50. Windows\Fonts\8514fix.fon
  51. Windows\Fonts\8514fixe.fon
  52. Windows\Fonts\8514fixg.fon
  53. Windows\Fonts\8514fixr.fon
  54. Windows\Fonts\8514fixt.fon
  55. Windows\Fonts\8514oem.fon
  56. Windows\Fonts\8514oeme.fon
  57. Windows\Fonts\8514oemg.fon
  58. Windows\Fonts\8514oemr.fon
  59. Windows\Fonts\8514oemt.fon
  60. Windows\Fonts\8514sys.fon
  61. Windows\Fonts\8514syse.fon
  62. Windows\Fonts\8514sysg.fon
  63. Windows\Fonts\8514sysr.fon
  64. Windows\Fonts\8514syst.fon
  65. Windows\Fonts\85775.fon
  66. Windows\Fonts\85855.fon
  67. Windows\Fonts\app775.fon
  68. Windows\Fonts\app850.fon
  69. Windows\Fonts\app852.fon
  70. Windows\Fonts\app855.fon
  71. Windows\Fonts\app857.fon
  72. Windows\Fonts\app866.fon
  73. Windows\Fonts\app932.fon
  74. Windows\Fonts\app936.fon
  75. Windows\Fonts\app949.fon
  76. Windows\Fonts\app950.fon
  77. Windows\Fonts\c8514fix.fon
  78. Windows\Fonts\c8514oem.fon
  79. Windows\Fonts\c8514sys.fon
  80. Windows\Fonts\cga40woa.fon
  81. Windows\Fonts\cga80woa.fon
  82. Windows\Fonts\cga40737.fon
  83. Windows\Fonts\cga40850.fon
  84. Windows\Fonts\cga40852.fon
  85. Windows\Fonts\cga40857.fon
  86. Windows\Fonts\cga40866.fon
  87. Windows\Fonts\cga40869.fon
  88. Windows\Fonts\cga80737.fon
  89. Windows\Fonts\cga80850.fon
  90. Windows\Fonts\cga80852.fon
  91. Windows\Fonts\cga80857.fon
  92. Windows\Fonts\cga80866.fon
  93. Windows\Fonts\cga80869.fon
  94. Windows\Fonts\consola.ttf
  95. Windows\Fonts\consolab.ttf
  96. Windows\Fonts\consolai.ttf
  97. Windows\Fonts\consolaz.ttf
  98. Windows\Fonts\cvgafix.fon
  99. Windows\Fonts\cvgasys.fon
  100. Windows\Fonts\dos737.fon
  101. Windows\Fonts\dos869.fon
  102. Windows\Fonts\dosapp.fon
  103. Windows\Fonts\ega40woa.fon
  104. Windows\Fonts\ega80woa.fon
  105. Windows\Fonts\ega40737.fon
  106. Windows\Fonts\ega40850.fon
  107. Windows\Fonts\ega40852.fon
  108. Windows\Fonts\ega40857.fon
  109. Windows\Fonts\ega40866.fon
  110. Windows\Fonts\ega40869.fon
  111. Windows\Fonts\ega80737.fon
  112. Windows\Fonts\ega80850.fon
  113. Windows\Fonts\ega80852.fon
  114. Windows\Fonts\ega80857.fon
  115. Windows\Fonts\ega80866.fon
  116. Windows\Fonts\ega80869.fon
  117. Windows\Fonts\85f874.fon
  118. Windows\Fonts\lucon.ttf
  119. Windows\Fonts\h8514fix.fon
  120. Windows\Fonts\h8514oem.fon
  121. Windows\Fonts\h8514sys.fon
  122. Windows\Fonts\hvgafix.fon
  123. Windows\Fonts\hvgasys.fon
  124. Windows\Fonts\j8514fix.fon
  125. Windows\Fonts\j8514oem.fon
  126. Windows\Fonts\j8514sys.fon
  127. Windows\Fonts\jvgafix.fon
  128. Windows\Fonts\jvgasys.fon
  129. Windows\Fonts\s8514oem.fon
  130. Windows\Fonts\mingliu.ttc
  131. Windows\Fonts\msyhl.ttc
  132. Windows\Fonts\s8514fix.fon
  133. Windows\Fonts\sylfaen.ttf
  134. Windows\Fonts\svgasys.fon
  135. Windows\Fonts\tahomabd.ttf
  136. Windows\Fonts\vga737.fon
  137. Windows\Fonts\vga775.fon
  138. Windows\Fonts\vga850.fon
  139. Windows\Fonts\vga852.fon
  140. Windows\Fonts\vga855.fon
  141. Windows\Fonts\vga857.fon
  142. Windows\Fonts\vga860.fon
  143. Windows\Fonts\vga861.fon
  144. Windows\Fonts\vga863.fon
  145. Windows\Fonts\vga865.fon
  146. Windows\Fonts\vga866.fon
  147. Windows\Fonts\vga869.fon
  148. Windows\Fonts\vga932.fon
  149. Windows\Fonts\vga949.fon
  150. Windows\Fonts\vga950.fon
  151. Windows\Fonts\vgaf874.fon
  152. Windows\Fonts\vgaf1255.fon
  153. Windows\Fonts\vgaf1256.fon
  154. Windows\Fonts\vgaf1257.fon
  155. Windows\Fonts\vgafixe.fon
  156. Windows\Fonts\vgafixg.fon
  157. Windows\Fonts\vgafixr.fon
  158. Windows\Fonts\vgafixt.fon
  159. Windows\Fonts\vgas874.fon
  160. Windows\Fonts\vgas1255.fon
  161. Windows\Fonts\vgas1256.fon
  162. Windows\Fonts\vgas1257.fon
  163. Windows\Fonts\vgasyse.fon
  164. Windows\Fonts\vgasysg.fon
  165. Windows\Fonts\vgasysr.fon
  166. Windows\Fonts\vgasyst.fon
  167. Windows\System32\KBDURDU.DLL
  168. Windows\System32\KBDUSA.DLL
  169. Windows\System32\KBDUSL.DLL
  170. Windows\System32\KBDUSR.DLL
  171. Windows\System32\KBDUSX.DLL
  172. Windows\System32\KBDUZB.DLL
  173. Windows\System32\KBDVNTC.DLL
  174. Windows\System32\KBDWOL.DLL
  175. Windows\System32\KBDYAK.DLL
  176. Windows\System32\KBDYBA.DLL
  177. Windows\System32\KBDYCC.DLL
  178. Windows\System32\KBDYCL.DLL
  179. Windows\System32\kbd101.dll
  180. Windows\System32\kbd101a.dll
  181. Windows\System32\kbd101b.dll
  182. Windows\System32\kbd101c.dll
  183. Windows\System32\kbd103.dll
  184. Windows\System32\kbd106.dll
  185. Windows\System32\kbd106n.dll
  186. Windows\System32\KBDA1.DLL
  187. Windows\System32\KBDA2.DLL
  188. Windows\System32\KBDA3.DLL
  189. Windows\System32\KBDADLM.DLL
  190. Windows\System32\KBDAL.DLL
  191. Windows\System32\KBDARME.DLL
  192. Windows\System32\kbdarmph.dll
  193. Windows\System32\kbdarmty.dll
  194. Windows\System32\KBDARMW.DLL
  195. Windows\System32\kbdax2.dll
  196. Windows\System32\KBDAZE.DLL
  197. Windows\System32\KBDAZEL.DLL
  198. Windows\System32\KBDAZST.DLL
  199. Windows\System32\KBDBASH.DLL
  200. Windows\System32\KBDBE.DLL
  201. Windows\System32\KBDBENE.DLL
  202. Windows\System32\KBDBGPH.DLL
  203. Windows\System32\KBDBGPH1.DLL
  204. Windows\System32\KBDBHC.DLL
  205. Windows\System32\KBDBLR.DLL
  206. Windows\System32\KBDBR.DLL
  207. Windows\System32\KBDBU.DLL
  208. Windows\System32\KBDBUG.DLL
  209. Windows\System32\KBDBULG.DLL
  210. Windows\System32\KBDCA.DLL
  211. Windows\System32\KBDCAN.DLL
  212. Windows\System32\KBDCHER.DLL
  213. Windows\System32\KBDCHERP.DLL
  214. Windows\System32\KBDCR.DLL
  215. Windows\System32\KBDCZ.DLL
  216. Windows\System32\KBDCZ1.DLL
  217. Windows\System32\KBDCZ2.DLL
  218. Windows\System32\KBDDA.DLL
  219. Windows\System32\KBDDIV1.DLL
  220. Windows\System32\KBDDIV2.DLL
  221. Windows\System32\KBDDV.DLL
  222. Windows\System32\KBDDZO.DLL
  223. Windows\System32\KBDES.DLL
  224. Windows\System32\KBDEST.DLL
  225. Windows\System32\KBDFA.DLL
  226. Windows\System32\kbdfar.dll
  227. Windows\System32\KBDFC.DLL
  228. Windows\System32\KBDFI.DLL
  229. Windows\System32\KBDFI1.DLL
  230. Windows\System32\KBDFO.DLL
  231. Windows\System32\KBDFR.DLL
  232. Windows\System32\KBDFTHRK.DLL
  233. Windows\System32\KBDGAE.DLL
  234. Windows\System32\KBDGEO.DLL
  235. Windows\System32\kbdgeoer.dll
  236. Windows\System32\kbdgeome.dll
  237. Windows\System32\kbdgeooa.dll
  238. Windows\System32\kbdgeoqw.dll
  239. Windows\System32\KBDGKL.DLL
  240. Windows\System32\KBDGN.DLL
  241. Windows\System32\KBDGR.DLL
  242. Windows\System32\KBDGR1.DLL
  243. Windows\System32\KBDGRLND.DLL
  244. Windows\System32\KBDGTHC.DLL
  245. Windows\System32\KBDHAU.DLL
  246. Windows\System32\KBDHAW.DLL
  247. Windows\System32\KBDHE.DLL
  248. Windows\System32\KBDHE220.DLL
  249. Windows\System32\KBDHE319.DLL
  250. Windows\System32\KBDHEB.DLL
  251. Windows\System32\kbdhebl3.dll
  252. Windows\System32\KBDHELA2.DLL
  253. Windows\System32\KBDHELA3.DLL
  254. Windows\System32\KBDHEPT.DLL
  255. Windows\System32\KBDHU.DLL
  256. Windows\System32\KBDHU1.DLL
  257. Windows\System32\kbdibm02.dll
  258. Windows\System32\KBDIBO.DLL
  259. Windows\System32\KBDIC.DLL
  260. Windows\System32\KBDINASA.DLL
  261. Windows\System32\KBDINBE1.DLL
  262. Windows\System32\KBDINBE2.DLL
  263. Windows\System32\KBDINBEN.DLL
  264. Windows\System32\KBDINDEV.DLL
  265. Windows\System32\KBDINEN.DLL
  266. Windows\System32\KBDINGUJ.DLL
  267. Windows\System32\KBDINHIN.DLL
  268. Windows\System32\KBDINKAN.DLL
  269. Windows\System32\KBDINMAL.DLL
  270. Windows\System32\KBDINMAR.DLL
  271. Windows\System32\KBDINORI.DLL
  272. Windows\System32\KBDINPUN.DLL
  273. Windows\System32\KBDINTAM.DLL
  274. Windows\System32\KBDINTEL.DLL
  275. Windows\System32\KBDINUK2.DLL
  276. Windows\System32\KBDIR.DLL
  277. Windows\System32\KBDIT.DLL
  278. Windows\System32\KBDIT142.DLL
  279. Windows\System32\KBDIULAT.DLL
  280. Windows\System32\KBDJAV.DLL
  281. Windows\System32\KBDJPN.DLL
  282. Windows\System32\KBDKAZ.DLL
  283. Windows\System32\KBDKHMR.DLL
  284. Windows\System32\KBDKNI.DLL
  285. Windows\System32\KBDKOR.DLL
  286. Windows\System32\KBDKURD.DLL
  287. Windows\System32\KBDKYR.DLL
  288. Windows\System32\KBDLA.DLL
  289. Windows\System32\KBDLAO.DLL
  290. Windows\System32\kbdlisub.dll
  291. Windows\System32\kbdlisus.dll
  292. Windows\System32\kbdlk41a.dll
  293. Windows\System32\KBDLT.DLL
  294. Windows\System32\KBDLT1.DLL
  295. Windows\System32\KBDLT2.DLL
  296. Windows\System32\KBDLV.DLL
  297. Windows\System32\KBDLV1.DLL
  298. Windows\System32\KBDLVST.DLL
  299. Windows\System32\KBDMAC.DLL
  300. Windows\System32\KBDMACST.DLL
  301. Windows\System32\KBDMAORI.DLL
  302. Windows\System32\KBDMLT47.DLL
  303. Windows\System32\KBDMLT48.DLL
  304. Windows\System32\KBDMON.DLL
  305. Windows\System32\KBDMONMO.DLL
  306. Windows\System32\KBDMONST.DLL
  307. Windows\System32\KBDMYAN.DLL
  308. Windows\System32\KBDNE.DLL
  309. Windows\System32\kbdnec.dll
  310. Windows\System32\kbdnec95.dll
  311. Windows\System32\kbdnecat.dll
  312. Windows\System32\kbdnecnt.dll
  313. Windows\System32\KBDNEPR.DLL
  314. Windows\System32\kbdnko.dll
  315. Windows\System32\KBDNO.DLL
  316. Windows\System32\KBDNO1.DLL
  317. Windows\System32\KBDNSO.DLL
  318. Windows\System32\KBDNTL.DLL
  319. Windows\System32\KBDOGHAM.DLL
  320. Windows\System32\KBDOLCH.DLL
  321. Windows\System32\KBDOLDIT.DLL
  322. Windows\System32\KBDOSA.DLL
  323. Windows\System32\KBDOSM.DLL
  324. Windows\System32\KBDPASH.DLL
  325. Windows\System32\kbdphags.dll
  326. Windows\System32\KBDPL.DLL
  327. Windows\System32\KBDPL1.DLL
  328. Windows\System32\KBDPO.DLL
  329. Windows\System32\KBDRO.DLL
  330. Windows\System32\KBDROPR.DLL
  331. Windows\System32\KBDROST.DLL
  332. Windows\System32\KBDRU.DLL
  333. Windows\System32\KBDRU1.DLL
  334. Windows\System32\KBDRUM.DLL
  335. Windows\System32\KBDSF.DLL
  336. Windows\System32\KBDSG.DLL
  337. Windows\System32\KBDSL.DLL
  338. Windows\System32\KBDSL1.DLL
  339. Windows\System32\KBDSMSFI.DLL
  340. Windows\System32\KBDSMSNO.DLL
  341. Windows\System32\KBDSN1.DLL
  342. Windows\System32\KBDSORA.DLL
  343. Windows\System32\KBDSOREX.DLL
  344. Windows\System32\KBDSORS1.DLL
  345. Windows\System32\KBDSORST.DLL
  346. Windows\System32\KBDSP.DLL
  347. Windows\System32\KBDSW.DLL
  348. Windows\System32\KBDSW09.DLL
  349. Windows\System32\KBDSYR1.DLL
  350. Windows\System32\KBDSYR2.DLL
  351. Windows\System32\KBDTAILE.DLL
  352. Windows\System32\KBDTAJIK.DLL
  353. Windows\System32\KBDTAM99.DLL
  354. Windows\System32\KBDTAT.DLL
  355. Windows\System32\KBDTH0.DLL
  356. Windows\System32\KBDTH1.DLL
  357. Windows\System32\KBDTH2.DLL
  358. Windows\System32\KBDTH3.DLL
  359. Windows\System32\KBDTIFI.DLL
  360. Windows\System32\KBDTIFI2.DLL
  361. Windows\System32\KBDTIPRC.DLL
  362. Windows\System32\KBDTIPRD.DLL
  363. Windows\System32\KBDTT102.DLL
  364. Windows\System32\KBDTUF.DLL
  365. Windows\System32\KBDTUQ.DLL
  366. Windows\System32\KBDTURME.DLL
  367. Windows\System32\KBDTZM.DLL
  368. Windows\System32\KBDUGHR.DLL
  369. Windows\System32\KBDUGHR1.DLL
  370. Windows\System32\KBDUK.DLL
  371. Windows\System32\KBDUKX.DLL
  372. Windows\System32\KBDUR.DLL
  373. Windows\System32\KBDUR1.DLL
  374. Windows\System32\KBDGRE2.DLL
  375. Windows\System32\kbdhebsi.dll
  376. Windows\System32\KBDCMK.DLL
  377. Windows\System32\KBDFRNA.DLL
  378. Windows\System32\KBDFRNB.DLL
  379. Windows\System32\KBDGRE1.DLL
  380. Windows\System32\winpe.jpg
  381. Windows\System32\winre.jpg
复制代码


1.3.2、直接删除PE的WinSxS文件夹。

1.3.3、用附件中的文件提取工具,将install.wim中的以下文件提取到BOOT文件夹:
  1. \Windows\WinSxS\amd64_microsoft.windows.c..-controls.resources_*_zh-CN*\*.*
  2. \Windows\WinSxS\amd64_microsoft.windows.common-controls*\*.*
  3. \Windows\WinSxS\amd64_microsoft.windows.gdiplus.systemcopy_*\*.*
  4. \Windows\WinSxS\amd64_microsoft.windows.gdiplus_*\*.*
  5. \Windows\WinSxS\amd64_microsoft.windows.isolationautomation_*\*.*
  6. \Windows\WinSxS\amd64_microsoft.windows.i..utomation.proxystub_*\*.*
  7. \Windows\WinSxS\amd64_microsoft-windows-servicingstack_*\*.*
  8. \Windows\WinSxS\manifests\amd64_microsoft.windows.c..-controls.resources_*_zh-CN*.manifest
  9. \Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls*.manifest
  10. \Windows\WinSxS\manifests\amd64_microsoft.windows.gdiplus.systemcopy_*.manifest
  11. \Windows\WinSxS\manifests\amd64_microsoft.windows.gdiplus_*.manifest
  12. \Windows\WinSxS\manifests\amd64_microsoft.windows.isolationautomation_*.manifest
  13. \Windows\WinSxS\manifests\amd64_microsoft.windows.i..utomation.proxystub_*.manifest
  14. \Windows\WinSxS\manifests\amd64_microsoft-windows-comdlg32_*.manifest
  15. \Windows\WinSxS\manifests\amd64_microsoft-windows-comctl32-v5.resources_*_zh-CN*.manifest
  16. \Windows\WinSxS\manifests\amd64_microsoft-windows-comdlg32.resources_*_zh-CN*.manifest
  17. \Windows\WinSxS\manifests\amd64_microsoft.windows.systemcompatible_*.manifest
  18. \Windows\WinSxS\manifests\amd64_microsoft-windows-a..core-base.resources_*.manifest
  19. \Windows\WinSxS\manifests\amd64_microsoft-windows-blb-engine-main_*.manifest
  20. \Windows\WinSxS\manifests\amd64_microsoft.windows.s...smart_card_library_*.manifest
  21. \Windows\WinSxS\manifests\amd64_microsoft.windows.s..rt_driver.resources_*.manifest
  22. \Windows\WinSxS\manifests\amd64_microsoft.windows.s..se.scsi_port_driver_*.manifest
  23. \Windows\WinSxS\manifests\amd64_microsoft-windows-servicingstack_*.manifest
复制代码

至此精简完毕。

1.4、用文件提取工具,将install.wim中的以下文件提取到BOOT文件夹:
  1. ;文件浏览对话框
  2. \Windows\resources\Themes\aero\shell
  3. \Windows\System32\shellstyle.dll
  4. \Windows\System32\comctl32.dll
  5. \Windows\System32\ExplorerFrame.dll
  6. \Windows\System32\actxprxy.dll
  7. \Windows\System32\apphelp.dll
  8. ;
  9. ;文件属性里的”安全“页面
  10. \Windows\System32\rshx32.dll
  11. ;
  12. ;”安全“页面更改所有者
  13. \Windows\System32\comsvcs.dll
  14. ;
  15. ;文件拖放功能 (d2d1.dll,ksuser.dll already in Winre.wim)
  16. \Windows\System32\DataExchange.dll
  17. \Windows\System32\dcomp.dll
  18. \Windows\System32\d3d11.dll
  19. \Windows\System32\dxgi.dll
  20. \Windows\System32\d2d1.dll
  21. \Windows\System32\ksuser.dll
  22. ;
  23. ;复制文件对话框
  24. \Windows\System32\chartv.dll
  25. \Windows\System32\OneCoreUAPCommonProxyStub.dll
  26. ;
  27. ;确认覆盖对话框
  28. \Windows\System32\actxprxy.dll
  29. ;
  30. ;过滤器
  31. \Windows\System32\StructuredQuery.dll
  32. ;
  33. ;文本预览
  34. \Windows\System32\prevhost.exe
  35. ;
  36. ;图片预览
  37. \Windows\SystemResources\imageres.dll.mun
  38. \Windows\System32\PhotoMetadataHandler.dll
  39. \Windows\System32\thumbcache.dll
  40. \Windows\System32\capisp.dll
  41. \Windows\System32\IconCodecService.dll
  42. ;
  43. ;驱动程序签名文件
  44. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Package_*
  45. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Basic-Http-Minio-Package~*.cat
  46. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-DataCenterBridging-Package~*.cat
  47. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-DataCenterBridging-Opt-Package*.cat
  48. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Browser-Package~*.cat
  49. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Dedup-ChunkLibrary-Package~*.cat
  50. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-BusinessScanning-Feature-Package-admin~*.cat
  51. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Common-Modem-Drivers-Package~*.cat
  52. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-PeerToPeer-Full-Package~*.cat
  53. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneCoreUAP-WCN-Package~*.cat
  54. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-OneCoreUAP-WCN-WOW64-Package~*.cat
  55. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-WCN-net-Package~*.cat
  56. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-WCN-WOW64-net-Package~*.cat
  57. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\LanguageFeatures-WordBreaking-*.cat
  58. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-SecureStartup-Subsystem-base-Package~*.cat
  59. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-OneCore-IsolatedUserMode-Package*.cat
  60. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-EnterpriseClientSync-Host-Opt-Package*.cat
  61. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Desktop-Shared-Drivers-merged-Package*.cat
  62. ;
  63. ;多媒体功能签名文件:
  64. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-OneCore-Multimedia-MFPMP*.cat
  65. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Media-Format-multimedia-Package~*.cat
  66. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Multimedia-RestrictedCodecs-multimedia-Package~*.cat
  67. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Multimedia-RestrictedCodecs-WOW64-multimedia-Package~*.cat
  68. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Multimedia-MFCore-Package~*.cat
  69. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Multimedia-MFCore-WOW64-Package~*.cat
  70. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Multimedia-RestrictedCodecsCore-Package~*.cat
  71. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Multimedia-RestrictedCodecsExt-Package~*.cat
  72. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-PhotoBasic-Feature-Package~*.cat
  73. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-PhotoBasic-PictureTools-Package~*.cat
  74. ;
  75. ;右键菜单的小箭头和默认用户头像需要这两个字体
  76. \Windows\Fonts\segoeui.ttf
  77. \Windows\Fonts\SegoeIcons.ttf
复制代码


1.5、处理注册表。
1.5.1、从install.wim 第5卷提取 SOFTWARE 注册表配置单元,并替换PE原有的 SOFTWARE 配置单元。
1.5.2、从install.wim 第5卷提取DRIVERSSYSTEM 注册表配置单元,放在一个地方备用。
1.5.3、分别挂载PE的 DEFAULTDRIVERSSOFTWARE SYSTEM 注册表配置单元为 HKEY_LOCAL_MACHINE\PE-DEFPE-DRVPE-SOFTPE-SYS 项。
1.5.4、分别挂载从 install.wim 提取的DRIVERSSYSTEM 注册表配置单元为 HKEY_LOCAL_MACHINE\OS-DRVOS-SYS 项。
1.5.5、用NSudo提权,以TrusedInstaller权限运行附件中的 1-Build_Registry.cmd 批处理,自动处理注册表。
1.5.6、手动卸载PE-DEFPE-SOFTPE-SYSPE-DRV注册表单元。(注:OS-DRV、OS-SYS注册表单元可以不卸载)


1.6、打包Wim文件并启动虚拟机测试,可正常进入CmdPE界面。



二、添加 Explorer。
2.1、用文件提取工具,将install.wim第5卷中的以下文件提取到BOOT文件夹:
  1. ;核心文件
  2. \Windows\explorer.exe
  3. \Windows\zh-CN\explorer.exe.mui
  4. ;
  5. ;桌面壁纸
  6. \Windows\Web\Wallpaper\Windows\img0.jpg
  7. ;
  8. ;StateRepository服务。此文件夹非常重要,尽管是空的
  9. \ProgramData\Microsoft\Windows\AppRepository
  10. ;
  11. \Windows\SystemResources\Windows.UI.ShellCommon
  12. ;
  13. ;发送到-桌面快捷方式
  14. \Users\Default\AppData\Roaming\Microsoft\Windows\SendTo\Desktop (create shortcut).DeskLink
  15. \Users\Default\AppData\Roaming\Microsoft\Windows\SendTo\desktop.ini
  16. ;
  17. ;已经复制过的文件,无需再复制
  18. ;ExplorerFrame.dll
  19. ;comctl32.dll
  20. ;comsvcs.dll
  21. ;
  22. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Client-Desktop-Required-Package*.cat
  23. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Client-Desktop-Required-WOW64-Package*.cat
  24. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Client-Features-Package*.cat
  25. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-Client-Features-WOW64-Package*.cat
  26. \Windows\System32\drivers\WindowsTrustedRT.sys
  27. \Windows\System32\AppHelp.dll
  28. \Windows\System32\AppResolver.dll
  29. \Windows\System32\atlthunk.dll
  30. \Windows\System32\avifil32.dll
  31. \Windows\System32\clip.exe
  32. \Windows\System32\Clipc.dll
  33. \Windows\System32\control.exe
  34. \Windows\System32\CoreMessaging.dll
  35. \Windows\System32\CoreUIComponents.dll
  36. \Windows\System32\cscapi.dll
  37. \Windows\System32\ctfmon.exe
  38. \Windows\System32\desk.cpl
  39. \Windows\System32\edputil.dll
  40. \Windows\System32\ELSCore.dll
  41. \Windows\System32\IconCodecService.dll
  42. \Windows\System32\ieframe.dll
  43. \Windows\System32\imageres.dll
  44. \Windows\System32\InfDefaultInstall.exe
  45. \Windows\System32\InputSwitch.dll
  46. \Windows\System32\mfperfhelper.dll
  47. \Windows\System32\MrmCoreR.dll
  48. \Windows\System32\mscories.dll
  49. \Windows\System32\MsCtfMonitor.dll
  50. \Windows\System32\msutb.dll
  51. \Windows\System32\mycomput.dll
  52. \Windows\System32\policymanager.dll
  53. \Windows\System32\pdh.dll
  54. \Windows\System32\PhotoMetadataHandler.dll
  55. \Windows\System32\pnputil.exe
  56. \Windows\System32\ProximityCommon.dll
  57. \Windows\System32\ProximityCommonPal.dll
  58. \Windows\System32\ProximityService.dll
  59. \Windows\System32\ProximityServicePal.dll
  60. \Windows\System32\rmclient.dll
  61. \Windows\System32\sendmail.dll
  62. \Windows\System32\SettingSyncCore.dll
  63. \Windows\System32\SharedStartModel.dll
  64. \Windows\System32\ShellCommonCommonProxyStub.dll
  65. \Windows\System32\shfolder.dll
  66. \Windows\System32\shutdown.exe
  67. \Windows\System32\StartTileData.dll
  68. \Windows\System32\sti.dll
  69. \Windows\System32\stobject.dll
  70. \Windows\System32\StorageUsage.dll
  71. \Windows\System32\systemcpl.dll
  72. \Windows\System32\TDLMigration.dll
  73. \Windows\System32\TextInputFramework.dll
  74. \Windows\System32\thumbcache.dll
  75. \Windows\System32\twinapi.appcore.dll
  76. \Windows\System32\twinapi.dll
  77. \Windows\System32\twinui.appcore.dll
  78. \Windows\System32\twinui.pcshell.dll
  79. \Windows\System32\UIAnimation.dll
  80. \Windows\System32\UIRibbon.dll
  81. \Windows\System32\UIRibbonRes.dll
  82. \Windows\System32\Windows.Gaming.Input.dll
  83. \Windows\System32\Windows.Internal.Shell.Broker.dll
  84. \Windows\System32\Windows.Networking.Connectivity.dll
  85. \Windows\System32\WorkFoldersShell.dll
  86. \Windows\System32\wpdshext.dll
  87. \Windows\System32\zipfldr.dll
  88. \Windows\System32\windows.immersiveshell.serviceprovider.dll
  89. \Windows\System32\credssp.dll
  90. \Windows\System32\TextShaping.dll
  91. \Windows\System32\Windows.Globalization.dll
  92. \Windows\System32\cdp.dll
  93. \Windows\System32\coloradapterclient.dll
  94. \Windows\System32\dsreg.dll
  95. \Windows\System32\VEEventDispatcher.dll
  96. \Windows\System32\CoreMessaging.dll
  97. \Windows\System32\CoreUIComponents.dll
  98. \Windows\System32\rmclient.dll
  99. \Windows\System32\twinapi.appcore.dll
  100. \Windows\System32\InputHost.dll
  101. \Windows\System32\TextInputFramework.dll
  102. \Windows\System32\WindowManagement.dll
  103. \Windows\System32\WindowManagementAPI.dll
  104. \Windows\System32\Windows.UI.dll
  105. \Windows\System32\Windows.UI.Immersive.dll
  106. \Windows\System32\shsvcs.dll
  107. \Windows\System32\dmenrollengine.dll
  108. \Windows\System32\windowsudk.shellcommon.dll
  109. \Windows\System32\Windows.UI.Core.TextInput.dll
  110. \Windows\System32\Windows.UI.FileExplorer.WASDK.dll
  111. ;
  112. ;StateRepository服务,Explorer依赖此服务
  113. \Windows\System32\StateRepository.core.dll
  114. \Windows\System32\Windows.StateRepository.dll
  115. \Windows\System32\Windows.StateRepositoryBroker.dll
  116. \Windows\System32\Windows.StateRepositoryCore.dll
  117. \Windows\System32\Windows.StateRepositoryClient.dll
  118. ;
  119. ;系统属性
  120. \Windows\System32\systemcpl.dll
  121. ;
  122. ;显示设置和个性化
  123. \Windows\System32\Display.dll
  124. \Windows\System32\themecpl.dll
  125. ;
  126. ;FTP文件夹
  127. \Windows\System32\msieftp.dll
  128. \Windows\System32\shdocvw.dll
  129. ;
  130. ;添加一个网络位置
  131. \Windows\System32\shwebsvc.dll

  132. ;创建快捷方式向导
  133. \Windows\System32\appWiz.cpl
  134. \Windows\System32\osbaseln.dll
  135. ;
  136. ;详细信息默认文件夹视图布局
  137. \Windows\System32\windows.storage.dll
  138. ;
  139. ;屏幕分辨率设置(仅24H2需要,否则无法更改屏幕分辨率)
  140. \Windows\System32\DispBroker.Desktop.dll
  141. \Windows\System32\Windows.Graphics.dll
  142. ;
  143. \Windows\System32\shell32.dll
  144. \Windows\System32\SHCore.dll
  145. \Windows\System32\KernelBase.dll
  146. ;
  147. ;系统属性
  148. ;\Windows\System32\sysdm.cpl
  149. ;\Windows\System32\DeviceProperties.exe
  150. ;\Windows\System32\SystemPropertiesAdvanced.exe
  151. ;\Windows\System32\SystemPropertiesComputerName.exe
  152. ;\Windows\System32\systempropertieshardware.exe
  153. ;\Windows\System32\systempropertiesperformance.exe
  154. ;\Windows\System32\systempropertiesremote.exe
  155. ;
  156. ;设备管理器
  157. \Windows\System32\hdwwiz.cpl
  158. \Windows\System32\hdwwiz.exe
  159. ;
  160. ;键盘鼠标、时间日期设置
  161. \Windows\System32\main.cpl
  162. \Windows\System32\timedate.cpl
  163. ;
  164. ;文件属性里的“以前的版本”页面
  165. \Windows\System32\twext.dll
  166. ;
  167. ;Windows Script Host 的 Shell 扩展
  168. \Windows\System32\wshext.dll
  169. ;
  170. ;弹出USB设备
  171. \Windows\System32\DeviceCenter.dll
  172. \Windows\System32\DeviceEject.exe
  173. \Windows\System32\StorageContextHandler.dll
  174. ;
  175. ;系统信息
  176. \Windows\System32\msinfo32.exe
  177. \Windows\System32\msconfig.exe
  178. \Windows\System32\winver.exe
  179. ;
  180. ;映射网络驱动器
  181. \Windows\System32\netplwiz.dll
  182. \Windows\System32\netplwiz.exe
  183. ;
  184. ;文件共享
  185. \Windows\System32\dtsh.dll
  186. \Windows\System32\shpafact.dll
  187. \Windows\System32\networkexplorer.dll
  188. \Windows\System32\provsvc.dll
  189. ;
  190. ;事件日志中的密码通知
  191. \Windows\System32\kdcpw.dll
  192. ;
  193. ;DOS实用程序
  194. \Windows\System32\cacls.exe
  195. \Windows\System32\Comp.exe
  196. \Windows\System32\choice.exe
  197. \Windows\System32\Fc.exe
  198. \Windows\System32\findstr.exe
  199. \Windows\System32\Help.exe
  200. \Windows\System32\Label.exe
  201. \Windows\System32\Makecab.exe
  202. \Windows\System32\sc.exe
  203. \Windows\System32\Sort.exe
  204. \Windows\System32\taskkill.exe
  205. ;
  206. ;DLNA命名空间
  207. \Windows\System32\dlnashext.dll
  208. ;
  209. ;获取所有权 (Appinfo and ProfSvc services). ProfSvc services already here (profsvc.dll,profsvcext.dll,provsvc.dll,objsel.dll)
  210. \Windows\System32\appinfo.dll
  211. \Windows\System32\appinfoext.dll
  212. \Windows\System32\objsel.dll
  213. ;
  214. \Windows\System32\mscms.dll
复制代码


2.2、处理注册表。
2.2.1、分别挂载PE的 DEFAULTSOFTWARESYSTEM 注册表配置单元为 HKEY_LOCAL_MACHINE\PE-DEFPE-SOFTPE-SYS 项。
2.2.2、挂载从 install.wim 里提取的 SYSTEM 注册表配置单元为 HKEY_LOCAL_MACHINE\OS-SYS 项。
2.2.3、以SYSTEM权限运行附件中的 Explorer_Registry.cmd 批处理。
1.5.6、手动卸载PE-DEFPE-SOFTPE-SYS注册表单元。

2.3、添加 PECMD(必须)
复制附件中的 PECMD.EXE、PECMD.INI 到 BOOT 的 System32 目录。

2.4、用WimTool打包wim启动虚拟机测试,可正常进入桌面。
(注:添加 Explorer 后在SYSTEM账户打不开”此电脑“窗口是正常现象,为UWP应用做铺垫)



三、添加运行库
(注:添加的运行库同时也是为UWP应用做铺垫。)

3.1、用文件提取工具,将install.wim第5卷中的以下文件提取到BOOT文件夹:
  1. ;32位程序支持
  2. \Windows\WinSxS\x86_microsoft.windows.c..-controls.resources_*_zh-CN*\*.*
  3. \Windows\WinSxS\x86_microsoft.windows.common-controls*\*.*
  4. \Windows\WinSxS\wow64_microsoft.windows.gdiplus.systemcopy_*\*.*
  5. \Windows\WinSxS\x86_microsoft.windows.gdiplus_*\*.*
  6. \Windows\WinSxS\x86_microsoft.windows.isolationautomation_*\*.*
  7. \Windows\WinSxS\x86_microsoft.windows.i..utomation.proxystub_*\*.*
  8. \Windows\WinSxS\x86_microsoft-windows-servicingstack_*\*.*
  9. \Windows\WinSxS\manifests\x86_microsoft.windows.c..-controls.resources_*_zh-CN*.manifest
  10. \Windows\WinSxS\Manifests\x86_microsoft.windows.common-controls_*.manifest
  11. \Windows\WinSxS\Manifests\wow64_microsoft.windows.gdiplus.systemcopy_*.manifest
  12. \Windows\WinSxS\Manifests\x86_microsoft.windows.gdiplus_*.manifest
  13. \Windows\WinSxS\Manifests\x86_microsoft.windows.isolationautomation_*.manifest
  14. \Windows\WinSxS\Manifests\x86_microsoft.windows.i..utomation.proxystub_*.manifest
  15. \Windows\WinSxS\Manifests\x86_microsoft.windows.systemcompatible_*.manifest
  16. \Windows\WinSxS\Manifests\x86_microsoft-windows-servicingstack_*.manifest
  17. \Windows\system32\wow64.dll
  18. \Windows\system32\wow64cpu.dll
  19. \Windows\system32\wow64win.dll
  20. \Windows\system32\wow64base.dll
  21. \Windows\system32\wow64con.dll
  22. \Windows\system32\wowreg32.exe
  23. \Windows\SysWOW64\zh-CN\comctl32.dll
  24. \Windows\SysWOW64\zh-CN\comdlg32.dll
  25. \Windows\SysWOW64\zh-CN\mlang.dll
  26. \Windows\SysWOW64\KBDUS.dll
  27. \Windows\SysWOW64\DXCore.dll
  28. \Windows\SysWOW64\umpdc.dll
  29. \Windows\SysWOW64\TextShaping.dll
  30. \Windows\SysWOW64\comctl32.dll
  31. \Windows\SysWOW64\comdlg32.dll
  32. \Windows\SysWOW64\mlang.dll
  33. \Windows\SysWOW64\shellstyle.dll
  34. \Windows\SysWOW64\imageres.dll
  35. \Windows\SysWOW64\aclui.dll
  36. \Windows\SysWOW64\actxprxy.dll
  37. \Windows\SysWOW64\adsldp.dll
  38. \Windows\SysWOW64\adsldpc.dll
  39. \Windows\SysWOW64\advapi32.dll
  40. \Windows\SysWOW64\apphelp.dll
  41. \Windows\SysWOW64\asycfilt.dll
  42. \Windows\SysWOW64\atlthunk.dll
  43. \Windows\SysWOW64\attrib.exe
  44. \Windows\SysWOW64\authz.dll
  45. \Windows\SysWOW64\avifil32.dll
  46. \Windows\SysWOW64\avrt.dll
  47. \Windows\SysWOW64\bcrypt.dll
  48. \Windows\SysWOW64\bcryptprimitives.dll
  49. \Windows\SysWOW64\Bcp47Langs.dll
  50. \Windows\SysWOW64\bcp47mrm.dll
  51. \Windows\SysWOW64\cabinet.dll
  52. \Windows\SysWOW64\cfgmgr32.dll
  53. \Windows\SysWOW64\clb.dll
  54. \Windows\SysWOW64\clbcatq.dll
  55. \Windows\SysWOW64\clip.exe
  56. \Windows\SysWOW64\cmd.exe
  57. \Windows\SysWOW64\cmdext.dll
  58. \Windows\SysWOW64\combase.dll
  59. \Windows\SysWOW64\Coremessaging.dll
  60. \Windows\SysWOW64\CoreUIComponents.dll
  61. \Windows\SysWOW64\crtdll.dll
  62. \Windows\SysWOW64\crypt32.dll
  63. \Windows\SysWOW64\cryptbase.dll
  64. \Windows\SysWOW64\cryptdll.dll
  65. \Windows\SysWOW64\cryptnet.dll
  66. \Windows\SysWOW64\cryptsp.dll
  67. \Windows\SysWOW64\cscapi.dll
  68. \Windows\SysWOW64\d2d1.dll
  69. \Windows\SysWOW64\d3d9.dll
  70. \Windows\SysWOW64\d3d10warp.dll
  71. \Windows\SysWOW64\d3d11.dll
  72. \Windows\SysWOW64\d3d12.dll
  73. \Windows\SysWOW64\DataExchange.dll
  74. \Windows\SysWOW64\davhlpr.dll
  75. \Windows\SysWOW64\dbgcore.dll
  76. \Windows\SysWOW64\dbghelp.dll
  77. \Windows\SysWOW64\dcomp.dll
  78. \Windows\SysWOW64\ddraw.dll
  79. \Windows\SysWOW64\devobj.dll
  80. \Windows\SysWOW64\devrtl.dll
  81. \Windows\SysWOW64\dfscli.dll
  82. \Windows\SysWOW64\dhcpcsvc.dll
  83. \Windows\SysWOW64\dhcpcsvc6.dll
  84. \Windows\SysWOW64\directmanipulation.dll
  85. \Windows\SysWOW64\dllhost.exe
  86. \Windows\SysWOW64\dlnashext.dll
  87. \Windows\SysWOW64\dnsapi.dll
  88. \Windows\SysWOW64\dpapi.dll
  89. \Windows\SysWOW64\drvstore.dll
  90. \Windows\SysWOW64\dsrole.dll
  91. \Windows\SysWOW64\dui70.dll
  92. \Windows\SysWOW64\duser.dll
  93. \Windows\SysWOW64\dwmapi.dll
  94. \Windows\SysWOW64\Dwrite.dll
  95. \Windows\SysWOW64\dxgi.dll
  96. \Windows\SysWOW64\edputil.dll
  97. \Windows\SysWOW64\ExplorerFrame.dll
  98. \Windows\SysWOW64\FirewallAPI.dll
  99. \Windows\SysWOW64\fltlib.dll
  100. \Windows\SysWOW64\fwbase.dll
  101. \Windows\SysWOW64\fwpolicyiomgr.dll
  102. \Windows\SysWOW64\FWPUCLNT.DLL
  103. \Windows\SysWOW64\gdi32.dll
  104. \Windows\SysWOW64\gdi32full.dll
  105. \Windows\SysWOW64\GdiPlus.dll
  106. \Windows\SysWOW64\gpapi.dll
  107. \Windows\SysWOW64\hid.dll
  108. \Windows\SysWOW64\iertutil.dll
  109. \Windows\SysWOW64\ieframe.dll
  110. \Windows\SysWOW64\imm32.dll
  111. \Windows\SysWOW64\InputHost.dll
  112. \Windows\SysWOW64\iphlpapi.dll
  113. \Windows\SysWOW64\kernel.appcore.dll
  114. \Windows\SysWOW64\kernel32.dll
  115. \Windows\SysWOW64\kernelbase.dll
  116. \Windows\SysWOW64\linkinfo.dll
  117. \Windows\SysWOW64\logoncli.dll
  118. \Windows\SysWOW64\mfperfhelper.dll
  119. \Windows\SysWOW64\mfc42.dll
  120. \Windows\SysWOW64\mpr.dll
  121. \Windows\SysWOW64\msacm32.dll
  122. \Windows\SysWOW64\msacm32.drv
  123. \Windows\SysWOW64\msasn1.dll
  124. \Windows\SysWOW64\mscms.dll
  125. \Windows\SysWOW64\mscories.dll
  126. \Windows\SysWOW64\msctf.dll
  127. \Windows\SysWOW64\msdelta.dll
  128. \Windows\SysWOW64\msi.dll
  129. \Windows\SysWOW64\mshtml.dll
  130. \Windows\SysWOW64\msimg32.dll
  131. \Windows\SysWOW64\msIso.dll
  132. \Windows\SysWOW64\mskeyprotect.dll
  133. \Windows\SysWOW64\msls31.dll
  134. \Windows\SysWOW64\msv1_0.dll
  135. \Windows\SysWOW64\msvbvm60.dll
  136. \Windows\SysWOW64\msvcp60.dll
  137. \Windows\SysWOW64\msvcp_win.dll
  138. \Windows\SysWOW64\msvcp110_win.dll
  139. \Windows\SysWOW64\msvcrt.dll
  140. \Windows\SysWOW64\msvcrt40.dll
  141. \Windows\SysWOW64\msvfw32.dll
  142. \Windows\SysWOW64\mswsock.dll
  143. \Windows\SysWOW64\msxml3.dll
  144. \Windows\SysWOW64\msxml3r.dll
  145. \Windows\SysWOW64\msxml6.dll
  146. \Windows\SysWOW64\msxml6r.dll
  147. \Windows\SysWOW64\ncrypt.dll
  148. \Windows\SysWOW64\ncryptprov.dll
  149. \Windows\SysWOW64\ncryptsslp.dll
  150. \Windows\SysWOW64\net.exe
  151. \Windows\SysWOW64\net1.exe
  152. \Windows\SysWOW64\netmsg.dll
  153. \Windows\SysWOW64\netapi32.dll
  154. \Windows\SysWOW64\netutils.dll
  155. \Windows\SysWOW64\normaliz.dll
  156. \Windows\SysWOW64\ntasn1.dll
  157. \Windows\SysWOW64\ntdll.dll
  158. \Windows\SysWOW64\ntdsapi.dll
  159. \Windows\SysWOW64\ntlanman.dll
  160. \Windows\SysWOW64\ntmarta.dll
  161. \Windows\SysWOW64\ntshrui.dll
  162. \Windows\SysWOW64\odbc32.dll
  163. \Windows\SysWOW64\ole32.dll
  164. \Windows\SysWOW64\oleacc.dll
  165. \Windows\SysWOW64\oleaccrc.dll
  166. \Windows\SysWOW64\oleaut32.dll
  167. \Windows\SysWOW64\oledlg.dll
  168. \Windows\SysWOW64\olepro32.dll
  169. \Windows\SysWOW64\OnDemandConnRouteHelper.dll
  170. \Windows\SysWOW64\OneCoreUAPCommonProxyStub.dll
  171. \Windows\SysWOW64\pdh.dll
  172. \Windows\SysWOW64\policymanager.dll
  173. \Windows\SysWOW64\powrprof.dll
  174. \Windows\SysWOW64\profapi.dll
  175. \Windows\SysWOW64\propsys.dll
  176. \Windows\SysWOW64\psapi.dll
  177. \Windows\SysWOW64\rasadhlp.dll
  178. \Windows\SysWOW64\rasapi32.dll
  179. \Windows\SysWOW64\reg.exe
  180. \Windows\SysWOW64\regedt32.exe
  181. \Windows\SysWOW64\regsvr32.exe
  182. \Windows\SysWOW64\riched20.dll
  183. \Windows\SysWOW64\riched32.dll
  184. \Windows\SysWOW64\rmclient.dll
  185. \Windows\SysWOW64\rpcrt4.dll
  186. \Windows\SysWOW64\rsaenh.dll
  187. \Windows\SysWOW64\rtutils.dll
  188. \Windows\SysWOW64\run64.exe
  189. \Windows\SysWOW64\rundll32.exe
  190. \Windows\SysWOW64\samcli.dll
  191. \Windows\SysWOW64\samlib.dll
  192. \Windows\SysWOW64\schannel.dll
  193. \Windows\SysWOW64\sechost.dll
  194. \Windows\SysWOW64\secur32.dll
  195. \Windows\SysWOW64\SensApi.dll
  196. \Windows\SysWOW64\setupapi.dll
  197. \Windows\SysWOW64\SHCore.dll
  198. \Windows\SysWOW64\shell32.dll
  199. \Windows\SysWOW64\shfolder.dll
  200. \Windows\SysWOW64\shlwapi.dll
  201. \Windows\SysWOW64\slc.dll
  202. \Windows\SysWOW64\spfileq.dll
  203. \Windows\SysWOW64\SPInf.dll
  204. \Windows\SysWOW64\srvcli.dll
  205. \Windows\SysWOW64\sspicli.dll
  206. \Windows\SysWOW64\stdole2.tlb
  207. \Windows\SysWOW64\stdole32.tlb
  208. \Windows\SysWOW64\StructuredQuery.dll
  209. \Windows\SysWOW64\svchost.exe
  210. \Windows\SysWOW64\sxs.dll
  211. \Windows\SysWOW64\sxsstore.dll
  212. \Windows\SysWOW64\sxstrace.exe
  213. \Windows\SysWOW64\TextInputFramework.dll
  214. \Windows\SysWOW64\thumbcache.dll
  215. \Windows\SysWOW64\twinapi.dll
  216. \Windows\SysWOW64\twinapi.appcore.dll
  217. \Windows\SysWOW64\tzres.dll
  218. \Windows\SysWOW64\ulib.dll
  219. \Windows\SysWOW64\ucrtbase.dll
  220. \Windows\SysWOW64\UIAnimation.dll
  221. \Windows\SysWOW64\UIAutomationCore.dll
  222. \Windows\SysWOW64\urlmon.dll
  223. \Windows\SysWOW64\user32.dll
  224. \Windows\SysWOW64\userenv.dll
  225. \Windows\SysWOW64\usp10.dll
  226. \Windows\SysWOW64\uxtheme.dll
  227. \Windows\SysWOW64\vbscript.dll
  228. \Windows\SysWOW64\version.dll
  229. \Windows\SysWOW64\webio.dll
  230. \Windows\SysWOW64\wimgapi.dll
  231. \Windows\SysWOW64\win32u.dll
  232. \Windows\SysWOW64\winbrand.dll
  233. \Windows\SysWOW64\WindowsCodecs.dll
  234. \Windows\SysWOW64\Windows.Globalization.dll
  235. \Windows\SysWOW64\windows.storage.dll
  236. \Windows\SysWOW64\wininet.dll
  237. \Windows\SysWOW64\winmm.dll
  238. \Windows\SysWOW64\winmmbase.dll
  239. \Windows\SysWOW64\winnlsres.dll
  240. \Windows\SysWOW64\winnsi.dll
  241. \Windows\SysWOW64\winspool.drv
  242. \Windows\SysWOW64\winsta.dll
  243. \Windows\SysWOW64\WinTypes.dll
  244. \Windows\SysWOW64\wintrust.dll
  245. \Windows\SysWOW64\wkscli.dll
  246. \Windows\SysWOW64\wldap32.dll
  247. \Windows\SysWOW64\wldp.dll
  248. \Windows\SysWOW64\wow32.dll
  249. \Windows\SysWOW64\ws2_32.dll
  250. \Windows\SysWOW64\wsock32.dll
  251. \Windows\SysWOW64\wtsapi32.dll
  252. \Windows\SysWOW64\xmllite.dll
  253. \Windows\SysWOW64\AudioSes.dll
  254. \Windows\SysWOW64\devenum.dll
  255. \Windows\SysWOW64\dsound.dll
  256. \Windows\SysWOW64\MMDevAPI.dll
  257. \Windows\SysWOW64\msdmo.dll
  258. \Windows\SysWOW64\quartz.dll
  259. \Windows\SysWOW64\winhttp.dll
  260. ;
  261. ; VC++ 运行库
  262. \Windows\SysWOW64\msvcirt.dll
  263. \Windows\SysWOW64\msvcp_win.dll
  264. \Windows\SysWOW64\msvcp60.dll
  265. \Windows\SysWOW64\msvcp110_win.dll
  266. \Windows\SysWOW64\msvcrt.dll
  267. \Windows\SysWOW64\ucrtbase.dll
  268. \Windows\System32\msvcp120_clr0400.dll
  269. \Windows\System32\msvcrt20.dll
  270. \Windows\System32\msvcrt40.dll
  271. \Windows\System32\msvcr100_clr0400.dll
  272. \Windows\System32\msvcr120_clr0400.dll
  273. \Windows\System32\msvcp110.dll
  274. \Windows\System32\msvcp140_clr0400.dll
  275. \Windows\System32\msvcr110.dll
  276. \Windows\System32\ucrtbase_clr0400.dll
  277. \Windows\System32\ucrtbase_enclave.dll
  278. \Windows\System32\vcruntime140_1_clr0400.dll
  279. ;
  280. ; WinSxS VC++ 运行库
  281. \Windows\WinSxS\x86_microsoft.vc80.crt*
  282. \Windows\WinSxS\x86_microsoft.vc90.crt*
  283. \Windows\WinSxS\manifests\x86_microsoft.vc80.crt*
  284. \Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt*
  285. \Windows\WinSxS\manifests\x86_microsoft.vc90.crt*
  286. \Windows\WinSxS\manifests\x86_policy.9.0.microsoft.vc90.crt*
  287. \Windows\WinSxS\amd64_microsoft.vc80.crt*
  288. \Windows\WinSxS\amd64_microsoft.vc90.crt*
  289. \Windows\WinSxS\manifests\amd64_microsoft.vc80.crt*
  290. \Windows\WinSxS\manifests\amd64_policy.8.0.microsoft.vc80.crt*
  291. \Windows\WinSxS\manifests\amd64_microsoft.vc90.crt*
  292. \Windows\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt*
  293. ;
  294. ;支持更多应用程序
  295. ;Here for both System32 and SysWOW64
  296. \Windows\System32\findstr.exe
  297. \Windows\SysWOW64\findstr.exe
  298. \Windows\Fonts\times.ttf
  299. ;
  300. ; AFAIK Tencent QQ(x86) required
  301. \Windows\System32\avicap32.dll
  302. \Windows\System32\rasman.dll
  303. \Windows\SysWOW64\avicap32.dll
  304. \Windows\SysWOW64\rasman.dll
  305. ;
  306. ; PotPlayer
  307. \Windows\System32\devenum.dll
  308. \Windows\System32\EhStorAPI.dll
  309. \Windows\SysWOW64\devenum.dll
  310. \Windows\SysWOW64\EhStorAPI.dll
  311. ;
  312. ;Here for System32 only
  313. \Windows\System32\nsi.dll
  314. \Windows\System32\sti.dll
  315. ;
  316. ;Here for SysWOW64 only
  317. ; PowerPoint 2007 Preview(F5) page switch
  318. \Windows\SysWOW64\hlink.dll
  319. ;
  320. ; LENOVO BIOS Updater
  321. \Windows\SysWOW64\lz32.dll
  322. ;
  323. ; Counter-Strike 1.5
  324. \Windows\SysWOW64\dciman32.dll
  325. ;
  326. ;eCloud
  327. \Windows\SysWOW64\glu32.dll
  328. \Windows\SysWOW64\opengl32.dll
  329. ;
  330. \Windows\SysWOW64\RESAMPLEDMO.DLL
  331. ;
  332. ; Sound for TheWorld Web Browser
  333. \Windows\SysWOW64\ksuser.dll
  334. \Windows\SysWOW64\wdmaud.drv
  335. ;
  336. ; OpenOffice, LibreOffice, ... (Open file)
  337. \Windows\SysWOW64\shellstyle.dll
  338. ;
  339. ; 32-bit Web Browsers
  340. \Windows\SysWOW64\Windows.FileExplorer.Common.dll
  341. ;
  342. ;Tencent QQ(x86), Office 2010
  343. \Windows\SysWOW64\prxyqry.dll
  344. ;
  345. ; FeiQ
  346. ;\Windows\SysWOW64\Windows.System.Launcher.dll
  347. \Windows\SysWOW64\DiagnosticDataSettings.dll
复制代码


3.2、用WimTool打包wim启动虚拟机测试。



四、添加系统组件

4.1、删除System32\zh-CN文件夹下的taskmgr.exe.mui文件。

4.2、用文件提取工具,将install.wim第5卷中的以下文件提取到BOOT文件夹:
  1. ;DWM 桌面窗口管理器
  2. \Windows\System32\dcomp.dll
  3. \Windows\System32\d3d11.dll
  4. \Windows\System32\dxgi.dll
  5. \Windows\System32\dwm.exe
  6. \Windows\System32\dwmcore.dll
  7. \Windows\System32\dwmghost.dll
  8. \Windows\System32\dwminit.dll
  9. \Windows\System32\dwmredir.dll
  10. \Windows\System32\hotplug.dll
  11. \Windows\System32\themeservice.dll
  12. \Windows\System32\themeui.dll
  13. \Windows\System32\twinapi.appcore.dll
  14. \Windows\System32\twinui.dll
  15. \Windows\System32\ubpm.dll
  16. \Windows\System32\uDWM.dll
  17. \Windows\System32\wdi.dll
  18. \Windows\System32\Windows.Gaming.Input.dll
  19. \Windows\System32\Windows.UI.Immersive.dll
  20. \Windows\System32\CoreMessaging.dll
  21. \Windows\System32\CoreUIComponents.dll
  22. \Windows\System32\ISM.dll
  23. \Windows\System32\rmclient.dll
  24. \Windows\System32\GameInput.dll
  25. \Windows\System32\wuceffects.dll
  26. \Windows\System32\DispBroker.dll
  27. \Windows\System32\Microsoft.Internal.WarpPal.dll
  28. \Windows\System32\d2d1.dll
  29. \Windows\System32\d3d10warp.dll
  30. \Windows\System32\D3DCompiler_47.dll
  31. \Windows\System32\DXCore.dll
  32. ;
  33. ;文件搜索功能
  34. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-SearchEngine-Client-Package~*.cat
  35. \Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\WindowsSearchEngineSKU-Group-Package~*.cat
  36. \Windows\INF\wsearchidxpi
  37. \Windows\System32\EhStorShell.dll
  38. \Windows\System32\esent.dll
  39. \Windows\System32\NaturalLanguage6.dll
  40. \Windows\System32\NOISE.DAT
  41. \Windows\System32\MSWB7.dll
  42. \Windows\System32\mssph.dll
  43. \Windows\System32\mssprxy.dll
  44. \Windows\System32\mssrch.dll
  45. \Windows\System32\mssvp.dll
  46. \Windows\System32\mssitlb.dll
  47. \Windows\System32\query.exe
  48. \Windows\System32\query.dll
  49. \Windows\System32\SearchFolder.dll
  50. \Windows\System32\srchadmin.dll
  51. \Windows\System32\StructuredQuery.dll
  52. \Windows\System32\tquery.dll
  53. \Windows\System32\Windows.Shell.Search.UriHandler.dll
  54. \Windows\System32\Windows.Storage.Search.dll
  55. \Windows\System32\wsepno.dll
  56. \Windows\System32\prm*.dll
  57. \Windows\System32\MLS*.dll
  58. ;
  59. ;MMC控制台
  60. \Windows\System32\mmc.exe
  61. \Windows\System32\mmcbase.dll
  62. \Windows\System32\mmcndmgr.dll
  63. \Windows\System32\mmcshext.dll
  64. \Windows\System32\compmgmt.msc
  65. \Windows\System32\diskmgmt.msc
  66. \Windows\System32\devmgmt.msc
  67. \Windows\System32\services.msc
  68. \Windows\System32\batmeter.dll
  69. \Windows\System32\cacls.exe
  70. \Windows\System32\chartv.dll
  71. \Windows\System32\clip.exe
  72. \Windows\System32\Clipc.dll
  73. \Windows\System32\comsvcs.dll
  74. \Windows\System32\d3d10warp.dll
  75. \Windows\System32\D3D12.dll
  76. \Windows\System32\devmgr.dll
  77. \Windows\System32\filemgmt.dll
  78. \Windows\System32\OnDemandConnRouteHelper.dll
  79. \Windows\System32\dmdlgs.dll
  80. \Windows\System32\dmdskmgr.dll
  81. \Windows\System32\dmdskres.dll
  82. \Windows\System32\dmdskres2.dll
  83. \Windows\System32\dmintf.dll
  84. \Windows\System32\dmocx.dll
  85. \Windows\System32\dmutil.dll
  86. \Windows\System32\dmvdsitf.dll
  87. \Windows\System32\dmview.ocx
  88. \Windows\System32\ELSCore.dll
  89. \Windows\System32\GameInput.dll
  90. \Windows\System32\hlink.dll
  91. \Windows\System32\hotplug.dll
  92. \Windows\System32\IconCodecService.dll
  93. \Windows\System32\jscript.dll
  94. \Windows\System32\jscript9.dll
  95. \Windows\System32\mlang.dll
  96. \Windows\System32\mscories.dll
  97. \Windows\System32\mshtml.dll
  98. \Windows\System32\mycomput.dll
  99. \Windows\System32\objsel.dll
  100. \Windows\System32\odbcbcp.dll
  101. \Windows\System32\oledlg.dll
  102. \Windows\System32\rshx32.dll
  103. \Windows\System32\sc.exe
  104. \Windows\System32\shfolder.dll
  105. ;
  106. ;DsmSvc安全弹出USB设备(还需破解DeviceSetupManager.dll)
  107. \Windows\System32\DDOres.dll
  108. \Windows\System32\DeviceCenter.dll
  109. \Windows\System32\DeviceEject.exe
  110. \Windows\System32\DeviceSetupManager.dll
  111. \Windows\System32\DeviceSetupManagerAPI.dll
  112. \Windows\System32\DeviceSetupStatusProvider.dll
  113. \Windows\System32\DevPropMgr.dll
  114. \Windows\System32\StorageContextHandler.dll
  115. ;
  116. \ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\desktop.ini
  117. ;
  118. ;“微软拼音输入法”的图标
  119. ;\Windows\System32\InputMethod\SHARED
  120. ;
  121. ;输入法指示器 ctfmon 文件列表
  122. \Windows\System32\inputLocaleManager.dll
  123. \Windows\System32\inputHost.dll
  124. \Windows\System32\inputService.dll
  125. \Windows\System32\msctfime.ime
  126. \Windows\System32\Msctfp.dll
  127. \Windows\System32\MSWB7.dll
  128. \Windows\System32\NOISE.DAT
  129. \Windows\System32\MTF.dll
  130. \Windows\System32\MTFServer.dll
  131. \Windows\System32\TextInputFramework.dll
  132. \Windows\System32\Winsta.dll
  133. \Windows\System32\Ctfmon.exe
  134. \Windows\System32\Globinputhost.dll
  135. \Windows\System32\input.dll
  136. \Windows\System32\inputSwitch.dll
  137. \Windows\System32\msctf.dll
  138. \Windows\System32\msutb.dll
  139. \Windows\System32\MsCtfMonitor.dll
  140. \Windows\System32\MsctfuiManager.dll
  141. \Windows\System32\Windows.Globalization.dll
  142. \Windows\System32\Winlangdb.dll
  143. \Windows\System32\umpdc.dll
  144. \Windows\System32\clbcatq.dll
  145. \Windows\System32\dusmapi.dll
  146. \Windows\System32\netprofm.dll
  147. \Windows\System32\npmproxy.dll
  148. \Windows\System32\Windows.Networking.HostName.dll
  149. \Windows\System32\TextInputMethodFormatter.dll
  150. \Windows\System32\WordBreakers.dll
  151. \Windows\System32\Language*.dll
  152. \Windows\System32\Windows.UI.Core.TextInput.dll
  153. \Windows\System32\Windows.Web.dll
  154. \Windows\System32\ime_textinputhelpers.dll
  155. \Windows\System32\CorePrivacySettingsStore.dll
  156. ;输入法指示器图标(仅Win11 24H2)
  157. ;\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\SystemTray\Assets\AXPIcons.ttf
  158. ;
  159. ;任务管理器(依赖:输入法指示器)
  160. \Windows\System32\taskmgr.exe
  161. \Windows\System32\TaskManagerDataLayer.dll
  162. \Windows\System32\pdh.dll
  163. \Windows\System32\d3d12.dll
  164. \Windows\System32\diskperf.exe
  165. ;
  166. ;图片查看器(此组件是必须的,依赖:DirectX)
  167. ;注意!!!一定要有SystemTemp文件夹,否则打不开图片,提示“损坏、损毁或过大”!
  168. \Windows\SystemTemp
  169. \Program Files\Windows Photo Viewer
  170. \Windows\System32\spool\drivers\color
  171. \Windows\System32\coloradapterclient.dll
  172. \Windows\System32\DWrite.dll
  173. \Windows\System32\d3d8thk.dll
  174. \Windows\System32\d3d9.dll
  175. \Windows\System32\efswrt.dll
  176. \Windows\System32\IconCodecService.dll
  177. \Windows\System32\MFC42u.dll
  178. \Windows\System32\UIRibbon.dll
  179. \Windows\System32\UIRibbonRes.dll
  180. \Windows\System32\PhotoMetadataHandler.dll
  181. \Windows\System32\WMPhoto.dll
  182. \Windows\System32\WindowsCodecs.dll
  183. \Windows\System32\WindowsCodecsExt.dll
  184. \Windows\System32\mscms.dll
  185. \Windows\System32\icm32.dll
  186. \Windows\System32\sti.dll
  187. \Windows\System32\photowiz.dll
  188. \Windows\System32\shimgvw.dll
  189. \Windows\System32\uxtheme.dll
  190. \Windows\System32\colorui.dll
  191. \Windows\System32\htui.dll
  192. \Windows\System32\dllhost.exe
  193. \Windows\System32\oleacc.dll
  194. \Windows\System32\oleaccrc.dll
  195. \Windows\System32\efswrt.dll
  196. \Windows\System32\vaultcli.dll
  197. ;
  198. ;截图工具(WIN11无此组件)
  199. ;\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk
  200. ;\Program Files\Common Files\Microsoft Shared\ink\InkObj.dll
  201. ;\Program Files\Common Files\Microsoft Shared\ink\tpcps.dll
  202. ;\Program Files\Common Files\Microsoft Shared\ink\zh-CN\InkObj.dll.mui
  203. ;\Windows\System32\SnippingTool.exe
  204. ;\Windows\System32\DWrite.dll
  205. ;\Windows\System32\msdrm.dll
  206. ;\Windows\System32\oleacc.dll
  207. ;\Windows\System32\oleaccrc.dll
  208. ;\Windows\System32\uxtheme.dll
  209. ;\Windows\System32\wisp.dll
  210. ;
  211. ;写字板 文件列表(可选)
  212. ;\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Wordpad.lnk
  213. ;\Program Files\Windows NT\Accessories
  214. ;
  215. ;Win32版画图(可选)
  216. ;\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Paint.lnk
  217. ;\Windows\System32\mspaint.exe
  218. ;
  219. ;轻松使用 快捷方式
  220. \Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\desktop.ini
  221. \Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\On-Screen Keyboard.lnk
  222. ;\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\Magnify.lnk
  223. ;\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility\Narrator.lnk
  224. ;
  225. ;屏幕键盘、写字板、画图共同依赖的文件
  226. \Windows\System32\IconCodecService.dll
  227. \Windows\System32\UIRibbon.dll
  228. \Windows\System32\UIRibbonRes.dll
  229. \Windows\System32\mfc42u.dll
  230. \Windows\System32\WindowsCodecs.dll
  231. \Windows\System32\WindowsCodecsExt.dll
  232. ;
  233. ;屏幕键盘(可选)
  234. \Windows\System32\osk.exe
  235. \Windows\System32\utilman.exe
  236. \Windows\System32\OskSupport.dll
复制代码


4.3、处理注册表。
4.2.1、挂载PE的 DEFAULTSOFTWARESYSTEM 注册表配置单元为 HKEY_LOCAL_MACHINE\PE-DEFPE-SOFTPE-SYS 项。
4.2.2、挂载从 install.wim 提取的 SYSTEM 注册表配置单元为 HKEY_LOCAL_MACHINE\OS-SYS 项。
4.2.3、以SYSTEM权限运行附件中的 Addons_Registry.cmd 批处理。
4.2.4、手动卸载PE-DEFPE-SOFTPE-SYS注册表单元。

4.4、破解 DeviceSetupManager.dll。
4.3.1、复制PE的System32目录下的 DeviceSetupManager.dll 到附件中的”破解DLL“文件夹下。
4.3.2、运行 破解 DeviceSetupManager.cmd 批处理破解DLL。
4.3.3、将破解后的文件替换回 BOOT 的 System32 目录。

4.5、用WimTool打包wim并启动虚拟机测试。



详见下篇帖子:http://wuyou.net/forum.php?mod=v ... 5672&extra=page%3D1


作者: ycl7562834    时间: 昨天 10:00
66666
作者: ycl7562834    时间: 昨天 10:01
希望大佬增加驱动相关的教程
作者: zyy    时间: 昨天 12:22
上一篇还没学习,又有新的
作者: hzz0518    时间: 昨天 12:41
感谢大佬分享教程




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3