網頁

2025年9月2日 星期二

製作繁體中文win 11 21h2 pe 22000.3260,極速維護用無聲音無網路

運行如風,穩若泰山,走在尖端

原本已寫過一篇 製作win11 21h2 pe繁體中文無聲音無網路維修版 ,因多次重新製作相同版本,製作過程雖大同小異,重新再寫一次,紀錄重做優化的過程,重做不是只將工序重做一次,而是更了解每一道工序,確認可以精簡及不能精簡的檔案,修改設定,製作完成的pe,穩定,正常執行工具程式,去除多餘無用的顯示項目。

用wimbuilder 製作windows 10 pe、windows 11 21h2 pe,windows\system32資料夾內的ExplorerFrame.dll、shell32.dll不需用較低版本取代,程式就可以正常釘選到工作列 。製作windows 11 22h2 pe、windows 11 23h2 pe、windows 11 24h2 pe, 程式無法正常釘選到工作列, windows\system32資料夾內的ExplorerFrame.dll、shell32.dll需用較低版本取代,程式才可以正常釘選到工作列。

windows 11 21h2及22h2,微軟於2024年10月8日最後一次安全更新後終止支援。 UUP dump 2024年10月09日之後未再更新windows 11 21h2,版本停留在22000.3260。

維護用win pe,主要需求:檔案小,開機快,無聲音網路,功能符合需求,可支援新舊電腦,穩定。win 10 pe 也可以符合以上需求,只是版本舊,win 11 21h2,版本雖不上不下,微軟也已終止支援,寫本文時,選這版本製作pe的原因:windows 版本越高製作相同功能的pe,檔案越大,這版本製作的pe,檔案大小適中,ExplorerFrame.dll、shell32.dll不需用較低版本取代,功能符合需求,可支援新舊電腦,穩定。網路上有相同版本簡體pe,可供參考檔案精簡參考,部分精簡檔可以直接替換,減少win pe 核心檔案大小。繁體中文

微軟要求CPU 支援 SSE 4.2指令集,POPCNT 指令,才能執行Windows 11 24H2,因此,老舊電腦可能無法用win 11 24h2 pe 開機。維護用win pe 須能支援新舊電腦開機,本文製作的無聲音網路維護用Win 11 PE(64位元繁體,intel RST VMD,Thunderbolt4,含導入SRS USB驅動),核心檔案小,開機速度快,無網路,無聲音,有大量共用驅動程式包,支持Intel 最新平臺RST VMD快速存儲,支持Intel_最新平臺筆電、觸控板,支持最新平台磁碟陣列RAID硬碟模式,支持觸控螢幕,螢幕鍵盤,Sruface觸摸、觸控螢幕、鍵盤。僅將部分/常用工具程式在桌面建立捷徑。開機可以處理windows 11 24H2用新安裝方式安裝的分割區。不需聲網純維護用,就用這個PE。

寫本文時是2025年,17年的電腦可能還能裝Windows 11 24H2。不能裝Windows 11 24H2的電腦,硬體差不多可以報廢了,如能安裝Windows 11 23H2繼續運作,值得慶幸,也可以執行win10 pe / win11 21h2 pe /  win11 22h2 pe / win11 23h2 pe繼續維護。

UUP dump下載windows 11 21h2 22000.3260。

windows 11->21h2-> Windows 11 (22000.3260) amd64


 中文(繁體)->下一步

windows 專業版->下一步
點選 下載 添加額外版本並轉為ISO
不勾選 整合NET Framework 3.5
只留windows 企業版->建立下載套件
(本文用windows 11 21h2 企業版製作win 11 21h2 pe)

->開啟windows 下載 資料夾->在22000.3260_amd64_zh-tw_professional_35630b7b_convert_virtual.zip檔名上按滑鼠右鍵->顯示其他選項->選7-zip->解壓縮檔案。

切換至22000.3260_amd64_zh-tw_professional_35630b7b_convert_virtual資料夾
滑鼠點二下執行uup_download_windows.cmd
下載windows 11 21h2 22000.3260檔案

windows 11 21h2 22000.3260所有檔案下載完成整合成一個ISO檔。例如:
22000.3260.241003-0908.CO_RELEASE_SVC_PROD1_CLIENTMULTI_X64FRE_ZH-TW.ISO
ISO檔之外的資料夾與檔案可以刪除。

下載wimbuilder
寫本文時,Latest下載的版本是WimBuilder2-Full.v2022-02-02.7z

https://slore.lanzoux.com/b00z5zy6b 寫本文時wimbuilder論壇公告版本是WimBuilder2-Full.v2024-11-11_Beta.7z

從github下載最新開發版

請注意:google chrome(或edge)下載wimbuilder2檔案時,可能顯示 已封鎖危險下載內容  這個檔案有危險....,或防毒軟體沒關閉 即時保護,下載的檔案被隔離或刪除。因此,下載檔案前先關閉防毒軟體即時保護。下載的檔案,可能被誤判病毒或在google chrome(或edge)第一次下載時,可能被判別有危險,下載過,第二次下載,就不會被攔。

關閉防毒軟體即時保護(以微軟內建防毒軟體為例)
已封鎖危險下載內容
這個檔案有危險....,點 ⋮ 。

->下載危險的檔案

wimbuilder2的bin\x64(及bin\x86)資料夾NSudoC.exe,可能會被防毒軟體誤判為病毒。
注意:NSudoC.exe如被防毒軟體移除或隔離,wimbuilder2將無法正常製作pe。如有被防毒軟體移除,請在防毒軟體的保護歷程記錄中 已隔離威脅 的 動作,選 還原。

wimbuilder的bin\x86資料夾NSudoC.exe,也可能會被防毒軟體誤判為病毒。

windows 11/10的微軟防毒軟體,關閉 即時保護,重開機後會自動開啟即時保護(windows server,重開機後不會自動開啟即時保護) ,請特別留意。因此,請於防毒軟體,將wimbuilder的資料夾,加入排除項目。

NSudoC.exe,不一定是最新版最合用,目前有用過6.1、6.2版。NSudoC.exe各版本下載網址:

先在開機碟或D碟或E碟建立wimbuilder資料夾,並將wimbuilder的資料夾,加入排除項目。
WimBuilder2-Full.v2022-02-02.7z解壓縮至wimbuilder資料夾,WimBuilder2-Full.v2024-11-11_Beta.7z解壓縮至wimbuilder資料夾,覆蓋WimBuilder2-Full.v2022-02-02.7z檔案,wimbuilder2-master.zip解壓縮至wimbuilder資料夾,覆蓋WimBuilder2-Full.v2022-02-02.7z及WimBuilder2-Full.v2022-02-02.7z檔案。

因解壓縮的wimbuilder2-master.zip Projects\WIN10XPE\01-Components\03-Audio\last.bat檔覆蓋WimBuilder2-Full.v2024-11-11_Beta.7z解壓縮的Projects\WIN10XPE\01-Components\03-Audio\last.bat檔,造成wimbuilder製作完成的win pe影音版沒有聲音。
本文雖是製作維護用無聲音無網路win pe,wimbuilder也可能會製作影音版pe,請再單獨擷取WimBuilder2-Full.v2024-11-11_Beta.7z的Projects\WIN10XPE\01-Components\03-Audio\last.bat檔覆蓋。
Projects\WIN10XPE\01-Components\03-Audio\last.bat檔內容:
rem fix unrecognized characters in volume mixer dialog
rem // reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink" /v "Microsoft YaHei UI"
if not exist "%X_WIN%\Fonts\Malgun.ttf" (
    if "%WB_PE_LANG%"=="zh-CN" copy /y Malgun.ttf "%X_WIN%\Fonts\"
)

if "x%opt[audio.hide_system_tray_icon]%"=="xtrue" (
    reg add "HKLM\Tmp_SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v HideSCAVolume /t REG_DWORD /d 1 /f
)


if %VER[3]% GEQ 22621 call :AudioSrvPatch_22621
if exist "%X_SYS%\AudioSrvPolicyManager.dll.org" del /f /q "%X_SYS%\AudioSrvPolicyManager.dll.org"
goto :EOF

:AudioSrvPatch_22621
call :AudioSrvPatch -s "83 FB 01 0F 84 92 00 00 00" -r "83 FB 01 E9 93 00 00 00 00"
if %errorlevel% EQU 1 goto :EOF

:AudioSrvPatch_22621_900later
call :AudioSrvPatch -s "83 FE 01 74 FF" -S "FF FF FF FF 00" -r "83 FE 01 EB FF" -R "FF FF FF FF 00"
if %errorlevel% EQU 1 goto :EOF

:AudioSrvPatch_25300
call :AudioSrvPatch -s "83 FF 01 74 FF" -S "FF FF FF FF 00" -r "83 FF 01 EB FF" -R "FF FF FF FF 00"
if %errorlevel% EQU 1 goto :EOF
goto :EOF

:AudioSrvPatch
binmay.exe  -u "%X_SYS%\AudioSrvPolicyManager.dll" %*
fc /b "%X_SYS%\AudioSrvPolicyManager.dll" "%X_SYS%\AudioSrvPolicyManager.dll.org"
goto :EOF

切換至wimbuilder資夾,執行 UserConfig.cmd,按任一鍵繼續,或關閉UserConfig.cmd執行視窗。

執行WimBuilder.cmd

關於->更新

預設從GitHub 下載更新->確定

如從GitHub 下載更新有狀況,可 點 設置->Gitee,改從Gitee下載更新。

更新下載中

更新完成時,如有下圖二個錯誤,沒關係,不影響win pe製作。

如發生win pe影音版沒有聲音。請從WimBuilder2-Full.v2024-11-11_Beta.7z擷取WimBuilder2-Full.v2024-11-11_Beta.7z\Projects\WIN10XPE\01-Components\03-Audio\last.bat取代
wimbuilder\Projects\WIN10XPE\01-Components\03-Audio\last.bat,wimbuilder 製作完成win pe影音版,就有聲音。

wimbuilder不一定能支援最新版windows 11 24h2製作pe,製作win 11 21h2 pe是可以的,完成win 11 21h2 pe 穩定且功能較符合需求。

本文的部分修正檔及設定,參考KuerPE_Win11_22000.3260維護版及網路蒐集資料。
startallback:於wimbuilder2 製作完成win11 21h2 pe 之後,檔案大小5.63MB,修改pe時,直接用KuerPE_win 11 21h2 22000的Program Files\StartAllBack取代即可。(已經修改好且能正常使用約1.33MB)。 因製作win 11 24h2 26100.4601之後版本的pe,StartAllBack須更新至3.9.13以上版本才能正常開機至桌面。請至https://www.startallback.com/ 下載最新版StartAllBack,存至wimbuilder\vendor\StartAllBack資料夾,並刪除舊版StartAllBack。win pe製作完成,參照KuerPE Program Files\StartAllBack的檔案精簡自己製作的win pe Program Files\StartAllBack。

剛製作完成win11 21h2 pe,startallback 檔案大小5.6MB、WinXShell 檔案大小5.59MB。

startallback未精簡前:5.63MB
startallback精簡後:1.33MB
WinXShell:於wimbuilder2 製作完成win11 21h2 pe 之後,檔案大小5.59MB,修改pe時,不要直接用KuerPE_win 11 21h2 22000 WinXShell取代,參考KuerPE做精簡,保留WinXShell.exe、WinXShell.jcfg、WinXShell.lua、wxsStub.dll,zh-TW資料夾。精簡wxsUI資料夾並添加繁體中文語言檔。維護用pe,WinXShell\wxsUI只用UI_Settings、UI_SystemInfo 2個ui。
WinXShell未精簡:5.59MB

WinXShell\wxsUI資料夾有10幾個 .zip檔,維護用win pe,只保留UI_SystemInfo.zip、UI_Settings.zip,先將二個.zip檔解壓縮,再刪除二個.zip檔。


WinXShell精簡後:3.75MB
WinXShell的wxsUI資料夾預設無繁體中文語言檔,因此,WinXShell在繁體中文pe顯示的介面,以英文顯示。可以複製簡體語言檔,檔名為zh-TW.xml,再用convertzconvertzz程式將zh-TW.xml內的簡體文字轉為繁體,用記事本開啟zh-TW.xml,將 微軟雅黑 字體改為 微軟正黑體。
以繁體中文化Program Files\WinXShell\wxsUI\UI_SystemInfo\locale\zh-TW.xml為例
複製簡體語言檔zh-CN.xml,檔名為zh-TW.xml,用convertz將zh-TW.xml內的簡體文字轉為繁體,用記事本開啟zh-TW.xml,將 微軟雅黑 字體改為 微軟正黑體。
Program Files\WinXShell\wxsUI\UI_Settings\locales語言檔,可以用相同方式繁體中文化。
自己從頭到尾設定wimbuilder2製作win11 21h2 pe的各種設定,須經非常多次調整設定項目耗費很多時間與測試,才可能製作出自己滿意的pe。如用別人優化過的設定檔,合用就直接套用,或稍微修改一下,省事又方便。wimbuilder設定檔範例之一:維護用無聲音網路,請開啟記事本,將以下內容存為litewin1122000_3260.js,存於d:\wimbuilder資料夾之下的AppData\Projects\WIN10XPE\_Assets_\preset或Projects\WIN10XPE\_Assets_\preset資料夾。
litewin1122000_3260.js檔內容如下:
var $patches_opt = {
    "build.source":"light",
    "build.registry.software":"merge",
    "build.catalog":"light",
    "build.wow64support":true,
    "system.admin_enabled":false,
    "system.admin_countdown":"5",
    "system.admin_screen":"wallpaper",
    "system.darktheme":false,
    "theme.title_color":"1",
    "config.fbwf.cache":"8192",
    "config.computername":"LITEPE",
    "shell.app":"explorer",
    "tweak.shortcut.noarrow":true,
    "tweak.shortcut.nosuffix":true,
    "component.MMC":true,
    "component.DWM":true,
    "component.vcruntime":true,
    "component.mspaint":false,
    "component.winphotoviewer":false,
    "network.builtin_drivers":false,
    "slim.ieframedll":true,
    "slim.jscript":true,
    "slim.hta":true,
    "slim.wmi":true,
    "slim.small_fonts":true,
    "slim.small_imageresdll":true,
    "slim.safe":true,
    "slim.extra":true,
    "build.cmd_mode":false,
    "build.cmd_mode_code":"MODE 150,9999",
    "build.registry.system_driverdatabase":"merge",
    "build.registry.drivers":"merge",
    "account.localized_admin_name":"Administrator",
    "account.custom_admin_name":"Administrator",
    "adk.wpe_path":"C:\\Program Files (x86)\\Windows Kits\\10\\Assessment and Deployment Kit\\Windows Preinstallation Environment",
    "adk.lang":"-",
    "desktop.iconsize":"48",
    "shell.use_theme_color":true,
    "shell.startmenu":"auto",
    "SIB.version":"*",
    "SIB.programs.flyout":false,
    "policy.lmcompatlevel":"2",
    "network.trayicon":true,
    "network.trayicon_lan":true,
    "network.trayicon_wlan":true,
    "network.full_functional":true,
    "network.type_builtin_drivers":"default",
    "component.dsmsvc":true,
    "MTP.mtphelper":"mtpHelper.sys",
    "IME.indicator":true,
    "IME.system_ime":true,
    "IME.ms_pinyin":true,
    "IME.ms_Phonetic":true,
    "component.notepad":false,
    "7-zip.selected_assoc_exts":"7z,zip,rar",
    "material.location":"X:",
    "material.load_mode":"auto",
    "PEMApp.chrome":false,
    "PEMApp.chrome.type":"INST",
    "PEMApp.chrome.dl_url":"https://dl.google.com/release2/chrome/AMQFLHv8Muh_ExYptfSwv2g_81.0.4044.113/81.0.4044.113_chrome_installer.exe",
    "mycustom.theme_id":1,
    "slim.mui":true,
    "slim.winre_sources":true,
    "slim.winboot":true,
    "slim.wbem_repository":true,
    "slim.speech":true,
    "slim.hive_drivers":true,
    "slim.hive_software":true,
    "slim.hive_system":true,
    "slim.hive_components":true,
    "vbox.version":"auto",
    "shell.wallpaper":"%APP_ROOT%\\%APPDATA_DIR%\\_CustomFiles_\\wallpaper.jpg",
    "build.preprocess_wim":false,
    "build.mount_wim_action":"built_in",
    "build.load_hive":true,
    "build.precommit_wim":true,
    "build.commit_wim_action":"built_in",
    "build.custom_iso":true,
    "build.preprocess_wim_script":"_PreProcessWimFile.bat",
    "build.mount_wim_script":"_MountWimFile.bat",
    "build.precommit_wim_script":"_PreCommitWimFile.bat",
    "build.commit_wim_script":"_CommitWimFile.bat",
    "build.registry.system":false,
    "build.full_catalog":false,
    "loader.name":"pecmd",
    "loader.PEMaterial":"PEMaterial",
    "system.power.off_disp_bat":0,
    "system.power.off_disp_plug":0,
    "system.power.off_disk_bat":20,
    "system.power.off_disk_plug":0,
    "system.power.dis_usb_suspend_bat":true,
    "system.power.dis_usb_suspend_plug":true,
    "system.volume_level":33,
    "system.volume_mute":false,
    "system.numlock":true,
    "account.SYSTEM_logon_pass":"",
    "account.admin_enabled":false,
    "account.admin_logon_pass":"",
    "account.admin_password":"",
    "account.admin_autologon":true,
    "account.autologon_countdown":0,
    "account.admin_screen":"wallpaper",
    "account.precreate_admin_profile":false,
    "component.taskmgr":true,
    "component.bitlocker":true,
    "component.search":true,
    "patch.drvinst":true,
    "driver.load_basic_display_demand":false,
    "slim.font.mingliu":true,
    "slim.hive":true,
    "component.MTP":false,
    "component.RNDIS":false,
    "component.printer":false,
    "component.bluetooth":false,
    "component.camera":false,
    "shell.light_theme":false,
    "shell.show_thisPC":true,
    "shell.show_recyclebin":true,
    "shell.taskbar.combine":"never",
    "shell.fix.showDesktop":true,
    "shell.ui.resolution":true,
    "shell.clockarea.event":true,
    "shell.system.property":true,
    "shell.shortcut.ocf":true,
    "shell.fix.fullscreen":true,
    "IE.x64_component":"x64",
    "IE.custom_settings":true,
    "IE.home_page":"about:blank",
    "component.wordpad":false,
    "component.snippingtool":false,
    "component.accessibility":false,
    "wow64.speech_api":false,
    "component.MSI":false,
    "component.netfx":false,
    "component.opengl":false,
    "component.directx":false,
    "component.speech_onecore":false,
    "appcompat.property_page":false,
    "appcompat.assistant":false,
    "system.high_compatibility":true,
    "component.PPPoE":false,
    "network.hide_system_tray_icon":false,
    "network.function_discovery":false,
    "network.networklist_and_sharecenter":false,
    "component.resmon":false,
    "winxshell.ui_volume.startup":false,
    "winxshell.ui_volume.no_beep":true,
    "winxshell.ui_wifi.startup":false,
    "SIB.skin":"Plain8",
    "SIB.style.opaque":true,
    "_._._":""
}

