|
|
应答文件:::如下:::最后步骤重命名Administrator,结果不成功,虽然日志显示返回0成功。///////<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend"
xmlns:wcm="">
<!-- 在 specialize 阶段运行 - 在 OOBE 之前 -->
<settings pass="specialize">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35"
language="neutral"
versionScope="nonSxS">
<ComputerName>Z9PA-D8Series</ComputerName>
<OEMName>Liar</OEMName>
</component>
<component name="Microsoft-Windows-Deployment"
processorArchitecture="amd64"
publicKeyToken="31bf3856ad364e35"
language="neutral"
versionScope="nonSxS">
<RunSynchronous>
<!-- 1. 安全策略 -->
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c %SystemRoot%\Setup\Scripts\secpol.bat</Path>
<Description>PasswordComplexity, DisableCAD, ShutdownReasonOn</Description>
</RunSynchronousCommand>
<!-- 3. Primo Ramdisk 安装 -->
<RunSynchronousCommand wcm:action="add">
<Order>5</Order>
<Path>cmd.exe /c "%SystemRoot%\Setup\Scripts\Primo\install.bat"</Path>
<Description>Install and Configure Primo Ramdisk</Description>
<WillReboot>OnRequest</WillReboot>
</RunSynchronousCommand>
<!-- 4. 移动 Users 文件夹 -->
<RunSynchronousCommand wcm:action="add">
<Order>9</Order>
<Path>cmd.exe /c "%SystemRoot%\Setup\Scripts\InitUsers.bat"</Path>
<Description>moving Users folder to Ramdisk</Description>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>12</Order>
<Path>cmd.exe /c "%SystemRoot%\Setup\Scripts\renameAdmin.bat"</Path>
<Description>Rename built-in Administrator account to Liar</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="oobeSystem">
|
|