为 ARM64 设备制作 Windows PE 启动盘
关键点是添加目标设备所需的驱动程序。
获取必要的工具
Windows ADK
目前 Windows PE 作为 Windows ADK 的加载项提供,下载地址
SCCM WinPE 驱动程序
本文以 ThinkPad X13s 为例,下载地址
WinXShell
替代 Windows Shell,作为 WinPE 的任务栏,下载地址,密码 shell
Explorer++
DiskGenius
用于创建 Windows PE 启动盘,下载地址,提取码 0p9q
制作 Windows PE 镜像
流程参考 WinPE:装载和自定义
装载 Windows PE 启动映像
新建一个文件夹,如 C:\WinPE_arm64\
,在 Windows PowerShell 中输入
Dism /Mount-Image /ImageFile:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\en-us\winpe.wim" /index:1 /MountDir:"C:\WinPE_arm64"
添加 SCCM WinPE 驱动程序
本文以 ThinkPad X13s 为例,在 Windows PowerShell 中输入
Dism /Image:C:\WinPE_arm64 /Add-Driver /Driver:C:\Drivers\SCCM\tp_8cxg3_pe11_202205 /Recurse
添加功能包
在 Windows PowerShell 中按顺序逐行输入
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-WMI.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-NetFx.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-Scripting.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-PowerShell.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-DismCmdlets.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-StorageWMI.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-SecureStartup.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-EnhancedStorage.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-FMAPI.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-x64-Support.cab"
添加简体中文支持
在 Windows PowerShell 中按顺序逐行输入
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\lp.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\WinPE-FontSupport-ZH-CN.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-WMI_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-NetFx_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-Scripting_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-PowerShell_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-DismCmdlets_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-StorageWMI_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-SecureStartup_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-EnhancedStorage_zh-cn.cab"
Dism /Add-Package /Image:"C:\WinPE_arm64" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\WinPE_OCs\zh-cn\WinPE-x64-Support_zh-cn.cab"
设置简体中文显示
在 Windows PowerShell 中按顺序逐行输入
Dism /Image:"C:\WinPE_arm64" /Set-AllIntl:zh-CN
Dism /Image:"C:\WinPE_arm64" /Set-SysUILang:zh-CN
Dism /Image:"C:\WinPE_arm64" /Set-TimeZone:"China Standard Time"
个性化 Windows PE
设置高性能电源计划
修改 C:\WinPE_arm64\Windows\System32\Startnet.cmd
内容为
wpeinit
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
自动启动 WinXShell
在 C:\WinPE_arm64
目录下新建 \WinXShell
,将解压后的全部文件放入其中
新建 C:\WinPE_arm64\Windows\System32\Winpeshl.ini
,修改内容为
[LaunchApps]
%SYSTEMDRIVE%\WinXShell\WinXShell_x64.exe, -regist -noaction
%SYSTEMDRIVE%\WinXShell\WinXShell_x64.exe, -code Screen:DPI(150)
%SYSTEMDRIVE%\WinXShell\WinXShell_x64.exe, -shell
配置 Explorer++
在 C:\WinPE_arm64
目录下新建 \explorerpp_arm64
,将 explorerpp_arm64.zip
解压后的全部文件放入其中,并从 explorerpp_translations.zip
中复制 Explorer++ZH_CN.dll
在 C:\WinPE_arm64\explorerpp_arm64
下新建 config.xml
,将其内容改为
<?xml version="1.0"?>
<!-- Preference file for Explorer++ -->
<ExplorerPlusPlus>
<Settings>
<Setting name="AllowMultipleInstances">yes</Setting>
<Setting name="AlwaysOpenInNewTab">no</Setting>
<Setting name="AlwaysShowTabBar">yes</Setting>
<Setting name="AutoArrangeGlobal">yes</Setting>
<Setting name="CheckBoxSelection">no</Setting>
<Setting name="CloseMainWindowOnTabClose">yes</Setting>
<Setting name="ConfirmCloseTabs">no</Setting>
<Setting name="DisableFolderSizesNetworkRemovable">no</Setting>
<Setting name="DisplayCentreColor" r="255" g="255" b="255"/>
<Setting name="DisplayFont" Height="-13" Width="0" Weight="500" Italic="no" Underline="no" Strikeout="no" Font="Segoe UI"/>
<Setting name="DisplaySurroundColor" r="0" g="94" b="138"/>
<Setting name="DisplayTextColor" r="0" g="0" b="0"/>
<Setting name="DisplayWindowWidth">300</Setting><Setting name="DisplayWindowHeight">90</Setting>
<Setting name="DisplayWindowVertical">no</Setting>
<Setting name="DoubleClickTabClose">yes</Setting>
<Setting name="ExtendTabControl">no</Setting>
<Setting name="ForceSize">no</Setting>
<Setting name="HandleZipFiles">no</Setting>
<Setting name="HideLinkExtensionGlobal">no</Setting>
<Setting name="HideSystemFilesGlobal">no</Setting>
<Setting name="InfoTipType">0</Setting>
<Setting name="InsertSorted">yes</Setting>
<Setting name="Language">2052</Setting>
<Setting name="LargeToolbarIcons">no</Setting>
<Setting name="LastSelectedTab">0</Setting>
<Setting name="LockToolbars">yes</Setting>
<Setting name="NextToCurrent">no</Setting>
<Setting name="NewTabDirectory">::{20D04FE0-3AEA-1069-A2D8-08002B30309D}</Setting>
<Setting name="OneClickActivate">no</Setting>
<Setting name="OneClickActivateHoverTime">500</Setting>
<Setting name="OverwriteExistingFilesConfirmation">yes</Setting>
<Setting name="ReplaceExplorerMode">1</Setting>
<Setting name="ShowAddressBar">yes</Setting>
<Setting name="ShowApplicationToolbar">no</Setting>
<Setting name="ShowBookmarksToolbar">no</Setting>
<Setting name="ShowDrivesToolbar">yes</Setting>
<Setting name="ShowDisplayWindow">yes</Setting>
<Setting name="ShowExtensions">yes</Setting>
<Setting name="ShowFilePreviews">yes</Setting>
<Setting name="ShowFolders">yes</Setting>
<Setting name="ShowFolderSizes">no</Setting>
<Setting name="ShowFriendlyDates">yes</Setting>
<Setting name="ShowFullTitlePath">no</Setting>
<Setting name="ShowGridlinesGlobal">yes</Setting>
<Setting name="ShowHiddenGlobal">yes</Setting>
<Setting name="ShowInfoTips">yes</Setting>
<Setting name="ShowInGroupsGlobal">no</Setting>
<Setting name="ShowPrivilegeLevelInTitleBar">no</Setting>
<Setting name="ShowStatusBar">yes</Setting>
<Setting name="ShowTabBarAtBottom">no</Setting>
<Setting name="ShowTaskbarThumbnails">no</Setting>
<Setting name="ShowToolbar">yes</Setting>
<Setting name="ShowUserNameTitleBar">no</Setting>
<Setting name="SizeDisplayFormat">1</Setting>
<Setting name="SortAscendingGlobal">yes</Setting>
<Setting name="StartupMode">1</Setting>
<Setting name="SynchronizeTreeview">yes</Setting>
<Setting name="TVAutoExpandSelected">no</Setting>
<Setting name="UseFullRowSelect">no</Setting>
<Setting name="IconTheme">2</Setting>
<Setting name="ToolbarState" Button0="Back" Button1="Forward" Button2="Up" Button3="Separator" Button4="Folders" Button5="Separator" Button6="Cut" Button7="Copy" Button8="Paste" Button9="Delete" Button10="Delete Permanently" Button11="Properties" Button12="Search" Button13="Separator" Button14="New Folder" Button15="Copy To" Button16="Move To" Button17="Separator" Button18="Views" Button19="Open Command Prompt" Button20="Refresh" Button21="Separator" Button22="Bookmark the current tab" Button23="Organize Bookmarks"/>
<Setting name="TreeViewDelayEnabled">no</Setting>
<Setting name="TreeViewWidth">208</Setting>
<Setting name="ViewModeGlobal">1</Setting>
<Setting name="CheckPinnedToNamespaceTreeProperty">no</Setting>
<Setting name="ShowQuickAccessInTreeView">yes</Setting>
<Setting name="Theme">2</Setting>
<Setting name="DisplayMixedFilesAndFolders">no</Setting>
<Setting name="UseNaturalSortOrder">yes</Setting>
<Setting name="OpenTabsInForeground">no</Setting>
<Setting name="GroupSortDirectionGlobal">0</Setting>
<Setting name="GoUpOnDoubleClick">yes</Setting>
<Setting name="MainFont" Name="Segoe UI" Size="10"/>
</Settings>
<WindowPosition>
<Setting name="Position" Flags="0" ShowCmd="1" MinPositionX="0" MinPositionY="0" MaxPositionX="-1" MaxPositionY="-1" NormalPositionLeft="76" NormalPositionTop="108" NormalPositionRight="3762" NormalPositionBottom="1879"/>
</WindowPosition><Tabs><Tab name="" Directory="::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" ViewMode="1" SortMode="1" SortAscending="yes" GroupMode="1" GroupSortDirection="0" ShowInGroups="no" ApplyFilter="no" FilterCaseSensitive="no" ShowHidden="yes" AutoArrange="yes" Filter="" Locked="no" AddressLocked="no" CustomName=""><Columns><Column name="Generic" Name="yes" Name_Width="150" Type="yes" Type_Width="150" Size="yes" Size_Width="150" DateModified="yes" DateModified_Width="150" Attributes="no" Attributes_Width="150" SizeOnDisk="no" SizeOnDisk_Width="150" ShortName="no" ShortName_Width="150" Owner="no" Owner_Width="150" ProductName="no" ProductName_Width="150" Company="no" Company_Width="150" Description="no" Description_Width="150" FileVersion="no" FileVersion_Width="150" ProductVersion="no" ProductVersion_Width="150" ShortcutTo="no" ShortcutTo_Width="150" HardLinks="no" HardLinks_Width="150" Extension="no" Extension_Width="150" Created="no" Created_Width="150" Accessed="no" Accessed_Width="150" Title="no" Title_Width="150" Subject="no" Subject_Width="150" Author="no" Author_Width="150" Keywords="no" Keywords_Width="150" Comment="no" Comment_Width="150" CameraModel="no" CameraModel_Width="150" DateTaken="no" DateTaken_Width="150" Width="no" Width_Width="150" Height="no" Height_Width="150" MediaBitrate="no" MediaBitrate_Width="150" MediaCopyright="no" MediaCopyright_Width="150" MediaDuration="no" MediaDuration_Width="150" MediaProtected="no" MediaProtected_Width="150" MediaRating="no" MediaRating_Width="150" MediaAlbumArtist="no" MediaAlbumArtist_Width="150" MediaAlbum="no" MediaAlbum_Width="150" MediaBeatsPerMinute="no" MediaBeatsPerMinute_Width="150" MediaComposer="no" MediaComposer_Width="150" MediaConductor="no" MediaConductor_Width="150" MediaDirector="no" MediaDirector_Width="150" MediaGenre="no" MediaGenre_Width="150" MediaLanguage="no" MediaLanguage_Width="150" MediaBroadcastDate="no" MediaBroadcastDate_Width="150" MediaChannel="no" MediaChannel_Width="150" MediaStationName="no" MediaStationName_Width="150" MediaMood="no" MediaMood_Width="150" MediaParentalRating="no" MediaParentalRating_Width="150" MediaParentalRatingReason="no" MediaParentalRatingReason_Width="150" MediaPeriod="no" MediaPeriod_Width="150" MediaProducer="no" MediaProducer_Width="150" MediaPublisher="no" MediaPublisher_Width="150" MediaWriter="no" MediaWriter_Width="150" MediaYear="no" MediaYear_Width="150"/><Column name="MyComputer" Name="yes" Name_Width="150" Type="yes" Type_Width="150" TotalSize="yes" TotalSize_Width="150" FreeSpace="yes" FreeSpace_Width="150" VirtualComments="no" VirtualComments_Width="150" FileSystem="no" FileSystem_Width="150"/><Column name="ControlPanel" Name="yes" Name_Width="150" VirtualComments="yes" VirtualComments_Width="150"/><Column name="RecycleBin" Name="yes" Name_Width="150" OriginalLocation="yes" OriginalLocation_Width="150" DateDeleted="yes" DateDeleted_Width="150" Size="yes" Size_Width="150" Type="yes" Type_Width="150" DateModified="yes" DateModified_Width="150"/><Column name="Printers" Name="yes" Name_Width="150" Documents="yes" Documents_Width="150" Status="yes" Status_Width="150" PrinterComments="yes" PrinterComments_Width="150" PrinterLocation="yes" PrinterLocation_Width="150" PrinterModel="yes" PrinterModel_Width="150"/><Column name="Network" Name="yes" Name_Width="150" Type="yes" Type_Width="150" NetworkAdaptorStatus="yes" NetworkAdaptorStatus_Width="150" Owner="yes" Owner_Width="150"/><Column name="NetworkPlaces" Name="yes" Name_Width="150" VirtualComments="yes" VirtualComments_Width="150"/></Columns></Tab></Tabs><DefaultColumns><Column name="Generic" Name="yes" Name_Width="150" Type="yes" Type_Width="150" Size="yes" Size_Width="150" DateModified="yes" DateModified_Width="150" Attributes="no" Attributes_Width="150" SizeOnDisk="no" SizeOnDisk_Width="150" ShortName="no" ShortName_Width="150" Owner="no" Owner_Width="150" ProductName="no" ProductName_Width="150" Company="no" Company_Width="150" Description="no" Description_Width="150" FileVersion="no" FileVersion_Width="150" ProductVersion="no" ProductVersion_Width="150" ShortcutTo="no" ShortcutTo_Width="150" HardLinks="no" HardLinks_Width="150" Extension="no" Extension_Width="150" Created="no" Created_Width="150" Accessed="no" Accessed_Width="150" Title="no" Title_Width="150" Subject="no" Subject_Width="150" Author="no" Author_Width="150" Keywords="no" Keywords_Width="150" Comment="no" Comment_Width="150" CameraModel="no" CameraModel_Width="150" DateTaken="no" DateTaken_Width="150" Width="no" Width_Width="150" Height="no" Height_Width="150" MediaBitrate="no" MediaBitrate_Width="150" MediaCopyright="no" MediaCopyright_Width="150" MediaDuration="no" MediaDuration_Width="150" MediaProtected="no" MediaProtected_Width="150" MediaRating="no" MediaRating_Width="150" MediaAlbumArtist="no" MediaAlbumArtist_Width="150" MediaAlbum="no" MediaAlbum_Width="150" MediaBeatsPerMinute="no" MediaBeatsPerMinute_Width="150" MediaComposer="no" MediaComposer_Width="150" MediaConductor="no" MediaConductor_Width="150" MediaDirector="no" MediaDirector_Width="150" MediaGenre="no" MediaGenre_Width="150" MediaLanguage="no" MediaLanguage_Width="150" MediaBroadcastDate="no" MediaBroadcastDate_Width="150" MediaChannel="no" MediaChannel_Width="150" MediaStationName="no" MediaStationName_Width="150" MediaMood="no" MediaMood_Width="150" MediaParentalRating="no" MediaParentalRating_Width="150" MediaParentalRatingReason="no" MediaParentalRatingReason_Width="150" MediaPeriod="no" MediaPeriod_Width="150" MediaProducer="no" MediaProducer_Width="150" MediaPublisher="no" MediaPublisher_Width="150" MediaWriter="no" MediaWriter_Width="150" MediaYear="no" MediaYear_Width="150"/><Column name="MyComputer" Name="yes" Name_Width="150" Type="yes" Type_Width="150" TotalSize="yes" TotalSize_Width="150" FreeSpace="yes" FreeSpace_Width="150" VirtualComments="no" VirtualComments_Width="150" FileSystem="no" FileSystem_Width="150"/><Column name="ControlPanel" Name="yes" Name_Width="150" VirtualComments="yes" VirtualComments_Width="150"/><Column name="RecycleBin" Name="yes" Name_Width="150" OriginalLocation="yes" OriginalLocation_Width="150" DateDeleted="yes" DateDeleted_Width="150" Size="yes" Size_Width="150" Type="yes" Type_Width="150" DateModified="yes" DateModified_Width="150"/><Column name="Printers" Name="yes" Name_Width="150" Documents="yes" Documents_Width="150" Status="yes" Status_Width="150" PrinterComments="yes" PrinterComments_Width="150" PrinterLocation="yes" PrinterLocation_Width="150" PrinterModel="yes" PrinterModel_Width="150"/><Column name="Network" Name="yes" Name_Width="150" Type="yes" Type_Width="150" NetworkAdaptorStatus="yes" NetworkAdaptorStatus_Width="150" Owner="yes" Owner_Width="150"/><Column name="NetworkPlaces" Name="yes" Name_Width="150" VirtualComments="yes" VirtualComments_Width="150"/></DefaultColumns>
<Bookmarksv2>
<PermanentItem name="BookmarksToolbar" DateCreatedLow="12013373" DateCreatedHigh="31097529" DateModifiedLow="12013373" DateModifiedHigh="31097529">
</PermanentItem>
<PermanentItem name="BookmarksMenu" DateCreatedLow="12013373" DateCreatedHigh="31097529" DateModifiedLow="12013373" DateModifiedHigh="31097529">
</PermanentItem>
<PermanentItem name="OtherBookmarks" DateCreatedLow="12013373" DateCreatedHigh="31097529" DateModifiedLow="12013373" DateModifiedHigh="31097529">
</PermanentItem>
</Bookmarksv2><ApplicationToolbar/><Toolbars><Toolbar name="" id="0" Style="769" Length="0"/><Toolbar name="" id="1" Style="257" Length="0"/><Toolbar name="" id="2" Style="777" Length="0"/><Toolbar name="" id="3" Style="769" Length="0"/><Toolbar name="" id="4" Style="777" Length="0"/></Toolbars><ColorRules><ColorRule name="Compressed files" FilenamePattern="" CaseInsensitive="no" Attributes="2048" r="0" g="116" b="232"/><ColorRule name="Encrypted files" FilenamePattern="" CaseInsensitive="no" Attributes="16384" r="0" g="128" b="0"/></ColorRules>
<State>
</State>
</ExplorerPlusPlus>
设置桌面壁纸
更改 WinPE 背景图像文件 %SYSTEMDRIVE%\Windows\System32\winpe.jpg
的安全权限以修改或删除该文件
在 Windows 资源管理器中导航到
C:\WinPE_arm64\Windows\System32
右键单击
C:\WinPE_arm64\Windows\System32\winpe.jpg
文件,然后选择“属性”>“安全性”选项卡 >“高级”在“所有者”旁边,选择“更改”。将所有者更改为“管理员”
应用更改,然后退出“属性”窗口以保存更改
右键单击
C:\WinPE_arm64\Windows\System32\winpe.jpg
文件,然后选择“属性”>“安全性”选项卡 >“高级”修改“管理员”的权限以允许完全访问
应用更改,然后退出“属性”窗口以保存更改
将
winpe.jpg
文件替换为自己的图像文件
替换 msyh
系列字体
使用修改过的新版微软雅黑,下载地址
将 msyh.ttc
和 msyhl.ttc
复制到 C:\WinPE_arm64\Windows\Fonts
,替换现有字体文件
如遇权限问题,按照修改 winpe.jpg
的方法修改即可
卸载 Windows PE 映像并创建启动盘
在 Windows PowerShell 中输入
Dism /Unmount-Image /MountDir:"C:\WinPE_arm64" /commit
使用 DiskGenius 将 U 盘转为 GUID 分区表,并创建足够大的 ESP 分区,复制 C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\Media
内的所有文件
将 C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\en-us
内的 winpe.wim
重命名为 boot.wim
,将 boot.wim
复制到 ESP 分区内新建的 \Sources
文件夹
制作 ISO 镜像
在 C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\Media
下新建 \Sources
文件夹并复制 boot.wim
文件
在 C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg
下启动 Windows PowerShell,输入以下命令
.\oscdimg.exe -n -d -m "C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\arm64\Media" "C:\WinPE_arm64\WinPE.iso"