function patches_state_init() {
    uncheck_tree_node("_CustomFiles_");
    check_tree_node("00-Configures");
    open_tree_node("00-Configures");
    uncheck_tree_node("01-ADK_OCs");
    uncheck_tree_node("01-Components/00-Boot2WinRE");
    check_tree_node("01-Components/00-KK-System Tools");
    check_tree_node("01-Components/00-Shell/Explorer");
    check_tree_node("01-Components/00-Shell/WinXShell");
    uncheck_tree_node("01-Components/00-Shell/za-StartMenu/Classic Shell");
    check_tree_node("01-Components/00-Shell/za-StartMenu/StartIsBack");
    open_tree_node("01-Components/00-Shell/za-StartMenu");
    open_tree_node("01-Components/00-Shell");
    uncheck_tree_node("01-Components/02-Network");
    uncheck_tree_node("01-Components/03-Audio");
    uncheck_tree_node("01-Components/CredDialog");
    check_tree_node("01-Components/Devices and Printers");
    uncheck_tree_node("01-Components/IME");
    uncheck_tree_node("01-Components/Internet Explorer");
    uncheck_tree_node("01-Components/Remote Desktop");
    uncheck_tree_node("01-Components/Windows Media Player");
    uncheck_tree_node("01-Components/za-Accessories");
    check_tree_node("01-Components/zh-RuntimeKits");
    uncheck_tree_node("01-Components/zp-UWPAppX");
    open_tree_node("01-Components");
    uncheck_tree_node("01-Drivers");
    uncheck_tree_node("02-Apps");
    uncheck_tree_node("02-PEMaterial");
    open_tree_node("02-PEMaterial");
    uncheck_tree_node("10-MyCustom/00-MyLoader.LINK");
    uncheck_tree_node("10-MyCustom/00-MySystem.LINK");
    uncheck_tree_node("10-MyCustom/01-MyDrivers.LINK");
    uncheck_tree_node("10-MyCustom/10-MyApps.LINK");
    uncheck_tree_node("10-MyCustom/11-MyMaterial/00-Collection.LINK");
    uncheck_tree_node("10-MyCustom/11-MyMaterial/01-Maintenance.LINK");
    uncheck_tree_node("10-MyCustom/11-MyMaterial/02-Network.LINK");
    uncheck_tree_node("10-MyCustom/11-MyMaterial/03-Media.LINK");
    uncheck_tree_node("10-MyCustom/11-MyMaterial/04-OfficeApps.LINK");
    check_tree_node("10-MyCustom/11-MyMaterial/10-Others.LINK");
    open_tree_node("10-MyCustom/11-MyMaterial.LINK");
    uncheck_tree_node("10-MyCustom/MyContextMenu.LINK");
    uncheck_tree_node("10-MyCustom/MyStartMenu.LINK");
    uncheck_tree_node("10-MyCustom/MyTheme.LINK");
    uncheck_tree_node("10-MyCustom/y0-PlainCustom.LINK");
    select_tree_node("10-MyCustom/y0-PlainCustom.LINK");
    open_tree_node("10-MyCustom.LINK");
    check_tree_node("za-Slim");
    uncheck_tree_node("za-SlimUltra");
    uncheck_tree_node("zy-Test");
    uncheck_tree_node("zz-ISO");
    uncheck_tree_node("zz-Utils");
}


將從UUP DUMP下載的windows 11 21h2 iso檔掛載至虛擬光碟機。iso檔掛載至虛擬光碟機,可用虛擬光碟程式或ultraiso或windows 掛載。本文使用windows預設的功能 掛載,在iso檔按滑鼠右鍵->開啟檔案->windows 檔案總管

下圖是以windows 11 21h2 22000.3260 iso檔掛載至G碟為例(實際掛載磁碟機代號可能不同)

執行WimBuilder.cmd
先點選 設置->專家->主題 依自己喜好設定,右下角 立即重新啟動以應用最新設置?,點 是。重新啟動WimBuilder。

點 準備->瀏覽->點選 windows 11 21h2 iso掛載的磁碟機->確定。自動帶入install.wim

點選要使用install.wim的那一個映像來製作win11 21h2 pe
本文使用的windows 11 21h2 install.wim有2個映像(專業版、企業版Enterprise),網路上較多人用企業版來製作pe,就選企業版。也有人選專業版來製作pe。

點 Wim->點選 windows 11 21h2 iso掛載的磁碟機->切換至sources資料夾->點選 boot.wim->開啟

注意!一定要選 boot.wim的第2映像 Microsoft Windows Setup,做出的PE才能順利開機(各項設定也須正確)。基礎映像選好了boot.wim[2]:Microsoft Windows Setup,準備 的設定至此,算設定完成了。

專案 ,用預設的 WIN10XPE 即可。從畫面可知wimbuilder2有支援用windows 11 21h2 22000製作。

如點 定制 ,當前專案  預設:默認v,沒有任何專案可選。請分別點前面介紹過的 設置 準備,點進去設定後。關閉wimbuilder,執行WimBuilder.cmd,再來點 定制 ,就可以有專案可選。


前面的litewin1122000_3260.js,如有存於d:\wimbuilder資料夾之下的Projects\WIN10XPE\_Assets_\preset或AppData\Projects\WIN10XPE\_Assets_\preset資料夾。在這裡就可以點選litewin1122000_3260.js。
接下來就詳細說明,要用wimbuilder2 製作維護用無聲音網路且能正常開機的win11 21h2 pe,要怎麼設定及設定竅門。
先點 我的定置(前置)。如沒先點選,構建win11 21h2 pe,會彈出當前_ISO_範本目錄不可用。
第一次製作win11 21h2 pe,先點 我的定置(前置),構建win11 21h2 pe,建立_ISO_範本目錄。以後製作win pe 就不點 我的定置(前置)

沒先點選 我的定置(前置),構建win11 21h2 pe,會談出當前_ISO_範本目錄不可用。

點選 配置,不點選 設置[1-組建(CMD)]命令提示符窗口的大小。

點選 構建,點選 使用對WinSxS進行精簡的Winre.wim,點選 從install.wim提取必要註冊表專案(如點選 使用完整的install.wim的SOFTWARE註冊表,製作網路版的win pe,會造成edge安裝後,開啟edge會閃退),使用install.wim的DRIVERS註冊表 點選 合併,合併install.wim的SYSTEM\DriverDatabase 點選 合併。

點選 啟動管理,使用PECMD進行PE啟動管理

點選 系統,FBWF x碟緩存大小設定,網路上維護用無聲音網路 pe,設8GB或6GB或4GB,實際使用4GB就可以執行的,寫本文時wimbuilder,可選8GB或4GB,因現在的電腦大部分都有8GB以上RAM記憶體,就設8GB。
電源選項、聲音選項(不勾選)就照下圖設定。點選 開啟NumLock(數字鎖定鍵)。

點選 帳戶。因要製作實用、開機較快、核心較小pe。就不啟用Administrator帳戶(如點選啟用,製作出來的pe,檔案約多10MB)。
點選 設置為自動登入帳戶  自動登入的確認時間(秒):0。背景圖片 使用桌面壁紙。
不點選 預創建用戶配置檔。

點選 客製化設定。點選 消除快捷方式圖示上的小箭頭。點選 禁止新增“快捷方式”文字 。

點選 組件->系統工具。點選DWM、搜尋,MMC組件, 任務管理器,BitLocker。

點選 命令列。基礎 就照下圖設定。壁紙 先用預設的,也可以點入設定自己的圖檔。
命令列 右邊視窗,桌面 顯示我的電腦圖示ON 、 顯示回收站圖示ON。點選 中等圖示(小圖示看起來較小)
任務欄 點選 從不合併
(我的電腦=本機,回收站=資源回收筒,任務欄=工作列)

點選 Explorer 。

點選 WinXShell,右邊視窗內都不點選

點選 開始選單,點選 自動。Classic Shell可不點選。

點選 裝置和印表機。點選 DsmSvc(裝置安裝管理) 服務。原生安全移除硬體(彈出USB裝置)功能,其餘的不點選。

點選 組件。點選 64位操作系統上支持運行32位應用程式 、VC++ 8,9 運行庫,點選 Support more applications。

點選  精簡。右邊視窗內,精選項目全點選。

點選 構建。點選 構建後立即創建ISO。按 清理
按 1-構建(CMD)。開始製作win11 21h2 pe 22000.3260  繁體中文無聲音無網路版pe。

構建中

製作完成存於\_Factory_資料夾,檔名BOOTPE.iso,約512MB,BOOTPE.iso實際大小與windows 11 的版本、pe功能及wimbuilder2更新、wimbuilder2精簡有關。



win11 21h2 pe iso檔BOOTPE.iso製作完成,接下來就是重頭戲,手工精減。精減用到的工具程式gimagex、WinMergePortable、q-dir、7-zip。
建議用一個穩定的pe開機,在pe精減剛製作完成的win11 21h2 pe ,可以避免刪檔案或存檔需要權限,無法刪除或存檔的問題。
如自己從頭到尾做精簡,失敗率高,精簡之後可能無法開機,執行應用程式可能彈出缺檔畫面,精簡刪檔、補檔,來來回回,測試折騰,做到人仰馬翻,折騰幾天也不一定能達到滿意的瘦身程度,不一定能正常開機。
如有現成pe作品,使用相同pe製作工具程式,windows 版本相同,且已精簡過,精簡後的核心大小也可以接受,就先照單抓藥精簡自己做的win11 21h2 pe,做出仿真pe,再精益求精,添加自己需求功能或升級精簡程度。
為了實作及寫本文,於網絡搜尋pe現成作品,找到一個小於300MB win11 21h2 pe,剛好可以當精簡範本,它是用wimbuilder2製作的,雖有語音不同的遺憾,拿來當精簡範本還不錯。

安裝windows 11 24h2時,使用預設新的安裝方式,不是選 先前的設定版本 的安裝方式,安裝完成後,pe開機是看不到windows 11 24h2安裝的分割區。要用磁碟分割程式分配一個磁碟機代號,才能看到windows 11 24h2安裝的分割區。有網友寫個小程式或設定檔,pe開機過程執行,就可以在pe直接看到windows 11 24h2安裝的分割區。本文製作的win 11 21h2 維護用無聲音無網路pe ,也需將網友寫個小程式或設定檔納入pe,pe開機過程執行,才能看到用新的安裝方式,安裝的windows 11 24h2分割區。

因維護用win pe,輸入中文機會較少,且微軟注音、倉頡輸入法,檔案不小,改用只有2.11MB繁體小小輸入法,Windows\System32資料夾有C_936.NLS檔,繁體小小輸入法可以正常輸入。

從BOOTPE.iso擷取 boot.wim至一個資料夾或隨身碟,本文是在VM 虛擬機,pe開機,執行gimagex,將boot.wim   mount至d:\222資夾,點選 可讀寫(Read and Write)及寫入修改結果(Commit Changes)。以供進行精簡。

可手動精簡的資料夾與檔案:
Windows\WinSxs資料夾可精簡
Windows\WinSxs資料夾未精簡約37.8MB。

WinMerge比對網友kuer製作的KuerPE_Win11_22000.3260維護版WinSxs資料夾,點 比對結果 ,點選自己製作win11 21h2 pe 22000.3260 繁體中文維護用無聲音無網路版僅有的資料夾,約可刪除10個資料夾,有zh-TW的資料夾不刪。約可精簡21.7MB。

手動精簡WinSxs資料夾
搜尋x86_microsoft-windows-servicingstack_
WinSxS搜尋到2個資料夾,刪除。WinSxs\Manifests搜尋到二個檔案,刪除。

搜尋wow64_microsoft.windows.gdiplus.systemcopy_,找到一個資料夾,一個檔案,刪除。


搜尋amd64_microsoft.windows.gdiplus.systemcopy_ ,找到一個資料夾,一個檔案,刪除。

搜尋amd64_microsoft-windows-comctl32-,找到一個檔案,刪除。

搜尋amd64_microsoft-windows-comdlg32,找到二個檔案,刪除。

搜尋x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.22000.2600_none_a4abd03440eae0db
,找到一個資料夾,一個檔案,刪除。


搜尋amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.22000.2600_none_5cfe995d2c6eb7d5,找到一個資料夾,一個檔案,刪除。

不可以刪除x86_microsoft.windows.isolationautomation_6595b64144ccf1df_1.0.22000.1_none_9d9297afa7dc00e9

Manifests資料夾
(Manifests\x86_policy.8.0.microsoft.vc80.crt不能刪,刪了PartAssist無法執行)
 (Manifests\x86_policy.9.0.microsoft.vc90.crt不能刪,刪了PartAssist無法執行)
 (Manifests\amd64_policy.8.0.microsoft.vc80.crt不能刪,刪了PartAssist無法執行)
 (Manifests\amd64_policy.9.0.microsoft.vc90.crt不能刪,刪了PartAssist無法執行)

手動精簡WinSxs資料夾後約16.2MB
WinSxs資料夾精簡涉及pe是否能正常開機,工具程式是否可以正常執行。因此,pe能開機之後,務必測試每一支工具程式都能正常執行,如發生有工具程式無法正常執行,需確認是工具程式問題或pe支援問題,問題原因確定後,再逐項解決。如pe支援問題,補檔或修改設定,是常用的方法。

Windows\Fonts 的mingliu.ttc改用精簡過的。未精簡20.4MB,精簡後 8.41MB(8617KB)。
Windows\Fonts\mingliu.ttc
(已精簡的mingliu.ttc,可以從usbox pe 或網友2567288的WIN10PETW_20191231.iso內pe擷取)


Windows\SystemResources資料夾可精簡,用WinMerge比對網友kuer製作的KuerPE_Win11_22000.3260維護版SystemResources資料夾,點 比對結果 。
開啟q-dir比對二進制檔不同的檔案,imageres.dll.mun、shell32.dll.mun、DDORes.dll.mun三個檔最大,用精簡檔取代,可以精簡約46MB,其餘6個也可以用精簡檔取代。

將KuerPE_Win11_22000.3260維護版SystemResources資料夾,左邊9二進制檔不同的檔案(已精簡過),複製到右邊,約可精簡50MB。

開啟記事本將以下很長很多行的指令存為win1121h2downsize.cmd。這個批次檔是wimbuilder搭litewin1122000_3260.js 專案,製作的win11 21h2 pe BOOTPE.iso,擷取BOOTPE.iso\sources\boot.wim,在pe執行gimagex mount(掛載) boot.wim,執行win1121h2downsize.cmd,大精減win11 21h2 pe。win1121h2downsize.cmd是修改win 11 24h2 pe 精簡批次檔win1124h2downsize.cmd,經過精減測試的批次檔,搜尋功能正常,且可以正常開機。當然還有一些人工補檔及加入修正檔,才能讓win11 21h2 pe繁體中文維護用無聲音無網路版較完善。
執行win1121h2downsize.cmd精簡win 11 21h2 pe

