Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
,以便可以在客户机中使用 Windows 沙盒功能或其他虚拟化应用。C:\Windows\System32\sysprep\sysprep.exe
选择 Audit Mode,勾选 Generalize,Sysprep 自动安排重启后会以管理员账户进入系统。C:\Windows\System32\sysprep\sysprep.exe /oobe /generalize /shutdown /mode:vm
生成 Gold Image。