[原创] 手工给25398PE添加桌面教程
2023-7-12 4026

首先下载我上传好用于测试的iso镜像文件:

https://www.123pan.com/s/AoVDVv-YuKbd.html提取码:rIwo

image.webp

 

接下来把iso挂载到虚拟光驱

从虚拟光驱里找到boot.wim,用7z打开第二卷,把里面的windows文件夹提取出来,比如放到d:\boot(以下简称boot

 

image.webp

 

接下来打包开机先测试一下:

image.webp

可以看到已经进入了一个cmdpe界面,接下来先稍微清理一下不用的文件:

boot里以下文件删除:

D:\boot\Windows\AppCompat

D:\boot\Windows\CbsTemp

D:\boot\Windows\DiagTrack

D:\boot\Windows\en-US

D:\boot\Windows\Help

D:\boot\Windows\Imaging

D:\boot\Windows\LiveKernelReports

D:\boot\Windows\Logs

D:\boot\Windows\Microsoft.NET

D:\boot\Windows\PLA

D:\boot\Windows\PolicyDefinitions

D:\boot\Windows\schemas

D:\boot\Windows\security

D:\boot\Windows\ServiceState

D:\boot\Windows\Speech

D:\boot\Windows\SysWOW64

D:\boot\Windows\tracing

D:\boot\Windows\UUS

D:\boot\Windows\Vss

D:\boot\Windows\WaaS

D:\boot\Windows\System32\0409

D:\boot\Windows\System32\AdvancedInstallers

D:\boot\Windows\System32\af-ZA

D:\boot\Windows\System32\am-ET

D:\boot\Windows\System32\ar-SA

D:\boot\Windows\System32\as-IN

D:\boot\Windows\System32\az-Latn-AZ

D:\boot\Windows\System32\be-BY

D:\boot\Windows\System32\bg-BG

D:\boot\Windows\System32\bn-IN

D:\boot\Windows\System32\bs-Latn-BA

D:\boot\Windows\System32\ca-ES

D:\boot\Windows\System32\ca-ES-valencia

D:\boot\Windows\System32\catroot2

D:\boot\Windows\System32\chr-CHER-US

D:\boot\Windows\System32\cs-CZ

D:\boot\Windows\System32\cy-GB

D:\boot\Windows\System32\da-DK

D:\boot\Windows\System32\de-DE

D:\boot\Windows\System32\DiagSvcs

D:\boot\Windows\System32\downlevel

D:\boot\Windows\System32\DriverState

D:\boot\Windows\System32\el-GR

D:\boot\Windows\System32\en-GB

D:\boot\Windows\System32\en-US

D:\boot\Windows\System32\es-ES

D:\boot\Windows\System32\es-MX

D:\boot\Windows\System32\et-EE

D:\boot\Windows\System32\eu-ES

D:\boot\Windows\System32\fa-IR

D:\boot\Windows\System32\fi-FI

D:\boot\Windows\System32\fil-PH

D:\boot\Windows\System32\fr-CA

D:\boot\Windows\System32\fr-FR

D:\boot\Windows\System32\ga-IE

D:\boot\Windows\System32\gd-GB

D:\boot\Windows\System32\gl-ES

D:\boot\Windows\System32\GroupPolicy

D:\boot\Windows\System32\GroupPolicyUsers

D:\boot\Windows\System32\gu-IN

D:\boot\Windows\System32\he-IL

D:\boot\Windows\System32\hi-IN

D:\boot\Windows\System32\hr-HR

D:\boot\Windows\System32\hu-HU

D:\boot\Windows\System32\hy-AM

D:\boot\Windows\System32\id-ID

D:\boot\Windows\System32\is-IS

D:\boot\Windows\System32\it-IT

D:\boot\Windows\System32\ja-JP

D:\boot\Windows\System32\ka-GE

D:\boot\Windows\System32\kk-KZ

D:\boot\Windows\System32\km-KH

D:\boot\Windows\System32\kn-IN

D:\boot\Windows\System32\kok-IN

D:\boot\Windows\System32\ko-KR

D:\boot\Windows\System32\lb-LU

D:\boot\Windows\System32\LogFiles

D:\boot\Windows\System32\lo-LA

D:\boot\Windows\System32\lt-LT

D:\boot\Windows\System32\lv-LV

D:\boot\Windows\System32\migration

D:\boot\Windows\System32\mi-NZ

D:\boot\Windows\System32\mk-MK

D:\boot\Windows\System32\ml-IN

D:\boot\Windows\System32\mr-IN

D:\boot\Windows\System32\ms-MY

D:\boot\Windows\System32\mt-MT

D:\boot\Windows\System32\MUI

D:\boot\Windows\System32\nb-NO

D:\boot\Windows\System32\ne-NP

D:\boot\Windows\System32\nl-NL

D:\boot\Windows\System32\nn-NO

D:\boot\Windows\System32\oobe

D:\boot\Windows\System32\or-IN

D:\boot\Windows\System32\pa-IN

D:\boot\Windows\System32\pl-PL

D:\boot\Windows\System32\pt-BR

D:\boot\Windows\System32\pt-PT

D:\boot\Windows\System32\qps-ploc

D:\boot\Windows\System32\qps-plocm

D:\boot\Windows\System32\quz-PE

D:\boot\Windows\System32\ras

D:\boot\Windows\System32\RasToast

D:\boot\Windows\System32\Recovery

D:\boot\Windows\System32\restore

D:\boot\Windows\System32\ro-RO

D:\boot\Windows\System32\ru-RU

D:\boot\Windows\System32\setup

D:\boot\Windows\System32\sk-SK

D:\boot\Windows\System32\sl-SI

D:\boot\Windows\System32\SMI

D:\boot\Windows\System32\Speech

D:\boot\Windows\System32\spp

D:\boot\Windows\System32\sq-AL

D:\boot\Windows\System32\sr-Cyrl-BA

D:\boot\Windows\System32\sr-Cyrl-RS

D:\boot\Windows\System32\sr-Latn-RS

D:\boot\Windows\System32\sv-SE

D:\boot\Windows\System32\Sysprep

D:\boot\Windows\System32\ta-IN

D:\boot\Windows\System32\te-IN

D:\boot\Windows\System32\th-TH

D:\boot\Windows\System32\tr-TR

D:\boot\Windows\System32\tt-RU

D:\boot\Windows\System32\ug-CN

D:\boot\Windows\System32\uk-UA

D:\boot\Windows\System32\ur-PK

D:\boot\Windows\System32\uz-Latn-UZ

D:\boot\Windows\System32\vi-VN

D:\boot\Windows\System32\wbem

D:\boot\Windows\System32\WCN

D:\boot\Windows\System32\WindowsPowerShell

D:\boot\Windows\System32\winevt

D:\boot\Windows\System32\zh-TW

 

 

windows\winsxs目录下只保留以下文件其他全部删除

D:\boot\Windows\WinSxS\amd64_microsoft.windows.c..-controls.resources_6595b64144ccf1df_5.82.25398.1_zh-cn_a1fbdb947653f9cc

D:\boot\Windows\WinSxS\amd64_microsoft.windows.c..-controls.resources_6595b64144ccf1df_6.0.25398.1_zh-cn_8c617ea5043a8499

D:\boot\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.25398.1_none_2c6a2841628bedcd

D:\boot\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.25398.1_none_16cfcb51f072789a

D:\boot\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.25398.1_none_a745cb8b6b04bb1b

D:\boot\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.25398.1_none_96973a70040a94c2

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.c..-controls.resources_6595b64144ccf1df_5.82.25398.1_zh-cn_a1fbdb947653f9cc.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.c..-controls.resources_6595b64144ccf1df_6.0.25398.1_zh-cn_8c617ea5043a8499.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.25398.1_none_2c6a2841628bedcd.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.25398.1_none_16cfcb51f072789a.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.25398.1_none_a745cb8b6b04bb1b.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.25398.1_none_96973a70040a94c2.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.i..utomation.proxystub_6595b64144ccf1df_1.0.25398.1_none_c0af483e36cb9130.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.isolationautomation_6595b64144ccf1df_1.0.25398.1_none_1737f70ad7c1771c.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.s...smart_card_library_31bf3856ad364e35_10.0.25398.1_none_113892c8312b3262.manifest

D:\boot\Windows\WinSxS\Manifests\amd64_microsoft.windows.systemcompatible_6595b64144ccf1df_6.0.25398.1_none_1e6c0e35ad0966a1.manifest

 

删除好之后再打包开机测试一下

image.webp

接下来进入桌面添加的步骤:

从虚拟光驱中找到install.wim,从第24分卷把桌面相关的依赖文件提取到install文件夹(以下简称:install)按目录结构摆放好

 

此处内容隐藏,回复后可见!立即回复  回复后请刷新页面!刷新

收藏
点赞 3
道具卡
分享
瞎搞协会会长
最新回复 (78)
  • avatar image
    soft2023 2023-7-12

    学习,感谢大佬分享

  • avatar image
    absman1972 2023-7-12

    谢谢分享!

  • avatar image
    凉城ya 2023-7-12

    前排支持汉堡包

    才下眉头 却上心头
  • avatar image
    wxinchun92 2023-7-12

    谢谢分享

  • avatar image
    mxlee 2023-7-13

    很好的一堂课

  • avatar image
    kedion 2023-7-13

    谢谢分享

     

    kedion
  • avatar image
    ComPE_Official 2023-7-13

    汉堡包永远的神!!!

    无事 无非 不争 不斗 不管
  • avatar image

    thanks

    这个人很勤快,什么都留下了。
  • avatar image
    ningzhonghui 2023-7-17

    不错,有空尝试做一下

  • avatar image
    ffhello 2023-7-18

    非常好,用减法思路进行pe

    (~^^~)
  • avatar image
    xiayou 2023-7-20

    感谢分享,研究一下。

  • avatar image
    kingfightboy 2023-7-20

    感谢分享,研究一下

  • avatar image
    LRM_COM 2023-7-22

    失踪人回归😁

    一位喜欢分享和作死的UP主(QQ交流群:642581942)
  • avatar image
    mxr 2023-7-23

    多谢大佬分享

  • avatar image
    mxr 2023-7-23

    下一步,添加dwm窗口,期待大佬教程

  • avatar image
    xsm01 2023-7-24

    很给力的干货教程

    醉眼看人间,个个都温柔
  • avatar image
    Guuva 2023-7-24

    终于找到一个详细的了。感谢。

  • avatar image
    mahmmed927 2023-7-29

    多谢大佬分享

    mahmmed927
  • avatar image
    hinbean 2023-8-1

    学习学习

  • avatar image
    lh955 2023-8-2

    非常感谢

  • avatar image
    无为2023 2023-8-2

    批处理大佬搞一个。。方便

  • avatar image
    白云间 2023-8-2

    感谢分享!

  • avatar image
    BestMiniPE 2023-8-3

    太有用了,我也需要学习一下

  • avatar image
    pecmd9864 2023-8-9

    感谢分享

返回