win1121h2downsize.cmd檔內容:
del "d:\222\setup.exe" /f /q
rd "D:\222\PEMaterial" /s /q
del "D:\222\Users\Default\AppData\Roaming\Microsoft\Windows\AccountPictures\*.*" /f /q
del "D:\222\ProgramData\Microsoft\User Account Pictures\*.*" /f /q
rd "D:\222\Windows\AppCompat" /s /q
rd "D:\222\Windows\Cursors" /s /q
rd "D:\222\Windows\en-US" /s /q
rem rd "D:\222\Windows\Fonts" /s /q
rd "D:\222\Windows\Globalization\ICU" /s /q
rd "D:\222\Windows\Help" /s /q
rd "D:\222\Windows\INF\PERFLIB" /s /q
rd "D:\222\Windows\INF\wsearchidxpi" /s /q
rd "D:\222\Windows\LiveKernelReports" /s /q
rd "D:\222\Windows\Logs" /s /q
rd "D:\222\Windows\PolicyDefinitions" /s /q
rd "D:\222\Windows\PLA" /s /q
rd "D:\222\Windows\CbsTemp" /s /q
rd "D:\222\Windows\UUS" /s /q
rd "D:\222\Windows\servicing\Sessions" /s /q
rd "D:\222\Windows\servicing\Packages" /s /q
rd "D:\222\Windows\servicing\SQM" /s /q
rd "D:\222\Windows\servicing\Version" /s /q
del "D:\222\Windows\servicing\CbsApi.dll" /f /q
rem del "D:\222\Windows\servicing\CbsMsg.dll" /f /q
del "D:\222\Windows\servicing\wrpintapi.dll" /f /q
rd "D:\222\Windows\schemas" /s /q
rd "D:\222\Windows\security" /s /q
rd "D:\222\Windows\ServiceState" /s /q
del "D:\222\Windows\bfsvc.exe" /f /q
del "D:\222\Windows\hh.exe" /f /q
del "D:\222\Windows\notepad.exe" /f /q
del "D:\222\Windows\splwow64.exe" /f /q
rd "D:\222\Windows\Boot\DVD_EX" /s /q
rd "D:\222\Windows\Boot\EFI_EX" /s /q
rd "D:\222\Windows\Boot\Fonts_EX" /s /q
rd "D:\222\Windows\Boot\PXE" /s /q
rd "D:\222\Windows\Boot\PXE_EX" /s /q
rd "D:\222\Windows\Boot\Resources\en-US" /q /s
del "D:\222\Windows\Boot\BootDebuggerFiles.ini" /f /q
del "D:\222\Windows\Boot\Fonts\malgun_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\malgunn_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\meiryo_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\meiryon_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\msyh_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\msyhn_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\segmono_boot.ttf" /f /q
del "D:\222\Windows\Boot\Fonts\wgl4_boot.ttf" /f /q
del "D:\222\Windows\Fonts\mingliu.ttc"  /f /q
rd "D:\222\Windows\System32\0409" /s /q
rd "D:\222\Windows\System32\catroot2" /s /q
rd "D:\222\Windows\System32\CodeIntegrity\Update" /s /q
rd "D:\222\Windows\System32\config\BBI" /s /q
rd "D:\222\Windows\System32\config\RegBack" /s /q
rd "D:\222\Windows\System32\config\BCD-Template" /s /q
rd "D:\222\Windows\System32\config\ELAM" /s /q
rd "D:\222\Windows\System32\downlevel" /s /q
rd "D:\222\Windows\System32\DriverState" /s /q
rd "D:\222\Windows\System32\GroupPolicy" /s /q
rd "D:\222\Windows\System32\GroupPolicyUsers" /s /q
rd "D:\222\Windows\System32\icsxml" /s /q
rd "D:\222\Windows\System32\LogFiles" /s /q
rd "D:\222\Windows\System32\MUI" /s /q
rd "D:\222\Windows\System32\NetworkList" /s /q
rd "D:\222\Windows\System32\oobe" /s /q
rd "D:\222\Windows\System32\ras" /s /q
rd "D:\222\Windows\System32\RasToast" /s /q
rd "D:\222\Windows\System32\Recovery" /s /q
rd "D:\222\Windows\System32\restore" /s /q
rd "D:\222\Windows\System32\setup" /s /q
rd "D:\222\Windows\System32\SMI" /s /q
rd "D:\222\Windows\System32\spool" /s /q
rd "D:\222\Windows\System32\Sysprep" /s /q
rd "D:\222\Windows\System32\WindowsPowerShell" /s /q
del "D:\222\Windows\System32\@VpnToastIcon.png" /f /q
del "D:\222\Windows\System32\4545ffe2-0dc4-4df4-9d02-299ef204635e_hvsocket.dll" /f /q
del "D:\222\Windows\System32\69fe178f-26e7-43a9-aa7d-2b616b672dde_eventlogservice.dll" /f /q
del "D:\222\Windows\System32\6bea57fb-8dfb-4177-9ae8-42e8b3529933_RuntimeDeviceInstall.dll" /f /q
del "D:\222\Windows\System32\adtschema.dll" /f /q
del "D:\222\Windows\System32\advapi32res.dll" /f /q
del "D:\222\Windows\System32\AggregatorHost.exe" /f /q
del "D:\222\Windows\System32\APMon.dll" /f /q
 del "D:\222\Windows\System32\AppMon.dll" /f /q 
