思路:配置无人值守文件,并通过DISM应用到镜像。
步骤:
dism /image:X: /apply-unattend:X:\windows\panther\unattend.xml
可参考 unattend.xml 内容
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<settings pass="offlineServicing">
<component name="Microsoft-Windows-CodeIntegrity"
processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35"
language="neutral"
versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkuPolicyRequired>1</SkuPolicyRequired>
</component>
<component name="Microsoft-Windows-CodeIntegrity"
processorArchitecture="x86"
publicKeyToken="31bf3856ad364e35"
language="neutral"
versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkuPolicyRequired>1</SkuPolicyRequired>
</component>
</settings>
</unattend>
以HP打印机为例
*然而有些打印机在安装驱动时提示“已知打印机驱动程序会伤害系统”或“驱动不适用该系统”,从而无法安装成功,此时只能选择其他内置品牌其他打印机驱动试试能否正常安装,并顺利打印了。
*选择替代驱动的经验是优先选同系列及序号相近的打印机驱动
已知可用HP LaserJet 1022 Class Driver驱动程序来使用HP LaserJet Pro P1108打印机
到这里基本就完成部署了,Enjoy~
启用 S 模式 | Microsoft Docs
How to create a Windows 10 with S mode installation media | Windows Central
原文:https://www.cnblogs.com/StarsbySea/p/Windows-10-S-Mode.html