Managing Windows-based HP Thin Clients with System Center 2012 R2 Configuration Manager SP1
46
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" 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">
<AutoLogon>
<Password>
<Value>%AUTOLOGONPASSWORD%</Value>
<PlainText>false</PlainText>
</Password>
<Username>%AUTOLOGONUSER%</Username>
<LogonCount>1</LogonCount>
<Enabled>true</Enabled>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>C:\Windows\System32\reg.exe add "HKLM\SYSTEM\Setup" /v CmdLine /t REG_SZ /d
"system32\osdsetuphook.exe /execute" /f</CommandLine>
<Description>osdsetuphook</Description>
<RequiresUserInput>false</RequiresUserInput>
<Order>1</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>C:\Windows\System32\reg.exe add "HKLM\SYSTEM\Setup" /v SetupType /t REG_DWORD /d
2 /f</CommandLine>
<Description>osdsetuphook</Description>
<RequiresUserInput>false</RequiresUserInput>
<Order>2</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>C:\Windows\System32\shutdown.exe /r /f /t 0</CommandLine>
<Description>osdsetuphook</Description>
<RequiresUserInput>false</RequiresUserInput>
<Order>3</Order>
</SynchronousCommand>
</FirstLogonCommands>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>%AUTOLOGONPASSWORD%</Value>
<PlainText>false</PlainText>
</Password>
<Description>Temp Auto Logon Account</Description>
<DisplayName>Temp Auto Logon Account</DisplayName>
<Name>%AUTOLOGONUSER%</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
</unattend>