del "D:\222\Windows\system32\apprepapi.dll" /f /q
del "D:\222\Windows\System32\AppXApplicabilityBlob.dll" /f /q 
del "D:\222\Windows\System32\AppXDeploymentServer.dll" /f /q 
del "D:\222\Windows\System32\AppxPackaging.dll" /f /q 
del "D:\222\Windows\System32\Apx01000.dll" /f /q
del "D:\222\Windows\System32\ARP.EXE" /f /q
del "D:\222\Windows\System32\asycfilt.dll" /f /q
del "D:\222\Windows\System32\AtBroker.exe" /f /q
del "D:\222\Windows\System32\audioresourceregistrar.dll" /f /q
del "D:\222\Windows\System32\authfwcfg.dll" /f /q
del "D:\222\Windows\System32\AuthFWGP.dll" /f /q
del "D:\222\Windows\System32\AuthFWWizFwk.dll" /f /q
del "D:\222\Windows\System32\authui.dll" /f /q
del "D:\222\Windows\System32\autochk.exe" /f /q
del "D:\222\Windows\System32\autofstx.exe" /f /q
del "D:\222\Windows\System32\bcdprov.dll" /f /q
del "D:\222\Windows\System32\bcdsrv.dll" /f /q
del "D:\222\Windows\System32\bderepair.dll" /f /q
del "D:\222\Windows\System32\bidispl.dll" /f /q
del "D:\222\Windows\System32\bitsperf.dll" /f /q
del "D:\222\Windows\System32\BitsProxy.dll" /f /q
del "D:\222\Windows\System32\blb_ps.dll" /f /q
del "D:\222\Windows\System32\blbres.dll" /f /q
del "D:\222\Windows\System32\bmrui.exe" /f /q
del "D:\222\Windows\System32\BootMenuUX.dll" /f /q
del "D:\222\Windows\System32\BootRec.exe" /f /q
del "D:\222\Windows\System32\bootstr.dll" /f /q
del "D:\222\Windows\System32\bootsvc.dll" /f /q
del "d:\222\Windows\System32\bootux.dll" /f /q
del "D:\222\Windows\System32\browseui.dll" /f /q  
del "D:\222\Windows\System32\C_10000.NLS" /f /q
rem del "D:\222\Windows\System32\C_1251.NLS" /f /q
rem del "D:\222\Windows\System32\C_1252.NLS" /f /q
rem del "D:\222\Windows\System32\C_20127.NLS" /f /q
rem del "D:\222\Windows\System32\C_28591.NLS" /f /q
rem del "D:\222\Windows\System32\C_437.NLS" /f /q
del "D:\222\Windows\System32\C_G18030.DLL" /f /q
del "D:\222\Windows\System32\c_GSM7.DLL" /f /q
del "D:\222\Windows\System32\C_ISCII.DLL" /f /q
del "D:\222\Windows\System32\cabapi.dll" /f /q
del "D:\222\Windows\System32\cacls.exe" /f /q
del "d:\222\Windows\System32\calc.exe" /f /q
del "d:\222\Windows\System32\cdp.dll" /f /q
del "D:\222\Windows\System32\certca.dll" /f /q
del "D:\222\Windows\System32\certcli.dll" /f /q
del "D:\222\Windows\System32\cfmifs.dll" /f /q
del "D:\222\Windows\System32\cfmifsproxy.dll" /f /q
del "D:\222\Windows\System32\chkntfs.exe" /f /q
del "D:\222\Windows\System32\cimfs.dll" /f /q
del "D:\222\Windows\System32\clip.exe" /f /q
del "D:\222\Windows\System32\CloudRecApi.dll" /f /q
del "D:\222\Windows\System32\CloudRecoveryDownloadTool.dll" /f /q
del "D:\222\Windows\System32\CloudRecSvc.exe" /f /q
del "D:\222\Windows\System32\clusapi.dll" /f /q
del "D:\222\Windows\System32\cmifw.dll" /f /q
del "D:\222\Windows\System32\cngcredui.dll" /f /q
del "D:\222\Windows\System32\cngprovider.dll" /f /q
del "D:\222\Windows\System32\comcat.dll" /f /q
del "D:\222\Windows\System32\comp.exe" /f /q
del "D:\222\Windows\System32\compact.exe" /f /q
del "D:\222\Windows\System32\CompPkgSrv.exe" /f /q
del "D:\222\Windows\System32\compstui.dll" /f /q
del "D:\222\Windows\System32\configras.cmd" /f /q
del "D:\222\Windows\System32\ConhostV1.dll" /f /q
del "D:\222\Windows\System32\connect.dll" /f /q
del "D:\222\Windows\System32\ConsoleLogon.dll" /f /q
del "D:\222\Windows\System32\convertvhd.exe" /f /q
del "D:\222\Windows\System32\CoreMas.dll" /f /q
del "D:\222\Windows\System32\CredentialUIBroker.exe" /f /q
del "D:\222\Windows\System32\CredProv2faHelper.dll" /f /q
del "D:\222\Windows\System32\CredProvDataModel.dll" /f /q
del "D:\222\Windows\System32\credprovhost.dll" /f /q
del "D:\222\Windows\System32\credprovs.dll" /f /q
del "D:\222\Windows\System32\credprovslegacy.dll" /f /q
del "D:\222\Windows\System32\cryptdlg.dll" /f /q
del "D:\222\Windows\System32\cryptext.dll" /f /q
del "D:\222\Windows\System32\cryptoss.dll" /f /q
del "D:\222\Windows\System32\CSystemEventsBrokerClient.dll" /f /q
del "D:\222\Windows\System32\ctac.json" /f /q
del "D:\222\Windows\System32\d3d10.dll" /f /q
del "D:\222\Windows\System32\d3d10core.dll" /f /q
del "D:\222\Windows\System32\d3d10level9.dll" /f /q
del "D:\222\Windows\System32\d3d11on12.dll" /f /q
del "D:\222\Windows\System32\D3D12Core.dll" /f /q
del "D:\222\Windows\System32\d3d8thk.dll" /f /q
del "D:\222\Windows\System32\d3d9on12.dll" /f /q
del "D:\222\Windows\System32\D3DSCache.dll" /f /q
rem del "D:\222\Windows\System32\DafPrintProvider.dll" /f /q
del "D:\222\Windows\System32\dafWCN.dll" /f /q
del "D:\222\Windows\System32\dafWfdProvider.dll" /f /q
del "d:\222\Windows\System32\dbgeng.dll" /f /q
del "D:\222\Windows\System32\DbgModel.dll" /f /q
rem del "D:\222\Windows\System32\DDOIProxy.dll" /f /qs
rem del "D:\222\Windows\System32\DefaultDeviceManager.dll" /f /q
rem del "D:\222\Windows\System32\DefaultPrinterProvider.dll" /f /q
del "D:\222\Windows\System32\DefaultQuestions.json" /f /q
del "D:\222\Windows\System32\delegatorprovider.dll" /f /q
del "D:\222\Windows\System32\DetailedReading-Default.xml" /f /q
rem del "D:\222\Windows\System32\DevDispItemProvider.dll" /f /q
rem del "D:\222\Windows\System32\DeveloperOptionsSettingsHandlers.dll" /f /q
del "D:\222\Windows\System32\DeviceCensus.exe" /f /q
rem del "D:\222\Windows\System32\DeviceDisplayStatusManager.dll" /f /q
rem del "D:\222\Windows\System32\DeviceDriverRetrievalClient.dll" /f /q
rem del "D:\222\Windows\System32\DeviceElementSource.dll" /f /q
rem del "D:\222\Windows\System32\DeviceEnroller.exe" /f /q
rem del "D:\222\Windows\System32\DeviceMetadataRetrievalClient.dll" /f /q
del "D:\222\Windows\System32\devicengccredprov.dll" /f /q
rem del "D:\222\Windows\System32\DevicePairing.dll" /f /q
rem del "D:\222\Windows\System32\DevicePairingFolder.dll" /f /q
rem del "D:\222\Windows\System32\DevicePairingProxy.dll" /f /q
rem del "D:\222\Windows\System32\DevicePairingWizard.exe" /f /q
del "D:\222\Windows\System32\DeviceProperties.exe" /f /q
rem del "D:\222\Windows\System32\deviceregistration.dll" /f /q
rem del "D:\222\Windows\System32\DevicesFlowBroker.dll" /f /q
del "D:\222\Windows\System32\DeviceSoftwareInstallationClient.dll" /f /q
del "D:\222\Windows\System32\DeviceUpdateAgent.dll" /f /q
rem del "D:\222\Windows\System32\DeviceUxRes.dll" /f /q
rem del "D:\222\Windows\System32\devinv.dll" /f /q
rem del "D:\222\Windows\System32\DevQueryBroker.dll" /f /q
del "D:\222\Windows\System32\dhcpcmonitor.dll" /f /q
del "D:\222\Windows\System32\diagnosticdataquery.dll" /f /q
del "D:\222\Windows\System32\dialer.exe" /f /q
del "D:\222\Windows\System32\diskraid.exe" /f /q
del "D:\222\Windows\System32\dllhst3g.exe" /f /q
del "D:\222\Windows\System32\dmcmnutils.dll" /f /q
del "D:\222\Windows\System32\dnscacheugc.exe" /f /q
del "D:\222\Windows\System32\doclient.dll" /f /q
del "D:\222\Windows\System32\domgmt.dll" /f /q
del "D:\222\Windows\System32\doskey.exe" /f /q
del "D:\222\Windows\System32\dosvc.dll" /f /q
del "D:\222\Windows\System32\dot3api.dll" /f /q
del "D:\222\Windows\System32\dot3cfg.dll" /f /q
del "D:\222\Windows\System32\dot3gpclnt.dll" /f /q
del "D:\222\Windows\System32\dot3msm.dll" /f /q
del "D:\222\Windows\System32\dot3svc.dll" /f /q
del "D:\222\Windows\System32\dpapimig.exe" /f /q
del "D:\222\Windows\System32\dpx.dll" /f /q
del "D:\222\Windows\System32\driverquery.exe" /f /q
del "D:\222\Windows\System32\dskquota.dll" /f /q
del "D:\222\Windows\System32\dtdump.exe" /f /q
del "D:\222\Windows\System32\dtsh.dll" /f /q
del "D:\222\Windows\System32\dxgwdi.dll" /f /q
del "D:\222\Windows\system32\dxtmsft.dll" /f /q
del "D:\222\Windows\System32\Eap3Host.exe" /f /q
del "D:\222\Windows\System32\eapp3hst.dll" /f /q
del "D:\222\Windows\System32\eappcfg.dll" /f /q
del "D:\222\Windows\System32\eappcfgui.dll" /f /q
del "D:\222\Windows\System32\eappgnui.dll" /f /q
del "D:\222\Windows\System32\eapphost.dll" /f /q
del "D:\222\Windows\System32\eapprovp.dll" /f /q
del "D:\222\Windows\System32\eapputil.dll" /f /q
del "D:\222\Windows\System32\eapsvc.dll" /f /q
del "D:\222\Windows\System32\EapTeapAuth.dll" /f /q
del "D:\222\Windows\System32\EapTeapConfig.dll" /f /q
rem del "d:\222\Windows\System32\edgeIso.dll" /f /q
rem del "D:\222\Windows\System32\EdgeManager.dll" /f /q
del "D:\222\Windows\System32\efscore.dll" /f /q
del "D:\222\Windows\System32\efssvc.dll" /f /q
rem system32\en-US精簡,可以將要保留的二個檔案複製出來,將檔案全刪除後,再將二個檔案複製回來
md d:\tempen-US
copy "D:\222\Windows\System32\en-US\fveapi.dll.mui" d:\tempen-US /y
copy "D:\222\Windows\System32\en-US\shellstyle.dll.mui" d:\tempen-US /y
del "D:\222\Windows\System32\en-US\*.*" /f /q
copy d:\tempen-US\*.* D:\222\Windows\System32\en-US /y
rd d:\tempen-US /s /q
del "D:\222\Windows\System32\esentutl.exe" /f /q
del "D:\222\Windows\System32\esevss.dll" /f /q
del "D:\222\Windows\System32\ETWESEProviderResources.dll" /f /q
del "D:\222\Windows\System32\eventcls.dll" /f /q
del "D:\222\Windows\System32\expand.exe" /f /q
del "D:\222\Windows\System32\f3ahvoas.dll" /f /q
del "D:\222\Windows\System32\Facilitator.dll" /f /q
rem del "D:\222\Windows\System32\FaxPrinterInstaller.dll" /f /q
del "D:\222\Windows\System32\fcon.dll" /f /q
rem del "D:\222\Windows\System32\FdDevQuery.dll" /f /q
del "D:\222\Windows\System32\fdPHost.dll" /f /q
rem del "D:\222\Windows\System32\fdPnp.dll" /f /q
rem del "D:\222\Windows\System32\fdprint.dll" /f /q
del "D:\222\Windows\System32\fdProxy.dll" /f /q
del "D:\222\Windows\System32\FDResPub.dll" /f /q
del "D:\222\Windows\System32\fdSSDP.dll" /f /q
del "D:\222\Windows\System32\fdWCN.dll" /f /q
del "D:\222\Windows\System32\fdWNet.dll" /f /q
del "D:\222\Windows\System32\fdWSD.dll" /f /q
rem del "D:\222\Windows\System32\findnetprinters.dll" /f /q
del "D:\222\Windows\System32\finger.exe" /f /q
del "D:\222\Windows\System32\Firewall.cpl" /f /q
del "D:\222\Windows\System32\FirewallControlPanel.dll" /f /q
del "D:\222\Windows\System32\fixmapi.exe" /f /q
del "D:\222\Windows\System32\FlightSettings.dll" /f /q
del "D:\222\Windows\System32\fltmgrres.dll" /f /q
del "D:\222\Windows\System32\fmapi.dll" /f /q
del "D:\222\Windows\System32\framedyn.dll" /f /q
del "D:\222\Windows\System32\fstx.dll" /f /q
del "D:\222\Windows\System32\ftp.exe" /f /q
del "D:\222\Windows\System32\fundisc.dll" /f /q
del "D:\222\Windows\System32\fverecoverux.dll" /f /q
del "D:\222\Windows\System32\fwcfg.dll" /f /q
del "D:\222\Windows\System32\GdiPlus.dll" /f /q
rem del "D:\222\Windows\System32\gpprnext.dll" /f /q
del "D:\222\Windows\System32\HalExtIntcLpioDMA.dll" /f /q
del "D:\222\Windows\System32\HalExtIntcPseDMA.dll" /f /q
del "D:\222\Windows\System32\HalExtPL080.dll" /f /q
del "D:\222\Windows\System32\hbaapi.dll" /f /q
del "D:\222\Windows\System32\hdwwiz.cpl" /f /q
del "D:\222\Windows\System32\hdwwiz.exe" /f /q
del "D:\222\Windows\System32\help.exe" /f /q
del "D:\222\Windows\system32\hlink.dll" /f /q
del "D:\222\Windows\System32\HNetCfgClient.dll" /f /q
del "D:\222\Windows\System32\HOSTNAME.EXE" /f /q
del "D:\222\Windows\System32\HvSocket.dll" /f /q
del "D:\222\Windows\System32\icacls.exe" /f /q
del "D:\222\Windows\System32\icfupgd.dll" /f /q
rem del "D:\222\Windows\System32\icm32.dll" /f /q
rem del "D:\222\Windows\System32\icmui.dll" /f /q
del "D:\222\Windows\System32\icsigd.dll" /f /q
del "D:\222\Windows\System32\icsunattend.exe" /f /q
rem del "D:\222\Windows\System32\icu.dll" /f /q 不能刪會無法搜尋
del "D:\222\Windows\System32\icuin.dll" /f /q
del "D:\222\Windows\System32\icuuc.dll" /f /q
del "D:\222\Windows\system32\ie4uinit.exe" /f /q
del "D:\222\Windows\system32\ieapfltr.dll" /f /q
del "D:\222\Windows\system32\iedkcs32.dll" /f /q
rem del "D:\222\Windows\System32\iemigplugin.dll" /f /q
del "D:\222\Windows\system32\iepeers.dll" /f /q
del "D:\222\Windows\system32\IEProxyDesktop.dll" /f /q
del "D:\222\Windows\system32\iernonce.dll" /f /q
rem del "D:\222\Windows\System32\IESettingSync.exe" /f /q
del "D:\222\Windows\system32\iesetup.dll" /f /q
del "D:\222\Windows\system32\iesysprep.dll" /f /q
del "D:\222\Windows\system32\ieui.dll" /f /q
del "D:\222\Windows\system32\ieuinit.inf" /f /q
del "D:\222\Windows\System32\imagelib.dll" /f /q
del "D:\222\Windows\System32\imagesp1.dll" /f /q
del "D:\222\Windows\System32\imapi.dll" /f /q
del "D:\222\Windows\System32\imapi2fs.dll" /f /q
del "D:\222\Windows\System32\imgutil.dll" /f /q
del "D:\222\Windows\System32\IndexedDbLegacy.dll" /f /q
del "D:\222\Windows\System32\inetcomm.dll" /f /q
rem del "D:\222\Windows\System32\inetpp.dll" /f /q
rem del "D:\222\Windows\System32\inetppui.dll" /f /q
del "D:\222\Windows\System32\INETRES.dll" /f /q
del "D:\222\Windows\System32\InitializeNetwork.cmd" /f /q
del "D:\222\Windows\System32\iphlpsvc.dll" /f /q
del "D:\222\Windows\System32\ipnathlp.dll" /f /q
del "D:\222\Windows\System32\iprtprio.dll" /f /q
del "D:\222\Windows\System32\iprtrmgr.dll" /f /q
del "D:\222\Windows\System32\IPSECSVC.DLL" /f /q
del "D:\222\Windows\System32\joinproviderol.dll" /f /q
del "D:\222\Windows\System32\jscript.dll" /f /q
del "D:\222\Windows\System32\jsproxy.dll" /f /q
del "D:\222\Windows\System32\kd_02_10df.dll" /f /q
del "D:\222\Windows\System32\kd_02_10ec.dll" /f /q
del "D:\222\Windows\System32\kd_02_1137.dll" /f /q
del "D:\222\Windows\System32\kd_02_1414.dll" /f /q
del "D:\222\Windows\System32\kd_02_14e4.dll" /f /q
del "D:\222\Windows\System32\kd_02_15ad.dll" /f /q
del "D:\222\Windows\System32\kd_02_15b3.dll" /f /q
del "D:\222\Windows\System32\kd_02_1969.dll" /f /q
del "D:\222\Windows\System32\kd_02_19a2.dll" /f /q
del "D:\222\Windows\System32\kd_02_1af4.dll" /f /q
del "D:\222\Windows\System32\kd_02_8086.dll" /f /q
del "D:\222\Windows\System32\kd_07_1415.dll" /f /q
del "D:\222\Windows\System32\kd_0C_8086.dll" /f /q
del "D:\222\Windows\System32\kdcpw.dll" /f /q
del "D:\222\Windows\System32\kdnet.dll" /f /q
del "D:\222\Windows\System32\kdnet_uart16550.dll" /f /q
del "D:\222\Windows\System32\KeyCredMgr.dll" /f /q
del "D:\222\Windows\System32\keymgr.dll" /f /q
del "D:\222\Windows\System32\kmddsp.tsp" /f /q
del "D:\222\Windows\System32\l2gpstore.dll" /f /q
del "D:\222\Windows\System32\l2nacp.dll" /f /q
del "D:\222\Windows\System32\label.exe" /f /q
del "D:\222\Windows\System32\localkdcsvc.dll" /f /q
rem del "D:\222\Windows\System32\localspl.dll" /f /q
rem del "D:\222\Windows\System32\localui.dll" /f /q
del "D:\222\Windows\System32\lodctr.exe" /f /q
del "D:\222\Windows\System32\LogonController.dll" /f /q
del "D:\222\Windows\System32\lpk.dll" /f /q
del "D:\222\Windows\System32\manage-bde.exe" /f /q
rem del "D:\222\Windows\System32\mapistub.dll" /f /q 不能刪會無法搜尋
del "D:\222\Windows\System32\mblctr.exe" /f /q
del "D:\222\Windows\System32\MBR2GPT.EXE" /f /q
del "D:\222\Windows\System32\mcbuilder.exe" /f /q
del "D:\222\Windows\System32\md1.reg" /f /q
del "D:\222\Windows\System32\mdmregistration.dll" /f /q
del "D:\222\Windows\System32\MdSched.exe" /f /q
del "D:\222\Windows\system32\MFMediaEngine.dll" /f /q
del "D:\222\Windows\system32\mfnetcore.dll" /f /q
del "D:\222\Windows\system32\mfnetsrc.dll" /f /q
del "D:\222\Windows\system32\mfsvr.dll" /f /q
rem del "D:\222\Windows\System32\mgmtapi.dll" /f /q
del "D:\222\Windows\System32\mibincodec.dll" /f /q
del "D:\222\Windows\System32\Microsoft.Windows.Storage.Core.dll" /f /q
del "D:\222\Windows\System32\Microsoft.Windows.Storage.StorageBusCache.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-battery-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-hal-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-kernel-pnp-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-kernel-power-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-kernel-processor-power-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-pdc.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-sac-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-sleepstudy-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-storage-tiering-events.dll" /f /q
del "D:\222\Windows\System32\microsoft-windows-system-events.dll" /f /q
del "D:\222\Windows\System32\mimofcodec.dll" /f /q
del "D:\222\Windows\System32\mispace.dll" /f /q
del "D:\222\Windows\System32\mlang.dat" /f /q
del "D:\222\Windows\System32\mprddm.dll" /f /q
del "D:\222\Windows\System32\mprdim.dll" /f /q
del "D:\222\Windows\System32\mprmsg.dll" /f /q
del "D:\222\Windows\System32\MRINFO.EXE" /f /q
del "D:\222\Windows\System32\msafd.dll" /f /q
del "D:\222\Windows\system32\MSAudDecMFT.dll" /f /q
del "D:\222\Windows\System32\msaudite.dll" /f /q
del "D:\222\Windows\System32\mscat32.dll" /f /q
del "D:\222\Windows\system32\msctfuimanager.dll" /f /q
del "D:\222\Windows\system32\msfeeds.dll" /f /q
del "D:\222\Windows\System32\mshtml.tlb" /f /q
del "D:\222\Windows\System32\MshtmlDac.dll" /f /q
del "D:\222\Windows\System32\mshtmled.dll" /f /q
del "D:\222\Windows\System32\mshtmler.dll" /f /q
del "D:\222\Windows\System32\msieftp.dll" /f /q
del "D:\222\Windows\System32\msimtf.dll" /f /q
del "D:\222\Windows\System32\msinfo32.exe" /f /q
del "D:\222\Windows\system32\mskeyprotcli.dll" /f /q
del "D:\222\Windows\system32\msmpeg2vdec.dll" /f /q
del "D:\222\Windows\System32\msobjs.dll" /f /q
del "D:\222\Windows\System32\msoert2.dll" /f /q
del "D:\222\Windows\System32\mspatcha.dll" /f /q
del "D:\222\Windows\System32\mspatchc.dll" /f /q
del "D:\222\Windows\System32\msrating.dll" /f /q
del "D:\222\Windows\System32\mssign32.dll" /f /q
del "D:\222\Windows\System32\mssip32.dll" /f /q
del "D:\222\Windows\System32\mssitlb.dll" /f /q
del "D:\222\Windows\System32\mssph.dll" /f /q
del "D:\222\Windows\System32\mssprxy.dll" /f /q
del "D:\222\Windows\System32\mssrch.dll" /f /q
rem del "D:\222\Windows\System32\mssvp.dll" /f /q 不能刪會無法搜尋
del "D:\222\Windows\System32\msvcirt.dll" /f /q
del "D:\222\Windows\System32\msvcp120_clr0400.dll" /f /q
del "D:\222\Windows\System32\msvcp140_clr0400.dll" /f /q
del "D:\222\Windows\System32\msvcr100_clr0400.dll" /f /q
del "D:\222\Windows\System32\msvcr120_clr0400.dll" /f /q
del "D:\222\Windows\system32\msvproc.dll" /f /q
del "D:\222\Windows\System32\MSWB7.dll" /f /q
rem del "D:\222\Windows\System32\MSWB70404.dll" /f /q 不能刪會無法搜尋
del "D:\222\Windows\System32\mtxdm.dll" /f /q
del "D:\222\Windows\System32\muifontsetup.dll" /f /q
del "D:\222\Windows\System32\MuiUnattend.exe" /f /q
del "D:\222\Windows\System32\NaturalLanguage6.dll" /f /q
del "D:\222\Windows\System32\nbtstat.exe" /f /q
del "D:\222\Windows\System32\nci.dll" /f /q
del "D:\222\Windows\System32\ndfapi.dll" /f /q
del "D:\222\Windows\System32\ndfetw.dll" /f /q
del "D:\222\Windows\System32\NdfEventView.xml" /f /q
del "D:\222\Windows\System32\ndfhcdiscovery.dll" /f /q
del "D:\222\Windows\System32\netdiagfx.dll" /f /q
del "D:\222\Windows\System32\netiohlp.dll" /f /q
rem del "D:\222\Windows\System32\netlogon.dll" /f /q  不能刪會無法搜尋
del "D:\222\Windows\System32\Netplwiz.exe" /f /q
del "D:\222\Windows\System32\nettrace.dll" /f /q
del "D:\222\Windows\System32\ngclocal.dll" /f /q
rem del "D:\222\Windows\System32\NL7Data0404.dll" /f /q 不能刪會無法搜尋
rem del "D:\222\Windows\System32\NL7Lexicons0404.dll" /f /q 不能刪會無法搜尋
del "d:\222\Windows\System32\NL7Models0404.dll" /f /q
del "D:\222\Windows\System32\NOISE.CHT" /f /q
del "D:\222\Windows\System32\normnfc.nls" /f /q
del "D:\222\Windows\System32\normnfd.nls" /f /q
del "D:\222\Windows\System32\normnfkc.nls" /f /q
del "D:\222\Windows\System32\normnfkd.nls" /f /q
del "D:\222\Windows\System32\nrtapi.dll" /f /q
del "D:\222\Windows\System32\nshdnsclient.dll" /f /q
del "D:\222\Windows\System32\nshhttp.dll" /f /q
del "D:\222\Windows\System32\nshipsec.dll" /f /q
del "D:\222\Windows\System32\nshwfp.dll" /f /q
del "D:\222\Windows\System32\ntfsres.dll" /f /q
del "d:\222\Windows\System32\ntkrla57.exe" /f /q
del "D:\222\Windows\System32\ntprint.dll" /f /q
del "D:\222\Windows\System32\ntprint.exe" /f /q
del "D:\222\Windows\system32\occache.dll" /f /q
del "D:\222\Windows\System32\odbccp32.dll" /f /q
del "D:\222\Windows\System32\odbcint.dll" /f /q
del "D:\222\Windows\System32\odbctrac.dll" /f /q
del "D:\222\Windows\System32\offlinelsa.dll" /f /q
del "D:\222\Windows\System32\offlinesam.dll" /f /q
del "D:\222\Windows\System32\OLD5E8E.tmp" /f /q
del "D:\222\Windows\System32\OLD5E9F.tmp" /f /q
del "D:\222\Windows\System32\OLD5EB0.tmp" /f /q
del "D:\222\Windows\system32\OLD91D3.tmp" /f /q
rem del "D:\222\Windows\system32\OLD91E4.tmp" /f /q
rem del "D:\222\Windows\system32\OLD9204.tmp" /f /q
del "D:\222\Windows\System32\oleacchooks.dll" /f /q
del "D:\222\Windows\System32\OneSettingsClient.dll" /f /q
del "D:\222\Windows\System32\OpcServices.dll" /f /q
del "D:\222\Windows\System32\pacjsworker.exe" /f /q
rem del "D:\222\Windows\System32\pcl.sep" /f /q
del "D:\222\Windows\system32\PCPKsp.dll" /f /q
del "D:\222\Windows\System32\pcwum.dll" /f /q
del "D:\222\Windows\System32\PeerDistSh.dll" /f /q
del "D:\222\Windows\System32\perfc009.dat" /f /q
del "D:\222\Windows\System32\perfd009.dat" /f /q
del "D:\222\Windows\System32\perfh009.dat" /f /q
del "D:\222\Windows\System32\perfi009.dat" /f /q
del "D:\222\Windows\System32\perfnet.dll" /f /q
del "D:\222\Windows\System32\perfos.dll" /f /q
del "D:\222\Windows\System32\perfproc.dll" /f /q
rem del "D:\222\Windows\System32\photowiz.dll" /f /q
del "D:\222\Windows\System32\PkgMgr.exe" /f /q
del "D:\222\Windows\System32\plutonfw_AuthenticAMD.dll" /f /q
del "D:\222\Windows\System32\pngfilt.dll" /f /q
del "D:\222\Windows\System32\pnpdiag.dll" /f /q
del "D:\222\Windows\System32\pnppolicy.dll" /f /q
del "D:\222\Windows\System32\pnpui.dll" /f /q
del "D:\222\Windows\System32\PnPUnattend.exe" /f /q
del "D:\222\Windows\System32\polstore.dll" /f /q
del "D:\222\Windows\System32\poqexec.exe" /f /q
del "D:\222\Windows\System32\poweroff.cmd" /f /q
del "D:\222\Windows\system32\prfc0404.dat" /f /q
del "D:\222\Windows\System32\prfd0404.dat" /f /q
del "D:\222\Windows\System32\prfh0404.dat" /f /q
del "D:\222\Windows\System32\prfi0404.dat" /f /q
del "D:\222\Windows\System32\prflbmsg.dll" /f /q
del "D:\222\Windows\System32\print.exe" /f /q
del "D:\222\Windows\System32\printui.dll" /f /q
rem del "D:\222\Windows\System32\Print.PrintSupport.Source.dll" /f /q
rem del "D:\222\Windows\System32\PrintBrmUi.exe" /f /q
rem del "D:\222\Windows\System32\PrinterCleanupTask.dll" /f /q
rem del "D:\222\Windows\System32\printfilterpipelineprxy.dll" /f /q
rem del "D:\222\Windows\System32\printfilterpipelinesvc.exe" /f /q
rem del "D:\222\Windows\System32\PrintIsolationHost.exe" /f /q
rem del "D:\222\Windows\System32\PrintIsolationProxy.dll" /f /q
rem del "D:\222\Windows\System32\printmanagement.msc" /f /q
rem del "D:\222\Windows\System32\PrintPlatformConfig.dll" /f /q
rem del "D:\222\Windows\System32\PrintRenderAPIHost.DLL" /f /q
rem del "D:\222\Windows\System32\printticketvalidation.dll" /f /q
del "D:\222\Windows\System32\printui.exe" /f /q
rem del "D:\222\Windows\System32\PrintWSDAHost.dll" /f /q
rem del "D:\222\Windows\System32\prncache.dll" /f /q
rem del "D:\222\Windows\System32\prnfldr.dll" /f /q  不能刪會無法搜尋
rem del "D:\222\Windows\System32\prnntfy.dll" /f /q
rem del "D:\222\Windows\System32\prntvpt.dll" /f /q
del "D:\222\Windows\System32\ProductEnumerator.dll" /f /q
del "D:\222\Windows\System32\profext.dll" /f /q
del "D:\222\Windows\system32\profprov.dll" /f /q
del "D:\222\Windows\system32\profsvcext.dll" /f /q
del "D:\222\Windows\System32\provthrd.dll" /f /q
del "D:\222\Windows\System32\ProximityCommon.dll" /f /q
del "D:\222\Windows\System32\ProximityCommonPal.dll" /f /q
del "D:\222\Windows\System32\ProximityService.dll" /f /q
del "D:\222\Windows\System32\ProximityServicePal.dll" /f /q
del "D:\222\Windows\System32\prvdmofcomp.dll" /f /q
rem del "D:\222\Windows\System32\pscript.sep" /f /q
del "D:\222\Windows\System32\PSModuleDiscoveryProvider.dll" /f /q
del "D:\222\Windows\System32\psmodulediscoveryprovider.mof" /f /q
del "D:\222\Windows\System32\puiapi.dll" /f /q
rem del "D:\222\Windows\System32\puiobj.dll" /f /q
del "D:\222\Windows\System32\qmgr.dll" /f /q
del "D:\222\Windows\System32\Query.dll" /f /q
del "D:\222\Windows\System32\query.exe" /f /q
del "D:\222\Windows\System32\rasauto.dll" /f /q
del "D:\222\Windows\System32\rasautou.exe" /f /q
del "D:\222\Windows\System32\raschap.dll" /f /q
del "D:\222\Windows\System32\raschapext.dll" /f /q
del "D:\222\Windows\System32\rasctrnm.h" /f /q
del "D:\222\Windows\System32\rasctrs.dll" /f /q
del "D:\222\Windows\System32\rasdiag.dll" /f /q
del "D:\222\Windows\System32\rasdial.exe" /f /q
del "D:\222\Windows\System32\rasdlg.dll" /f /q
del "D:\222\Windows\System32\rasgcw.dll" /f /q
del "D:\222\Windows\System32\rasmans.dll" /f /q
del "D:\222\Windows\System32\rasmbmgr.dll" /f /q
del "D:\222\Windows\System32\rasmontr.dll" /f /q
del "D:\222\Windows\System32\rasphone.exe" /f /q
del "D:\222\Windows\System32\rasppp.dll" /f /q
del "D:\222\Windows\System32\rastapi.dll" /f /q
del "D:\222\Windows\System32\rastls.dll" /f /q
del "D:\222\Windows\System32\rastlsext.dll" /f /q
del "D:\222\Windows\System32\rdrleakdiag.exe" /f /q
del "D:\222\Windows\System32\recdisc.exe" /f /q
del "D:\222\Windows\System32\recover.exe" /f /q
del "D:\222\Windows\System32\ReFsDedupSvc.exe" /f /q
del "D:\222\Windows\System32\RefsDedupSvc.Proxy.dll" /f /q
del "D:\222\Windows\System32\Register-CimProvider.exe" /f /q
del "D:\222\Windows\System32\ReInfo.dll" /f /q
del "D:\222\Windows\System32\remoteaudioendpoint.dll" /f /q
rem del "D:\222\Windows\System32\RemoveDeviceContextHandler.dll" /f /q
del "D:\222\Windows\System32\repair-bde.exe" /f /q
del "D:\222\Windows\System32\ResetEngine.dll" /f /q
del "D:\222\Windows\System32\ResetEngine.exe" /f /q
del "D:\222\Windows\System32\ResetPluginHost.exe" /f /q
del "D:\222\Windows\System32\ResetTelemetry.dll" /f /q
del "D:\222\Windows\System32\ROUTE.EXE" /f /q
del "D:\222\Windows\System32\rstrui.exe" /f /q
del "D:\222\Windows\System32\rtm.dll" /f /q
del "D:\222\Windows\System32\runexehelper.exe" /f /q
del "D:\222\Windows\System32\sacsess.exe" /f /q
del "D:\222\Windows\System32\sacsvr.dll" /f /q
del "D:\222\Windows\System32\scesrv.dll" /f /q
del "D:\222\Windows\System32\schedcli.dll" /f /q
del "D:\222\Windows\System32\scrobj.dll" /f /q
del "D:\222\Windows\System32\sdhcinst.dll" /f /q
del "D:\222\Windows\System32\SearchFilterHost.exe" /f /q
del "D:\222\Windows\System32\SearchIndexer.exe" /f /q
del "D:\222\Windows\System32\SearchProtocolHost.exe" /f /q
del "D:\222\Windows\System32\seclogon.dll" /f /q
del "D:\222\Windows\System32\Sens.dll" /f /q
rem del "D:\222\Windows\System32\serialui.dll" /f /q
del "D:\222\Windows\System32\setbcdlocale.dll" /f /q
del "D:\222\Windows\System32\setup.bmp" /f /q
del "D:\222\Windows\System32\setupetw.dll" /f /q
del "D:\222\Windows\System32\setx.exe" /f /q
del "D:\222\Windows\System32\sfc.exe" /f /q
del "D:\222\Windows\System32\shacct.dll" /f /q
del "D:\222\Windows\System32\ShellCommonCommonProxyStub.dll" /f /q
rem del "D:\222\Windows\System32\shimgvw.dll" /f /q
del "D:\222\Windows\System32\shrpubw.exe" /f /q
del "D:\222\Windows\System32\SMBHelperClass.dll" /f /q
del "D:\222\Windows\System32\smbwmiv2.dll" /f /q
del "D:\222\Windows\System32\smphost.dll" /f /q
del "D:\222\Windows\System32\softpub.dll" /f /q
del "D:\222\Windows\System32\sort.exe" /f /q
del "D:\222\Windows\System32\spaceutil.exe" /f /q
del "D:\222\Windows\System32\SpatialAudioLicenseSrv.exe" /f /q
rem del "D:\222\Windows\System32\spoolss.dll" /f /q
rem del "D:\222\Windows\System32\spoolsv.exe" /f /q
del "D:\222\Windows\System32\spp.dll" /f /q
del "D:\222\Windows\System32\sppnp.dll" /f /q
del "D:\222\Windows\System32\sprefs.dll" /f /q
del "D:\222\Windows\system32\sqmapi.dll" /f /q
del "D:\222\Windows\System32\srchadmin.dll" /f /q
del "D:\222\Windows\System32\srclient.dll" /f /q
del "D:\222\Windows\System32\srcore.dll" /f /q
del "D:\222\Windows\system32\srpapi.dll" /f /q
del "D:\222\Windows\System32\ssdpapi.dll" /f /q
del "D:\222\Windows\System32\ssdpsrv.dll" /f /q
del "D:\222\Windows\System32\SSShim.dll" /f /q
del "D:\222\Windows\System32\sstpsvc.dll" /f /q
del "D:\222\Windows\System32\startnet.cmd" /f /q
del "d:\222\Windows\System32\StartTileData.dll" /f /q
del "D:\222\Windows\System32\stdole32.tlb" /f /q
del "D:\222\Windows\System32\StorageUsage.dll" /f /q
del "D:\222\Windows\System32\storagewmi.dll" /f /q
del "D:\222\Windows\System32\storagewmi_passthru.dll" /f /q
del "D:\222\Windows\System32\streamci.dll" /f /q
del "D:\222\Windows\System32\subst.exe" /f /q
del "D:\222\Windows\System32\svsvc.dll" /f /q
del "D:\222\Windows\system32\sxsstore.dll" /f /q
del "D:\222\Windows\System32\sxstrace.exe" /f /q
del "D:\222\Windows\System32\SyncCenter.dll" /f /q
rem del "D:\222\Windows\System32\sysprint.sep" /f /q
rem del "D:\222\Windows\System32\sysprtj.sep" /f /q
del "D:\222\Windows\System32\sysreset.exe" /f /q
del "D:\222\Windows\System32\SystemPropertiesHardware.exe" /f /q
del "D:\222\Windows\System32\SystemPropertiesPerformance.exe" /f /q
del "D:\222\Windows\System32\tapi32.dll" /f /q
del "D:\222\Windows\System32\tapilua.dll" /f /q
del "D:\222\Windows\System32\tapiperf.dll" /f /q
del "D:\222\Windows\System32\tapisrv.dll" /f /q
del "D:\222\Windows\System32\tapiui.dll" /f /q
del "D:\222\Windows\System32\tbs.dll" /f /q
del "D:\222\Windows\System32\tcpmib.dll" /f /q
rem del "D:\222\Windows\System32\tcpmon.ini" /f /q
rem del "D:\222\Windows\System32\tcpmonui.dll" /f /q
del "D:\222\Windows\System32\TCPSVCS.EXE" /f /q
del "D:\222\Windows\System32\tdhres.dll" /f /q
del "D:\222\Windows\System32\TDLMigration.dll" /f /q
del "D:\222\Windows\System32\telephon.cpl" /f /q
rem del "D:\222\Windows\System32\threadpoolwinrt.dll" /f /q
del "D:\222\Windows\System32\tier2punctuations.dll" /f /q
del "D:\222\Windows\System32\TimeBrokerClient.dll" /f /q
del "D:\222\Windows\System32\TimeBrokerServer.dll" /f /q
del "D:\222\Windows\System32\tokenbinding.dll" /f /q
del "D:\222\Windows\System32\TpmCertResources.dll" /f /q
del "D:\222\Windows\System32\TpmCoreProvisioning.dll" /f /q
del "D:\222\Windows\System32\tquery.dll" /f /q
del "D:\222\Windows\System32\TRACERT.EXE" /f /q
del "D:\222\Windows\System32\tree.com" /f /q
del "D:\222\Windows\System32\TrustedSignalCredProv.dll" /f /q
del "D:\222\Windows\system32\tsdiscon.exe" /f /q
del "D:\222\Windows\System32\TSpkg.dll" /f /q
del "D:\222\Windows\System32\TSSessionUX.dll" /f /q
del "D:\222\Windows\System32\TtlsAuth.dll" /f /q
del "D:\222\Windows\System32\TtlsCfg.dll" /f /q
del "D:\222\Windows\System32\twext.dll" /f /q
del "D:\222\Windows\System32\tzres.dll" /f /q
del "D:\222\Windows\System32\ubpm.dll" /f /q
del "D:\222\Windows\System32\ucrtbase_clr0400.dll" /f /q
del "D:\222\Windows\System32\ucrtbase_enclave.dll" /f /q
del "D:\222\Windows\System32\ucsvc.exe" /f /q
del "D:\222\Windows\System32\uiomapapi.dll" /f /q
rem del "D:\222\Windows\System32\umb.dll" /f /q
del "D:\222\Windows\System32\UnionFSApi.dll" /f /q
del "D:\222\Windows\System32\unlodctr.exe" /f /q
del "D:\222\Windows\System32\UpdateAgent.dll" /f /q
del "D:\222\Windows\System32\UpdateCompression.dll" /f /q
del "D:\222\Windows\System32\updatepolicy.dll" /f /q
del "D:\222\Windows\System32\upnp.dll" /f /q
del "D:\222\Windows\System32\upnpcont.exe" /f /q
del "D:\222\Windows\System32\upnphost.dll" /f /q
del "D:\222\Windows\System32\uReFSv1.dll" /f /q
rem del "D:\222\Windows\System32\usbmon.dll" /f /q
del "D:\222\Windows\System32\utcutil.dll" /f /q
del "D:\222\Windows\System32\uudf.dll" /f /q
del "D:\222\Windows\System32\verifier.dll" /f /q
del "D:\222\Windows\System32\verifier.exe" /f /q
del "D:\222\Windows\System32\verifiergui.exe" /f /q
del "D:\222\Windows\System32\VhfUm.dll" /f /q
del "D:\222\Windows\System32\vmbuspipe.dll" /f /q
del "D:\222\Windows\System32\vpnike.dll" /f /q
del "D:\222\Windows\System32\vpnikeapi.dll" /f /q
del "D:\222\Windows\System32\w32topl.dll" /f /q
del "D:\222\Windows\System32\wbadmin.exe" /f /q
del "D:\222\Windows\system32\wbem\bcd.mof" /f /q
del "D:\222\Windows\system32\wbem\classlog.mof" /f /q
del "D:\222\Windows\system32\wbem\filetrace.mof" /f /q
del "D:\222\Windows\system32\wbem\hbaapi.mof" /f /q
del "D:\222\Windows\system32\wbem\IMAPIv2-Base.mof" /f /q
del "D:\222\Windows\system32\wbem\IMAPIv2-FileSystemSupport.mof" /f /q
del "D:\222\Windows\system32\wbem\IMAPIv2-LegacyShim.mof" /f /q
del "D:\222\Windows\system32\wbem\interop.mof" /f /q
del "D:\222\Windows\system32\wbem\iscsidsc.mof" /f /q
del "D:\222\Windows\system32\wbem\iscsihba.mof" /f /q
del "D:\222\Windows\system32\wbem\iscsiprf.mof" /f /q
del "D:\222\Windows\system32\wbem\iscsirem.mof" /f /q
del "D:\222\Windows\system32\wbem\iscsiwmiv2.mof" /f /q
del "D:\222\Windows\system32\wbem\iscsiwmiv2_uninstall.mof" /f /q
del "D:\222\Windows\system32\wbem\kerberos.mof" /f /q
del "D:\222\Windows\system32\wbem\KrnlProv.dll" /f /q
del "D:\222\Windows\system32\wbem\krnlprov.mof" /f /q
del "D:\222\Windows\system32\wbem\Microsoft-Windows-Remote-FileSystem.mof" /f /q
del "D:\222\Windows\system32\wbem\mispace.mof" /f /q
del "D:\222\Windows\system32\wbem\mispace_uninstall.mof" /f /q
del "D:\222\Windows\system32\wbem\mofinstall.dll" /f /q
del "D:\222\Windows\system32\wbem\mountmgr.mof" /f /q
del "D:\222\Windows\system32\wbem\msv1_0.mof" /f /q
del "D:\222\Windows\system32\wbem\NCProv.dll" /f /q
del "D:\222\Windows\system32\wbem\ncprov.mof" /f /q
del "D:\222\Windows\system32\wbem\ndistrace.mof" /f /q
del "D:\222\Windows\system32\wbem\nlsvc.mof" /f /q
del "D:\222\Windows\system32\wbem\ntfs.mof" /f /q
del "D:\222\Windows\system32\wbem\PolicMan.dll" /f /q
del "D:\222\Windows\system32\wbem\PolicMan.mof" /f /q
del "D:\222\Windows\system32\wbem\powermeterprovider.mof" /f /q
del "D:\222\Windows\system32\wbem\PowerPolicyProvider.mof" /f /q
del "D:\222\Windows\system32\wbem\profileassociationprovider.mof" /f /q
del "D:\222\Windows\system32\wbem\refs.mof" /f /q
del "D:\222\Windows\system32\wbem\refsv1.mof" /f /q
del "D:\222\Windows\system32\wbem\regevent.mof" /f /q
del "D:\222\Windows\system32\wbem\rsop.mof" /f /q
del "D:\222\Windows\system32\wbem\samsrv.mof" /f /q
del "D:\222\Windows\system32\wbem\schannel.mof" /f /q
del "D:\222\Windows\system32\wbem\scm.mof" /f /q
del "D:\222\Windows\system32\wbem\scrcons.exe" /f /q
del "D:\222\Windows\system32\wbem\scrcons.mof" /f /q
del "D:\222\Windows\system32\wbem\secrcw32.mof" /f /q
del "D:\222\Windows\system32\wbem\ServDeps.dll" /f /q
del "D:\222\Windows\system32\wbem\smbwmiv2.mof" /f /q
del "D:\222\Windows\system32\wbem\SMTPCons.dll" /f /q
del "D:\222\Windows\system32\wbem\smtpcons.mof" /f /q
del "D:\222\Windows\system32\wbem\sstpsvc.mof" /f /q
del "D:\222\Windows\system32\wbem\stdprov.dll" /f /q
del "D:\222\Windows\system32\wbem\storagewmi.mof" /f /q
del "D:\222\Windows\system32\wbem\storagewmi_passthru.mof" /f /q
del "D:\222\Windows\system32\wbem\storagewmi_passthru_uninstall.mof" /f /q
del "D:\222\Windows\system32\wbem\storagewmi_uninstall.mof" /f /q
del "D:\222\Windows\system32\wbem\subscrpt.mof" /f /q
del "D:\222\Windows\system32\wbem\system.mof" /f /q
del "D:\222\Windows\system32\wbem\tcpip.mof" /f /q
del "D:\222\Windows\system32\wbem\unsecapp.exe" /f /q
del "D:\222\Windows\system32\wbem\vds.mof" /f /q
del "D:\222\Windows\system32\wbem\vdswmi.dll" /f /q
del "D:\222\Windows\system32\wbem\wbemcons.dll" /f /q
del "D:\222\Windows\system32\wbem\WBEMCons.mof" /f /q
del "D:\222\Windows\system32\wbem\wbemtest.exe" /f /q
del "D:\222\Windows\system32\wbem\wcncsvc.mof" /f /q
del "D:\222\Windows\system32\wbem\Wdf01000.mof" /f /q
del "D:\222\Windows\system32\wbem\Wdf01000Uninstall.mof" /f /q
del "D:\222\Windows\system32\wbem\wdigest.mof" /f /q
del "D:\222\Windows\system32\wbem\wininit.mof" /f /q
del "D:\222\Windows\system32\wbem\winlogon.mof" /f /q
del "D:\222\Windows\system32\wbem\wmi.mof" /f /q
del "D:\222\Windows\system32\wbem\WMI_Tracing.mof" /f /q
del "D:\222\Windows\system32\wbem\WMIADAP.exe" /f /q
del "D:\222\Windows\system32\wbem\WmiApRes.dll" /f /q
del "D:\222\Windows\system32\wbem\WMICOOKR.dll" /f /q
del "D:\222\Windows\system32\wbem\WmiDcPrv.dll" /f /q
del "D:\222\Windows\system32\wbem\wmipcima.dll" /f /q
del "D:\222\Windows\system32\wbem\wmipcima.mof" /f /q
del "D:\222\Windows\system32\wbem\wmipdfs.dll" /f /q
del "D:\222\Windows\system32\wbem\wmipdfs.mof" /f /q
del "D:\222\Windows\system32\wbem\wmipdskq.dll" /f /q
del "D:\222\Windows\system32\wbem\wmipdskq.mof" /f /q
del "D:\222\Windows\system32\wbem\WMIPICMP.dll" /f /q
del "D:\222\Windows\system32\wbem\wmipicmp.mof" /f /q
del "D:\222\Windows\system32\wbem\WMIPSESS.dll" /f /q
del "D:\222\Windows\system32\wbem\wmipsess.mof" /f /q
rd "D:\222\Windows\system32\wbem\en-US" /s /q
del "D:\222\Windows\System32\wbengine.exe" /f /q
del "D:\222\Windows\System32\WcnApi.dll" /f /q
del "D:\222\Windows\System32\wcncsvc.dll" /f /q
del "D:\222\Windows\System32\WcnEapAuthProxy.dll" /f /q
del "D:\222\Windows\System32\WcnEapPeerProxy.dll" /f /q
del "D:\222\Windows\System32\WcnNetsh.dll" /f /q
del "D:\222\Windows\System32\wcnwiz.dll" /f /q
del "D:\222\Windows\System32\wdigest.dll" /f /q
del "D:\222\Windows\System32\wdscapture.exe" /f /q
del "D:\222\Windows\System32\wdscapture.inf" /f /q
del "D:\222\Windows\System32\wdsclient.exe" /f /q
del "D:\222\Windows\System32\WdsCommonLib.dll" /f /q
del "D:\222\Windows\System32\wdscsl.dll" /f /q
del "D:\222\Windows\System32\WdsDiag.dll" /f /q
del "D:\222\Windows\System32\WdsImage.dll" /f /q
del "D:\222\Windows\System32\wdsmcast.exe" /f /q
del "D:\222\Windows\System32\WdsServerCommonLib.dll" /f /q
del "D:\222\Windows\System32\wdstptc.dll" /f /q
del "D:\222\Windows\System32\webplatstorageserver.dll" /f /q
del "D:\222\Windows\System32\Websocket.dll" /f /q
del "D:\222\Windows\System32\werdiagcontroller.dll" /f /q
del "D:\222\Windows\System32\WerEnc.dll" /f /q
del "D:\222\Windows\System32\WerFault.exe" /f /q
del "D:\222\Windows\System32\WerFaultSecure.exe" /f /q
del "D:\222\Windows\System32\wermgr.exe" /f /q
del "D:\222\Windows\System32\werui.dll" /f /q
del "D:\222\Windows\System32\wevtutil.exe" /f /q
del "D:\222\Windows\System32\wfdprov.dll" /f /q
del "D:\222\Windows\System32\WfHC.dll" /f /q
del "D:\222\Windows\System32\WimBootCompress.ini" /f /q
del "D:\222\Windows\System32\win11pass.reg" /f /q
rem del "D:\222\Windows\System32\win32spl.dll" /f /q
del "D:\222\Windows\System32\WindowManagement.dll" /f /q
del "D:\222\Windows\System32\Windows.Devices.HumanInterfaceDevice.dll" /f /q
del "D:\222\Windows\System32\Windows.Devices.Midi.dll" /f /q
rem del "D:\222\Windows\System32\Windows.Devices.Printers.dll" /f /q
rem del "D:\222\Windows\System32\Windows.Devices.Printers.Extensions.dll" /f /q
rem del "D:\222\Windows\System32\Windows.Graphics.Printing.3D.dll" /f /q
rem del "D:\222\Windows\System32\Windows.Graphics.Printing.dll" /f /q
del "D:\222\Windows\System32\Windows.Internal.Shell.Broker.dll" /f /q
del "D:\222\Windows\System32\Windows.Internal.UI.Logon.ProxyStub.dll" /f /q
del "D:\222\Windows\system32\Windows.Media.dll" /f /q
del "D:\222\Windows\System32\Windows.Networking.Connectivity.dll" /f /q
del "D:\222\Windows\System32\Windows.StateRepositoryBroker.dll" /f /q
del "D:\222\Windows\System32\Windows.Storage.OneCore.dll" /f /q
rem del "D:\222\Windows\System32\Windows.System.Launcher.dll" /f /q
del "D:\222\Windows\System32\Windows.System.RemoteDesktop.dll" /f /q
del "d:\222\Windows\System32\Windows.UI.Cred.dll" /f /q
del "D:\222\Windows\System32\Windows.UI.CredDialogController.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Logon.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Controls.dll" /f /q
rem del "d:\222\Windows\System32\Windows.UI.Xaml.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.19h1.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.21h1.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.Common.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.rs1.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.rs2.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.rs3.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.rs4.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.rs5.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.th.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.win81.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.Xaml.Resources.win8rtm.dll" /f /q
rem del "D:\222\Windows\System32\Windows.UI.XamlHost.dll" /f /q
del "D:\222\Windows\system32\WindowsCodecsExt.dll" /f /q
del "D:\222\Windows\System32\winipsec.dll" /f /q
del "D:\222\Windows\System32\winload.efi" /f /q
del "D:\222\Windows\System32\winload.exe" /f /q
del "D:\222\Windows\System32\winlogonext.dll" /f /q
del "D:\222\Windows\System32\winpe.jpg" /f /q
del "D:\222\Windows\System32\winpeshl.exe" /f /q
del "D:\222\Windows\System32\winpeshl.ini" /f /q
del "D:\222\Windows\System32\winre.jpg" /f /q
del "D:\222\Windows\System32\winsku.dll" /f /q
del "D:\222\Windows\System32\wkspbrokerAx.dll" /f /q
del "D:\222\Windows\System32\wksprtPS.dll" /f /q
del "D:\222\Windows\System32\wlancfg.dll" /f /q
del "D:\222\Windows\System32\wlandlg.dll" /f /q
del "D:\222\Windows\System32\wlanext.exe" /f /q
del "D:\222\Windows\System32\WlanMediaManager.dll" /f /q
del "D:\222\Windows\System32\wlanpref.dll" /f /q
del "D:\222\Windows\System32\WlanRadioManager.dll" /f /q
rem del "D:\222\Windows\System32\wlidnsp.dll" /f /q
del "D:\222\Windows\System32\wlidprov.dll" /f /q
del "D:\222\Windows\System32\wmiprop.dll" /f /q
del "D:\222\Windows\System32\wmitomi.dll" /f /q
del "D:\222\Windows\System32\wosc.dll" /f /q
del "D:\222\Windows\System32\wpr.config.xml" /f /q
del "D:\222\Windows\System32\wpr.exe" /f /q
del "D:\222\Windows\System32\wpx.dll" /f /q
del "D:\222\Windows\System32\ws2help.dll" /f /q
del "D:\222\Windows\System32\WSDApi.dll" /f /q
del "D:\222\Windows\System32\WSDPrintProxy.DLL" /f /q
del "D:\222\Windows\System32\WSDScanProxy.dll" /f /q
del "D:\222\Windows\System32\wsepno.dll" /f /q
del "D:\222\Windows\System32\wship6.dll" /f /q
del "D:\222\Windows\System32\WSHTCPIP.DLL" /f /q
rem del "D:\222\Windows\System32\wsnmp32.dll" /f /q
del "D:\222\Windows\System32\wuapi.dll" /f /q
del "D:\222\Windows\System32\wuauclt.exe" /f /q
del "D:\222\Windows\System32\wuaueng.dll" /f /q
del "D:\222\Windows\System32\wups.dll" /f /q
del "D:\222\Windows\System32\wups2.dll" /f /q
del "D:\222\Windows\System32\wusys.dll" /f /q
del "D:\222\Windows\System32\WWanAPI.dll" /f /q
del "D:\222\Windows\System32\wwancfg.dll" /f /q
del "D:\222\Windows\System32\wwapi.dll" /f /q
del "D:\222\Windows\System32\XAudio2_8.dll" /f /q
del "D:\222\Windows\System32\XAudio2_9.dll" /f /q
rem del "D:\222\Windows\System32\XpsDocumentTargetPrint.dll" /f /q
rem del "D:\222\Windows\System32\XpsGdiConverter.dll" /f /q
rem del "D:\222\Windows\System32\XpsPrint.dll" /f /q
rem del "D:\222\Windows\System32\xpspushlayer.dll" /f /q
rem del "D:\222\Windows\System32\XpsRasterService.dll" /f /q
rem del "D:\222\Windows\System32\xpsservices.dll" /f /q
rem del "D:\222\Windows\System32\xwizard.exe" /f /q
del "D:\222\Windows\System32\xwizards.dll" /f /q
del "D:\222\Windows\System32\xwreg.dll" /f /q
del "D:\222\Windows\System32\xwtpdui.dll" /f /q
del "D:\222\Windows\System32\xwtpw32.dll" /f /q
del "D:\222\Windows\System32\zipfldr.dll" /f /q
del "d:\222\Windows\SysWOW64\aclui.dll" /f /q
del "d:\222\Windows\SysWOW64\adsldp.dll" /f /q
del "d:\222\Windows\SysWOW64\attrib.exe" /f /q
del "d:\222\Windows\SysWOW64\authz.dll" /f /q
del "d:\222\Windows\SysWOW64\browcli.dll" /f /q
del "d:\222\Windows\SysWOW64\clip.exe" /f /q
del "d:\222\Windows\SysWOW64\console.dll" /f /q
del "d:\222\Windows\SysWOW64\ConsoleLogon.dll" /f /q
del "d:\222\Windows\SysWOW64\CredentialUIBroker.exe" /f /q
del "d:\222\Windows\SysWOW64\CredProv2faHelper.dll" /f /q
del "d:\222\Windows\SysWOW64\CredProvDataModel.dll" /f /q
del "d:\222\Windows\SysWOW64\credprovhost.dll" /f /q
del "d:\222\Windows\SysWOW64\credprovs.dll" /f /q
del "d:\222\Windows\SysWOW64\credprovslegacy.dll" /f /q
del "d:\222\Windows\SysWOW64\crtdll.dll" /f /q
del "d:\222\Windows\SysWOW64\ctac.json" /f /q
del "d:\222\Windows\SysWOW64\D3D12.dll" /f /q
del "d:\222\Windows\SysWOW64\dbgeng.dll" /f /q
del "d:\222\Windows\SysWOW64\DbgModel.dll" /f /q
del "d:\222\Windows\SysWOW64\devicengccredprov.dll" /f /q
del "d:\222\Windows\SysWOW64\diagnosticdataquery.dll" /f /q
del "d:\222\Windows\SysWOW64\difxapi.dll" /f /q
del "d:\222\Windows\SysWOW64\dlnashext.dll" /f /q
del "d:\222\Windows\SysWOW64\driverquery.exe" /f /q
del "d:\222\Windows\SysWOW64\drvsetup.dll" /f /q
del "d:\222\Windows\SysWOW64\drvstore.dll" /f /q
del "d:\222\Windows\SysWOW64\dtdump.exe" /f /q
del "d:\222\Windows\SysWOW64\EhStorAPI.dll" /f /q
del "d:\222\Windows\SysWOW64\eventcls.dll" /f /q
del "d:\222\Windows\SysWOW64\expand.exe" /f /q
del "d:\222\Windows\SysWOW64\fcon.dll" /f /q
del "d:\222\Windows\SysWOW64\fdWCN.dll" /f /q
del "d:\222\Windows\SysWOW64\findstr.exe" /f /q
del "d:\222\Windows\SysWOW64\FirewallAPI.dll" /f /q
del "d:\222\Windows\SysWOW64\FlightSettings.dll" /f /q
del "d:\222\Windows\SysWOW64\fveapi.dll" /f /q
del "d:\222\Windows\SysWOW64\fveapibase.dll" /f /q
del "d:\222\Windows\SysWOW64\fvecerts.dll" /f /q
del "d:\222\Windows\SysWOW64\fwbase.dll" /f /q
del "d:\222\Windows\SysWOW64\fwpolicyiomgr.dll" /f /q
del "d:\222\Windows\SysWOW64\GdiPlus.dll" /f /q
del "d:\222\Windows\SysWOW64\httpapi.dll" /f /q
del "d:\222\Windows\SysWOW64\InfDefaultInstall.exe" /f /q
rem del "D:\222\Windows\SysWOW64\KBDUS.DLL" /f /q
del "d:\222\Windows\SysWOW64\KerbClientShared.dll" /f /q
del "d:\222\Windows\SysWOW64\KeyCredMgr.dll" /f /q
del "d:\222\Windows\SysWOW64\mibincodec.dll" /f /q
del "d:\222\Windows\SysWOW64\mimofcodec.dll" /f /q
del "d:\222\Windows\SysWOW64\mscories.dll" /f /q
del "d:\222\Windows\SysWOW64\msvcirt.dll" /f /q
del "d:\222\Windows\SysWOW64\msvcp120_clr0400.dll" /f /q
del "d:\222\Windows\SysWOW64\msvcp140_clr0400.dll" /f /q
del "d:\222\Windows\SysWOW64\msvcr100_clr0400.dll" /f /q
del "d:\222\Windows\SysWOW64\msvcr120_clr0400.dll" /f /q
del "d:\222\Windows\SysWOW64\msvcrt20.dll" /f /q
del "d:\222\Windows\SysWOW64\MuiUnattend.exe" /f /q
del "d:\222\Windows\SysWOW64\ncryptprov.dll" /f /q
del "d:\222\Windows\SysWOW64\net1.exe" /f /q
del "d:\222\Windows\SysWOW64\NetDriverInstall.dll" /f /q
del "d:\222\Windows\SysWOW64\NetSetupApi.dll" /f /q
del "d:\222\Windows\SysWOW64\NetSetupEngine.dll" /f /q
del "d:\222\Windows\SysWOW64\ngclocal.dll" /f /q
del "d:\222\Windows\SysWOW64\ntshrui.dll" /f /q
del "d:\222\Windows\SysWOW64\OneCoreUAPCommonProxyStub.dll" /f /q
del "d:\222\Windows\SysWOW64\OneSettingsClient.dll" /f /q
del "d:\222\Windows\SysWOW64\PkgMgr.exe" /f /q
del "d:\222\Windows\SysWOW64\policymanager.dll" /f /q
del "d:\222\Windows\SysWOW64\poqexec.exe" /f /q
rem del "d:\222\Windows\SysWOW64\qedit.dll" /f /q
del "d:\222\Windows\SysWOW64\rdrleakdiag.exe" /f /q
del "d:\222\Windows\SysWOW64\rmclient.dll" /f /q
del "d:\222\Windows\SysWOW64\ServicingCommon.dll" /f /q
del "d:\222\Windows\SysWOW64\SSShim.dll" /f /q
del "d:\222\Windows\SysWOW64\stdole32.tlb" /f /q
del "d:\222\Windows\SysWOW64\svchost.exe" /f /q
del "d:\222\Windows\SysWOW64\sxsstore.dll" /f /q
del "d:\222\Windows\SysWOW64\sxstrace.exe" /f /q
del "d:\222\Windows\SysWOW64\syssetup.dll" /f /q
del "d:\222\Windows\SysWOW64\TrustedSignalCredProv.dll" /f /q
del "d:\222\Windows\SysWOW64\tzres.dll" /f /q
del "d:\222\Windows\SysWOW64\utcapi.dll" /f /q
del "d:\222\Windows\SysWOW64\WcnApi.dll" /f /q
del "d:\222\Windows\SysWOW64\wcnwiz.dll" /f /q
del "d:\222\Windows\SysWOW64\wdscore.dll" /f /q
del "d:\222\Windows\SysWOW64\winbrand.dll" /f /q
del "d:\222\Windows\SysWOW64\Windows.Internal.UI.Logon.ProxyStub.dll" /f /q
del "d:\222\Windows\SysWOW64\Windows.UI.CredDialogController.dll" /f /q
del "d:\222\Windows\SysWOW64\wmi.dll" /f /q
rem del "d:\222\Windows\SysWOW64\iertutil.dll" /f /q
del "d:\222\Windows\SysWOW64\ieframe.dll" /f /q
rem del "D:\222\Windows\SysWOW64\zh-TW\iertutil.dll.mui" /f /q
rd "D:\222\Windows\SysWOW64\AdvancedInstallers" /s /q
rd "D:\222\Windows\SysWOW64\config" /s /q
rd "D:\222\Windows\SysWOW64\Dism" /s /q
rd "D:\222\Windows\SysWOW64\downlevel" /s /q
rd "D:\222\Windows\SysWOW64\DriverStore" /s /q
rd "D:\222\Windows\SysWOW64\en-US" /s /q
rd "D:\222\Windows\SysWOW64\LogFiles" /s /q
rd "D:\222\Windows\SysWOW64\migration" /s /q
rd "D:\222\Windows\SysWOW64\oobe" /s /q
rd "D:\222\Windows\SysWOW64\SMI" /s /q
rem del "d:\222\Windows\System32\AppXApplicabilityBlob.dll" /f /q
rem del "d:\222\Windows\System32\AppXDeploymentServer.dll" /f /q
rem del "d:\222\Windows\System32\AppxPackaging.dll" /f /q
del "d:\222\Windows\System32\bitsperf.dll" /f /q
del "d:\222\Windows\System32\BitsProxy.dll" /f /q
del "d:\222\Windows\System32\dafWCN.dll" /f /q
del "d:\222\Windows\System32\dafWfdProvider.dll" /f /q
del "d:\222\Windows\System32\delegatorprovider.dll" /f /q
del "d:\222\Windows\System32\doclient.dll" /f /q
del "d:\222\Windows\System32\domgmt.dll" /f /q
del "d:\222\Windows\System32\dosvc.dll" /f /q
del "d:\222\Windows\System32\dxva2.dll" /f /q
del "d:\222\Windows\System32\edgeIso.dll" /f /q
del "d:\222\Windows\System32\EdgeManager.dll" /f /q
del "d:\222\Windows\System32\FntCache.dll" /f /q
del "d:\222\Windows\System32\iemigplugin.dll" /f /q
del "d:\222\Windows\System32\IESettingSync.exe" /f /q
del "d:\222\Windows\System32\imgutil.dll" /f /q
del "d:\222\Windows\System32\IndexedDbLegacy.dll" /f /q
del "d:\222\Windows\System32\INETRES.dll" /f /q
del "d:\222\Windows\System32\Microsoft.Windows.Storage.Core.dll" /f /q
del "d:\222\Windows\System32\Microsoft.Windows.Storage.StorageBusCache.dll" /f /q
del "d:\222\Windows\System32\OLD697C.tmp" /f /q
del "d:\222\Windows\System32\OLD698D.tmp" /f /q
del "d:\222\Windows\System32\OLD699E.tmp" /f /q
del "d:\222\Windows\System32\ProductEnumerator.dll" /f /q
del "d:\222\Windows\System32\qmgr.dll" /f /q
del "d:\222\Windows\System32\UpdateAgent.dll" /f /q
del "d:\222\Windows\System32\updatepolicy.dll" /f /q
del "d:\222\Windows\System32\wuapi.dll" /f /q
del "d:\222\Windows\System32\wuauclt.exe" /f /q
del "d:\222\Windows\System32\wuaueng.dll" /f /q
del "d:\222\Windows\System32\wups.dll" /f /q
del "d:\222\Windows\System32\wups2.dll" /f /q
del "d:\222\Windows\System32\wusys.dll" /f /q
rem del "d:\222\Windows\System32\iertutil.dll" /f /q
del "d:\222\Windows\System32\ieproxy.dll" /f /q
del "d:\222\Windows\System32\IEAdvpack.dll" /f /q
del "d:\222\Windows\SystemResources\ieframe.dll.mun" /f /q
del "d:\222\Windows\SystemResources\ieapfltr.dll.mun" /f /q
del "D:\222\Windows\System32\zh-TW\ie4uinit.exe.mui" /f /q
del "D:\222\Windows\System32\zh-TW\IEAdvpack.dll.mui" /f /q
del "D:\222\Windows\System32\zh-TW\iedkcs32.dll.mui" /f /q
del "D:\222\Windows\System32\zh-TW\iepeers.dll.mui" /f /q
del "D:\222\Windows\System32\zh-TW\iernonce.dll.mui" /f /q
rem del "D:\222\Windows\System32\zh-TW\iertutil.dll.mui" /f /q
del "D:\222\Windows\System32\zh-TW\iesetup.dll.mui" /f /q
del "D:\222\Windows\System32\zh-TW\ieui.dll.mui" /f /q
del "D:\222\Windows\System32\PecmdAdmin.ini" /f /q
rd  "D:\222\Windows\System32\Dism" /s /q
rd "D:\222\Program Files\Internet Explorer" /s /q
rd "D:\222\Program Files\StartAllBack" /q /s
rd "D:\222\Program Files\WinXShell" /q /s
rd "D:\222\ProgramData\Microsoft\Crypto" /s /q
rd "D:\222\ProgramData\Microsoft\User Account Pictures" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\DeviceMetadataStore" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\GameExplorer" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\OneSettings" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\Ringtones" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\Start Menu" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools" /s /q
rd "D:\222\ProgramData\Microsoft\Windows\WER /s /q
rd "D:\222\ProgramData\Microsoft\Windows\wfp" /s /q
rd "D:\222\Users\Default\AppData\Roaming\Microsoft\Windows\Network Shortcuts" /s /q
rd "D:\222\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessibility" /s /q
rd "D:\222\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Accessories" /s /q
rd "D:\222\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools" /s /q
rd "D:\222\Windows\System32\AdvancedInstallers" /s /q
rd "D:\222\Windows\System32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}" /s /q
rd "D:\222\Windows\SystemResources\Windows.UI.ShellCommon\DevicesFlowUI" /s /q
rd "D:\222\Windows\SystemResources\Windows.UI.ShellCommon\Images" /s /q
rd "D:\222\Windows\SystemResources\Windows.UI.ShellCommon\NetworkUX" /s /q
rd "D:\222\Windows\SystemResources\Windows.UI.ShellCommon\QuickActions" /s /q
rd "D:\222\Windows\tracing" /s /q
rd "D:\222\Windows\Vss" /s /q
rd "D:\222\Windows\WaaS" /s /q
rd "d:\222\Windows\System32\WCN" /s /q
md "D:\222\Program Files\StartAllBack"
md "D:\222\Program Files\WinXShell"
rem rd "D:\222\Windows\SystemTemp" /s /q 不能刪,執行程式時會用到
xcopy "D:\win1124h2pe\1124h2pedownsize\boot\Program Files\StartAllBack\*.*" "D:\222\Program Files\StartAllBack\" /s /y /q
xcopy "D:\win1124h2pe\1124h2pedownsize\boot\Program Files\WinXShell\*.*" "D:\222\Program Files\WinXShell\" /s /y /q
pause

