Skip to content

Commit 44c6b99

Browse files
authored
feat: Support more Windows versions (#92)
1 parent 82ad512 commit 44c6b99

File tree

10 files changed

+480
-61
lines changed

10 files changed

+480
-61
lines changed

assets/win10x64.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,21 @@
170170
</OEMInformation>
171171
<OEMName>Windows for Docker</OEMName>
172172
</component>
173+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
174+
<DisableWER>1</DisableWER>
175+
</component>
176+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
177+
<DisableAccelerators>true</DisableAccelerators>
178+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
179+
<Home_Page>about:blank</Home_Page>
180+
<Help_Page>about:blank</Help_Page>
181+
</component>
182+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
183+
<DisableAccelerators>true</DisableAccelerators>
184+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
185+
<Home_Page>about:blank</Home_Page>
186+
<Help_Page>about:blank</Help_Page>
187+
</component>
173188
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
174189
<CEIPEnabled>0</CEIPEnabled>
175190
</component>
@@ -307,7 +322,7 @@
307322
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
308323
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
309324
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
310-
<NetworkLocation>Home</NetworkLocation>
325+
<NetworkLocation>Other</NetworkLocation>
311326
<ProtectYourPC>3</ProtectYourPC>
312327
<SkipUserOOBE>true</SkipUserOOBE>
313328
<SkipMachineOOBE>true</SkipMachineOOBE>

assets/win11x64.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,21 @@
188188
</OEMInformation>
189189
<OEMName>Windows for Docker</OEMName>
190190
</component>
191+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
192+
<DisableWER>1</DisableWER>
193+
</component>
194+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
195+
<DisableAccelerators>true</DisableAccelerators>
196+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
197+
<Home_Page>about:blank</Home_Page>
198+
<Help_Page>about:blank</Help_Page>
199+
</component>
200+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
201+
<DisableAccelerators>true</DisableAccelerators>
202+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
203+
<Home_Page>about:blank</Home_Page>
204+
<Help_Page>about:blank</Help_Page>
205+
</component>
191206
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
192207
<CEIPEnabled>0</CEIPEnabled>
193208
</component>
@@ -325,7 +340,7 @@
325340
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
326341
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
327342
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
328-
<NetworkLocation>Home</NetworkLocation>
343+
<NetworkLocation>Other</NetworkLocation>
329344
<ProtectYourPC>3</ProtectYourPC>
330345
<SkipUserOOBE>true</SkipUserOOBE>
331346
<SkipMachineOOBE>true</SkipMachineOOBE>

assets/win2016-eval.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,21 @@
172172
</OEMInformation>
173173
<OEMName>Windows for Docker</OEMName>
174174
</component>
175+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
176+
<DisableWER>1</DisableWER>
177+
</component>
178+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
179+
<DisableAccelerators>true</DisableAccelerators>
180+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
181+
<Home_Page>about:blank</Home_Page>
182+
<Help_Page>about:blank</Help_Page>
183+
</component>
184+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
185+
<DisableAccelerators>true</DisableAccelerators>
186+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
187+
<Home_Page>about:blank</Home_Page>
188+
<Help_Page>about:blank</Help_Page>
189+
</component>
175190
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
176191
<CEIPEnabled>0</CEIPEnabled>
177192
</component>
@@ -237,7 +252,7 @@
237252
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
238253
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
239254
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
240-
<NetworkLocation>Home</NetworkLocation>
255+
<NetworkLocation>Other</NetworkLocation>
241256
<ProtectYourPC>3</ProtectYourPC>
242257
<SkipUserOOBE>true</SkipUserOOBE>
243258
<SkipMachineOOBE>true</SkipMachineOOBE>

assets/win2019-eval.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,21 @@
176176
</OEMInformation>
177177
<OEMName>Windows for Docker</OEMName>
178178
</component>
179+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
180+
<DisableWER>1</DisableWER>
181+
</component>
182+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
183+
<DisableAccelerators>true</DisableAccelerators>
184+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
185+
<Home_Page>about:blank</Home_Page>
186+
<Help_Page>about:blank</Help_Page>
187+
</component>
188+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
189+
<DisableAccelerators>true</DisableAccelerators>
190+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
191+
<Home_Page>about:blank</Home_Page>
192+
<Help_Page>about:blank</Help_Page>
193+
</component>
179194
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
180195
<CEIPEnabled>0</CEIPEnabled>
181196
</component>
@@ -241,7 +256,7 @@
241256
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
242257
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
243258
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
244-
<NetworkLocation>Home</NetworkLocation>
259+
<NetworkLocation>Other</NetworkLocation>
245260
<ProtectYourPC>3</ProtectYourPC>
246261
<SkipUserOOBE>true</SkipUserOOBE>
247262
<SkipMachineOOBE>true</SkipMachineOOBE>

assets/win2022-eval.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,21 @@
176176
</OEMInformation>
177177
<OEMName>Windows for Docker</OEMName>
178178
</component>
179+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
180+
<DisableWER>1</DisableWER>
181+
</component>
182+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
183+
<DisableAccelerators>true</DisableAccelerators>
184+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
185+
<Home_Page>about:blank</Home_Page>
186+
<Help_Page>about:blank</Help_Page>
187+
</component>
188+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
189+
<DisableAccelerators>true</DisableAccelerators>
190+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
191+
<Home_Page>about:blank</Home_Page>
192+
<Help_Page>about:blank</Help_Page>
193+
</component>
179194
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
180195
<CEIPEnabled>0</CEIPEnabled>
181196
</component>
@@ -241,7 +256,7 @@
241256
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
242257
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
243258
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
244-
<NetworkLocation>Home</NetworkLocation>
259+
<NetworkLocation>Other</NetworkLocation>
245260
<ProtectYourPC>3</ProtectYourPC>
246261
<SkipUserOOBE>true</SkipUserOOBE>
247262
<SkipMachineOOBE>true</SkipMachineOOBE>

assets/win7x64-ultimate.xml

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,222 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
3+
<settings pass="windowsPE">
4+
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
5+
<SetupUILanguage>
6+
<UILanguage>en-US</UILanguage>
7+
</SetupUILanguage>
8+
<InputLocale>0409:00000409</InputLocale>
9+
<SystemLocale>en-US</SystemLocale>
10+
<UILanguage>en-US</UILanguage>
11+
<UserLocale>en-US</UserLocale>
12+
</component>
13+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
14+
<DiskConfiguration>
15+
<WillShowUI>OnError</WillShowUI>
16+
<Disk wcm:action="add">
17+
<DiskID>0</DiskID>
18+
<WillWipeDisk>true</WillWipeDisk>
19+
<CreatePartitions>
20+
<CreatePartition wcm:action="add">
21+
<Order>1</Order>
22+
<Type>Primary</Type>
23+
<Size>100</Size>
24+
</CreatePartition>
25+
<CreatePartition wcm:action="add">
26+
<Order>2</Order>
27+
<Type>Primary</Type>
28+
<Extend>true</Extend>
29+
</CreatePartition>
30+
</CreatePartitions>
31+
<ModifyPartitions>
32+
<ModifyPartition wcm:action="add">
33+
<Format>NTFS</Format>
34+
<Label>System Reserved</Label>
35+
<Order>1</Order>
36+
<Active>true</Active>
37+
<PartitionID>1</PartitionID>
38+
<TypeID>0x27</TypeID>
39+
</ModifyPartition>
40+
<ModifyPartition wcm:action="add">
41+
<Active>true</Active>
42+
<Format>NTFS</Format>
43+
<Label>Windows</Label>
44+
<Letter>C</Letter>
45+
<Order>2</Order>
46+
<PartitionID>2</PartitionID>
47+
</ModifyPartition>
48+
</ModifyPartitions>
49+
</Disk>
50+
</DiskConfiguration>
51+
<ImageInstall>
52+
<OSImage>
53+
<InstallFrom>
54+
<MetaData wcm:action="add">
55+
<Key>/IMAGE/INDEX</Key>
56+
<Value>1</Value>
57+
</MetaData>
58+
</InstallFrom>
59+
<InstallTo>
60+
<DiskID>0</DiskID>
61+
<PartitionID>2</PartitionID>
62+
</InstallTo>
63+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
64+
</OSImage>
65+
</ImageInstall>
66+
<DynamicUpdate>
67+
<Enable>true</Enable>
68+
<WillShowUI>Never</WillShowUI>
69+
</DynamicUpdate>
70+
<UpgradeData>
71+
<Upgrade>false</Upgrade>
72+
<WillShowUI>Never</WillShowUI>
73+
</UpgradeData>
74+
<UserData>
75+
<AcceptEula>true</AcceptEula>
76+
<FullName>Docker</FullName>
77+
<Organization>Windows for Docker</Organization>
78+
<ProductKey>
79+
<Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key>
80+
<WillShowUI>OnError</WillShowUI>
81+
</ProductKey>
82+
</UserData>
83+
<EnableFirewall>false</EnableFirewall>
84+
<Diagnostics>
85+
<OptIn>false</OptIn>
86+
</Diagnostics>
87+
</component>
88+
<component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
89+
<DriverPaths>
90+
<PathAndCredentials wcm:action="add" wcm:keyValue="1">
91+
<Path>D:\viostor\w7\amd64</Path>
92+
</PathAndCredentials>
93+
<PathAndCredentials wcm:action="add" wcm:keyValue="2">
94+
<Path>D:\NetKVM\w7\amd64</Path>
95+
</PathAndCredentials>
96+
<PathAndCredentials wcm:action="add" wcm:keyValue="3">
97+
<Path>D:\Balloon\w7\amd64</Path>
98+
</PathAndCredentials>
99+
<PathAndCredentials wcm:action="add" wcm:keyValue="4">
100+
<Path>D:\pvpanic\w7\amd64</Path>
101+
</PathAndCredentials>
102+
<PathAndCredentials wcm:action="add" wcm:keyValue="5">
103+
<Path>D:\qemupciserial\w7\amd64</Path>
104+
</PathAndCredentials>
105+
<PathAndCredentials wcm:action="add" wcm:keyValue="6">
106+
<Path>D:\qxldod\w7\amd64</Path>
107+
</PathAndCredentials>
108+
<PathAndCredentials wcm:action="add" wcm:keyValue="7">
109+
<Path>D:\vioinput\w7\amd64</Path>
110+
</PathAndCredentials>
111+
<PathAndCredentials wcm:action="add" wcm:keyValue="8">
112+
<Path>D:\viorng\w7\amd64</Path>
113+
</PathAndCredentials>
114+
<PathAndCredentials wcm:action="add" wcm:keyValue="9">
115+
<Path>D:\vioscsi\w7\amd64</Path>
116+
</PathAndCredentials>
117+
<PathAndCredentials wcm:action="add" wcm:keyValue="10">
118+
<Path>D:\vioserial\w7\amd64</Path>
119+
</PathAndCredentials>
120+
</DriverPaths>
121+
</component>
122+
</settings>
123+
<settings pass="offlineServicing">
124+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
125+
<EnableLUA>false</EnableLUA>
126+
</component>
127+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
128+
<ComputerName>*</ComputerName>
129+
</component>
130+
</settings>
131+
<settings pass="generalize">
132+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
133+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
134+
</component>
135+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
136+
<SkipRearm>1</SkipRearm>
137+
</component>
138+
</settings>
139+
<settings pass="specialize">
140+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
141+
<SkipAutoActivation>true</SkipAutoActivation>
142+
</component>
143+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
144+
<DisableWER>1</DisableWER>
145+
</component>
146+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
147+
<DisableAccelerators>true</DisableAccelerators>
148+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
149+
<Home_Page>about:blank</Home_Page>
150+
<Help_Page>about:blank</Help_Page>
151+
</component>
152+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
153+
<DisableAccelerators>true</DisableAccelerators>
154+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
155+
<Home_Page>about:blank</Home_Page>
156+
<Help_Page>about:blank</Help_Page>
157+
</component>
158+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
159+
<CEIPEnabled>0</CEIPEnabled>
160+
</component>
161+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
162+
<InputLocale>0409:00000409</InputLocale>
163+
<SystemLocale>en-US</SystemLocale>
164+
<UILanguage>en-US</UILanguage>
165+
<UserLocale>en-US</UserLocale>
166+
</component>
167+
</settings>
168+
<settings pass="oobeSystem">
169+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
170+
<UserAccounts>
171+
<LocalAccounts>
172+
<LocalAccount wcm:action="add">
173+
<Name>Docker</Name>
174+
<Group>Administrators</Group>
175+
<Password>
176+
<Value />
177+
<PlainText>true</PlainText>
178+
</Password>
179+
</LocalAccount>
180+
</LocalAccounts>
181+
<AdministratorPassword>
182+
<Value>password</Value>
183+
<PlainText>true</PlainText>
184+
</AdministratorPassword>
185+
</UserAccounts>
186+
<AutoLogon>
187+
<Username>Docker</Username>
188+
<Enabled>true</Enabled>
189+
<LogonCount>1</LogonCount>
190+
<Password>
191+
<Value />
192+
<PlainText>true</PlainText>
193+
</Password>
194+
</AutoLogon>
195+
<OOBE>
196+
<HideEULAPage>true</HideEULAPage>
197+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
198+
<NetworkLocation>Other</NetworkLocation>
199+
<ProtectYourPC>3</ProtectYourPC>
200+
<SkipUserOOBE>true</SkipUserOOBE>
201+
<SkipMachineOOBE>true</SkipMachineOOBE>
202+
</OOBE>
203+
<FirstLogonCommands>
204+
<SynchronousCommand wcm:action="add">
205+
<Order>1</Order>
206+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
207+
<Description>Set AutoLogonCount to 0</Description>
208+
</SynchronousCommand>
209+
<SynchronousCommand wcm:action="add">
210+
<Order>2</Order>
211+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
212+
<Description>Allow RDP login with blank password</Description>
213+
</SynchronousCommand>
214+
<SynchronousCommand wcm:action="add">
215+
<Order>3</Order>
216+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
217+
<Description>Disable Hibernation</Description>
218+
</SynchronousCommand>
219+
</FirstLogonCommands>
220+
</component>
221+
</settings>
222+
</unattend>

0 commit comments

Comments
 (0)