无忧启动论坛

标题: 基于 Windows 10 20H1 (19041.450) 官方中文原版 手功制作 Win10PE [打印本页]

作者: wAaron    时间: 2021-6-2 13:53
标题: 基于 Windows 10 20H1 (19041.450) 官方中文原版 手功制作 Win10PE
准备创建 Win10PE 介质所需的文件
1. Win10PE 基于 Windows 10 20H1 (19041.450) 官方中文原版
2. Download Windows 10 ADK 和 WinPE 加载项
3. 定制 WinPE 组件
    a. Explorer 原生 Windows Explorer 外壳
    b. Network  网络支持
    c. DWM  DWM服务支持
    d. MMC  MMC(含设备管理器,磁盘管理器,服务管理器)
    f. NetFX
    g. Search 原生搜索功
    h. MSTSC  远程桌面
    i. Windows 图片查看器
    j. SnippingTool 截图工具
    k. USB设备管理 (原生USB弹出支持)
    l. 远程桌面服务 (外部远程桌面连接PE)
    n. 网络发现(可访问相同网络中的计算机资源)
    m. 网络和共享中心 (网卡设置+网络托盘图标)
    o. 原生简体中文 (拼音,五笔)
    p. Powershell 支持 -PE 导入
4. 准备补充各组件相关联文件与资源,和注册表项,请跟帖


作者: wAaron    时间: 2021-6-2 14:00
本帖最后由 wAaron 于 2021-6-2 14:02 编辑

补充 使用 批处理 自动 增加 Package 可支持多语言
  1. Set WinPEDeploy=C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit
  2. Set WinPreEnv=!WinPEDeploy!\Deployment Tools
  3. Set WinPE_OCs=!WinPEDeploy!\Windows Preinstallation Environment\amd64\WinPE_OCs
  4. Set /p Languages=Enter WinPE in multiple languages (ex: zh-cn):
  5. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-MDAC.cab"
  6. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-MDAC_%Languages%.cab"
  7. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-WMI.cab"
  8. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-WMI_%Languages%.cab"
  9. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-NetFX.cab"
  10. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-NetFX_%Languages%.cab"
  11. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-Scripting.cab"
  12. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-Scripting_%Languages%.cab"
  13. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-HTA.cab"
  14. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-HTA_%Languages%.cab"
  15. @REM ::Dism /Image:"%PEImageMount%" /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-FMAPI.cab"
  16. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-PowerShell.cab"
  17. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-PowerShell_%Languages%.cab"
  18. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-StorageWMI.cab"
  19. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-StorageWMI_%Languages%.cab"
  20. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-DismCmdlets.cab"
  21. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\WinPE-DismCmdlets_%Languages%.cab"
  22. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\%Languages%\lp.cab"
  23. Dism /Image:"%PEImageMount%" /ScratchDir:%ScratchDir% /Add-Package /PackagePath:"%WinPE_OCs%\WinPE-FontSupport-%Languages%.cab"
复制代码


作者: bjay2008xmy    时间: 2021-6-2 14:17
提示: 作者被禁止或删除 内容自动屏蔽
作者: netants2011    时间: 2021-6-2 14:18
楼主威武,加油
作者: pigg    时间: 2021-6-2 14:28
成品什么时候出?
作者: 死了算伙    时间: 2021-6-2 14:30

楼主威武,加油
作者: gemini8    时间: 2021-6-2 15:30
谢谢楼主的分享
作者: guoziwei    时间: 2021-6-2 16:41
支持一下,辛苦了!
作者: wAaron    时间: 2021-6-2 17:35
提取相文件列表,参考来源于wimbuilder2 ,欢迎补充 缺失 文件

  1. Set Windows=D:\Win10Images\Windows
  2. Set /p Languages=Enter multiple languages (ex: zh-cn):
  3. Set log=D:\xcopy.log
  4. Set windir=D:\NewImages
  5. call :Explorer
  6. goto :EOF

  7. :Explorer
  8. xcopy /V /F /H /O /Y "%windows%\explorer.exe“ %windir%\ >%log%
  9. xcopy /V /F /H /O /Y "%windows%\%Languages%\explorer.exe.mui" %windir%\%Languages%\ >>%log%
  10. ::@指定路径为\Windows\System32\ 才会自动提取 \Windows\SystemResources\%File%.mun \Windows\System32\%Languages%\%File%.mui
  11. ::@\Windows\System32\     \Windows\SystemResources\*.mun \Windows\System32\%Languages%\*.mui
  12. @REM 如何循环下面的文件列表,并提取相应的文件到指定目录中
  13. Set File=clip.exe
  14. AppHelp.dll,AppResolver.dll,atlthunk.dll,avifil32.dll,Clipc.dll
  15. control.exe,comsvcs.dll,CoreMessaging.dll,CoreUIComponents.dll,cscapi.dll
  16. ctfmon.exe,desk.cpl,edputil.dll
  17. ELSCore.dll,IconCodecService.dll,imageres.dll,InfDefaultInstall.exe
  18. InputSwitch.dll,mfperfhelper.dll
  19. MrmCoreR.dll,mscories.dll,MsCtfMonitor.dll,msutb.dll,mycomput.dll,policymanager.dll,pdh.dll,PhotoMetadataHandler.dll,pnputil.exe
  20. ProximityCommon.dll,ProximityCommonPal.dll,ProximityService.dll,ProximityServicePal.dll
  21. rmclient.dll,sendmail.dll
  22. SettingSyncCore.dll,SharedStartModel.dll,ShellCommonCommonProxyStub.dll,shfolder.dll,shutdown.exe
  23. StartTileData.dll,sti.dll,stobject.dll,StorageUsage.dll,systemcpl.dll,TDLMigration.dll,TextInputFramework.dll,thumbcache.dll
  24. twinapi.appcore.dll,twinapi.dll,twinui.appcore.dll,twinui.pcshell.dll,UIAnimation.dll,UIRibbon.dll,UIRibbonRes.dll
  25. Windows.Gaming.Input.dll,Windows.Internal.Shell.Broker.dll,Windows.Networking.Connectivity.dll,WorkFoldersShell.dll,wpdshext.dll,zipfldr.dll
  26. windows.immersiveshell.serviceprovider.dll
  27. credssp.dll,mblctr.exe,TextShaping.dll
  28. Windows.Globalization.dll
  29. call :mui
  30. call :xcopy
  31. goto :EOF

  32. :mun
  33. xcopy /V /F /H /O /Y "%windows%\SystemResources\%File%.mun" %windir%\SystemResources\ >>%log%
  34. goto :EOF
  35. :mui
  36. xcopy /V /F /H /O /Y "%windows%\system32\%Languages%\%File%.mui" %windir%\System32\%Languages%\ >>%log%
  37. goto :EOF
  38. :xcopy
  39. xcopy /V /F /H /O /Y "%windows%\system32\%File%" %windir%\System32\ >>%log%
  40. goto :EOF
复制代码


作者: glzd    时间: 2021-6-2 22:50
楼主威武,加油!!!
作者: MC阿虎    时间: 2021-6-3 09:13
谢谢分享啦
作者: nqxh2008    时间: 2021-6-3 19:45
什么时候出啊
作者: huang1987    时间: 2023-10-12 07:04
谢谢分享




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