win1121h2downsize.cmd完成測試,經過幾天之後,覺的為護用win pe 可以再精簡。WinMerge比對網友kuer製作的KuerPE_win11 22000.3260維護版system32資料夾,點 比對結果 ,篩選出自己製作pe才有的檔案,用二分法,測試可以精簡的檔案,這個過程,要經過不斷精減測試pe可以開機,工具程式可正常執行。測試過win 11 21h2 pe 22000.3260可再精簡檔案,彙集成del_other.cmd。
 win pe 版本雖相同,製作時wimbuilder設定的核心功能接近相同,最後完成的核心檔裡面的檔案,會因執行工具程式的需求,補檔或增加設定。
執行del_other.cmd再精簡win 11 21h2 pe
del_other.cmd檔內容:
del D:\222\Windows\SystemResources\AuthFWGP.dll.mun /f /q
del D:\222\Windows\SystemResources\authui.dll.mun /f /q
del D:\222\Windows\SystemResources\connect.dll.mun /f /q
del D:\222\Windows\SystemResources\comres.dll.mun /f /q
del D:\222\Windows\SystemResources\FirewallControlPanel.dll.mun /f /q
del D:\222\Windows\SystemResources\icsigd.dll.mun /f /q
del D:\222\Windows\SystemResources\keymgr.dll.mun /f /q
del D:\222\Windows\SystemResources\mshtml.dll.mun /f /q
del D:\222\Windows\SystemResources\printui.dll.mun /f /q
del D:\222\Windows\SystemResources\raschapext.dll.mun /f /q
del D:\222\Windows\SystemResources\rasdlg.dll.mun /f /q
del D:\222\Windows\SystemResources\rasgcw.dll.mun /f /q
del D:\222\Windows\SystemResources\rastls.dll.mun /f /q
del D:\222\Windows\SystemResources\rastlsext.dll.mun /f /q
del D:\222\Windows\SystemResources\SearchIndexer.exe.mun /f /q
del D:\222\Windows\SystemResources\shrpubw.exe.mun /f /q
del D:\222\Windows\SystemResources\srchadmin.dll.mun /f /q
del D:\222\Windows\SystemResources\SyncCenter.dll.mun /f /q
del D:\222\Windows\SystemResources\tapiui.dll.mun /f /q
del D:\222\Windows\SystemResources\tquery.dll.mun /f /q
del D:\222\Windows\SystemResources\wcnwiz.dll.mun /f /q
del D:\222\Windows\SystemResources\wininet.dll.mun /f /q
del D:\222\Windows\SystemResources\zipfldr.dll.mun /f /q
del D:\222\Windows\system32\mshtml.dll /f /q
del D:\222\Windows\system32\AppXApplicabilityBlob.dll /f /q
del D:\222\Windows\system32\AppXDeploymentClient.dll /f /q
del D:\222\Windows\system32\AppXDeploymentServer.dll /f /q
del D:\222\Windows\system32\AppxPackaging.dll /f /q
del D:\222\Windows\SysWOW64\mshtml.dll /f /q
del D:\222\Windows\system32\*.tmp /f /q
del D:\222\Windows\System32\ipconfig.exe  /f /q
rd D:\222\Windows\Microsoft.NET /s /q
rd D:\222\Windows\SysWOW64\drivers /s /q
rd D:\222\Windows\SysWOW64\WCN /s /q
rd D:\222\Windows\System32\wbem /s /q
rd D:\222\Windows\SysWOW64\wbem /s /q
rd D:\222\Windows\System32\en-US /s /q
rd D:\222\Windows\System32\winevt /s /q
rd D:\222\Windows\System32\spp /s /q
del D:\222\Windows\System32\iscsicli.exe  /f /q
del D:\222\Windows\SystemResources\iscsicli.exe.mun /f /q
del D:\222\Windows\System32\iscsidsc.dll  /f /q
del D:\222\Windows\System32\iscsied.dll  /f /q
del D:\222\Windows\System32\iscsiexe.dll  /f /q
del D:\222\Windows\System32\iscsilog.dll  /f /q
del D:\222\Windows\System32\iscsium.dll  /f /q
del D:\222\Windows\System32\iscsiwmi.dll  /f /q
del D:\222\Windows\System32\iscsiwmiv2.dll  /f /q
del D:\222\Windows\System32\networkexplorer.dll /f /q
del d:\D:\222\Windows\SystemResources\networkexplorer.dll.mun /f /q
del D:\222\Windows\System32\powercpl.dll  /f /q
del d:\D:\222\Windows\SystemResources\powercpl.dll.mun /f /q
del D:\222\Windows\SysWOW64\apphelp.dll /f /q
del D:\222\Windows\SysWOW64\AudioSes.dll /f /q
del D:\222\Windows\SysWOW64\avicap32.dll /f /q
del D:\222\Windows\SysWOW64\BCP47Langs.dll /f /q
del D:\222\Windows\SysWOW64\BCP47mrm.dll /f /q
del D:\222\Windows\SysWOW64\clbcatq.dll /f /q
del D:\222\Windows\SysWOW64\CredProvCommonCore.dll /f /q
del D:\222\Windows\SysWOW64\cscapi.dll /f /q
del D:\222\Windows\SysWOW64\d2d1.dll /f /q
del D:\222\Windows\SysWOW64\d3d10warp.dll /f /q
del D:\222\Windows\SysWOW64\d3d11.dll /f /q
del D:\222\Windows\SysWOW64\dhcpcsvc.dll /f /q
del D:\222\Windows\SysWOW64\dhcpcsvc6.dll /f /q
del D:\222\Windows\SysWOW64\directmanipulation.dll /f /q
del D:\222\Windows\SysWOW64\dsrole.dll /f /q
del D:\222\Windows\SysWOW64\InputHost.dll /f /q
del D:\222\Windows\SysWOW64\linkinfo.dll /f /q
del D:\222\Windows\SysWOW64\mfperfhelper.dll /f /q
del D:\222\Windows\SysWOW64\msdelta.dll /f /q
del D:\222\Windows\SysWOW64\msIso.dll /f /q
del D:\222\Windows\SysWOW64\mskeyprotect.dll /f /q
del D:\222\Windows\SysWOW64\ncryptsslp.dll /f /q
del D:\222\Windows\SysWOW64\ndadmin.exe /f /q
del D:\222\Windows\SysWOW64\newdev.exe /f /q
del D:\222\Windows\SysWOW64\normaliz.dll /f /q
del D:\222\Windows\SysWOW64\OnDemandConnRouteHelper.dll /f /q
del D:\222\Windows\SysWOW64\quartz.dll /f /q
del D:\222\Windows\SysWOW64\rasapi32.dll /f /q
del D:\222\Windows\SysWOW64\rasman.dll /f /q
del D:\222\Windows\SysWOW64\schannel.dll /f /q
del D:\222\Windows\SysWOW64\StructuredQuery.dll /f /q
del D:\222\Windows\SysWOW64\thumbcache.dll /f /q
del D:\222\Windows\SysWOW64\twinapi.appcore.dll /f /q
del D:\222\Windows\SysWOW64\twinapi.dll /f /q
del D:\222\Windows\SysWOW64\ucrtbase_clr0400.dll /f /q
del D:\222\Windows\SysWOW64\UIAnimation.dll /f /q
del D:\222\Windows\SysWOW64\UIAutomationCore.dll /f /q
del D:\222\Windows\SysWOW64\uReFSv1.dll /f /q
del D:\222\Windows\SysWOW64\vbscript.dll /f /q
del D:\222\Windows\SysWOW64\wincredui.dll /f /q
del D:\222\Windows\SysWOW64\Windows.Globalization.dll /f /q
del D:\222\Windows\SysWOW64\windowsperformancerecordercontrol.dll /f /q
del D:\222\Windows\SysWOW64\winhttpcom.dll /f /q
del D:\222\Windows\SysWOW64\winnsi.dll /f /q
del D:\222\Windows\SysWOW64\wow32.dll /f /q
del D:\222\Windows\SysWOW64\atlthunk.dll /f /q
del D:\222\Windows\SysWOW64\clb.dll /f /q
del D:\222\Windows\SysWOW64\cmdext.dll /f /q
del D:\222\Windows\SysWOW64\cryptnet.dll /f /q
del D:\222\Windows\SysWOW64\davhlpr.dll /f /q
del D:\222\Windows\SysWOW64\dfscli.dll /f /q
del D:\222\Windows\SysWOW64\DiagnosticDataSettings.dll /f /q
del D:\222\Windows\SysWOW64\FWPUCLNT.DLL /f /q
del D:\222\Windows\SysWOW64\hlink.dll /f /q
del D:\222\Windows\SysWOW64\KBDUS.DLL /f /q
del D:\222\Windows\SysWOW64\logoncli.dll /f /q
del D:\222\Windows\SysWOW64\lz32.dll /f /q
del D:\222\Windows\SysWOW64\msacm32.drv /f /q
del D:\222\Windows\SysWOW64\msvcrt40.dll /f /q
rem del D:\222\Windows\SysWOW64\msxml3r.dll /f /q
rem del D:\222\Windows\SysWOW64\msxml6r.dll /f /q
del D:\222\Windows\SysWOW64\net.exe /f /q
del D:\222\Windows\SysWOW64\netmsg.dll /f /q
del D:\222\Windows\SysWOW64\ntlanman.dll /f /q
del D:\222\Windows\SysWOW64\OneCoreCommonProxyStub.dll /f /q
del D:\222\Windows\SysWOW64\prxyqry.dll /f /q
del D:\222\Windows\SysWOW64\rasadhlp.dll /f /q
del D:\222\Windows\SysWOW64\samlib.dll /f /q
del D:\222\Windows\SysWOW64\slc.dll /f /q
del D:\222\Windows\SysWOW64\stdole2.tlb /f /q
del D:\222\Windows\SysWOW64\wmiclnt.dll /f /q
del D:\222\Windows\System32\tcpipcfg.dll /f /q
rem del D:\222\Windows\System32\twinui.appcore.dll /f /q 不能刪,刪了滑鼠指標消失
rem del D:\222\Windows\System32\twinui.dll /f /q 不能刪,刪了滑鼠指標消失
del D:\222\Windows\System32\unattend.xml /f /q
del D:\222\Windows\System32\oscomps.xml /f /q
del D:\222\Windows\System32\offline.xml /f /q
del D:\222\Windows\System32\oscomps.woa.xml /f /q
del D:\222\Windows\System32\OnDemandConnRouteHelper.dll /f /q
del D:\222\Windows\System32\mobilenetworking.dll /f /q
del D:\222\Windows\System32\edputil.dll /f /q
rem del D:\222\Windows\System32\msxml3.dll /f /q 裝置管理員不能刪
rem del D:\222\Windows\System32\msxml3r.dll /f /q
rem del D:\222\Windows\System32\msxml6.dll /f /q
rem del D:\222\Windows\System32\msxml6r.dll /f /q
del D:\222\Windows\SystemResources\edputil.dll.mun /f /q
rem del D:\222\Windows\SystemResources\msxml3.dll.mun /f /q
del D:\222\Windows\SystemResources\networkexplorer.dll.mun /f /q
del D:\222\Windows\System32\fsmgmt.msc /f /q
del D:\222\Windows\System32\jscript9.dll /f /q
del D:\222\Windows\System32\makecab.exe /f /q
del D:\222\Windows\System32\mcupdate_AuthenticAMD.dll /f /q
del D:\222\Windows\System32\mcupdate_GenuineIntel.dll /f /q
del D:\222\Windows\System32\FirewallAPI.dll /f /q
del D:\222\Windows\System32\fltMC.exe /f /q
del D:\222\Windows\System32\fsutil.exe /f /q
del D:\222\Windows\System32\fc.exe /f /q
del D:\222\Windows\System32\FwRemoteSvr.dll /f /q
del D:\222\Windows\System32\fwpolicyiomgr.dll /f /q
del D:\222\Windows\System32\FWPUCLNT.DLL /f /q
del D:\222\Windows\System32\CompMgmtLauncher.exe /f /q
del D:\222\Windows\System32\convert.exe /f /q
del D:\222\Windows\System32\d3d10_1.dll /f /q
del D:\222\Windows\System32\d3d10_1core.dll /f /q
del D:\222\Windows\System32\hwcompat.txt /f /q
del D:\222\Windows\System32\hwexclude.txt /f /q
del D:\222\Windows\System32\mighost.exe /f /q
del D:\222\Windows\System32\ndadmin.exe /f /q
del D:\222\Windows\System32\netcfgx.dll /f /q
del D:\222\Windows\System32\netmsg.dll /f /q
del D:\222\Windows\System32\netplwiz.dll /f /q
del D:\222\Windows\System32\netprofmsvc.dll /f /q
rem del D:\222\Windows\System32\netprovfw.dll /f /q 刪了無法開機
del D:\222\Windows\System32\newdev.exe /f /q
del D:\222\Windows\System32\RpcRtRemote.dll /f /q
del D:\222\Windows\System32\SystemPropertiesRemote.exe /f /q
rem BitLockerWizard.exe no delete
rem taskkill.exe no delete
del D:\222\Windows\System32\wscript.exe /f /q
del D:\222\Windows\System32\WmiMgmt.msc /f /q
del D:\222\Windows\System32\Windows.Gaming.Input.dll /f /q
del D:\222\Windows\System32\Windows.Media.Devices.dll /f /q
del D:\222\Windows\System32\userinit.exe /f /q
del D:\222\Windows\System32\userinitext.dll /f /q
del D:\222\Windows\SystemResources\userinit.exe.num /f /q
del D:\222\Windows\SystemResources\userinitext.dll.num /f /q
del D:\222\Windows\System32\OpenWith.exe /f /q
del D:\222\Windows\System32\pnputil.exe /f /q
del D:\222\Windows\System32\refsutil.exe /f /q
del D:\222\Windows\System32\regedt32.exe /f /q
del D:\222\Windows\System32\replace.exe /f /q
del D:\222\Windows\System32\davhlpr.dll /f /q
del D:\222\Windows\System32\dnsrslvr.dll /f /q
del D:\222\Windows\System32\hidserv.dll /f /q
del D:\222\Windows\System32\mfperfhelper.dll /f /q
rem del D:\222\Windows\System32\services.msc /f /q
del D:\222\Windows\System32\sxproxy.dll /f /q
del D:\222\Windows\System32\hhctrl.ocx /f /q
del D:\222\Windows\System32\odbc32.dll /f /q
del D:\222\Windows\System32\nlmproxy.dll /f /q
del D:\222\Windows\System32\nlmsprep.dll /f /q
del D:\222\Windows\System32\NOISE.DAT /f /q
del D:\222\Windows\System32\apphelp.dll /f /q
rd D:\222\Windows\L2Schemas /s /q
rd "D:\222\Windows\SystemResources\Windows.UI.ShellCommon" /s /q
del D:\222\Windows\System32\IKEEXT.DLL /f /q
del D:\222\Windows\System32\prxyqry.dll /f /q
del D:\222\Windows\System32\RpcRtRemote.dl /f /q
del D:\222\Windows\System32\browseui.dll /f /q
del D:\222\Windows\System32\browcli.dll/f /q
pause

