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:00000409</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 <WillShowUI>OnError</WillShowUI> 39 <Disk wcm:action="add"> 40 <CreatePartitions> 41 <CreatePartition wcm:action="add"> 42 <Order>1</Order> 43 <Size>20000</Size> 44 <Type>Primary</Type> 45 </CreatePartition> 46 </CreatePartitions> 47 <ModifyPartitions> 48 <ModifyPartition wcm:action="add"> 49 <Active>true</Active> 50 <Extend>false</Extend> 51 <Format>NTFS</Format> 52 <Label>OS_Install</Label> 53 <Letter>C</Letter> 54 <Order>1</Order> 55 <PartitionID>1</PartitionID> 56 </ModifyPartition> 57 </ModifyPartitions> 58 <DiskID>0</DiskID> 59 <WillWipeDisk>true</WillWipeDisk> 60 </Disk> 61 </DiskConfiguration> 62 <ImageInstall> 63 <OSImage> 64 <InstallTo> 65 <DiskID>0</DiskID> 66 <PartitionID>1</PartitionID> 67 </InstallTo> 68 </OSImage> 69 </ImageInstall> 70 <UserData> 71 <ProductKey> 72 <Key>KVM_TEST_CDKEY</Key> 73 <WillShowUI>OnError</WillShowUI> 74 </ProductKey> 75 <AcceptEula>true</AcceptEula> 76 </UserData> 77 </component> 78 </settings> 79 <settings pass="specialize"> 80 <component name="Microsoft-Windows-Deployment" 81 processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" 82 language="neutral" versionScope="nonSxS" 83 xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" 84 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 85 <RunSynchronous> 86 <RunSynchronousCommand wcm:action="add"> 87 <Description>EnableAdmin</Description> 88 <Order>1</Order> 89 <Path>cmd /c net user Administrator /active:yes</Path> 90 </RunSynchronousCommand> 91 <RunSynchronousCommand wcm:action="add"> 92 <Description>UnfilterAdministratorToken</Description> 93 <Order>2</Order> 94 <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path> 95 </RunSynchronousCommand> 96 </RunSynchronous> 97 </component> 98 <component name="Microsoft-Windows-International-Core" 99 processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" 100 language="neutral" versionScope="nonSxS" 101 xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" 102 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 103 <InputLocale>0409:00000409</InputLocale> 104 <SystemLocale>en-US</SystemLocale> 105 <UILanguage>en-US</UILanguage> 106 <UserLocale>en-US</UserLocale> 107 </component> 108 </settings> 109 <settings pass="oobeSystem"> 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 <OOBE> 122 <HideEULAPage>true</HideEULAPage> 123 <NetworkLocation>Work</NetworkLocation> 124 <ProtectYourPC>1</ProtectYourPC> 125 <SkipUserOOBE>true</SkipUserOOBE> 126 <SkipMachineOOBE>true</SkipMachineOOBE> 127 </OOBE> 128 <AutoLogon> 129 <Password> 130 <Value>1q2w3eP</Value> 131 <PlainText>true</PlainText> 132 </Password> 133 <Enabled>true</Enabled> 134 <LogonCount>1000</LogonCount> 135 <Username>Administrator</Username> 136 </AutoLogon> 137 <FirstLogonCommands> 138 <SynchronousCommand wcm:action="add"> 139 <CommandLine>%WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER"</CommandLine> 140 <Order>1</Order> 141 </SynchronousCommand> 142 <SynchronousCommand wcm:action="add"> 143 <CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine> 144 <Order>2</Order> 145 </SynchronousCommand> 146 <SynchronousCommand wcm:action="add"> 147 <CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine> 148 <Order>3</Order> 149 </SynchronousCommand> 150 <SynchronousCommand wcm:action="add"> 151 <CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine> 152 <Order>4</Order> 153 </SynchronousCommand> 154 <SynchronousCommand wcm:action="add"> 155 <CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine> 156 <Order>5</Order> 157 </SynchronousCommand> 158 <SynchronousCommand wcm:action="add"> 159 <CommandLine>%WINDIR%\System32\cmd /c bcdedit /set {current} bootstatuspolicy ignoreallfailures</CommandLine> 160 <Order>6</Order> 161 </SynchronousCommand> 162 <SynchronousCommand wcm:action="add"> 163 <CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine> 164 <Order>7</Order> 165 </SynchronousCommand> 166 <SynchronousCommand wcm:action="add"> 167 <CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine> 168 <Order>8</Order> 169 </SynchronousCommand> 170 <SynchronousCommand wcm:action="add"> 171 <CommandLine>%WINDIR%\System32\cmd /c A:\finish.exe</CommandLine> 172 <Order>9</Order> 173 </SynchronousCommand> 174 </FirstLogonCommands> 175 </component> 176 </settings> 177 <cpi:offlineImage cpi:source="wim:c:/install.wim#Windows Longhorn SERVERSTANDARD" 178 xmlns:cpi="urn:schemas-microsoft-com:cpi" /> 179</unattend>