BAKNRET-LAB China Standard Time BakNRet Lab BakNRet Lab 1 跳过 OOBE 的联网 / 微软账户强制 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f 2 关掉“让我们完成设备设置”一类打扰 reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /v ScoobeSystemSettingEnabled /t REG_DWORD /d 0 /f zh-CN zh-CN zh-CN zh-CN true true true true Work 3 lab Lab BakNRet 隔离测试账户 Administrators __LABPASSWORD__ true</PlainText> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Username>lab</Username> <Enabled>true</Enabled> <LogonCount>3</LogonCount> <Password> <Value>__LABPASSWORD__</Value> <PlainText>true</PlainText> </Password> </AutoLogon> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>BakNRet lab 供给脚本(把 VM 变成可跑全链路测试的真机状态)</Description> <CommandLine>powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\BakNRet-Lab\payload\provision.ps1</CommandLine> </SynchronousCommand> </FirstLogonCommands> <TimeZone>China Standard Time</TimeZone> </component> </settings> </unattend>