執行WinMerge精簡windows\winsxs資料夾(或手工精減)、Windows\SystemResources資料夾
執行win1121h2downsize.cmd大精簡
執行del_other.cmd再精簡。
經過以上4大項精簡後,win 11 21h2 pe 22000.3260的核心檔約精減了190MB。接下來,是小部分精減及補檔,依工具程式執行需要補檔,刪除多餘.cat檔,匯入磁碟、觸控、磁碟陣列..驅動程式,刪除windows\system32\config資料夾內多餘檔案,刪除控制台內無效項目,修改pe開機.ini、.bat、.cmd檔。

建立win11_21h2_22000_3260_boot資料夾,建立與核心相對應的資料夾,存入需要的檔案,以供重做win 11 21h2 pe 22000.3260時,直接套用,不用再逐一擷取或修改。以下建立資料夾與存放檔案僅供參考,請依自己實際需求建立與存入檔案。

Program Files
Program Files\SOFT
(內置工具程式可放在soft資料夾或自訂資料夾)
Program Files\StartAllBack
(存放精簡過的StartAllBack)
Program Files\WinXShell
(存放精簡過的WinXShell)

Users
Users\Public\Desktop
(存放預先建立的桌面捷徑)
Users\Default\AppData\Local\Microsoft\Windows
(存放WinX資料夾)
Users\Default\AppData\Local
(存放LFORMAT 的llftool.4.50.agreement)
Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
(存放 windows 工具程式捷徑)

