HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration
 <Credentials>
 <Domain>*MachineName*</Domain>
 <Username>Administrator</Username>
 <Password>Abcdef12</Password>
 </Credentials>
 <JoinWorkgroup>WORKGROUP</JoinWorkgroup>
 </Identification>
 </component>
 </settings>
 <!-- NOTE: we need to use settings overrides to enable remote desktop and open up the relevant port in the
 firewall; at present, these settings have not yet been authored; in the meantime, we use guirunonce 
items to get this functionality (and we autologon to make sure the guirunonce items will run right 
after setup) -->
 <settings pass="oobeSystem">
 <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" 
versionScope="nonSxS" processorArchitecture="ia64">
 <AutoLogon>
 <Enabled>true</Enabled>
 <Username>Administrator</Username>
 <Password>
 <Value>QQBiAGMAZABlAGYAMQAyAFAAYQBzAHMAdwBvAHIAZAA=</Value>
 <PlainText>false</PlainText>
 </Password>
 </AutoLogon>
 <FirstLogonCommands>
 <SynchronousCommand>
 <Order>1</Order>
 <!-- open a port in the firewall for remote desktop -->
 <CommandLine>netsh firewall set portopening TCP 3389 "Remote Desktop" enable</CommandLine>
 </SynchronousCommand>
 <SynchronousCommand>
 <Order>2</Order>
 <!-- turn on remote desktop -->
 <CommandLine>reg add "HKLM\SYSTEM\ControlSet001\Control\Terminal Server" /f /v 
fDenyTSConnections /t REG_DWORD /d 0x00000000</CommandLine>
 </SynchronousCommand>
 <SynchronousCommand>
 <Order>3</Order>
 <!-- turn on remote desktop for earlier less-secure operating systems like Windows 2000, 
XP, and Win2K3-->
 <CommandLine>reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal 
Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0x0 /f</CommandLine>
 </SynchronousCommand>
 </FirstLogonCommands>
 <RegisteredOwner>GSTL User</RegisteredOwner>
 <RegisteredOrganization>YOUR COMPANY GOES HERE</RegisteredOrganization>
 <TimeZone>Pacific Standard Time</TimeZone>
 <UserAccounts>
 <AdministratorPassword>
 <Value>QQBiAGMAZABlAGYAMQAyAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>
 <PlainText>false</PlainText>
 </AdministratorPassword>
 </UserAccounts>
 </component>
 </settings>
 <cpi:offlineImage cpi:source="wim:c:/iso/wim/us/install.wim#Windows Longhorn SERVERENTERPRISEIA64" 
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
216 Sample Unattend.xml File










