• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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					<InstallTo>
37						<DiskID>0</DiskID>
38						<PartitionID>1</PartitionID>
39					</InstallTo>
40					<WillShowUI>OnError</WillShowUI>
41				</OSImage>
42			</ImageInstall>
43			<UserData>
44				<ProductKey>
45					<WillShowUI>OnError</WillShowUI>
46					<Key>KVM_TEST_CDKEY</Key>
47				</ProductKey>
48				<AcceptEula>true</AcceptEula>
49			</UserData>
50		</component>
51		<component name="Microsoft-Windows-International-Core-WinPE"
52			processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
53			language="neutral" versionScope="nonSxS"
54			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
55			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
56			<SetupUILanguage>
57				<UILanguage>en-us</UILanguage>
58			</SetupUILanguage>
59			<InputLocale>0409:00000409</InputLocale>
60			<SystemLocale>en-us</SystemLocale>
61			<UILanguage>en-us</UILanguage>
62			<UserLocale>en-us</UserLocale>
63			<UILanguageFallback>en-us</UILanguageFallback>
64		</component>
65		<component name="Microsoft-Windows-PnpCustomizationsWinPE"
66			processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
67			language="neutral" versionScope="nonSxS"
68			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
69			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
70			<DriverPaths>
71				<PathAndCredentials wcm:keyValue="1" wcm:action="add">
72					<Path>KVM_TEST_STORAGE_DRIVER_PATH</Path>
73				</PathAndCredentials>
74				<PathAndCredentials wcm:keyValue="2" wcm:action="add">
75					<Path>KVM_TEST_NETWORK_DRIVER_PATH</Path>
76				</PathAndCredentials>
77			</DriverPaths>
78		</component>
79	</settings>
80	<settings pass="specialize">
81		<component name="Microsoft-Windows-Deployment"
82			processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
83			language="neutral" versionScope="nonSxS"
84			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
85			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
86			<RunSynchronous>
87				<RunSynchronousCommand wcm:action="add">
88					<Description>EnableAdmin</Description>
89					<Order>1</Order>
90					<Path>cmd /c net user Administrator /active:yes</Path>
91				</RunSynchronousCommand>
92				<RunSynchronousCommand wcm:action="add">
93					<Description>UnfilterAdministratorToken</Description>
94					<Order>2</Order>
95					<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
96				</RunSynchronousCommand>
97			</RunSynchronous>
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			<UserLocale>en-US</UserLocale>
108		</component>
109	</settings>
110	<settings pass="oobeSystem">
111		<component name="Microsoft-Windows-Shell-Setup"
112			processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
113			language="neutral" versionScope="nonSxS"
114			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
115			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
116			<UserAccounts>
117				<AdministratorPassword>
118					<Value>1q2w3eP</Value>
119					<PlainText>true</PlainText>
120				</AdministratorPassword>
121			</UserAccounts>
122			<AutoLogon>
123				<Enabled>true</Enabled>
124				<LogonCount>1000</LogonCount>
125				<Username>Administrator</Username>
126				<Password>
127					<Value>1q2w3eP</Value>
128					<PlainText>true</PlainText>
129				</Password>
130			</AutoLogon>
131			<OOBE>
132				<HideEULAPage>true</HideEULAPage>
133				<NetworkLocation>Work</NetworkLocation>
134				<ProtectYourPC>1</ProtectYourPC>
135				<SkipUserOOBE>true</SkipUserOOBE>
136				<SkipMachineOOBE>true</SkipMachineOOBE>
137			</OOBE>
138			<FirstLogonCommands>
139				<SynchronousCommand wcm:action="add">
140					<CommandLine>%WINDIR%\System32\cmd /c KVM_TEST_VIRTIO_NETWORK_INSTALLER"</CommandLine>
141					<Order>1</Order>
142				</SynchronousCommand>
143				<SynchronousCommand wcm:action="add">
144					<CommandLine>%WINDIR%\System32\cmd /c start /w pkgmgr /iu:"TelnetServer"</CommandLine>
145					<Order>2</Order>
146				</SynchronousCommand>
147				<SynchronousCommand wcm:action="add">
148					<CommandLine>%WINDIR%\System32\cmd /c sc config TlntSvr start= auto</CommandLine>
149					<Order>3</Order>
150				</SynchronousCommand>
151				<SynchronousCommand wcm:action="add">
152					<CommandLine>%WINDIR%\System32\cmd /c netsh firewall set opmode disable</CommandLine>
153					<Order>4</Order>
154				</SynchronousCommand>
155				<SynchronousCommand wcm:action="add">
156					<CommandLine>%WINDIR%\System32\cmd /c net start telnet</CommandLine>
157					<Order>5</Order>
158				</SynchronousCommand>
159				<SynchronousCommand wcm:action="add">
160					<CommandLine>%WINDIR%\System32\cmd /c E:\setuprss.bat</CommandLine>
161					<Order>6</Order>
162				</SynchronousCommand>
163				<SynchronousCommand wcm:action="add">
164					<CommandLine>%WINDIR%\System32\cmd /c netsh interface ip set address "Local Area Connection" dhcp</CommandLine>
165					<Order>7</Order>
166				</SynchronousCommand>
167				<SynchronousCommand wcm:action="add">
168					<CommandLine>%WINDIR%\System32\cmd /c A:\finish.exe</CommandLine>
169					<Order>8</Order>
170				</SynchronousCommand>
171			</FirstLogonCommands>
172		</component>
173		<component name="Microsoft-Windows-International-Core"
174			processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35"
175			language="neutral" versionScope="nonSxS"
176			xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
177			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
178			<InputLocale>0409:00000409</InputLocale>
179			<SystemLocale>en-us</SystemLocale>
180			<UILanguage>en-us</UILanguage>
181			<UILanguageFallback>en-us</UILanguageFallback>
182			<UserLocale>en-us</UserLocale>
183		</component>
184	</settings>
185	<cpi:offlineImage
186		cpi:source="wim:d:/os/vista/x64/sources/install.wim#Windows Vista ENTERPRISE"
187		xmlns:cpi="urn:schemas-microsoft-com:cpi" />
188</unattend>
189