Windows
Windows\Fonts
(存放精簡過的mingliu.ttc)
Windows\Provisioning\Packages
(存放.ppkg檔)
Windows\System32
(存放執行工具程式或BitLocker需補的檔案,例如:BdeHdCfgLib.dll、BitLockerWizard.exe、fveskybackup.dll、fvewiz.dll、md1.reg、PE_INI.BAT、Pecmd.ini、poweroff.cmd、win11pass.reg,calc-x64.exe)
Windows\System32\disposition
(取代wimbuilder預設的開機設定PEMaterial)
Windows\System32\orderdrv
(orderdrv順理磁碟機代號)
Windows\SystemResources
(存放精簡過Windows.UI.ShellCommon)
Windows\SysWOW64
(存放執行工具程式需補的檔案icmp.dll)
Windows\Web\Wallpaper\Windows
(存放桌面圖檔img0.jpg)

win11_21h2_22000_3260_boot\Program Files\SOFT\FreeVK


win11_21h2_22000_3260_boot\Program Files\StartAllBack
win11_21h2_22000_3260_boot\Program Files\WinXShell

win11_21h2_22000_3260_boot\Users
win11_21h2_22000_3260_boot\Users\Default\AppData\Local

win11_21h2_22000_3260_boot\Users\Default\AppData\Local\Microsoft\Windows\WinX
建議擷取KuerPE_Win11_22000.3260 winx資料夾

