Home | History | Annotate | Download | only in unattended
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <unattend xmlns="urn:schemas-microsoft-com:unattend">
      3 	<settings pass="windowsPE">
      4 		<component name="Microsoft-Windows-International-Core-WinPE"
      5 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
      6 			language="neutral" versionScope="nonSxS"
      7 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
      8 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      9 			<SetupUILanguage>
     10 				<UILanguage>en-us</UILanguage>
     11 			</SetupUILanguage>
     12 			<InputLocale>0409:00010409</InputLocale>
     13 			<SystemLocale>en-us</SystemLocale>
     14 			<UILanguage>en-us</UILanguage>
     15 			<UILanguageFallback>en-us</UILanguageFallback>
     16 			<UserLocale>en-us</UserLocale>
     17 		</component>
     18 		<component name="Microsoft-Windows-PnpCustomizationsWinPE"
     19 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
     20 			language="neutral" versionScope="nonSxS"
     21 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
     22 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     23 			<DriverPaths>
     24 				<PathAndCredentials wcm:keyValue="1" wcm:action="add">
     25 					<Path>KVM_TEST_STORAGE_DRIVER_PATH</Path>
     26 				</PathAndCredentials>
     27 				<PathAndCredentials wcm:keyValue="2" wcm:action="add">
     28 					<Path>KVM_TEST_NETWORK_DRIVER_PATH</Path>
     29 				</PathAndCredentials>
     30 			</DriverPaths>
     31 		</component>
     32 		<component name="Microsoft-Windows-Setup"
     33 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
     34 			language="neutral" versionScope="nonSxS"
     35 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
     36 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     37 			<DiskConfiguration>
     38 				<Disk wcm:action="add">
     39 					<CreatePartitions>
     40 						<CreatePartition wcm:action="add">
     41 							<Order>1</Order>
     42 							<Size>20000</Size>
     43 							<Type>Primary</Type>
     44 						</CreatePartition>
     45 					</CreatePartitions>
     46 					<ModifyPartitions>
     47 						<ModifyPartition wcm:action="add">
     48 							<Active>true</Active>
     49 							<Extend>false</Extend>
     50 							<Format>NTFS</Format>
     51 							<Label>OS_Install</Label>
     52 							<Letter>C</Letter>
     53 							<Order>1</Order>
     54 							<PartitionID>1</PartitionID>
     55 						</ModifyPartition>
     56 					</ModifyPartitions>
     57 					<DiskID>0</DiskID>
     58 					<WillWipeDisk>true</WillWipeDisk>
     59 				</Disk>
     60 				<WillShowUI>OnError</WillShowUI>
     61 			</DiskConfiguration>
     62 			<ImageInstall>
     63 				<OSImage>
     64 					<InstallFrom>
     65 						<MetaData wcm:action="add">
     66 							<Key>/IMAGE/INDEX</Key>
     67 							<Value>1</Value>
     68 						</MetaData>
     69 					</InstallFrom>
     70 					<InstallTo>
     71 						<DiskID>0</DiskID>
     72 						<PartitionID>1</PartitionID>
     73 					</InstallTo>
     74 				</OSImage>
     75 			</ImageInstall>
     76 			<UserData>
     77 				<ProductKey>
     78 					<Key>KVM_TEST_CDKEY</Key>
     79 					<WillShowUI>OnError</WillShowUI>
     80 				</ProductKey>
     81 				<AcceptEula>true</AcceptEula>
     82 				<FullName>Autotest Mindless Drone</FullName>
     83 				<Organization>Autotest</Organization>
     84 			</UserData>
     85 			<EnableFirewall>false</EnableFirewall>
     86 			<EnableNetwork>true</EnableNetwork>
     87 		</component>
     88 	</settings>
     89 	<settings pass="oobeSystem">
     90 		<component name="Microsoft-Windows-Deployment"
     91 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
     92 			language="neutral" versionScope="nonSxS"
     93 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
     94 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     95 			<Reseal>
     96 				<ForceShutdownNow>false</ForceShutdownNow>
     97 			</Reseal>
     98 		</component>
     99 		<component name="Microsoft-Windows-International-Core"
    100 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
    101 			language="neutral" versionScope="nonSxS"
    102 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    103 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    104 			<InputLocale>0409:00000409</InputLocale>
    105 			<SystemLocale>en-us</SystemLocale>
    106 			<UILanguage>en-us</UILanguage>
    107 			<UILanguageFallback>en-us</UILanguageFallback>
    108 			<UserLocale>en-us</UserLocale>
    109 		</component>
    110 		<component name="Microsoft-Windows-Shell-Setup"
    111 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
    112 			language="neutral" versionScope="nonSxS"
    113 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    114 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    115 			<UserAccounts>
    116 				<AdministratorPassword>
    117 					<Value>1q2w3eP</Value>
    118 					<PlainText>true</PlainText>
    119 				</AdministratorPassword>
    120 			</UserAccounts>
    121 			<AutoLogon>
    122 				<Password>
    123 					<Value>1q2w3eP</Value>
    124 					<PlainText>true</PlainText>
    125 				</Password>
    126 				<Username>Administrator</Username>
    127 				<LogonCount>5</LogonCount>
    128 				<Enabled>true</Enabled>
    129 			</AutoLogon>
    130 			<FirstLogonCommands>
    131 				<SynchronousCommand wcm:action="add">
    132 					<CommandLine>%WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER"</CommandLine>
    133 					<Order>1</Order>
    134 				</SynchronousCommand>
    135 				<SynchronousCommand wcm:action="add">
    136 					<CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
    137 					<Order>2</Order>
    138 				</SynchronousCommand>
    139 				<SynchronousCommand wcm:action="add">
    140 					<CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
    141 					<Order>3</Order>
    142 				</SynchronousCommand>
    143 				<SynchronousCommand wcm:action="add">
    144 					<CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
    145 					<Order>4</Order>
    146 				</SynchronousCommand>
    147 				<SynchronousCommand wcm:action="add">
    148 					<CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
    149 					<Order>5</Order>
    150 				</SynchronousCommand>
    151 				<SynchronousCommand wcm:action="add">
    152 					<CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current} bootstatuspolicy ignoreallfailures</CommandLine>
    153 			  		<Order>6</Order>
    154 				</SynchronousCommand>
    155 				<SynchronousCommand wcm:action="add">
    156 					<CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine>
    157 					<Order>7</Order>
    158 				</SynchronousCommand>
    159 				<SynchronousCommand wcm:action="add">
    160 					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
    161 					<Order>8</Order>
    162 				</SynchronousCommand>
    163 				<SynchronousCommand wcm:action="add">
    164 					<CommandLine>%WINDIR%\System32\cmd /c A:\finish.exe</CommandLine>
    165 					<Order>9</Order>
    166 				</SynchronousCommand>
    167 			</FirstLogonCommands>
    168 			<OOBE>
    169 				<ProtectYourPC>1</ProtectYourPC>
    170 				<NetworkLocation>Work</NetworkLocation>
    171 			</OOBE>
    172 		</component>
    173 	</settings>
    174 	<settings pass="auditSystem">
    175 		<component name="Microsoft-Windows-Shell-Setup"
    176 			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
    177 			language="neutral" versionScope="nonSxS"
    178 			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    179 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    180 			<AutoLogon>
    181 				<Password>
    182 					<Value>1q2w3eP</Value>
    183 					<PlainText>true</PlainText>
    184 				</Password>
    185 				<Username>Administrator</Username>
    186 				<LogonCount>1000</LogonCount>
    187 				<Enabled>true</Enabled>
    188 			</AutoLogon>
    189 		</component>
    190 	</settings>
    191 	<cpi:offlineImage
    192 		cpi:source="wim:d:/os/win2k8/i386/sources/install.wim#Windows Longhorn SERVERSTANDARD"
    193 		xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    194 </unattend>
    195