LabBuilder
LabBuilder copied to clipboard
Improve Windows 10 Unattend.xml for Enabling Administrator account
Currently the Unattend.xml section for enabling the Windows 10 account is:
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
However the following might be better code:
<AutoLogon>
<Password>
<Value>SecurePasswd123</Value>
<PlainText>true</PlainText>
</Password>
<Username>Administrator</Username>
<Enabled>true</Enabled>
<LogonCount>5</LogonCount>
</AutoLogon>
Auto login bypasses the first logon prompt but then requires a password after the first login. One nice benefit is that it doesn't take 5 minutes to login the first time. At least this is what I've observed so far with my testing. Maybe provide an option for auto login?
Cool! I'm all for that. Sounds like a better option. I'll make the change!
@PlagueHO - I think this has been fixed and can be closed.