我即将创建自己的Windows 10
图像。到目前为止我已完成:
我使用以下目录:
D:\Windows\drivers
包含适用于我的系统的驱动程序的文件夹D:\Windows\extracted
包含提取的源图像的文件夹D:\Windows\mount
创建图像的文件夹D:\Windows\wim
Windows 10
文件夹install.wim
。
工作流程:
复制
install.wim
自D:\Windows\extracted\sources
至D:\Windows\wim
下载最新版本(适合你的系统)Windows ADK并至少安装以下内容成分:
Deployment Tools Imaging And Configuration Designer (ICD) User State Migration Tool (USMT)
开始
cmd
(按Windows+X
开始Windows PowerShell (Administrator)
并输入cmd
)禁用所有可以禁用的程序/自定义服务
现在以下所有命令均用于
cmd
:SET DISM="C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" %DISM% /Mount-Wim /WimFile:"D:\Windows\wim\install.wim" /index:1 /Mountdir:"D:\Windows\mount" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\bluetooth\Rtkfilter.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\HDMI Audio\AtihdWT6.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\network\rt640x64.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\touchpad\AsusTP.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\GPIO2\amdgpio2.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\I2C\amdi2c.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\PSP\amdpsp.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\SATA\amd_sata.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\SMBus\SMBUSamd.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\chipset\UART\amduart.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\video" /Recurse %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\WLAN\netrtwlane02.inf" %DISM% /Image:"D:\Windows\mount" /Add-Driver /Driver:"D:\Windows\drivers\audio" /Recurse %DISM% /Image:"D:\Windows\mount" /set-productkey:YOUR-WIN-DOWS-KEY-HERE %DISM% /Unmount-Wim /Mountdir:"D:\Windows\mount" /commit %DISM% /Cleanup-Wim
现在我想加入一些Microsoft Visual C++ 可再发行组件. 我需要(因为一些老游戏):
- Microsoft Visual C++ 2012 x86,
- Microsoft Visual C++ 2013 x64和当前
- Microsoft Visual C++ 2015、2017、2019 和 2022 x86和
- Microsoft Visual C++ 2015、2017、2019 和 2022 x64和旧的
- DirectX 9.29.1974.1。
是否可以使用 将上述库集成到 Windows 映像中DISM
? 如果可以,该怎么做?