win11_21h2_22000_3260_boot\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
依自己需要建立windows工具的捷徑

win11_21h2_22000_3260_boot\Users\Public\Desktop
依自己需要建立程式桌面捷徑

win11_21h2_22000_3260_boot\Windows

win11_21h2_22000_3260_boot\Windows\Fonts
精簡細明體mingliu.ttc

win11_21h2_22000_3260_boot\Windows\Provisioning\Packages
存放.ppkg檔

win11_21h2_22000_3260_boot\Windows\System32
磁碟加密補檔:BdeHdCfgLib.dll、BitLockerWizard.exe、fveskybackup.dll、fvewiz.dll,從windows 11 21h2_22000_3260 install.wim擷取。
calc-x64.exe:可以在pe執行的計算機程式。
icmp.dll:從windows 11 21h2_22000_3260 install.wim擷取。
md1.reg檔內容:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.3.0]
@="XML DOM Document 3.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.3.0\CLSID]
@="{F5078F32-C551-11D3-89B9-0000F81FE221}"
[-HKEY_LOCAL_MACHINE\PE_DEF\Control Panel\Cursors] 

PE_INI.BAT檔內容:
@echo off
set DIcon=%SystemRoot%\System32\shell32.dll,-151
set Nopad=%SystemRoot%\System32\NOTEPAD.EXE
set Pecmd=%SystemRoot%\system32\PECMD.EXE
reg add "HKEY_CLASSES_ROOT\.ini" /ve /t REG_SZ /d "PECMD" /f
reg add "HKEY_CLASSES_ROOT\PECMD" /ve /t REG_SZ /d "ini配置文件" /f
reg add "HKEY_CLASSES_ROOT\PECMD\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%DIcon%" /f
reg add "HKEY_CLASSES_ROOT\PECMD\shell\open\command" /ve /t REG_EXPAND_SZ /d "%Nopad% %%1" /f
reg add "HKEY_CLASSES_ROOT\PECMD\shell\PECMD Load\command" /ve /t REG_EXPAND_SZ /d "%Pecmd% Load %%1" /f
exit

Pecmd.ini檔內容:
TEAM DISP W1024 H768 B32|DISP W1280 720 B32
EXEC !=x:\Windows\System32\PE_INI.BAT
load x:\Windows\System32\disposition\LoginUser.ini

poweroff.cmd檔內容:

x:\windows\system32\shutdown.exe -s -t 1

win11pass.reg檔內容:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig]
"BypassCPUCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001
"BypassUEFICheck"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup]
"BypassCPUCheck"=dword:00000001
"BypassStorageCheck"=dword:00000001
"BypassRAMCheck"=dword:00000001
"BypassTPMCheck"=dword:00000001
"BypassSecureBootCheck"=dword:00000001
"BypassUEFICheck"=dword:00000001
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE]
"BypassNRO"=dword:00000001

[-HKEY_LOCAL_MACHINE\Tmp_SYSTEM\ControlSet001\Control\NetworkSetup2\Filters\{B5F4D659-7DAA-4565-8E41-BE220ED60542}]

[-HKEY_CLASSES_ROOT\*\shell\runas]

[HKEY_CLASSES_ROOT\*\shell\runas]
@="取得管理員權限"
"Icon"="x:\\Windows\\System32\\imageres.dll,1"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[-HKEY_CLASSES_ROOT\Directory\shell\runas]

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="取得管理員權限"
"Icon"="x:\\Windows\\System32\\imageres.dll,1"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

[-HKEY_CLASSES_ROOT\exefile\shell\runas2]

[HKEY_CLASSES_ROOT\exefile\shell\runas2]
@="取得管理員權限"
"Icon"="x:\\Windows\\System32\\imageres.dll,1"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[-HKEY_CLASSES_ROOT\dllfile\shell]

[HKEY_CLASSES_ROOT\dllfile\shell\runas]
@="取得管理員權限"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\dllfile\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[-HKEY_CLASSES_ROOT\Drive\shell\runas]

[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="取得管理員權限"
"Icon"="x:\\Windows\\System32\\imageres.dll,1"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT]

[HKEY_CURRENT_USER\Software\StartIsBack]
"TaskbarCenterIcons"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"TaskbarMn"=dword:00000000
"TaskbarAl"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\Capabilities\wlanLocationBypass]
"RequireWindowsCert"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_TrackProgs"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search]
"SearchboxTaskbarMode"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.3.0]
@="XML DOM Document 3.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Msxml2.DOMDocument.3.0\CLSID]
@="{F5078F32-C551-11D3-89B9-0000F81FE221}"
[-HKEY_LOCAL_MACHINE\PE_DEF\Control Panel\Cursors] 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel]
"AllItemsIconView"=dword:00000000
"StartupPage"=dword:00000001

以上Windows\System32檔案、補檔僅供參考(檔案來自網路,依需求修改),請依自己實際需求修改、增刪。


win11_21h2_22000_3260_boot\Windows\System32\disposition
LoginUser.ini檔內容,僅供參考,請依自己需求增刪、修改
EXEC ! x:\tools\7-zip\7-Zip.CMD
EXEC !wpeutil.exe InitializeNetwork /NoWait
LOGO %WinDir%\web\wallpaper\Windows\img0.jpg
TEXT 系統載入中...#0xFFFFFF L59 T39 $20*
HIDE
SHEL -sys explorer.exe
EXEC !ctfmon.exe
EXEC !%ProgramFiles%\WinXShell\WinXShell.exe -regist -daemon
EXEC !"%WinDir%\System32\disposition\Runner.bat" Post
load X:\Windows\System32\disposition\ShowDisk.WCS
EXEC @%SystemRoot%\regedit.exe /s "%SystemRoot%\System32\md1.reg"
EXEC -wait -hide "%SystemRoot%\System32\orderdrv\orderdrv.cmd"
LINK %Desktop%\安裝工具程式集,x:\windows\system32\PECMD.exe,LOAD x:\tools\instslltoolsati.ini,x:\tools\toolsapp.ico
EXEC %ProgramFiles%\WinXShell\WinXShell.exe -code "Taskbar:Pin([[x:\tools\WINSNAP\WINSNAP.EXE]])"
LINK %Desktop%\7-Zip, "X:\Program Files\7-zip\7zFM.exe"
LINK %Desktop%\notepad,%SystemRoot%\system32\notepad.exe
load \sources\pe\disc.ini
load x:\tools\peinit1.ini
LINK %Desktop%\EasyUEFI, %cdna%\win8chtxpe\petools\x64\tools641\EasyUEFI\EasyUEFI.exe
LINK %Desktop%\registryworkshop, %cdna%\win8chtxpe\petools\x64\tools641\registryworkshop\RegWorkshopX64.exe
LINK %Desktop%\AIDA64, %cdna%\win8chtxpe\petools\x64\tools641\AIDA64\aida64.exe
LINK %Desktop%\DiskGenius, %cdna%\win8chtxpe\petools\x64\tools641\DiskGenius\DiskGenius.exe
LINK %Desktop%\2017TrueImage, %cdna%\win8chtxpe\petools\x64\tools641\ati\ATIH2017\ATILauncher_x64.exe
LINK %Desktop%\PARTASSIST分區助手, %cdna%\win8chtxpe\petools\x64\tools641\PARTASSIST\PartAssist.exe
EXEC ! %cdna%\win8chtxpe\petools\x64\tools641\PARTASSIST\install.bat
file %cdna%\win8chtxpe\petools\x64\tools641\PARTASSIST\tw\cfg.ini=>%cdna%\win8chtxpe\petools\x64\tools641\PARTASSIST
LINK %Desktop%\WinosInfo, %cdna%\win8chtxpe\petools\x64\tools641\WinosInfo\WinosInfo.exe
LINK %Desktop%\WinMergePortable, %cdna%\win8chtxpe\petools\x64\tools641\WinMergePortable\WinMergePortable.exe
LINK %Desktop%\FastCopy,%cdna%\win8chtxpe\petools\x64\tools64\FastCopy\FastCopy.exe
EXEC @%SystemRoot%\regedit.exe /s "%SystemRoot%\System32\win11pass.reg"
EXEC =X:\Windows\System32\Pecmd.exe kill explorer.exe

win11_21h2_22000_3260_boot\Windows\System32\disposition\Post
Computer.bat檔內容:依自己需求修改
@echo off
reg add "HKLM\SYSTEM\ControlSet001\Control\ComputerName\ActiveComputerName" /f /v "ComputerName" /t REG_SZ /d "WIN11PE_tai"
reg add "HKLM\SYSTEM\ControlSet001\Control\ComputerName\ComputerName" /f /v "ComputerName" /t REG_SZ /d "WIN11PE_tai"
reg add "HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /f /v "NV Hostname" /t REG_SZ /d "WIN11PE_tai"
reg add "HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters" /f /v "Hostname" /t REG_SZ /d "WIN11PE_tai"
reg add "HKLM\SYSTEM\ControlSet001\Services\EventLog\State" /f /v "LastComputerName" /t REG_SZ /d "WIN11PE_tai" 
reg add "HKLM\SYSTEM\ControlSet001\Services\RpcSs" /f /v "ObjectName" /t REG_SZ /d "LocalSystem"
reg add "HKLM\SYSTEM\ControlSet001\Services\RpcEptMapper" /f /v "ObjectName" /t REG_SZ /d "LocalSystem"
reg delete "HKLM\SYSTEM\ControlSet001\Enum\PCI\VEN_8086&DEV_10D3&SUBSYS_07D015AD&REV_00" /f
reg delete "HKLM\SYSTEM\ControlSet001\Enum\PCI\VEN_10EC&DEV_8168&SUBSYS_E0001458&REV_0C" /f
reg delete "HKLM\SYSTEM\ControlSet001\Enum\PCI\VEN_15AD&DEV_1977&SUBSYS_197715AD&REV_09" /f
attrib +s x:\users & attrib +s x:\users\*.* /D /S 1>nul 2>nul & attrib +s +h X:\Users\Public\Libraries /D
del /a /q "X:\Users\Default\Desktop\desktop.ini"
del /a /q "X:\Users\Public\Desktop\desktop.ini"
del /a /q "%USERPROFILE%\Desktop\desktop.ini"
start WinXShell.exe -code "FolderOptions:Set('ShowAll', 1)"
rd "X:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" /s /q
rd "X:\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" /s /q
exit

Inwallpaper.ini檔內容
FORX %WinDir%\System32\disposition\Post\wallpaper.jpg,&BZ,1, TEAM WALL %&BZ%|REGI HKCU\Control Panel\Desktop\\Wallpaper.PECMD=

Link.ini 檔內容
CALL $gdi32.dll,EnableEUDC
HOTK #112,PECMD.EXE `F1 pecmd
HOTK #119,kill explorer.exe `F8 刷新系統
LINK %Programs%\F1 PECMD,%SystemRoot%\system32\PECMD.exe
LINK %Programs%\F8刷新系統,pecmd.exe, kill explorer.exe,shell32.dll#238
EXEC %ProgramFiles%\WinXShell\WinXShell.exe -code "PinToTaskbar([[Explorer.exe]])"

wallpaper.jpg,Inwallpaper.ini設定的桌面圖檔




win11_21h2_22000_3260_boot\Windows\System32\orderdrv
本文內置磁碟驅動程式,pe開機找到碟機,載入ShowDisk.WCS,顯示windows 11 24h2 用新安裝方式安裝的磁碟機,執行orderdrv.cmd順理磁碟機代號。load \sources\pe\disc.ini,取得pe檔存放的磁碟機代號,存入%cdna%變數中,工具程式就可以取得正確連結。

win11_21h2_22000_3260_boot\Windows\SystemResources\Windows.UI.ShellCommon
保留pris、StartUI資料夾及Windows.UI.ShellCommon.pri檔(這個黨不要精簡,避免釘選在工作列的程式按滑鼠右鍵選單顯示亂碼),其餘的可刪除。


win11_21h2_22000_3260_boot\Windows\SysWOW64
有些工具程式執行時會提示缺檔,補檔後才能正常執行。

win11_21h2_22000_3260_boot\Windows\Web\Wallpaper\Windows
img0.jpg 桌面圖檔

將預先建立win11_21h2_22000_3260_boot資料夾之下
Program Files
Users
Windows
複製到pe掛載資料夾222,貼上。

預先準備好常用磁碟、觸控、I/O驅動。執行dism ++,點選已用gimagex掛載的win 11 21h2 pe 22000.3260。
->驅動管理->新增驅動->選擇要匯入的驅動存放資料夾->選擇資料夾

常用磁碟、觸控、I/O驅動已新增至pe。


執行cat簽名批量檢查工具。
pe文件目錄:win 11 21h2 pe 22000.3260 boot.wim 掛載目錄
cat文件夾:Windows\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}
->確定

->檢查所有CAT文件

批量移動無效cat文件

本文製作的pe,工具程式是放在tools資料夾

刪除windows\system32\configs 多餘臨時檔。
保留COMPONENTS、DEFAULT、DRIVERS、SAM、SECURITY、software、system 7個檔。



卸載boot,卸載前記得關閉已開啟的檔案或資料夾,才能成功卸載。

導出(Export) boot.wim,選 最大壓縮(maximum)

參考以上文章內容,製作的win 11 21h2 pe 22000.3260,核心較小,部分工具程式內置,磁碟、觸控、I/O驅動內置,開機速度快。經過頻繁測試及多次重做修改,已達穩定階段。

沒有留言:

張貼留言