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