Spaces:
Runtime error
Runtime error
Upload 50 files
Browse files- .dockerignore +13 -0
- .gitignore +1 -0
- Dockerfile +1 -1
- assets/win10x64-enterprise-eval.xml +424 -0
- assets/win10x64-enterprise.xml +427 -0
- assets/win10x64-iot.xml +433 -0
- assets/win10x64-ltsc.xml +430 -0
- assets/win10x64.xml +427 -0
- assets/win11x64-enterprise-eval.xml +462 -0
- assets/win11x64-enterprise.xml +466 -0
- assets/win11x64-iot.xml +465 -0
- assets/win11x64-ltsc.xml +465 -0
- assets/win11x64.xml +465 -0
- assets/win2008r2-eval.xml +299 -0
- assets/win2008r2.xml +302 -0
- assets/win2012r2-eval.xml +317 -0
- assets/win2012r2.xml +320 -0
- assets/win2016-eval.xml +337 -0
- assets/win2016.xml +340 -0
- assets/win2019-eval.xml +341 -0
- assets/win2019.xml +344 -0
- assets/win2022-eval.xml +341 -0
- assets/win2022.xml +344 -0
- assets/win2025-eval.xml +356 -0
- assets/win2025.xml +359 -0
- assets/win7x64-enterprise.xml +287 -0
- assets/win7x64-ultimate.xml +287 -0
- assets/win7x64.xml +287 -0
- assets/win7x86-enterprise.xml +287 -0
- assets/win7x86-ultimate.xml +287 -0
- assets/win7x86.xml +287 -0
- assets/win81x64-enterprise-eval.xml +302 -0
- assets/win81x64-enterprise.xml +305 -0
- assets/win81x64.xml +312 -0
- assets/winvistax64-enterprise.xml +261 -0
- assets/winvistax64-ultimate.xml +261 -0
- assets/winvistax64.xml +261 -0
- assets/winvistax86-enterprise.xml +261 -0
- assets/winvistax86-ultimate.xml +261 -0
- assets/winvistax86.xml +261 -0
- compose.yml +15 -0
- kubernetes.yml +74 -0
- license.md +19 -0
- readme.md +399 -0
- src/define.sh +0 -0
- src/entry.sh +39 -0
- src/install.sh +1079 -0
- src/mido.sh +718 -0
- src/power.sh +223 -0
- src/samba.sh +109 -0
.dockerignore
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.dockerignore
|
2 |
+
.git
|
3 |
+
.github
|
4 |
+
.gitignore
|
5 |
+
.gitlab-ci.yml
|
6 |
+
.gitmodules
|
7 |
+
Dockerfile
|
8 |
+
Dockerfile.archive
|
9 |
+
compose.yml
|
10 |
+
compose.yaml
|
11 |
+
docker-compose.yml
|
12 |
+
docker-compose.yaml
|
13 |
+
*.md
|
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
|
Dockerfile
CHANGED
@@ -46,4 +46,4 @@ ENV RAM_SIZE="4G"
|
|
46 |
ENV CPU_CORES="2"
|
47 |
ENV DISK_SIZE="64G"
|
48 |
|
49 |
-
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
|
|
|
46 |
ENV CPU_CORES="2"
|
47 |
ENV DISK_SIZE="64G"
|
48 |
|
49 |
+
ENTRYPOINT ["/usr/bin/tini", "-s", "/run/entry.sh"]
|
assets/win10x64-enterprise-eval.xml
ADDED
@@ -0,0 +1,424 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
</UserData>
|
84 |
+
<EnableFirewall>false</EnableFirewall>
|
85 |
+
<Diagnostics>
|
86 |
+
<OptIn>false</OptIn>
|
87 |
+
</Diagnostics>
|
88 |
+
</component>
|
89 |
+
</settings>
|
90 |
+
<settings pass="offlineServicing">
|
91 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
92 |
+
<EnableLUA>false</EnableLUA>
|
93 |
+
</component>
|
94 |
+
</settings>
|
95 |
+
<settings pass="generalize">
|
96 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
97 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
98 |
+
</component>
|
99 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<SkipRearm>1</SkipRearm>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="specialize">
|
104 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<ComputerName>*</ComputerName>
|
109 |
+
<OEMInformation>
|
110 |
+
<Manufacturer>Dockur</Manufacturer>
|
111 |
+
<Model>Windows for Docker</Model>
|
112 |
+
<SupportHours>24/7</SupportHours>
|
113 |
+
<SupportPhone />
|
114 |
+
<SupportProvider>Dockur</SupportProvider>
|
115 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
116 |
+
</OEMInformation>
|
117 |
+
<OEMName>Windows for Docker</OEMName>
|
118 |
+
</component>
|
119 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
120 |
+
<DisableWER>1</DisableWER>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<DisableAccelerators>true</DisableAccelerators>
|
130 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
131 |
+
<Home_Page>https://google.com</Home_Page>
|
132 |
+
<Help_Page>about:blank</Help_Page>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<CEIPEnabled>0</CEIPEnabled>
|
136 |
+
</component>
|
137 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
138 |
+
<DisableSR>1</DisableSR>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<InputLocale>0409:00000409</InputLocale>
|
142 |
+
<SystemLocale>en-US</SystemLocale>
|
143 |
+
<UILanguage>en-US</UILanguage>
|
144 |
+
<UserLocale>en-US</UserLocale>
|
145 |
+
</component>
|
146 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<RunSynchronous>
|
148 |
+
<RunSynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
151 |
+
</RunSynchronousCommand>
|
152 |
+
<RunSynchronousCommand wcm:action="add">
|
153 |
+
<Order>2</Order>
|
154 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
155 |
+
</RunSynchronousCommand>
|
156 |
+
<RunSynchronousCommand wcm:action="add">
|
157 |
+
<Order>3</Order>
|
158 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
159 |
+
</RunSynchronousCommand>
|
160 |
+
<RunSynchronousCommand wcm:action="add">
|
161 |
+
<Order>4</Order>
|
162 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
163 |
+
</RunSynchronousCommand>
|
164 |
+
<RunSynchronousCommand wcm:action="add">
|
165 |
+
<Order>5</Order>
|
166 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
167 |
+
</RunSynchronousCommand>
|
168 |
+
<RunSynchronousCommand wcm:action="add">
|
169 |
+
<Order>6</Order>
|
170 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
171 |
+
</RunSynchronousCommand>
|
172 |
+
<RunSynchronousCommand wcm:action="add">
|
173 |
+
<Order>7</Order>
|
174 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
175 |
+
</RunSynchronousCommand>
|
176 |
+
<RunSynchronousCommand wcm:action="add">
|
177 |
+
<Order>8</Order>
|
178 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
179 |
+
</RunSynchronousCommand>
|
180 |
+
<RunSynchronousCommand wcm:action="add">
|
181 |
+
<Order>9</Order>
|
182 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
183 |
+
</RunSynchronousCommand>
|
184 |
+
<RunSynchronousCommand wcm:action="add">
|
185 |
+
<Order>10</Order>
|
186 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
187 |
+
</RunSynchronousCommand>
|
188 |
+
<RunSynchronousCommand wcm:action="add">
|
189 |
+
<Order>11</Order>
|
190 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
191 |
+
</RunSynchronousCommand>
|
192 |
+
<RunSynchronousCommand wcm:action="add">
|
193 |
+
<Order>12</Order>
|
194 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
195 |
+
</RunSynchronousCommand>
|
196 |
+
<RunSynchronousCommand wcm:action="add">
|
197 |
+
<Order>13</Order>
|
198 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
199 |
+
</RunSynchronousCommand>
|
200 |
+
<RunSynchronousCommand wcm:action="add">
|
201 |
+
<Order>14</Order>
|
202 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
203 |
+
</RunSynchronousCommand>
|
204 |
+
<RunSynchronousCommand wcm:action="add">
|
205 |
+
<Order>15</Order>
|
206 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
207 |
+
</RunSynchronousCommand>
|
208 |
+
<RunSynchronousCommand wcm:action="add">
|
209 |
+
<Order>16</Order>
|
210 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
211 |
+
</RunSynchronousCommand>
|
212 |
+
<RunSynchronousCommand wcm:action="add">
|
213 |
+
<Order>17</Order>
|
214 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
215 |
+
</RunSynchronousCommand>
|
216 |
+
<RunSynchronousCommand wcm:action="add">
|
217 |
+
<Order>18</Order>
|
218 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
219 |
+
</RunSynchronousCommand>
|
220 |
+
<RunSynchronousCommand wcm:action="add">
|
221 |
+
<Order>19</Order>
|
222 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
223 |
+
</RunSynchronousCommand>
|
224 |
+
<RunSynchronousCommand wcm:action="add">
|
225 |
+
<Order>20</Order>
|
226 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
227 |
+
</RunSynchronousCommand>
|
228 |
+
<RunSynchronousCommand wcm:action="add">
|
229 |
+
<Order>21</Order>
|
230 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
231 |
+
</RunSynchronousCommand>
|
232 |
+
<RunSynchronousCommand wcm:action="add">
|
233 |
+
<Order>22</Order>
|
234 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
235 |
+
</RunSynchronousCommand>
|
236 |
+
<RunSynchronousCommand wcm:action="add">
|
237 |
+
<Order>23</Order>
|
238 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
239 |
+
</RunSynchronousCommand>
|
240 |
+
<RunSynchronousCommand wcm:action="add">
|
241 |
+
<Order>24</Order>
|
242 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
243 |
+
</RunSynchronousCommand>
|
244 |
+
<RunSynchronousCommand wcm:action="add">
|
245 |
+
<Order>25</Order>
|
246 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
247 |
+
<Description>Set Network Location to Home</Description>
|
248 |
+
</RunSynchronousCommand>
|
249 |
+
</RunSynchronous>
|
250 |
+
</component>
|
251 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
252 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
253 |
+
</component>
|
254 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
255 |
+
<UserAuthentication>0</UserAuthentication>
|
256 |
+
</component>
|
257 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
258 |
+
<FirewallGroups>
|
259 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
260 |
+
<Active>true</Active>
|
261 |
+
<Profile>all</Profile>
|
262 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
263 |
+
</FirewallGroup>
|
264 |
+
</FirewallGroups>
|
265 |
+
</component>
|
266 |
+
</settings>
|
267 |
+
<settings pass="auditSystem" />
|
268 |
+
<settings pass="auditUser" />
|
269 |
+
<settings pass="oobeSystem">
|
270 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
271 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
272 |
+
</component>
|
273 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
274 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
275 |
+
</component>
|
276 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
277 |
+
<UserAccounts>
|
278 |
+
<LocalAccounts>
|
279 |
+
<LocalAccount wcm:action="add">
|
280 |
+
<Name>Docker</Name>
|
281 |
+
<Group>Administrators</Group>
|
282 |
+
<Password>
|
283 |
+
<Value />
|
284 |
+
<PlainText>true</PlainText>
|
285 |
+
</Password>
|
286 |
+
</LocalAccount>
|
287 |
+
</LocalAccounts>
|
288 |
+
<AdministratorPassword>
|
289 |
+
<Value>password</Value>
|
290 |
+
<PlainText>true</PlainText>
|
291 |
+
</AdministratorPassword>
|
292 |
+
</UserAccounts>
|
293 |
+
<AutoLogon>
|
294 |
+
<Username>Docker</Username>
|
295 |
+
<Enabled>true</Enabled>
|
296 |
+
<LogonCount>65432</LogonCount>
|
297 |
+
<Password>
|
298 |
+
<Value />
|
299 |
+
<PlainText>true</PlainText>
|
300 |
+
</Password>
|
301 |
+
</AutoLogon>
|
302 |
+
<Display>
|
303 |
+
<ColorDepth>32</ColorDepth>
|
304 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
305 |
+
<VerticalResolution>1080</VerticalResolution>
|
306 |
+
</Display>
|
307 |
+
<OOBE>
|
308 |
+
<HideEULAPage>true</HideEULAPage>
|
309 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
310 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
311 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
312 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
313 |
+
<NetworkLocation>Home</NetworkLocation>
|
314 |
+
<ProtectYourPC>3</ProtectYourPC>
|
315 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
316 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
317 |
+
</OOBE>
|
318 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
319 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
320 |
+
<FirstLogonCommands>
|
321 |
+
<SynchronousCommand wcm:action="add">
|
322 |
+
<Order>1</Order>
|
323 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
324 |
+
<Description>Allow guest access to network shares</Description>
|
325 |
+
</SynchronousCommand>
|
326 |
+
<SynchronousCommand wcm:action="add">
|
327 |
+
<Order>2</Order>
|
328 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
329 |
+
<Description>Allow RDP login with blank password</Description>
|
330 |
+
</SynchronousCommand>
|
331 |
+
<SynchronousCommand wcm:action="add">
|
332 |
+
<Order>3</Order>
|
333 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
334 |
+
<Description>Enable option for passwordless sign-in</Description>
|
335 |
+
</SynchronousCommand>
|
336 |
+
<SynchronousCommand wcm:action="add">
|
337 |
+
<Order>4</Order>
|
338 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
339 |
+
<Description>Password Never Expires</Description>
|
340 |
+
</SynchronousCommand>
|
341 |
+
<SynchronousCommand wcm:action="add">
|
342 |
+
<Order>5</Order>
|
343 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
344 |
+
<Description>Disable Hibernation</Description>
|
345 |
+
</SynchronousCommand>
|
346 |
+
<SynchronousCommand wcm:action="add">
|
347 |
+
<Order>6</Order>
|
348 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
349 |
+
<Description>Disable monitor blanking</Description>
|
350 |
+
</SynchronousCommand>
|
351 |
+
<SynchronousCommand wcm:action="add">
|
352 |
+
<Order>7</Order>
|
353 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
354 |
+
<Description>Disable first-run experience in Edge</Description>
|
355 |
+
</SynchronousCommand>
|
356 |
+
<SynchronousCommand wcm:action="add">
|
357 |
+
<Order>8</Order>
|
358 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
359 |
+
<Description>Show file extensions in Explorer</Description>
|
360 |
+
</SynchronousCommand>
|
361 |
+
<SynchronousCommand wcm:action="add">
|
362 |
+
<Order>9</Order>
|
363 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
364 |
+
<Description>Zero Hibernation File</Description>
|
365 |
+
</SynchronousCommand>
|
366 |
+
<SynchronousCommand wcm:action="add">
|
367 |
+
<Order>10</Order>
|
368 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
369 |
+
<Description>Disable Hibernation</Description>
|
370 |
+
</SynchronousCommand>
|
371 |
+
<SynchronousCommand wcm:action="add">
|
372 |
+
<Order>11</Order>
|
373 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
374 |
+
<Description>Disable Sleep</Description>
|
375 |
+
</SynchronousCommand>
|
376 |
+
<SynchronousCommand wcm:action="add">
|
377 |
+
<Order>12</Order>
|
378 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
379 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
380 |
+
</SynchronousCommand>
|
381 |
+
<SynchronousCommand wcm:action="add">
|
382 |
+
<Order>13</Order>
|
383 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
384 |
+
<Description>Remove Search from the Taskbar</Description>
|
385 |
+
</SynchronousCommand>
|
386 |
+
<SynchronousCommand wcm:action="add">
|
387 |
+
<Order>14</Order>
|
388 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
389 |
+
<Description>Remove Task View from the Taskbar</Description>
|
390 |
+
</SynchronousCommand>
|
391 |
+
<SynchronousCommand wcm:action="add">
|
392 |
+
<Order>15</Order>
|
393 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
394 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
395 |
+
</SynchronousCommand>
|
396 |
+
<SynchronousCommand wcm:action="add">
|
397 |
+
<Order>16</Order>
|
398 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
399 |
+
<Description>Remove Chat from the Taskbar</Description>
|
400 |
+
</SynchronousCommand>
|
401 |
+
<SynchronousCommand wcm:action="add">
|
402 |
+
<Order>17</Order>
|
403 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
404 |
+
<Description>Turn off Windows Update auto download</Description>
|
405 |
+
</SynchronousCommand>
|
406 |
+
<SynchronousCommand wcm:action="add">
|
407 |
+
<Order>18</Order>
|
408 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
409 |
+
<Description>Enable Network Discovery</Description>
|
410 |
+
</SynchronousCommand>
|
411 |
+
<SynchronousCommand wcm:action="add">
|
412 |
+
<Order>19</Order>
|
413 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
414 |
+
<Description>Enable File Sharing</Description>
|
415 |
+
</SynchronousCommand>
|
416 |
+
<SynchronousCommand wcm:action="add">
|
417 |
+
<Order>20</Order>
|
418 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
419 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
420 |
+
</SynchronousCommand>
|
421 |
+
</FirstLogonCommands>
|
422 |
+
</component>
|
423 |
+
</settings>
|
424 |
+
</unattend>
|
assets/win10x64-enterprise.xml
ADDED
@@ -0,0 +1,427 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>NPPR9-FWDCX-D2C8J-H872K-2YT43</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
</component>
|
92 |
+
</settings>
|
93 |
+
<settings pass="offlineServicing">
|
94 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
95 |
+
<EnableLUA>false</EnableLUA>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="generalize">
|
99 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
101 |
+
</component>
|
102 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<SkipRearm>1</SkipRearm>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="specialize">
|
107 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<ComputerName>*</ComputerName>
|
112 |
+
<OEMInformation>
|
113 |
+
<Manufacturer>Dockur</Manufacturer>
|
114 |
+
<Model>Windows for Docker</Model>
|
115 |
+
<SupportHours>24/7</SupportHours>
|
116 |
+
<SupportPhone />
|
117 |
+
<SupportProvider>Dockur</SupportProvider>
|
118 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
119 |
+
</OEMInformation>
|
120 |
+
<OEMName>Windows for Docker</OEMName>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableWER>1</DisableWER>
|
124 |
+
</component>
|
125 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<DisableAccelerators>true</DisableAccelerators>
|
127 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
128 |
+
<Home_Page>https://google.com</Home_Page>
|
129 |
+
<Help_Page>about:blank</Help_Page>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableAccelerators>true</DisableAccelerators>
|
133 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
134 |
+
<Home_Page>https://google.com</Home_Page>
|
135 |
+
<Help_Page>about:blank</Help_Page>
|
136 |
+
</component>
|
137 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
138 |
+
<CEIPEnabled>0</CEIPEnabled>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableSR>1</DisableSR>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<InputLocale>0409:00000409</InputLocale>
|
145 |
+
<SystemLocale>en-US</SystemLocale>
|
146 |
+
<UILanguage>en-US</UILanguage>
|
147 |
+
<UserLocale>en-US</UserLocale>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<RunSynchronous>
|
151 |
+
<RunSynchronousCommand wcm:action="add">
|
152 |
+
<Order>1</Order>
|
153 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
154 |
+
</RunSynchronousCommand>
|
155 |
+
<RunSynchronousCommand wcm:action="add">
|
156 |
+
<Order>2</Order>
|
157 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
158 |
+
</RunSynchronousCommand>
|
159 |
+
<RunSynchronousCommand wcm:action="add">
|
160 |
+
<Order>3</Order>
|
161 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
162 |
+
</RunSynchronousCommand>
|
163 |
+
<RunSynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
166 |
+
</RunSynchronousCommand>
|
167 |
+
<RunSynchronousCommand wcm:action="add">
|
168 |
+
<Order>5</Order>
|
169 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
170 |
+
</RunSynchronousCommand>
|
171 |
+
<RunSynchronousCommand wcm:action="add">
|
172 |
+
<Order>6</Order>
|
173 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
174 |
+
</RunSynchronousCommand>
|
175 |
+
<RunSynchronousCommand wcm:action="add">
|
176 |
+
<Order>7</Order>
|
177 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
178 |
+
</RunSynchronousCommand>
|
179 |
+
<RunSynchronousCommand wcm:action="add">
|
180 |
+
<Order>8</Order>
|
181 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
182 |
+
</RunSynchronousCommand>
|
183 |
+
<RunSynchronousCommand wcm:action="add">
|
184 |
+
<Order>9</Order>
|
185 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
186 |
+
</RunSynchronousCommand>
|
187 |
+
<RunSynchronousCommand wcm:action="add">
|
188 |
+
<Order>10</Order>
|
189 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
190 |
+
</RunSynchronousCommand>
|
191 |
+
<RunSynchronousCommand wcm:action="add">
|
192 |
+
<Order>11</Order>
|
193 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
194 |
+
</RunSynchronousCommand>
|
195 |
+
<RunSynchronousCommand wcm:action="add">
|
196 |
+
<Order>12</Order>
|
197 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
198 |
+
</RunSynchronousCommand>
|
199 |
+
<RunSynchronousCommand wcm:action="add">
|
200 |
+
<Order>13</Order>
|
201 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
202 |
+
</RunSynchronousCommand>
|
203 |
+
<RunSynchronousCommand wcm:action="add">
|
204 |
+
<Order>14</Order>
|
205 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
206 |
+
</RunSynchronousCommand>
|
207 |
+
<RunSynchronousCommand wcm:action="add">
|
208 |
+
<Order>15</Order>
|
209 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
210 |
+
</RunSynchronousCommand>
|
211 |
+
<RunSynchronousCommand wcm:action="add">
|
212 |
+
<Order>16</Order>
|
213 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
214 |
+
</RunSynchronousCommand>
|
215 |
+
<RunSynchronousCommand wcm:action="add">
|
216 |
+
<Order>17</Order>
|
217 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
218 |
+
</RunSynchronousCommand>
|
219 |
+
<RunSynchronousCommand wcm:action="add">
|
220 |
+
<Order>18</Order>
|
221 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
222 |
+
</RunSynchronousCommand>
|
223 |
+
<RunSynchronousCommand wcm:action="add">
|
224 |
+
<Order>19</Order>
|
225 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
226 |
+
</RunSynchronousCommand>
|
227 |
+
<RunSynchronousCommand wcm:action="add">
|
228 |
+
<Order>20</Order>
|
229 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
230 |
+
</RunSynchronousCommand>
|
231 |
+
<RunSynchronousCommand wcm:action="add">
|
232 |
+
<Order>21</Order>
|
233 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
234 |
+
</RunSynchronousCommand>
|
235 |
+
<RunSynchronousCommand wcm:action="add">
|
236 |
+
<Order>22</Order>
|
237 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
238 |
+
</RunSynchronousCommand>
|
239 |
+
<RunSynchronousCommand wcm:action="add">
|
240 |
+
<Order>23</Order>
|
241 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
242 |
+
</RunSynchronousCommand>
|
243 |
+
<RunSynchronousCommand wcm:action="add">
|
244 |
+
<Order>24</Order>
|
245 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
246 |
+
</RunSynchronousCommand>
|
247 |
+
<RunSynchronousCommand wcm:action="add">
|
248 |
+
<Order>25</Order>
|
249 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
250 |
+
<Description>Set Network Location to Home</Description>
|
251 |
+
</RunSynchronousCommand>
|
252 |
+
</RunSynchronous>
|
253 |
+
</component>
|
254 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
255 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
256 |
+
</component>
|
257 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
258 |
+
<UserAuthentication>0</UserAuthentication>
|
259 |
+
</component>
|
260 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
261 |
+
<FirewallGroups>
|
262 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
263 |
+
<Active>true</Active>
|
264 |
+
<Profile>all</Profile>
|
265 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
266 |
+
</FirewallGroup>
|
267 |
+
</FirewallGroups>
|
268 |
+
</component>
|
269 |
+
</settings>
|
270 |
+
<settings pass="auditSystem" />
|
271 |
+
<settings pass="auditUser" />
|
272 |
+
<settings pass="oobeSystem">
|
273 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
274 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
275 |
+
</component>
|
276 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
277 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
278 |
+
</component>
|
279 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
280 |
+
<UserAccounts>
|
281 |
+
<LocalAccounts>
|
282 |
+
<LocalAccount wcm:action="add">
|
283 |
+
<Name>Docker</Name>
|
284 |
+
<Group>Administrators</Group>
|
285 |
+
<Password>
|
286 |
+
<Value />
|
287 |
+
<PlainText>true</PlainText>
|
288 |
+
</Password>
|
289 |
+
</LocalAccount>
|
290 |
+
</LocalAccounts>
|
291 |
+
<AdministratorPassword>
|
292 |
+
<Value>password</Value>
|
293 |
+
<PlainText>true</PlainText>
|
294 |
+
</AdministratorPassword>
|
295 |
+
</UserAccounts>
|
296 |
+
<AutoLogon>
|
297 |
+
<Username>Docker</Username>
|
298 |
+
<Enabled>true</Enabled>
|
299 |
+
<LogonCount>65432</LogonCount>
|
300 |
+
<Password>
|
301 |
+
<Value />
|
302 |
+
<PlainText>true</PlainText>
|
303 |
+
</Password>
|
304 |
+
</AutoLogon>
|
305 |
+
<Display>
|
306 |
+
<ColorDepth>32</ColorDepth>
|
307 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
308 |
+
<VerticalResolution>1080</VerticalResolution>
|
309 |
+
</Display>
|
310 |
+
<OOBE>
|
311 |
+
<HideEULAPage>true</HideEULAPage>
|
312 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
313 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
314 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
315 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
316 |
+
<NetworkLocation>Home</NetworkLocation>
|
317 |
+
<ProtectYourPC>3</ProtectYourPC>
|
318 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
319 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
320 |
+
</OOBE>
|
321 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
322 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
323 |
+
<FirstLogonCommands>
|
324 |
+
<SynchronousCommand wcm:action="add">
|
325 |
+
<Order>1</Order>
|
326 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
327 |
+
<Description>Allow guest access to network shares</Description>
|
328 |
+
</SynchronousCommand>
|
329 |
+
<SynchronousCommand wcm:action="add">
|
330 |
+
<Order>2</Order>
|
331 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
332 |
+
<Description>Allow RDP login with blank password</Description>
|
333 |
+
</SynchronousCommand>
|
334 |
+
<SynchronousCommand wcm:action="add">
|
335 |
+
<Order>3</Order>
|
336 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
337 |
+
<Description>Enable option for passwordless sign-in</Description>
|
338 |
+
</SynchronousCommand>
|
339 |
+
<SynchronousCommand wcm:action="add">
|
340 |
+
<Order>4</Order>
|
341 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
342 |
+
<Description>Password Never Expires</Description>
|
343 |
+
</SynchronousCommand>
|
344 |
+
<SynchronousCommand wcm:action="add">
|
345 |
+
<Order>5</Order>
|
346 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
347 |
+
<Description>Disable Hibernation</Description>
|
348 |
+
</SynchronousCommand>
|
349 |
+
<SynchronousCommand wcm:action="add">
|
350 |
+
<Order>6</Order>
|
351 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
352 |
+
<Description>Disable monitor blanking</Description>
|
353 |
+
</SynchronousCommand>
|
354 |
+
<SynchronousCommand wcm:action="add">
|
355 |
+
<Order>7</Order>
|
356 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
357 |
+
<Description>Disable first-run experience in Edge</Description>
|
358 |
+
</SynchronousCommand>
|
359 |
+
<SynchronousCommand wcm:action="add">
|
360 |
+
<Order>8</Order>
|
361 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
362 |
+
<Description>Show file extensions in Explorer</Description>
|
363 |
+
</SynchronousCommand>
|
364 |
+
<SynchronousCommand wcm:action="add">
|
365 |
+
<Order>9</Order>
|
366 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
367 |
+
<Description>Zero Hibernation File</Description>
|
368 |
+
</SynchronousCommand>
|
369 |
+
<SynchronousCommand wcm:action="add">
|
370 |
+
<Order>10</Order>
|
371 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
372 |
+
<Description>Disable Hibernation</Description>
|
373 |
+
</SynchronousCommand>
|
374 |
+
<SynchronousCommand wcm:action="add">
|
375 |
+
<Order>11</Order>
|
376 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
377 |
+
<Description>Disable Sleep</Description>
|
378 |
+
</SynchronousCommand>
|
379 |
+
<SynchronousCommand wcm:action="add">
|
380 |
+
<Order>12</Order>
|
381 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
382 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
383 |
+
</SynchronousCommand>
|
384 |
+
<SynchronousCommand wcm:action="add">
|
385 |
+
<Order>13</Order>
|
386 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
387 |
+
<Description>Remove Search from the Taskbar</Description>
|
388 |
+
</SynchronousCommand>
|
389 |
+
<SynchronousCommand wcm:action="add">
|
390 |
+
<Order>14</Order>
|
391 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
392 |
+
<Description>Remove Task View from the Taskbar</Description>
|
393 |
+
</SynchronousCommand>
|
394 |
+
<SynchronousCommand wcm:action="add">
|
395 |
+
<Order>15</Order>
|
396 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
397 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
398 |
+
</SynchronousCommand>
|
399 |
+
<SynchronousCommand wcm:action="add">
|
400 |
+
<Order>16</Order>
|
401 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
402 |
+
<Description>Remove Chat from the Taskbar</Description>
|
403 |
+
</SynchronousCommand>
|
404 |
+
<SynchronousCommand wcm:action="add">
|
405 |
+
<Order>17</Order>
|
406 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
407 |
+
<Description>Turn off Windows Update auto download</Description>
|
408 |
+
</SynchronousCommand>
|
409 |
+
<SynchronousCommand wcm:action="add">
|
410 |
+
<Order>18</Order>
|
411 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
412 |
+
<Description>Enable Network Discovery</Description>
|
413 |
+
</SynchronousCommand>
|
414 |
+
<SynchronousCommand wcm:action="add">
|
415 |
+
<Order>19</Order>
|
416 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
417 |
+
<Description>Enable File Sharing</Description>
|
418 |
+
</SynchronousCommand>
|
419 |
+
<SynchronousCommand wcm:action="add">
|
420 |
+
<Order>20</Order>
|
421 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
422 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
423 |
+
</SynchronousCommand>
|
424 |
+
</FirstLogonCommands>
|
425 |
+
</component>
|
426 |
+
</settings>
|
427 |
+
</unattend>
|
assets/win10x64-iot.xml
ADDED
@@ -0,0 +1,433 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallFrom>
|
65 |
+
<MetaData wcm:action="add">
|
66 |
+
<Key>/image/index</Key>
|
67 |
+
<Value>2</Value>
|
68 |
+
</MetaData>
|
69 |
+
</InstallFrom>
|
70 |
+
<InstallTo>
|
71 |
+
<DiskID>0</DiskID>
|
72 |
+
<PartitionID>3</PartitionID>
|
73 |
+
</InstallTo>
|
74 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
75 |
+
</OSImage>
|
76 |
+
</ImageInstall>
|
77 |
+
<DynamicUpdate>
|
78 |
+
<Enable>true</Enable>
|
79 |
+
<WillShowUI>Never</WillShowUI>
|
80 |
+
</DynamicUpdate>
|
81 |
+
<UpgradeData>
|
82 |
+
<Upgrade>false</Upgrade>
|
83 |
+
<WillShowUI>Never</WillShowUI>
|
84 |
+
</UpgradeData>
|
85 |
+
<UserData>
|
86 |
+
<AcceptEula>true</AcceptEula>
|
87 |
+
<FullName>Docker</FullName>
|
88 |
+
<Organization>Windows for Docker</Organization>
|
89 |
+
<ProductKey>
|
90 |
+
<Key />
|
91 |
+
</ProductKey>
|
92 |
+
</UserData>
|
93 |
+
<EnableFirewall>false</EnableFirewall>
|
94 |
+
<Diagnostics>
|
95 |
+
<OptIn>false</OptIn>
|
96 |
+
</Diagnostics>
|
97 |
+
</component>
|
98 |
+
</settings>
|
99 |
+
<settings pass="offlineServicing">
|
100 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
101 |
+
<EnableLUA>false</EnableLUA>
|
102 |
+
</component>
|
103 |
+
</settings>
|
104 |
+
<settings pass="generalize">
|
105 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
106 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
107 |
+
</component>
|
108 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
109 |
+
<SkipRearm>1</SkipRearm>
|
110 |
+
</component>
|
111 |
+
</settings>
|
112 |
+
<settings pass="specialize">
|
113 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<ComputerName>*</ComputerName>
|
118 |
+
<OEMInformation>
|
119 |
+
<Manufacturer>Dockur</Manufacturer>
|
120 |
+
<Model>Windows for Docker</Model>
|
121 |
+
<SupportHours>24/7</SupportHours>
|
122 |
+
<SupportPhone />
|
123 |
+
<SupportProvider>Dockur</SupportProvider>
|
124 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
125 |
+
</OEMInformation>
|
126 |
+
<OEMName>Windows for Docker</OEMName>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<DisableWER>1</DisableWER>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableAccelerators>true</DisableAccelerators>
|
133 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
134 |
+
<Home_Page>https://google.com</Home_Page>
|
135 |
+
<Help_Page>about:blank</Help_Page>
|
136 |
+
</component>
|
137 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
138 |
+
<DisableAccelerators>true</DisableAccelerators>
|
139 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
140 |
+
<Home_Page>https://google.com</Home_Page>
|
141 |
+
<Help_Page>about:blank</Help_Page>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<CEIPEnabled>0</CEIPEnabled>
|
145 |
+
</component>
|
146 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<DisableSR>1</DisableSR>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<InputLocale>0409:00000409</InputLocale>
|
151 |
+
<SystemLocale>en-US</SystemLocale>
|
152 |
+
<UILanguage>en-US</UILanguage>
|
153 |
+
<UserLocale>en-US</UserLocale>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<RunSynchronous>
|
157 |
+
<RunSynchronousCommand wcm:action="add">
|
158 |
+
<Order>1</Order>
|
159 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
160 |
+
</RunSynchronousCommand>
|
161 |
+
<RunSynchronousCommand wcm:action="add">
|
162 |
+
<Order>2</Order>
|
163 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
164 |
+
</RunSynchronousCommand>
|
165 |
+
<RunSynchronousCommand wcm:action="add">
|
166 |
+
<Order>3</Order>
|
167 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
168 |
+
</RunSynchronousCommand>
|
169 |
+
<RunSynchronousCommand wcm:action="add">
|
170 |
+
<Order>4</Order>
|
171 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
172 |
+
</RunSynchronousCommand>
|
173 |
+
<RunSynchronousCommand wcm:action="add">
|
174 |
+
<Order>5</Order>
|
175 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
176 |
+
</RunSynchronousCommand>
|
177 |
+
<RunSynchronousCommand wcm:action="add">
|
178 |
+
<Order>6</Order>
|
179 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
180 |
+
</RunSynchronousCommand>
|
181 |
+
<RunSynchronousCommand wcm:action="add">
|
182 |
+
<Order>7</Order>
|
183 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
184 |
+
</RunSynchronousCommand>
|
185 |
+
<RunSynchronousCommand wcm:action="add">
|
186 |
+
<Order>8</Order>
|
187 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
188 |
+
</RunSynchronousCommand>
|
189 |
+
<RunSynchronousCommand wcm:action="add">
|
190 |
+
<Order>9</Order>
|
191 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
192 |
+
</RunSynchronousCommand>
|
193 |
+
<RunSynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
196 |
+
</RunSynchronousCommand>
|
197 |
+
<RunSynchronousCommand wcm:action="add">
|
198 |
+
<Order>11</Order>
|
199 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
200 |
+
</RunSynchronousCommand>
|
201 |
+
<RunSynchronousCommand wcm:action="add">
|
202 |
+
<Order>12</Order>
|
203 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
204 |
+
</RunSynchronousCommand>
|
205 |
+
<RunSynchronousCommand wcm:action="add">
|
206 |
+
<Order>13</Order>
|
207 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
208 |
+
</RunSynchronousCommand>
|
209 |
+
<RunSynchronousCommand wcm:action="add">
|
210 |
+
<Order>14</Order>
|
211 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
212 |
+
</RunSynchronousCommand>
|
213 |
+
<RunSynchronousCommand wcm:action="add">
|
214 |
+
<Order>15</Order>
|
215 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
216 |
+
</RunSynchronousCommand>
|
217 |
+
<RunSynchronousCommand wcm:action="add">
|
218 |
+
<Order>16</Order>
|
219 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
220 |
+
</RunSynchronousCommand>
|
221 |
+
<RunSynchronousCommand wcm:action="add">
|
222 |
+
<Order>17</Order>
|
223 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
224 |
+
</RunSynchronousCommand>
|
225 |
+
<RunSynchronousCommand wcm:action="add">
|
226 |
+
<Order>18</Order>
|
227 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
228 |
+
</RunSynchronousCommand>
|
229 |
+
<RunSynchronousCommand wcm:action="add">
|
230 |
+
<Order>19</Order>
|
231 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
232 |
+
</RunSynchronousCommand>
|
233 |
+
<RunSynchronousCommand wcm:action="add">
|
234 |
+
<Order>20</Order>
|
235 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
236 |
+
</RunSynchronousCommand>
|
237 |
+
<RunSynchronousCommand wcm:action="add">
|
238 |
+
<Order>21</Order>
|
239 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
240 |
+
</RunSynchronousCommand>
|
241 |
+
<RunSynchronousCommand wcm:action="add">
|
242 |
+
<Order>22</Order>
|
243 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
244 |
+
</RunSynchronousCommand>
|
245 |
+
<RunSynchronousCommand wcm:action="add">
|
246 |
+
<Order>23</Order>
|
247 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
248 |
+
</RunSynchronousCommand>
|
249 |
+
<RunSynchronousCommand wcm:action="add">
|
250 |
+
<Order>24</Order>
|
251 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
252 |
+
</RunSynchronousCommand>
|
253 |
+
<RunSynchronousCommand wcm:action="add">
|
254 |
+
<Order>25</Order>
|
255 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
256 |
+
<Description>Set Network Location to Home</Description>
|
257 |
+
</RunSynchronousCommand>
|
258 |
+
</RunSynchronous>
|
259 |
+
</component>
|
260 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
261 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
262 |
+
</component>
|
263 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
264 |
+
<UserAuthentication>0</UserAuthentication>
|
265 |
+
</component>
|
266 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
267 |
+
<FirewallGroups>
|
268 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
269 |
+
<Active>true</Active>
|
270 |
+
<Profile>all</Profile>
|
271 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
272 |
+
</FirewallGroup>
|
273 |
+
</FirewallGroups>
|
274 |
+
</component>
|
275 |
+
</settings>
|
276 |
+
<settings pass="auditSystem" />
|
277 |
+
<settings pass="auditUser" />
|
278 |
+
<settings pass="oobeSystem">
|
279 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
280 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
281 |
+
</component>
|
282 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
283 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
284 |
+
</component>
|
285 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
286 |
+
<UserAccounts>
|
287 |
+
<LocalAccounts>
|
288 |
+
<LocalAccount wcm:action="add">
|
289 |
+
<Name>Docker</Name>
|
290 |
+
<Group>Administrators</Group>
|
291 |
+
<Password>
|
292 |
+
<Value />
|
293 |
+
<PlainText>true</PlainText>
|
294 |
+
</Password>
|
295 |
+
</LocalAccount>
|
296 |
+
</LocalAccounts>
|
297 |
+
<AdministratorPassword>
|
298 |
+
<Value>password</Value>
|
299 |
+
<PlainText>true</PlainText>
|
300 |
+
</AdministratorPassword>
|
301 |
+
</UserAccounts>
|
302 |
+
<AutoLogon>
|
303 |
+
<Username>Docker</Username>
|
304 |
+
<Enabled>true</Enabled>
|
305 |
+
<LogonCount>65432</LogonCount>
|
306 |
+
<Password>
|
307 |
+
<Value />
|
308 |
+
<PlainText>true</PlainText>
|
309 |
+
</Password>
|
310 |
+
</AutoLogon>
|
311 |
+
<Display>
|
312 |
+
<ColorDepth>32</ColorDepth>
|
313 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
314 |
+
<VerticalResolution>1080</VerticalResolution>
|
315 |
+
</Display>
|
316 |
+
<OOBE>
|
317 |
+
<HideEULAPage>true</HideEULAPage>
|
318 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
319 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
320 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
321 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
322 |
+
<NetworkLocation>Home</NetworkLocation>
|
323 |
+
<ProtectYourPC>3</ProtectYourPC>
|
324 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
325 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
326 |
+
</OOBE>
|
327 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
328 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
329 |
+
<FirstLogonCommands>
|
330 |
+
<SynchronousCommand wcm:action="add">
|
331 |
+
<Order>1</Order>
|
332 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
333 |
+
<Description>Allow guest access to network shares</Description>
|
334 |
+
</SynchronousCommand>
|
335 |
+
<SynchronousCommand wcm:action="add">
|
336 |
+
<Order>2</Order>
|
337 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
338 |
+
<Description>Allow RDP login with blank password</Description>
|
339 |
+
</SynchronousCommand>
|
340 |
+
<SynchronousCommand wcm:action="add">
|
341 |
+
<Order>3</Order>
|
342 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
343 |
+
<Description>Enable option for passwordless sign-in</Description>
|
344 |
+
</SynchronousCommand>
|
345 |
+
<SynchronousCommand wcm:action="add">
|
346 |
+
<Order>4</Order>
|
347 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
348 |
+
<Description>Password Never Expires</Description>
|
349 |
+
</SynchronousCommand>
|
350 |
+
<SynchronousCommand wcm:action="add">
|
351 |
+
<Order>5</Order>
|
352 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
353 |
+
<Description>Disable Hibernation</Description>
|
354 |
+
</SynchronousCommand>
|
355 |
+
<SynchronousCommand wcm:action="add">
|
356 |
+
<Order>6</Order>
|
357 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
358 |
+
<Description>Disable monitor blanking</Description>
|
359 |
+
</SynchronousCommand>
|
360 |
+
<SynchronousCommand wcm:action="add">
|
361 |
+
<Order>7</Order>
|
362 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
363 |
+
<Description>Disable first-run experience in Edge</Description>
|
364 |
+
</SynchronousCommand>
|
365 |
+
<SynchronousCommand wcm:action="add">
|
366 |
+
<Order>8</Order>
|
367 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
368 |
+
<Description>Show file extensions in Explorer</Description>
|
369 |
+
</SynchronousCommand>
|
370 |
+
<SynchronousCommand wcm:action="add">
|
371 |
+
<Order>9</Order>
|
372 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
373 |
+
<Description>Zero Hibernation File</Description>
|
374 |
+
</SynchronousCommand>
|
375 |
+
<SynchronousCommand wcm:action="add">
|
376 |
+
<Order>10</Order>
|
377 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
378 |
+
<Description>Disable Hibernation</Description>
|
379 |
+
</SynchronousCommand>
|
380 |
+
<SynchronousCommand wcm:action="add">
|
381 |
+
<Order>11</Order>
|
382 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
383 |
+
<Description>Disable Sleep</Description>
|
384 |
+
</SynchronousCommand>
|
385 |
+
<SynchronousCommand wcm:action="add">
|
386 |
+
<Order>12</Order>
|
387 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
388 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
389 |
+
</SynchronousCommand>
|
390 |
+
<SynchronousCommand wcm:action="add">
|
391 |
+
<Order>13</Order>
|
392 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
393 |
+
<Description>Remove Search from the Taskbar</Description>
|
394 |
+
</SynchronousCommand>
|
395 |
+
<SynchronousCommand wcm:action="add">
|
396 |
+
<Order>14</Order>
|
397 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
398 |
+
<Description>Remove Task View from the Taskbar</Description>
|
399 |
+
</SynchronousCommand>
|
400 |
+
<SynchronousCommand wcm:action="add">
|
401 |
+
<Order>15</Order>
|
402 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
403 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
404 |
+
</SynchronousCommand>
|
405 |
+
<SynchronousCommand wcm:action="add">
|
406 |
+
<Order>16</Order>
|
407 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
408 |
+
<Description>Remove Chat from the Taskbar</Description>
|
409 |
+
</SynchronousCommand>
|
410 |
+
<SynchronousCommand wcm:action="add">
|
411 |
+
<Order>17</Order>
|
412 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
413 |
+
<Description>Turn off Windows Update auto download</Description>
|
414 |
+
</SynchronousCommand>
|
415 |
+
<SynchronousCommand wcm:action="add">
|
416 |
+
<Order>18</Order>
|
417 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
418 |
+
<Description>Enable Network Discovery</Description>
|
419 |
+
</SynchronousCommand>
|
420 |
+
<SynchronousCommand wcm:action="add">
|
421 |
+
<Order>19</Order>
|
422 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
423 |
+
<Description>Enable File Sharing</Description>
|
424 |
+
</SynchronousCommand>
|
425 |
+
<SynchronousCommand wcm:action="add">
|
426 |
+
<Order>20</Order>
|
427 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
428 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
429 |
+
</SynchronousCommand>
|
430 |
+
</FirstLogonCommands>
|
431 |
+
</component>
|
432 |
+
</settings>
|
433 |
+
</unattend>
|
assets/win10x64-ltsc.xml
ADDED
@@ -0,0 +1,430 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
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>3</PartitionID>
|
73 |
+
</InstallTo>
|
74 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
75 |
+
</OSImage>
|
76 |
+
</ImageInstall>
|
77 |
+
<DynamicUpdate>
|
78 |
+
<Enable>true</Enable>
|
79 |
+
<WillShowUI>Never</WillShowUI>
|
80 |
+
</DynamicUpdate>
|
81 |
+
<UpgradeData>
|
82 |
+
<Upgrade>false</Upgrade>
|
83 |
+
<WillShowUI>Never</WillShowUI>
|
84 |
+
</UpgradeData>
|
85 |
+
<UserData>
|
86 |
+
<AcceptEula>true</AcceptEula>
|
87 |
+
<FullName>Docker</FullName>
|
88 |
+
<Organization>Windows for Docker</Organization>
|
89 |
+
</UserData>
|
90 |
+
<EnableFirewall>false</EnableFirewall>
|
91 |
+
<Diagnostics>
|
92 |
+
<OptIn>false</OptIn>
|
93 |
+
</Diagnostics>
|
94 |
+
</component>
|
95 |
+
</settings>
|
96 |
+
<settings pass="offlineServicing">
|
97 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
98 |
+
<EnableLUA>false</EnableLUA>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="generalize">
|
102 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
104 |
+
</component>
|
105 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
106 |
+
<SkipRearm>1</SkipRearm>
|
107 |
+
</component>
|
108 |
+
</settings>
|
109 |
+
<settings pass="specialize">
|
110 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<ComputerName>*</ComputerName>
|
115 |
+
<OEMInformation>
|
116 |
+
<Manufacturer>Dockur</Manufacturer>
|
117 |
+
<Model>Windows for Docker</Model>
|
118 |
+
<SupportHours>24/7</SupportHours>
|
119 |
+
<SupportPhone />
|
120 |
+
<SupportProvider>Dockur</SupportProvider>
|
121 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
122 |
+
</OEMInformation>
|
123 |
+
<OEMName>Windows for Docker</OEMName>
|
124 |
+
</component>
|
125 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<DisableWER>1</DisableWER>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<DisableAccelerators>true</DisableAccelerators>
|
130 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
131 |
+
<Home_Page>https://google.com</Home_Page>
|
132 |
+
<Help_Page>about:blank</Help_Page>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<DisableAccelerators>true</DisableAccelerators>
|
136 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
137 |
+
<Home_Page>https://google.com</Home_Page>
|
138 |
+
<Help_Page>about:blank</Help_Page>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<CEIPEnabled>0</CEIPEnabled>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<DisableSR>1</DisableSR>
|
145 |
+
</component>
|
146 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<InputLocale>0409:00000409</InputLocale>
|
148 |
+
<SystemLocale>en-US</SystemLocale>
|
149 |
+
<UILanguage>en-US</UILanguage>
|
150 |
+
<UserLocale>en-US</UserLocale>
|
151 |
+
</component>
|
152 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
153 |
+
<RunSynchronous>
|
154 |
+
<RunSynchronousCommand wcm:action="add">
|
155 |
+
<Order>1</Order>
|
156 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
157 |
+
</RunSynchronousCommand>
|
158 |
+
<RunSynchronousCommand wcm:action="add">
|
159 |
+
<Order>2</Order>
|
160 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
161 |
+
</RunSynchronousCommand>
|
162 |
+
<RunSynchronousCommand wcm:action="add">
|
163 |
+
<Order>3</Order>
|
164 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
165 |
+
</RunSynchronousCommand>
|
166 |
+
<RunSynchronousCommand wcm:action="add">
|
167 |
+
<Order>4</Order>
|
168 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
169 |
+
</RunSynchronousCommand>
|
170 |
+
<RunSynchronousCommand wcm:action="add">
|
171 |
+
<Order>5</Order>
|
172 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
173 |
+
</RunSynchronousCommand>
|
174 |
+
<RunSynchronousCommand wcm:action="add">
|
175 |
+
<Order>6</Order>
|
176 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
177 |
+
</RunSynchronousCommand>
|
178 |
+
<RunSynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
181 |
+
</RunSynchronousCommand>
|
182 |
+
<RunSynchronousCommand wcm:action="add">
|
183 |
+
<Order>8</Order>
|
184 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
185 |
+
</RunSynchronousCommand>
|
186 |
+
<RunSynchronousCommand wcm:action="add">
|
187 |
+
<Order>9</Order>
|
188 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
189 |
+
</RunSynchronousCommand>
|
190 |
+
<RunSynchronousCommand wcm:action="add">
|
191 |
+
<Order>10</Order>
|
192 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
193 |
+
</RunSynchronousCommand>
|
194 |
+
<RunSynchronousCommand wcm:action="add">
|
195 |
+
<Order>11</Order>
|
196 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
197 |
+
</RunSynchronousCommand>
|
198 |
+
<RunSynchronousCommand wcm:action="add">
|
199 |
+
<Order>12</Order>
|
200 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
201 |
+
</RunSynchronousCommand>
|
202 |
+
<RunSynchronousCommand wcm:action="add">
|
203 |
+
<Order>13</Order>
|
204 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
205 |
+
</RunSynchronousCommand>
|
206 |
+
<RunSynchronousCommand wcm:action="add">
|
207 |
+
<Order>14</Order>
|
208 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
209 |
+
</RunSynchronousCommand>
|
210 |
+
<RunSynchronousCommand wcm:action="add">
|
211 |
+
<Order>15</Order>
|
212 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
213 |
+
</RunSynchronousCommand>
|
214 |
+
<RunSynchronousCommand wcm:action="add">
|
215 |
+
<Order>16</Order>
|
216 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
217 |
+
</RunSynchronousCommand>
|
218 |
+
<RunSynchronousCommand wcm:action="add">
|
219 |
+
<Order>17</Order>
|
220 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
221 |
+
</RunSynchronousCommand>
|
222 |
+
<RunSynchronousCommand wcm:action="add">
|
223 |
+
<Order>18</Order>
|
224 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
225 |
+
</RunSynchronousCommand>
|
226 |
+
<RunSynchronousCommand wcm:action="add">
|
227 |
+
<Order>19</Order>
|
228 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
229 |
+
</RunSynchronousCommand>
|
230 |
+
<RunSynchronousCommand wcm:action="add">
|
231 |
+
<Order>20</Order>
|
232 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
233 |
+
</RunSynchronousCommand>
|
234 |
+
<RunSynchronousCommand wcm:action="add">
|
235 |
+
<Order>21</Order>
|
236 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
237 |
+
</RunSynchronousCommand>
|
238 |
+
<RunSynchronousCommand wcm:action="add">
|
239 |
+
<Order>22</Order>
|
240 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
241 |
+
</RunSynchronousCommand>
|
242 |
+
<RunSynchronousCommand wcm:action="add">
|
243 |
+
<Order>23</Order>
|
244 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
245 |
+
</RunSynchronousCommand>
|
246 |
+
<RunSynchronousCommand wcm:action="add">
|
247 |
+
<Order>24</Order>
|
248 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
249 |
+
</RunSynchronousCommand>
|
250 |
+
<RunSynchronousCommand wcm:action="add">
|
251 |
+
<Order>25</Order>
|
252 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
253 |
+
<Description>Set Network Location to Home</Description>
|
254 |
+
</RunSynchronousCommand>
|
255 |
+
</RunSynchronous>
|
256 |
+
</component>
|
257 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
258 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
259 |
+
</component>
|
260 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
261 |
+
<UserAuthentication>0</UserAuthentication>
|
262 |
+
</component>
|
263 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
264 |
+
<FirewallGroups>
|
265 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
266 |
+
<Active>true</Active>
|
267 |
+
<Profile>all</Profile>
|
268 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
269 |
+
</FirewallGroup>
|
270 |
+
</FirewallGroups>
|
271 |
+
</component>
|
272 |
+
</settings>
|
273 |
+
<settings pass="auditSystem" />
|
274 |
+
<settings pass="auditUser" />
|
275 |
+
<settings pass="oobeSystem">
|
276 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
277 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
278 |
+
</component>
|
279 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
280 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
281 |
+
</component>
|
282 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
283 |
+
<UserAccounts>
|
284 |
+
<LocalAccounts>
|
285 |
+
<LocalAccount wcm:action="add">
|
286 |
+
<Name>Docker</Name>
|
287 |
+
<Group>Administrators</Group>
|
288 |
+
<Password>
|
289 |
+
<Value />
|
290 |
+
<PlainText>true</PlainText>
|
291 |
+
</Password>
|
292 |
+
</LocalAccount>
|
293 |
+
</LocalAccounts>
|
294 |
+
<AdministratorPassword>
|
295 |
+
<Value>password</Value>
|
296 |
+
<PlainText>true</PlainText>
|
297 |
+
</AdministratorPassword>
|
298 |
+
</UserAccounts>
|
299 |
+
<AutoLogon>
|
300 |
+
<Username>Docker</Username>
|
301 |
+
<Enabled>true</Enabled>
|
302 |
+
<LogonCount>65432</LogonCount>
|
303 |
+
<Password>
|
304 |
+
<Value />
|
305 |
+
<PlainText>true</PlainText>
|
306 |
+
</Password>
|
307 |
+
</AutoLogon>
|
308 |
+
<Display>
|
309 |
+
<ColorDepth>32</ColorDepth>
|
310 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
311 |
+
<VerticalResolution>1080</VerticalResolution>
|
312 |
+
</Display>
|
313 |
+
<OOBE>
|
314 |
+
<HideEULAPage>true</HideEULAPage>
|
315 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
316 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
317 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
318 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
319 |
+
<NetworkLocation>Home</NetworkLocation>
|
320 |
+
<ProtectYourPC>3</ProtectYourPC>
|
321 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
322 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
323 |
+
</OOBE>
|
324 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
325 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
326 |
+
<FirstLogonCommands>
|
327 |
+
<SynchronousCommand wcm:action="add">
|
328 |
+
<Order>1</Order>
|
329 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
330 |
+
<Description>Allow guest access to network shares</Description>
|
331 |
+
</SynchronousCommand>
|
332 |
+
<SynchronousCommand wcm:action="add">
|
333 |
+
<Order>2</Order>
|
334 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
335 |
+
<Description>Allow RDP login with blank password</Description>
|
336 |
+
</SynchronousCommand>
|
337 |
+
<SynchronousCommand wcm:action="add">
|
338 |
+
<Order>3</Order>
|
339 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
340 |
+
<Description>Enable option for passwordless sign-in</Description>
|
341 |
+
</SynchronousCommand>
|
342 |
+
<SynchronousCommand wcm:action="add">
|
343 |
+
<Order>4</Order>
|
344 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
345 |
+
<Description>Password Never Expires</Description>
|
346 |
+
</SynchronousCommand>
|
347 |
+
<SynchronousCommand wcm:action="add">
|
348 |
+
<Order>5</Order>
|
349 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
350 |
+
<Description>Disable Hibernation</Description>
|
351 |
+
</SynchronousCommand>
|
352 |
+
<SynchronousCommand wcm:action="add">
|
353 |
+
<Order>6</Order>
|
354 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
355 |
+
<Description>Disable monitor blanking</Description>
|
356 |
+
</SynchronousCommand>
|
357 |
+
<SynchronousCommand wcm:action="add">
|
358 |
+
<Order>7</Order>
|
359 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
360 |
+
<Description>Disable first-run experience in Edge</Description>
|
361 |
+
</SynchronousCommand>
|
362 |
+
<SynchronousCommand wcm:action="add">
|
363 |
+
<Order>8</Order>
|
364 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
365 |
+
<Description>Show file extensions in Explorer</Description>
|
366 |
+
</SynchronousCommand>
|
367 |
+
<SynchronousCommand wcm:action="add">
|
368 |
+
<Order>9</Order>
|
369 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
370 |
+
<Description>Zero Hibernation File</Description>
|
371 |
+
</SynchronousCommand>
|
372 |
+
<SynchronousCommand wcm:action="add">
|
373 |
+
<Order>10</Order>
|
374 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
375 |
+
<Description>Disable Hibernation</Description>
|
376 |
+
</SynchronousCommand>
|
377 |
+
<SynchronousCommand wcm:action="add">
|
378 |
+
<Order>11</Order>
|
379 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
380 |
+
<Description>Disable Sleep</Description>
|
381 |
+
</SynchronousCommand>
|
382 |
+
<SynchronousCommand wcm:action="add">
|
383 |
+
<Order>12</Order>
|
384 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
385 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
386 |
+
</SynchronousCommand>
|
387 |
+
<SynchronousCommand wcm:action="add">
|
388 |
+
<Order>13</Order>
|
389 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
390 |
+
<Description>Remove Search from the Taskbar</Description>
|
391 |
+
</SynchronousCommand>
|
392 |
+
<SynchronousCommand wcm:action="add">
|
393 |
+
<Order>14</Order>
|
394 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
395 |
+
<Description>Remove Task View from the Taskbar</Description>
|
396 |
+
</SynchronousCommand>
|
397 |
+
<SynchronousCommand wcm:action="add">
|
398 |
+
<Order>15</Order>
|
399 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
400 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
401 |
+
</SynchronousCommand>
|
402 |
+
<SynchronousCommand wcm:action="add">
|
403 |
+
<Order>16</Order>
|
404 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
405 |
+
<Description>Remove Chat from the Taskbar</Description>
|
406 |
+
</SynchronousCommand>
|
407 |
+
<SynchronousCommand wcm:action="add">
|
408 |
+
<Order>17</Order>
|
409 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
410 |
+
<Description>Turn off Windows Update auto download</Description>
|
411 |
+
</SynchronousCommand>
|
412 |
+
<SynchronousCommand wcm:action="add">
|
413 |
+
<Order>18</Order>
|
414 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
415 |
+
<Description>Enable Network Discovery</Description>
|
416 |
+
</SynchronousCommand>
|
417 |
+
<SynchronousCommand wcm:action="add">
|
418 |
+
<Order>19</Order>
|
419 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
420 |
+
<Description>Enable File Sharing</Description>
|
421 |
+
</SynchronousCommand>
|
422 |
+
<SynchronousCommand wcm:action="add">
|
423 |
+
<Order>20</Order>
|
424 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
425 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
426 |
+
</SynchronousCommand>
|
427 |
+
</FirstLogonCommands>
|
428 |
+
</component>
|
429 |
+
</settings>
|
430 |
+
</unattend>
|
assets/win10x64.xml
ADDED
@@ -0,0 +1,427 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
</component>
|
92 |
+
</settings>
|
93 |
+
<settings pass="offlineServicing">
|
94 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
95 |
+
<EnableLUA>false</EnableLUA>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="generalize">
|
99 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
101 |
+
</component>
|
102 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<SkipRearm>1</SkipRearm>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="specialize">
|
107 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<ComputerName>*</ComputerName>
|
112 |
+
<OEMInformation>
|
113 |
+
<Manufacturer>Dockur</Manufacturer>
|
114 |
+
<Model>Windows for Docker</Model>
|
115 |
+
<SupportHours>24/7</SupportHours>
|
116 |
+
<SupportPhone />
|
117 |
+
<SupportProvider>Dockur</SupportProvider>
|
118 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
119 |
+
</OEMInformation>
|
120 |
+
<OEMName>Windows for Docker</OEMName>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableWER>1</DisableWER>
|
124 |
+
</component>
|
125 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<DisableAccelerators>true</DisableAccelerators>
|
127 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
128 |
+
<Home_Page>https://google.com</Home_Page>
|
129 |
+
<Help_Page>about:blank</Help_Page>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableAccelerators>true</DisableAccelerators>
|
133 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
134 |
+
<Home_Page>https://google.com</Home_Page>
|
135 |
+
<Help_Page>about:blank</Help_Page>
|
136 |
+
</component>
|
137 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
138 |
+
<CEIPEnabled>0</CEIPEnabled>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableSR>1</DisableSR>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<InputLocale>0409:00000409</InputLocale>
|
145 |
+
<SystemLocale>en-US</SystemLocale>
|
146 |
+
<UILanguage>en-US</UILanguage>
|
147 |
+
<UserLocale>en-US</UserLocale>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<RunSynchronous>
|
151 |
+
<RunSynchronousCommand wcm:action="add">
|
152 |
+
<Order>1</Order>
|
153 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
154 |
+
</RunSynchronousCommand>
|
155 |
+
<RunSynchronousCommand wcm:action="add">
|
156 |
+
<Order>2</Order>
|
157 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
158 |
+
</RunSynchronousCommand>
|
159 |
+
<RunSynchronousCommand wcm:action="add">
|
160 |
+
<Order>3</Order>
|
161 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
162 |
+
</RunSynchronousCommand>
|
163 |
+
<RunSynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
166 |
+
</RunSynchronousCommand>
|
167 |
+
<RunSynchronousCommand wcm:action="add">
|
168 |
+
<Order>5</Order>
|
169 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
170 |
+
</RunSynchronousCommand>
|
171 |
+
<RunSynchronousCommand wcm:action="add">
|
172 |
+
<Order>6</Order>
|
173 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
174 |
+
</RunSynchronousCommand>
|
175 |
+
<RunSynchronousCommand wcm:action="add">
|
176 |
+
<Order>7</Order>
|
177 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
178 |
+
</RunSynchronousCommand>
|
179 |
+
<RunSynchronousCommand wcm:action="add">
|
180 |
+
<Order>8</Order>
|
181 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
182 |
+
</RunSynchronousCommand>
|
183 |
+
<RunSynchronousCommand wcm:action="add">
|
184 |
+
<Order>9</Order>
|
185 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
186 |
+
</RunSynchronousCommand>
|
187 |
+
<RunSynchronousCommand wcm:action="add">
|
188 |
+
<Order>10</Order>
|
189 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
190 |
+
</RunSynchronousCommand>
|
191 |
+
<RunSynchronousCommand wcm:action="add">
|
192 |
+
<Order>11</Order>
|
193 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
194 |
+
</RunSynchronousCommand>
|
195 |
+
<RunSynchronousCommand wcm:action="add">
|
196 |
+
<Order>12</Order>
|
197 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
198 |
+
</RunSynchronousCommand>
|
199 |
+
<RunSynchronousCommand wcm:action="add">
|
200 |
+
<Order>13</Order>
|
201 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
202 |
+
</RunSynchronousCommand>
|
203 |
+
<RunSynchronousCommand wcm:action="add">
|
204 |
+
<Order>14</Order>
|
205 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
206 |
+
</RunSynchronousCommand>
|
207 |
+
<RunSynchronousCommand wcm:action="add">
|
208 |
+
<Order>15</Order>
|
209 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
210 |
+
</RunSynchronousCommand>
|
211 |
+
<RunSynchronousCommand wcm:action="add">
|
212 |
+
<Order>16</Order>
|
213 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
214 |
+
</RunSynchronousCommand>
|
215 |
+
<RunSynchronousCommand wcm:action="add">
|
216 |
+
<Order>17</Order>
|
217 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
218 |
+
</RunSynchronousCommand>
|
219 |
+
<RunSynchronousCommand wcm:action="add">
|
220 |
+
<Order>18</Order>
|
221 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
222 |
+
</RunSynchronousCommand>
|
223 |
+
<RunSynchronousCommand wcm:action="add">
|
224 |
+
<Order>19</Order>
|
225 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
226 |
+
</RunSynchronousCommand>
|
227 |
+
<RunSynchronousCommand wcm:action="add">
|
228 |
+
<Order>20</Order>
|
229 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
230 |
+
</RunSynchronousCommand>
|
231 |
+
<RunSynchronousCommand wcm:action="add">
|
232 |
+
<Order>21</Order>
|
233 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
234 |
+
</RunSynchronousCommand>
|
235 |
+
<RunSynchronousCommand wcm:action="add">
|
236 |
+
<Order>22</Order>
|
237 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
238 |
+
</RunSynchronousCommand>
|
239 |
+
<RunSynchronousCommand wcm:action="add">
|
240 |
+
<Order>23</Order>
|
241 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
242 |
+
</RunSynchronousCommand>
|
243 |
+
<RunSynchronousCommand wcm:action="add">
|
244 |
+
<Order>24</Order>
|
245 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
246 |
+
</RunSynchronousCommand>
|
247 |
+
<RunSynchronousCommand wcm:action="add">
|
248 |
+
<Order>25</Order>
|
249 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
250 |
+
<Description>Set Network Location to Home</Description>
|
251 |
+
</RunSynchronousCommand>
|
252 |
+
</RunSynchronous>
|
253 |
+
</component>
|
254 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
255 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
256 |
+
</component>
|
257 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
258 |
+
<UserAuthentication>0</UserAuthentication>
|
259 |
+
</component>
|
260 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
261 |
+
<FirewallGroups>
|
262 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
263 |
+
<Active>true</Active>
|
264 |
+
<Profile>all</Profile>
|
265 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
266 |
+
</FirewallGroup>
|
267 |
+
</FirewallGroups>
|
268 |
+
</component>
|
269 |
+
</settings>
|
270 |
+
<settings pass="auditSystem" />
|
271 |
+
<settings pass="auditUser" />
|
272 |
+
<settings pass="oobeSystem">
|
273 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
274 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
275 |
+
</component>
|
276 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
277 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
278 |
+
</component>
|
279 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
280 |
+
<UserAccounts>
|
281 |
+
<LocalAccounts>
|
282 |
+
<LocalAccount wcm:action="add">
|
283 |
+
<Name>Docker</Name>
|
284 |
+
<Group>Administrators</Group>
|
285 |
+
<Password>
|
286 |
+
<Value />
|
287 |
+
<PlainText>true</PlainText>
|
288 |
+
</Password>
|
289 |
+
</LocalAccount>
|
290 |
+
</LocalAccounts>
|
291 |
+
<AdministratorPassword>
|
292 |
+
<Value>password</Value>
|
293 |
+
<PlainText>true</PlainText>
|
294 |
+
</AdministratorPassword>
|
295 |
+
</UserAccounts>
|
296 |
+
<AutoLogon>
|
297 |
+
<Username>Docker</Username>
|
298 |
+
<Enabled>true</Enabled>
|
299 |
+
<LogonCount>65432</LogonCount>
|
300 |
+
<Password>
|
301 |
+
<Value />
|
302 |
+
<PlainText>true</PlainText>
|
303 |
+
</Password>
|
304 |
+
</AutoLogon>
|
305 |
+
<Display>
|
306 |
+
<ColorDepth>32</ColorDepth>
|
307 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
308 |
+
<VerticalResolution>1080</VerticalResolution>
|
309 |
+
</Display>
|
310 |
+
<OOBE>
|
311 |
+
<HideEULAPage>true</HideEULAPage>
|
312 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
313 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
314 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
315 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
316 |
+
<NetworkLocation>Home</NetworkLocation>
|
317 |
+
<ProtectYourPC>3</ProtectYourPC>
|
318 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
319 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
320 |
+
</OOBE>
|
321 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
322 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
323 |
+
<FirstLogonCommands>
|
324 |
+
<SynchronousCommand wcm:action="add">
|
325 |
+
<Order>1</Order>
|
326 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
327 |
+
<Description>Allow guest access to network shares</Description>
|
328 |
+
</SynchronousCommand>
|
329 |
+
<SynchronousCommand wcm:action="add">
|
330 |
+
<Order>2</Order>
|
331 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
332 |
+
<Description>Allow RDP login with blank password</Description>
|
333 |
+
</SynchronousCommand>
|
334 |
+
<SynchronousCommand wcm:action="add">
|
335 |
+
<Order>3</Order>
|
336 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
337 |
+
<Description>Enable option for passwordless sign-in</Description>
|
338 |
+
</SynchronousCommand>
|
339 |
+
<SynchronousCommand wcm:action="add">
|
340 |
+
<Order>4</Order>
|
341 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
342 |
+
<Description>Password Never Expires</Description>
|
343 |
+
</SynchronousCommand>
|
344 |
+
<SynchronousCommand wcm:action="add">
|
345 |
+
<Order>5</Order>
|
346 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
347 |
+
<Description>Disable Hibernation</Description>
|
348 |
+
</SynchronousCommand>
|
349 |
+
<SynchronousCommand wcm:action="add">
|
350 |
+
<Order>6</Order>
|
351 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
352 |
+
<Description>Disable monitor blanking</Description>
|
353 |
+
</SynchronousCommand>
|
354 |
+
<SynchronousCommand wcm:action="add">
|
355 |
+
<Order>7</Order>
|
356 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
357 |
+
<Description>Disable first-run experience in Edge</Description>
|
358 |
+
</SynchronousCommand>
|
359 |
+
<SynchronousCommand wcm:action="add">
|
360 |
+
<Order>8</Order>
|
361 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
362 |
+
<Description>Show file extensions in Explorer</Description>
|
363 |
+
</SynchronousCommand>
|
364 |
+
<SynchronousCommand wcm:action="add">
|
365 |
+
<Order>9</Order>
|
366 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
367 |
+
<Description>Zero Hibernation File</Description>
|
368 |
+
</SynchronousCommand>
|
369 |
+
<SynchronousCommand wcm:action="add">
|
370 |
+
<Order>10</Order>
|
371 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
372 |
+
<Description>Disable Hibernation</Description>
|
373 |
+
</SynchronousCommand>
|
374 |
+
<SynchronousCommand wcm:action="add">
|
375 |
+
<Order>11</Order>
|
376 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
377 |
+
<Description>Disable Sleep</Description>
|
378 |
+
</SynchronousCommand>
|
379 |
+
<SynchronousCommand wcm:action="add">
|
380 |
+
<Order>12</Order>
|
381 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
382 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
383 |
+
</SynchronousCommand>
|
384 |
+
<SynchronousCommand wcm:action="add">
|
385 |
+
<Order>13</Order>
|
386 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
387 |
+
<Description>Remove Search from the Taskbar</Description>
|
388 |
+
</SynchronousCommand>
|
389 |
+
<SynchronousCommand wcm:action="add">
|
390 |
+
<Order>14</Order>
|
391 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
392 |
+
<Description>Remove Task View from the Taskbar</Description>
|
393 |
+
</SynchronousCommand>
|
394 |
+
<SynchronousCommand wcm:action="add">
|
395 |
+
<Order>15</Order>
|
396 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
397 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
398 |
+
</SynchronousCommand>
|
399 |
+
<SynchronousCommand wcm:action="add">
|
400 |
+
<Order>16</Order>
|
401 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
402 |
+
<Description>Remove Chat from the Taskbar</Description>
|
403 |
+
</SynchronousCommand>
|
404 |
+
<SynchronousCommand wcm:action="add">
|
405 |
+
<Order>17</Order>
|
406 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
407 |
+
<Description>Turn off Windows Update auto download</Description>
|
408 |
+
</SynchronousCommand>
|
409 |
+
<SynchronousCommand wcm:action="add">
|
410 |
+
<Order>18</Order>
|
411 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
412 |
+
<Description>Enable Network Discovery</Description>
|
413 |
+
</SynchronousCommand>
|
414 |
+
<SynchronousCommand wcm:action="add">
|
415 |
+
<Order>19</Order>
|
416 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
417 |
+
<Description>Enable File Sharing</Description>
|
418 |
+
</SynchronousCommand>
|
419 |
+
<SynchronousCommand wcm:action="add">
|
420 |
+
<Order>20</Order>
|
421 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
422 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
423 |
+
</SynchronousCommand>
|
424 |
+
</FirstLogonCommands>
|
425 |
+
</component>
|
426 |
+
</settings>
|
427 |
+
</unattend>
|
assets/win11x64-enterprise-eval.xml
ADDED
@@ -0,0 +1,462 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
</UserData>
|
84 |
+
<EnableFirewall>false</EnableFirewall>
|
85 |
+
<Diagnostics>
|
86 |
+
<OptIn>false</OptIn>
|
87 |
+
</Diagnostics>
|
88 |
+
<RunSynchronous>
|
89 |
+
<RunSynchronousCommand wcm:action="add">
|
90 |
+
<Order>1</Order>
|
91 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
92 |
+
</RunSynchronousCommand>
|
93 |
+
<RunSynchronousCommand wcm:action="add">
|
94 |
+
<Order>2</Order>
|
95 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
96 |
+
</RunSynchronousCommand>
|
97 |
+
<RunSynchronousCommand wcm:action="add">
|
98 |
+
<Order>3</Order>
|
99 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
100 |
+
</RunSynchronousCommand>
|
101 |
+
<RunSynchronousCommand wcm:action="add">
|
102 |
+
<Order>4</Order>
|
103 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
|
104 |
+
</RunSynchronousCommand>
|
105 |
+
</RunSynchronous>
|
106 |
+
</component>
|
107 |
+
</settings>
|
108 |
+
<settings pass="offlineServicing">
|
109 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
110 |
+
<EnableLUA>false</EnableLUA>
|
111 |
+
</component>
|
112 |
+
</settings>
|
113 |
+
<settings pass="generalize">
|
114 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
115 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
116 |
+
</component>
|
117 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
118 |
+
<SkipRearm>1</SkipRearm>
|
119 |
+
</component>
|
120 |
+
</settings>
|
121 |
+
<settings pass="specialize">
|
122 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
124 |
+
</component>
|
125 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<ComputerName>*</ComputerName>
|
127 |
+
<OEMInformation>
|
128 |
+
<Manufacturer>Dockur</Manufacturer>
|
129 |
+
<Model>Windows for Docker</Model>
|
130 |
+
<SupportHours>24/7</SupportHours>
|
131 |
+
<SupportPhone />
|
132 |
+
<SupportProvider>Dockur</SupportProvider>
|
133 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
134 |
+
</OEMInformation>
|
135 |
+
<OEMName>Windows for Docker</OEMName>
|
136 |
+
</component>
|
137 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
138 |
+
<DisableWER>1</DisableWER>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableAccelerators>true</DisableAccelerators>
|
142 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
143 |
+
<Home_Page>https://google.com</Home_Page>
|
144 |
+
<Help_Page>about:blank</Help_Page>
|
145 |
+
</component>
|
146 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<DisableAccelerators>true</DisableAccelerators>
|
148 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
149 |
+
<Home_Page>https://google.com</Home_Page>
|
150 |
+
<Help_Page>about:blank</Help_Page>
|
151 |
+
</component>
|
152 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
153 |
+
<CEIPEnabled>0</CEIPEnabled>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<DisableSR>1</DisableSR>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<InputLocale>0409:00000409</InputLocale>
|
160 |
+
<SystemLocale>en-US</SystemLocale>
|
161 |
+
<UILanguage>en-US</UILanguage>
|
162 |
+
<UserLocale>en-US</UserLocale>
|
163 |
+
</component>
|
164 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
165 |
+
<RunSynchronous>
|
166 |
+
<RunSynchronousCommand wcm:action="add">
|
167 |
+
<Order>1</Order>
|
168 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
169 |
+
</RunSynchronousCommand>
|
170 |
+
<RunSynchronousCommand wcm:action="add">
|
171 |
+
<Order>2</Order>
|
172 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
173 |
+
</RunSynchronousCommand>
|
174 |
+
<RunSynchronousCommand wcm:action="add">
|
175 |
+
<Order>3</Order>
|
176 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
177 |
+
</RunSynchronousCommand>
|
178 |
+
<RunSynchronousCommand wcm:action="add">
|
179 |
+
<Order>4</Order>
|
180 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
181 |
+
</RunSynchronousCommand>
|
182 |
+
<RunSynchronousCommand wcm:action="add">
|
183 |
+
<Order>5</Order>
|
184 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
185 |
+
</RunSynchronousCommand>
|
186 |
+
<RunSynchronousCommand wcm:action="add">
|
187 |
+
<Order>6</Order>
|
188 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
189 |
+
</RunSynchronousCommand>
|
190 |
+
<RunSynchronousCommand wcm:action="add">
|
191 |
+
<Order>7</Order>
|
192 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
193 |
+
</RunSynchronousCommand>
|
194 |
+
<RunSynchronousCommand wcm:action="add">
|
195 |
+
<Order>8</Order>
|
196 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
197 |
+
</RunSynchronousCommand>
|
198 |
+
<RunSynchronousCommand wcm:action="add">
|
199 |
+
<Order>9</Order>
|
200 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
201 |
+
</RunSynchronousCommand>
|
202 |
+
<RunSynchronousCommand wcm:action="add">
|
203 |
+
<Order>10</Order>
|
204 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
205 |
+
</RunSynchronousCommand>
|
206 |
+
<RunSynchronousCommand wcm:action="add">
|
207 |
+
<Order>11</Order>
|
208 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
209 |
+
</RunSynchronousCommand>
|
210 |
+
<RunSynchronousCommand wcm:action="add">
|
211 |
+
<Order>12</Order>
|
212 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
213 |
+
</RunSynchronousCommand>
|
214 |
+
<RunSynchronousCommand wcm:action="add">
|
215 |
+
<Order>13</Order>
|
216 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
217 |
+
</RunSynchronousCommand>
|
218 |
+
<RunSynchronousCommand wcm:action="add">
|
219 |
+
<Order>14</Order>
|
220 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
221 |
+
</RunSynchronousCommand>
|
222 |
+
<RunSynchronousCommand wcm:action="add">
|
223 |
+
<Order>15</Order>
|
224 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
225 |
+
</RunSynchronousCommand>
|
226 |
+
<RunSynchronousCommand wcm:action="add">
|
227 |
+
<Order>16</Order>
|
228 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
229 |
+
</RunSynchronousCommand>
|
230 |
+
<RunSynchronousCommand wcm:action="add">
|
231 |
+
<Order>17</Order>
|
232 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
233 |
+
</RunSynchronousCommand>
|
234 |
+
<RunSynchronousCommand wcm:action="add">
|
235 |
+
<Order>18</Order>
|
236 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
237 |
+
</RunSynchronousCommand>
|
238 |
+
<RunSynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
241 |
+
</RunSynchronousCommand>
|
242 |
+
<RunSynchronousCommand wcm:action="add">
|
243 |
+
<Order>20</Order>
|
244 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
245 |
+
</RunSynchronousCommand>
|
246 |
+
<RunSynchronousCommand wcm:action="add">
|
247 |
+
<Order>21</Order>
|
248 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
249 |
+
</RunSynchronousCommand>
|
250 |
+
<RunSynchronousCommand wcm:action="add">
|
251 |
+
<Order>22</Order>
|
252 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
253 |
+
</RunSynchronousCommand>
|
254 |
+
<RunSynchronousCommand wcm:action="add">
|
255 |
+
<Order>23</Order>
|
256 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
257 |
+
</RunSynchronousCommand>
|
258 |
+
<RunSynchronousCommand wcm:action="add">
|
259 |
+
<Order>24</Order>
|
260 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
261 |
+
</RunSynchronousCommand>
|
262 |
+
<RunSynchronousCommand wcm:action="add">
|
263 |
+
<Order>25</Order>
|
264 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
265 |
+
<Description>Set Network Location to Home</Description>
|
266 |
+
</RunSynchronousCommand>
|
267 |
+
</RunSynchronous>
|
268 |
+
</component>
|
269 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
270 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
271 |
+
</component>
|
272 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
273 |
+
<UserAuthentication>0</UserAuthentication>
|
274 |
+
</component>
|
275 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
276 |
+
<FirewallGroups>
|
277 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
278 |
+
<Active>true</Active>
|
279 |
+
<Profile>all</Profile>
|
280 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
281 |
+
</FirewallGroup>
|
282 |
+
</FirewallGroups>
|
283 |
+
</component>
|
284 |
+
</settings>
|
285 |
+
<settings pass="auditSystem" />
|
286 |
+
<settings pass="auditUser" />
|
287 |
+
<settings pass="oobeSystem">
|
288 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
289 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
290 |
+
</component>
|
291 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
292 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
293 |
+
</component>
|
294 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
295 |
+
<UserAccounts>
|
296 |
+
<LocalAccounts>
|
297 |
+
<LocalAccount wcm:action="add">
|
298 |
+
<Name>Docker</Name>
|
299 |
+
<Group>Administrators</Group>
|
300 |
+
<Password>
|
301 |
+
<Value />
|
302 |
+
<PlainText>true</PlainText>
|
303 |
+
</Password>
|
304 |
+
</LocalAccount>
|
305 |
+
</LocalAccounts>
|
306 |
+
<AdministratorPassword>
|
307 |
+
<Value>password</Value>
|
308 |
+
<PlainText>true</PlainText>
|
309 |
+
</AdministratorPassword>
|
310 |
+
</UserAccounts>
|
311 |
+
<AutoLogon>
|
312 |
+
<Username>Docker</Username>
|
313 |
+
<Enabled>true</Enabled>
|
314 |
+
<LogonCount>65432</LogonCount>
|
315 |
+
<Password>
|
316 |
+
<Value />
|
317 |
+
<PlainText>true</PlainText>
|
318 |
+
</Password>
|
319 |
+
</AutoLogon>
|
320 |
+
<Display>
|
321 |
+
<ColorDepth>32</ColorDepth>
|
322 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
323 |
+
<VerticalResolution>1080</VerticalResolution>
|
324 |
+
</Display>
|
325 |
+
<OOBE>
|
326 |
+
<HideEULAPage>true</HideEULAPage>
|
327 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
328 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
329 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
330 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
331 |
+
<NetworkLocation>Home</NetworkLocation>
|
332 |
+
<ProtectYourPC>3</ProtectYourPC>
|
333 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
334 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
335 |
+
</OOBE>
|
336 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
337 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
338 |
+
<FirstLogonCommands>
|
339 |
+
<SynchronousCommand wcm:action="add">
|
340 |
+
<Order>1</Order>
|
341 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
342 |
+
<Description>Allow guest access to network shares</Description>
|
343 |
+
</SynchronousCommand>
|
344 |
+
<SynchronousCommand wcm:action="add">
|
345 |
+
<Order>2</Order>
|
346 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
347 |
+
<Description>Disable SMB signing requirement</Description>
|
348 |
+
</SynchronousCommand>
|
349 |
+
<SynchronousCommand wcm:action="add">
|
350 |
+
<Order>3</Order>
|
351 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
352 |
+
<Description>Allow RDP login with blank password</Description>
|
353 |
+
</SynchronousCommand>
|
354 |
+
<SynchronousCommand wcm:action="add">
|
355 |
+
<Order>4</Order>
|
356 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
357 |
+
<Description>Enable option for passwordless sign-in</Description>
|
358 |
+
</SynchronousCommand>
|
359 |
+
<SynchronousCommand wcm:action="add">
|
360 |
+
<Order>5</Order>
|
361 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
362 |
+
<Description>Password Never Expires</Description>
|
363 |
+
</SynchronousCommand>
|
364 |
+
<SynchronousCommand wcm:action="add">
|
365 |
+
<Order>6</Order>
|
366 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
367 |
+
<Description>Disable Hibernation</Description>
|
368 |
+
</SynchronousCommand>
|
369 |
+
<SynchronousCommand wcm:action="add">
|
370 |
+
<Order>7</Order>
|
371 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
372 |
+
<Description>Disable monitor blanking</Description>
|
373 |
+
</SynchronousCommand>
|
374 |
+
<SynchronousCommand wcm:action="add">
|
375 |
+
<Order>8</Order>
|
376 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
377 |
+
<Description>Disable first-run experience in Edge</Description>
|
378 |
+
</SynchronousCommand>
|
379 |
+
<SynchronousCommand wcm:action="add">
|
380 |
+
<Order>9</Order>
|
381 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
382 |
+
<Description>Show file extensions in Explorer</Description>
|
383 |
+
</SynchronousCommand>
|
384 |
+
<SynchronousCommand wcm:action="add">
|
385 |
+
<Order>10</Order>
|
386 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
387 |
+
<Description>Zero Hibernation File</Description>
|
388 |
+
</SynchronousCommand>
|
389 |
+
<SynchronousCommand wcm:action="add">
|
390 |
+
<Order>11</Order>
|
391 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
392 |
+
<Description>Disable Hibernation</Description>
|
393 |
+
</SynchronousCommand>
|
394 |
+
<SynchronousCommand wcm:action="add">
|
395 |
+
<Order>12</Order>
|
396 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
397 |
+
<Description>Disable Sleep</Description>
|
398 |
+
</SynchronousCommand>
|
399 |
+
<SynchronousCommand wcm:action="add">
|
400 |
+
<Order>13</Order>
|
401 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
402 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
403 |
+
</SynchronousCommand>
|
404 |
+
<SynchronousCommand wcm:action="add">
|
405 |
+
<Order>14</Order>
|
406 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
407 |
+
<Description>Remove Task View from the Taskbar</Description>
|
408 |
+
</SynchronousCommand>
|
409 |
+
<SynchronousCommand wcm:action="add">
|
410 |
+
<Order>15</Order>
|
411 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
412 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
413 |
+
</SynchronousCommand>
|
414 |
+
<SynchronousCommand wcm:action="add">
|
415 |
+
<Order>16</Order>
|
416 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
417 |
+
<Description>Remove Chat from the Taskbar</Description>
|
418 |
+
</SynchronousCommand>
|
419 |
+
<SynchronousCommand wcm:action="add">
|
420 |
+
<Order>17</Order>
|
421 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
422 |
+
<Description>Turn off Windows Update auto download</Description>
|
423 |
+
</SynchronousCommand>
|
424 |
+
<SynchronousCommand wcm:action="add">
|
425 |
+
<Order>18</Order>
|
426 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
427 |
+
<Description>Enable Network Discovery</Description>
|
428 |
+
</SynchronousCommand>
|
429 |
+
<SynchronousCommand wcm:action="add">
|
430 |
+
<Order>19</Order>
|
431 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
432 |
+
<Description>Enable File Sharing</Description>
|
433 |
+
</SynchronousCommand>
|
434 |
+
<SynchronousCommand wcm:action="add">
|
435 |
+
<Order>20</Order>
|
436 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
|
437 |
+
<Description>Disable unsupported hardware notifications</Description>
|
438 |
+
</SynchronousCommand>
|
439 |
+
<SynchronousCommand wcm:action="add">
|
440 |
+
<Order>21</Order>
|
441 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
|
442 |
+
<Description>Disable unsupported hardware notifications</Description>
|
443 |
+
</SynchronousCommand>
|
444 |
+
<SynchronousCommand wcm:action="add">
|
445 |
+
<Order>22</Order>
|
446 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
447 |
+
<Description>Install VirtIO display driver</Description>
|
448 |
+
</SynchronousCommand>
|
449 |
+
<SynchronousCommand wcm:action="add">
|
450 |
+
<Order>23</Order>
|
451 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
452 |
+
<Description>Remove empty Windows.old folder</Description>
|
453 |
+
</SynchronousCommand>
|
454 |
+
<SynchronousCommand wcm:action="add">
|
455 |
+
<Order>24</Order>
|
456 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
457 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
458 |
+
</SynchronousCommand>
|
459 |
+
</FirstLogonCommands>
|
460 |
+
</component>
|
461 |
+
</settings>
|
462 |
+
</unattend>
|
assets/win11x64-enterprise.xml
ADDED
@@ -0,0 +1,466 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>NPPR9-FWDCX-D2C8J-H872K-2YT43</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
<RunSynchronous>
|
92 |
+
<RunSynchronousCommand wcm:action="add">
|
93 |
+
<Order>1</Order>
|
94 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
95 |
+
</RunSynchronousCommand>
|
96 |
+
<RunSynchronousCommand wcm:action="add">
|
97 |
+
<Order>2</Order>
|
98 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
99 |
+
</RunSynchronousCommand>
|
100 |
+
<RunSynchronousCommand wcm:action="add">
|
101 |
+
<Order>3</Order>
|
102 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
103 |
+
</RunSynchronousCommand>
|
104 |
+
<RunSynchronousCommand wcm:action="add">
|
105 |
+
<Order>4</Order>
|
106 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
|
107 |
+
</RunSynchronousCommand>
|
108 |
+
</RunSynchronous>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="offlineServicing">
|
112 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<EnableLUA>false</EnableLUA>
|
114 |
+
</component>
|
115 |
+
</settings>
|
116 |
+
<settings pass="generalize">
|
117 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
118 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
119 |
+
</component>
|
120 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
121 |
+
<SkipRearm>1</SkipRearm>
|
122 |
+
</component>
|
123 |
+
</settings>
|
124 |
+
<settings pass="specialize">
|
125 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<ComputerName>*</ComputerName>
|
130 |
+
<OEMInformation>
|
131 |
+
<Manufacturer>Dockur</Manufacturer>
|
132 |
+
<Model>Windows for Docker</Model>
|
133 |
+
<SupportHours>24/7</SupportHours>
|
134 |
+
<SupportPhone />
|
135 |
+
<SupportProvider>Dockur</SupportProvider>
|
136 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
137 |
+
</OEMInformation>
|
138 |
+
<OEMName>Windows for Docker</OEMName>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableWER>1</DisableWER>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<DisableAccelerators>true</DisableAccelerators>
|
145 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
146 |
+
<Home_Page>https://google.com</Home_Page>
|
147 |
+
<Help_Page>about:blank</Help_Page>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<DisableAccelerators>true</DisableAccelerators>
|
151 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
152 |
+
<Home_Page>https://google.com</Home_Page>
|
153 |
+
<Help_Page>about:blank</Help_Page>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<CEIPEnabled>0</CEIPEnabled>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<DisableSR>1</DisableSR>
|
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 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<RunSynchronous>
|
169 |
+
<RunSynchronousCommand wcm:action="add">
|
170 |
+
<Order>1</Order>
|
171 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
172 |
+
</RunSynchronousCommand>
|
173 |
+
<RunSynchronousCommand wcm:action="add">
|
174 |
+
<Order>2</Order>
|
175 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
176 |
+
</RunSynchronousCommand>
|
177 |
+
<RunSynchronousCommand wcm:action="add">
|
178 |
+
<Order>3</Order>
|
179 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
180 |
+
</RunSynchronousCommand>
|
181 |
+
<RunSynchronousCommand wcm:action="add">
|
182 |
+
<Order>4</Order>
|
183 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
184 |
+
</RunSynchronousCommand>
|
185 |
+
<RunSynchronousCommand wcm:action="add">
|
186 |
+
<Order>5</Order>
|
187 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
188 |
+
</RunSynchronousCommand>
|
189 |
+
<RunSynchronousCommand wcm:action="add">
|
190 |
+
<Order>6</Order>
|
191 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
192 |
+
</RunSynchronousCommand>
|
193 |
+
<RunSynchronousCommand wcm:action="add">
|
194 |
+
<Order>7</Order>
|
195 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
196 |
+
</RunSynchronousCommand>
|
197 |
+
<RunSynchronousCommand wcm:action="add">
|
198 |
+
<Order>8</Order>
|
199 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
200 |
+
</RunSynchronousCommand>
|
201 |
+
<RunSynchronousCommand wcm:action="add">
|
202 |
+
<Order>9</Order>
|
203 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
204 |
+
</RunSynchronousCommand>
|
205 |
+
<RunSynchronousCommand wcm:action="add">
|
206 |
+
<Order>10</Order>
|
207 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
208 |
+
</RunSynchronousCommand>
|
209 |
+
<RunSynchronousCommand wcm:action="add">
|
210 |
+
<Order>11</Order>
|
211 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
212 |
+
</RunSynchronousCommand>
|
213 |
+
<RunSynchronousCommand wcm:action="add">
|
214 |
+
<Order>12</Order>
|
215 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
216 |
+
</RunSynchronousCommand>
|
217 |
+
<RunSynchronousCommand wcm:action="add">
|
218 |
+
<Order>13</Order>
|
219 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
220 |
+
</RunSynchronousCommand>
|
221 |
+
<RunSynchronousCommand wcm:action="add">
|
222 |
+
<Order>14</Order>
|
223 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
224 |
+
</RunSynchronousCommand>
|
225 |
+
<RunSynchronousCommand wcm:action="add">
|
226 |
+
<Order>15</Order>
|
227 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
228 |
+
</RunSynchronousCommand>
|
229 |
+
<RunSynchronousCommand wcm:action="add">
|
230 |
+
<Order>16</Order>
|
231 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
232 |
+
</RunSynchronousCommand>
|
233 |
+
<RunSynchronousCommand wcm:action="add">
|
234 |
+
<Order>17</Order>
|
235 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
236 |
+
</RunSynchronousCommand>
|
237 |
+
<RunSynchronousCommand wcm:action="add">
|
238 |
+
<Order>18</Order>
|
239 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
240 |
+
</RunSynchronousCommand>
|
241 |
+
<RunSynchronousCommand wcm:action="add">
|
242 |
+
<Order>19</Order>
|
243 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
244 |
+
</RunSynchronousCommand>
|
245 |
+
<RunSynchronousCommand wcm:action="add">
|
246 |
+
<Order>20</Order>
|
247 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
248 |
+
</RunSynchronousCommand>
|
249 |
+
<RunSynchronousCommand wcm:action="add">
|
250 |
+
<Order>21</Order>
|
251 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
252 |
+
</RunSynchronousCommand>
|
253 |
+
<RunSynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
256 |
+
</RunSynchronousCommand>
|
257 |
+
<RunSynchronousCommand wcm:action="add">
|
258 |
+
<Order>23</Order>
|
259 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
260 |
+
</RunSynchronousCommand>
|
261 |
+
<RunSynchronousCommand wcm:action="add">
|
262 |
+
<Order>24</Order>
|
263 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
264 |
+
</RunSynchronousCommand>
|
265 |
+
<RunSynchronousCommand wcm:action="add">
|
266 |
+
<Order>25</Order>
|
267 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
268 |
+
<Description>Set Network Location to Home</Description>
|
269 |
+
</RunSynchronousCommand>
|
270 |
+
</RunSynchronous>
|
271 |
+
</component>
|
272 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
273 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
274 |
+
</component>
|
275 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
276 |
+
<UserAuthentication>0</UserAuthentication>
|
277 |
+
</component>
|
278 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
279 |
+
<FirewallGroups>
|
280 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
281 |
+
<Active>true</Active>
|
282 |
+
<Profile>all</Profile>
|
283 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
284 |
+
</FirewallGroup>
|
285 |
+
</FirewallGroups>
|
286 |
+
</component>
|
287 |
+
</settings>
|
288 |
+
<settings pass="auditSystem" />
|
289 |
+
<settings pass="auditUser" />
|
290 |
+
<settings pass="oobeSystem">
|
291 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
292 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
293 |
+
</component>
|
294 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
295 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
296 |
+
</component>
|
297 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
298 |
+
<UserAccounts>
|
299 |
+
<LocalAccounts>
|
300 |
+
<LocalAccount wcm:action="add">
|
301 |
+
<Name>Docker</Name>
|
302 |
+
<Group>Administrators</Group>
|
303 |
+
<Password>
|
304 |
+
<Value />
|
305 |
+
<PlainText>true</PlainText>
|
306 |
+
</Password>
|
307 |
+
</LocalAccount>
|
308 |
+
</LocalAccounts>
|
309 |
+
<AdministratorPassword>
|
310 |
+
<Value>password</Value>
|
311 |
+
<PlainText>true</PlainText>
|
312 |
+
</AdministratorPassword>
|
313 |
+
</UserAccounts>
|
314 |
+
<AutoLogon>
|
315 |
+
<Username>Docker</Username>
|
316 |
+
<Enabled>true</Enabled>
|
317 |
+
<LogonCount>65432</LogonCount>
|
318 |
+
<Password>
|
319 |
+
<Value />
|
320 |
+
<PlainText>true</PlainText>
|
321 |
+
</Password>
|
322 |
+
</AutoLogon>
|
323 |
+
<Display>
|
324 |
+
<ColorDepth>32</ColorDepth>
|
325 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
326 |
+
<VerticalResolution>1080</VerticalResolution>
|
327 |
+
</Display>
|
328 |
+
<OOBE>
|
329 |
+
<HideEULAPage>true</HideEULAPage>
|
330 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
331 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
332 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
333 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
334 |
+
<NetworkLocation>Home</NetworkLocation>
|
335 |
+
<ProtectYourPC>3</ProtectYourPC>
|
336 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
337 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
338 |
+
</OOBE>
|
339 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
340 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
341 |
+
<FirstLogonCommands>
|
342 |
+
<SynchronousCommand wcm:action="add">
|
343 |
+
<Order>1</Order>
|
344 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
345 |
+
<Description>Allow guest access to network shares</Description>
|
346 |
+
</SynchronousCommand>
|
347 |
+
<SynchronousCommand wcm:action="add">
|
348 |
+
<Order>2</Order>
|
349 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
350 |
+
<Description>Disable SMB signing requirement</Description>
|
351 |
+
</SynchronousCommand>
|
352 |
+
<SynchronousCommand wcm:action="add">
|
353 |
+
<Order>3</Order>
|
354 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
355 |
+
<Description>Allow RDP login with blank password</Description>
|
356 |
+
</SynchronousCommand>
|
357 |
+
<SynchronousCommand wcm:action="add">
|
358 |
+
<Order>4</Order>
|
359 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
360 |
+
<Description>Enable option for passwordless sign-in</Description>
|
361 |
+
</SynchronousCommand>
|
362 |
+
<SynchronousCommand wcm:action="add">
|
363 |
+
<Order>5</Order>
|
364 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
365 |
+
<Description>Password Never Expires</Description>
|
366 |
+
</SynchronousCommand>
|
367 |
+
<SynchronousCommand wcm:action="add">
|
368 |
+
<Order>6</Order>
|
369 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
370 |
+
<Description>Disable Hibernation</Description>
|
371 |
+
</SynchronousCommand>
|
372 |
+
<SynchronousCommand wcm:action="add">
|
373 |
+
<Order>7</Order>
|
374 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
375 |
+
<Description>Disable monitor blanking</Description>
|
376 |
+
</SynchronousCommand>
|
377 |
+
<SynchronousCommand wcm:action="add">
|
378 |
+
<Order>8</Order>
|
379 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
380 |
+
<Description>Disable first-run experience in Edge</Description>
|
381 |
+
</SynchronousCommand>
|
382 |
+
<SynchronousCommand wcm:action="add">
|
383 |
+
<Order>9</Order>
|
384 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
385 |
+
<Description>Show file extensions in Explorer</Description>
|
386 |
+
</SynchronousCommand>
|
387 |
+
<SynchronousCommand wcm:action="add">
|
388 |
+
<Order>10</Order>
|
389 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
390 |
+
<Description>Zero Hibernation File</Description>
|
391 |
+
</SynchronousCommand>
|
392 |
+
<SynchronousCommand wcm:action="add">
|
393 |
+
<Order>11</Order>
|
394 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
395 |
+
<Description>Disable Hibernation</Description>
|
396 |
+
</SynchronousCommand>
|
397 |
+
<SynchronousCommand wcm:action="add">
|
398 |
+
<Order>12</Order>
|
399 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
400 |
+
<Description>Disable Sleep</Description>
|
401 |
+
</SynchronousCommand>
|
402 |
+
<SynchronousCommand wcm:action="add">
|
403 |
+
<Order>13</Order>
|
404 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
405 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
406 |
+
</SynchronousCommand>
|
407 |
+
<SynchronousCommand wcm:action="add">
|
408 |
+
<Order>14</Order>
|
409 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
410 |
+
<Description>Remove Task View from the Taskbar</Description>
|
411 |
+
</SynchronousCommand>
|
412 |
+
<SynchronousCommand wcm:action="add">
|
413 |
+
<Order>15</Order>
|
414 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
415 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
416 |
+
</SynchronousCommand>
|
417 |
+
<SynchronousCommand wcm:action="add">
|
418 |
+
<Order>16</Order>
|
419 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
420 |
+
<Description>Remove Chat from the Taskbar</Description>
|
421 |
+
</SynchronousCommand>
|
422 |
+
<SynchronousCommand wcm:action="add">
|
423 |
+
<Order>17</Order>
|
424 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
425 |
+
<Description>Turn off Windows Update auto download</Description>
|
426 |
+
</SynchronousCommand>
|
427 |
+
<SynchronousCommand wcm:action="add">
|
428 |
+
<Order>18</Order>
|
429 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
430 |
+
<Description>Enable Network Discovery</Description>
|
431 |
+
</SynchronousCommand>
|
432 |
+
<SynchronousCommand wcm:action="add">
|
433 |
+
<Order>19</Order>
|
434 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
435 |
+
<Description>Enable File Sharing</Description>
|
436 |
+
</SynchronousCommand>
|
437 |
+
<SynchronousCommand wcm:action="add">
|
438 |
+
<Order>20</Order>
|
439 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
|
440 |
+
<Description>Disable unsupported hardware notifications</Description>
|
441 |
+
</SynchronousCommand>
|
442 |
+
<SynchronousCommand wcm:action="add">
|
443 |
+
<Order>21</Order>
|
444 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
|
445 |
+
<Description>Disable unsupported hardware notifications</Description>
|
446 |
+
</SynchronousCommand>
|
447 |
+
<SynchronousCommand wcm:action="add">
|
448 |
+
<Order>22</Order>
|
449 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
450 |
+
<Description>Install VirtIO display driver</Description>
|
451 |
+
</SynchronousCommand>
|
452 |
+
<SynchronousCommand wcm:action="add">
|
453 |
+
<Order>23</Order>
|
454 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
455 |
+
<Description>Remove empty Windows.old folder</Description>
|
456 |
+
</SynchronousCommand>
|
457 |
+
<SynchronousCommand wcm:action="add">
|
458 |
+
<Order>24</Order>
|
459 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
460 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
461 |
+
</SynchronousCommand>
|
462 |
+
</FirstLogonCommands>
|
463 |
+
</component>
|
464 |
+
</settings>
|
465 |
+
</unattend>
|
466 |
+
|
assets/win11x64-iot.xml
ADDED
@@ -0,0 +1,465 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>CGK42-GYN6Y-VD22B-BX98W-J8JXD</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
<RunSynchronous>
|
92 |
+
<RunSynchronousCommand wcm:action="add">
|
93 |
+
<Order>1</Order>
|
94 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
95 |
+
</RunSynchronousCommand>
|
96 |
+
<RunSynchronousCommand wcm:action="add">
|
97 |
+
<Order>2</Order>
|
98 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
99 |
+
</RunSynchronousCommand>
|
100 |
+
<RunSynchronousCommand wcm:action="add">
|
101 |
+
<Order>3</Order>
|
102 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
103 |
+
</RunSynchronousCommand>
|
104 |
+
<RunSynchronousCommand wcm:action="add">
|
105 |
+
<Order>4</Order>
|
106 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
|
107 |
+
</RunSynchronousCommand>
|
108 |
+
</RunSynchronous>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="offlineServicing">
|
112 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<EnableLUA>false</EnableLUA>
|
114 |
+
</component>
|
115 |
+
</settings>
|
116 |
+
<settings pass="generalize">
|
117 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
118 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
119 |
+
</component>
|
120 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
121 |
+
<SkipRearm>1</SkipRearm>
|
122 |
+
</component>
|
123 |
+
</settings>
|
124 |
+
<settings pass="specialize">
|
125 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<ComputerName>*</ComputerName>
|
130 |
+
<OEMInformation>
|
131 |
+
<Manufacturer>Dockur</Manufacturer>
|
132 |
+
<Model>Windows for Docker</Model>
|
133 |
+
<SupportHours>24/7</SupportHours>
|
134 |
+
<SupportPhone />
|
135 |
+
<SupportProvider>Dockur</SupportProvider>
|
136 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
137 |
+
</OEMInformation>
|
138 |
+
<OEMName>Windows for Docker</OEMName>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableWER>1</DisableWER>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<DisableAccelerators>true</DisableAccelerators>
|
145 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
146 |
+
<Home_Page>https://google.com</Home_Page>
|
147 |
+
<Help_Page>about:blank</Help_Page>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<DisableAccelerators>true</DisableAccelerators>
|
151 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
152 |
+
<Home_Page>https://google.com</Home_Page>
|
153 |
+
<Help_Page>about:blank</Help_Page>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<CEIPEnabled>0</CEIPEnabled>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<DisableSR>1</DisableSR>
|
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 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<RunSynchronous>
|
169 |
+
<RunSynchronousCommand wcm:action="add">
|
170 |
+
<Order>1</Order>
|
171 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
172 |
+
</RunSynchronousCommand>
|
173 |
+
<RunSynchronousCommand wcm:action="add">
|
174 |
+
<Order>2</Order>
|
175 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
176 |
+
</RunSynchronousCommand>
|
177 |
+
<RunSynchronousCommand wcm:action="add">
|
178 |
+
<Order>3</Order>
|
179 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
180 |
+
</RunSynchronousCommand>
|
181 |
+
<RunSynchronousCommand wcm:action="add">
|
182 |
+
<Order>4</Order>
|
183 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
184 |
+
</RunSynchronousCommand>
|
185 |
+
<RunSynchronousCommand wcm:action="add">
|
186 |
+
<Order>5</Order>
|
187 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
188 |
+
</RunSynchronousCommand>
|
189 |
+
<RunSynchronousCommand wcm:action="add">
|
190 |
+
<Order>6</Order>
|
191 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
192 |
+
</RunSynchronousCommand>
|
193 |
+
<RunSynchronousCommand wcm:action="add">
|
194 |
+
<Order>7</Order>
|
195 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
196 |
+
</RunSynchronousCommand>
|
197 |
+
<RunSynchronousCommand wcm:action="add">
|
198 |
+
<Order>8</Order>
|
199 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
200 |
+
</RunSynchronousCommand>
|
201 |
+
<RunSynchronousCommand wcm:action="add">
|
202 |
+
<Order>9</Order>
|
203 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
204 |
+
</RunSynchronousCommand>
|
205 |
+
<RunSynchronousCommand wcm:action="add">
|
206 |
+
<Order>10</Order>
|
207 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
208 |
+
</RunSynchronousCommand>
|
209 |
+
<RunSynchronousCommand wcm:action="add">
|
210 |
+
<Order>11</Order>
|
211 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
212 |
+
</RunSynchronousCommand>
|
213 |
+
<RunSynchronousCommand wcm:action="add">
|
214 |
+
<Order>12</Order>
|
215 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
216 |
+
</RunSynchronousCommand>
|
217 |
+
<RunSynchronousCommand wcm:action="add">
|
218 |
+
<Order>13</Order>
|
219 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
220 |
+
</RunSynchronousCommand>
|
221 |
+
<RunSynchronousCommand wcm:action="add">
|
222 |
+
<Order>14</Order>
|
223 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
224 |
+
</RunSynchronousCommand>
|
225 |
+
<RunSynchronousCommand wcm:action="add">
|
226 |
+
<Order>15</Order>
|
227 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
228 |
+
</RunSynchronousCommand>
|
229 |
+
<RunSynchronousCommand wcm:action="add">
|
230 |
+
<Order>16</Order>
|
231 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
232 |
+
</RunSynchronousCommand>
|
233 |
+
<RunSynchronousCommand wcm:action="add">
|
234 |
+
<Order>17</Order>
|
235 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
236 |
+
</RunSynchronousCommand>
|
237 |
+
<RunSynchronousCommand wcm:action="add">
|
238 |
+
<Order>18</Order>
|
239 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
240 |
+
</RunSynchronousCommand>
|
241 |
+
<RunSynchronousCommand wcm:action="add">
|
242 |
+
<Order>19</Order>
|
243 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
244 |
+
</RunSynchronousCommand>
|
245 |
+
<RunSynchronousCommand wcm:action="add">
|
246 |
+
<Order>20</Order>
|
247 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
248 |
+
</RunSynchronousCommand>
|
249 |
+
<RunSynchronousCommand wcm:action="add">
|
250 |
+
<Order>21</Order>
|
251 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
252 |
+
</RunSynchronousCommand>
|
253 |
+
<RunSynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
256 |
+
</RunSynchronousCommand>
|
257 |
+
<RunSynchronousCommand wcm:action="add">
|
258 |
+
<Order>23</Order>
|
259 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
260 |
+
</RunSynchronousCommand>
|
261 |
+
<RunSynchronousCommand wcm:action="add">
|
262 |
+
<Order>24</Order>
|
263 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
264 |
+
</RunSynchronousCommand>
|
265 |
+
<RunSynchronousCommand wcm:action="add">
|
266 |
+
<Order>25</Order>
|
267 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
268 |
+
<Description>Set Network Location to Home</Description>
|
269 |
+
</RunSynchronousCommand>
|
270 |
+
</RunSynchronous>
|
271 |
+
</component>
|
272 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
273 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
274 |
+
</component>
|
275 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
276 |
+
<UserAuthentication>0</UserAuthentication>
|
277 |
+
</component>
|
278 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
279 |
+
<FirewallGroups>
|
280 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
281 |
+
<Active>true</Active>
|
282 |
+
<Profile>all</Profile>
|
283 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
284 |
+
</FirewallGroup>
|
285 |
+
</FirewallGroups>
|
286 |
+
</component>
|
287 |
+
</settings>
|
288 |
+
<settings pass="auditSystem" />
|
289 |
+
<settings pass="auditUser" />
|
290 |
+
<settings pass="oobeSystem">
|
291 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
292 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
293 |
+
</component>
|
294 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
295 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
296 |
+
</component>
|
297 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
298 |
+
<UserAccounts>
|
299 |
+
<LocalAccounts>
|
300 |
+
<LocalAccount wcm:action="add">
|
301 |
+
<Name>Docker</Name>
|
302 |
+
<Group>Administrators</Group>
|
303 |
+
<Password>
|
304 |
+
<Value />
|
305 |
+
<PlainText>true</PlainText>
|
306 |
+
</Password>
|
307 |
+
</LocalAccount>
|
308 |
+
</LocalAccounts>
|
309 |
+
<AdministratorPassword>
|
310 |
+
<Value>password</Value>
|
311 |
+
<PlainText>true</PlainText>
|
312 |
+
</AdministratorPassword>
|
313 |
+
</UserAccounts>
|
314 |
+
<AutoLogon>
|
315 |
+
<Username>Docker</Username>
|
316 |
+
<Enabled>true</Enabled>
|
317 |
+
<LogonCount>65432</LogonCount>
|
318 |
+
<Password>
|
319 |
+
<Value />
|
320 |
+
<PlainText>true</PlainText>
|
321 |
+
</Password>
|
322 |
+
</AutoLogon>
|
323 |
+
<Display>
|
324 |
+
<ColorDepth>32</ColorDepth>
|
325 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
326 |
+
<VerticalResolution>1080</VerticalResolution>
|
327 |
+
</Display>
|
328 |
+
<OOBE>
|
329 |
+
<HideEULAPage>true</HideEULAPage>
|
330 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
331 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
332 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
333 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
334 |
+
<NetworkLocation>Home</NetworkLocation>
|
335 |
+
<ProtectYourPC>3</ProtectYourPC>
|
336 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
337 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
338 |
+
</OOBE>
|
339 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
340 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
341 |
+
<FirstLogonCommands>
|
342 |
+
<SynchronousCommand wcm:action="add">
|
343 |
+
<Order>1</Order>
|
344 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
345 |
+
<Description>Allow guest access to network shares</Description>
|
346 |
+
</SynchronousCommand>
|
347 |
+
<SynchronousCommand wcm:action="add">
|
348 |
+
<Order>2</Order>
|
349 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
350 |
+
<Description>Disable SMB signing requirement</Description>
|
351 |
+
</SynchronousCommand>
|
352 |
+
<SynchronousCommand wcm:action="add">
|
353 |
+
<Order>3</Order>
|
354 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
355 |
+
<Description>Allow RDP login with blank password</Description>
|
356 |
+
</SynchronousCommand>
|
357 |
+
<SynchronousCommand wcm:action="add">
|
358 |
+
<Order>4</Order>
|
359 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
360 |
+
<Description>Enable option for passwordless sign-in</Description>
|
361 |
+
</SynchronousCommand>
|
362 |
+
<SynchronousCommand wcm:action="add">
|
363 |
+
<Order>5</Order>
|
364 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
365 |
+
<Description>Password Never Expires</Description>
|
366 |
+
</SynchronousCommand>
|
367 |
+
<SynchronousCommand wcm:action="add">
|
368 |
+
<Order>6</Order>
|
369 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
370 |
+
<Description>Disable Hibernation</Description>
|
371 |
+
</SynchronousCommand>
|
372 |
+
<SynchronousCommand wcm:action="add">
|
373 |
+
<Order>7</Order>
|
374 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
375 |
+
<Description>Disable monitor blanking</Description>
|
376 |
+
</SynchronousCommand>
|
377 |
+
<SynchronousCommand wcm:action="add">
|
378 |
+
<Order>8</Order>
|
379 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
380 |
+
<Description>Disable first-run experience in Edge</Description>
|
381 |
+
</SynchronousCommand>
|
382 |
+
<SynchronousCommand wcm:action="add">
|
383 |
+
<Order>9</Order>
|
384 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
385 |
+
<Description>Show file extensions in Explorer</Description>
|
386 |
+
</SynchronousCommand>
|
387 |
+
<SynchronousCommand wcm:action="add">
|
388 |
+
<Order>10</Order>
|
389 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
390 |
+
<Description>Zero Hibernation File</Description>
|
391 |
+
</SynchronousCommand>
|
392 |
+
<SynchronousCommand wcm:action="add">
|
393 |
+
<Order>11</Order>
|
394 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
395 |
+
<Description>Disable Hibernation</Description>
|
396 |
+
</SynchronousCommand>
|
397 |
+
<SynchronousCommand wcm:action="add">
|
398 |
+
<Order>12</Order>
|
399 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
400 |
+
<Description>Disable Sleep</Description>
|
401 |
+
</SynchronousCommand>
|
402 |
+
<SynchronousCommand wcm:action="add">
|
403 |
+
<Order>13</Order>
|
404 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
405 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
406 |
+
</SynchronousCommand>
|
407 |
+
<SynchronousCommand wcm:action="add">
|
408 |
+
<Order>14</Order>
|
409 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
410 |
+
<Description>Remove Task View from the Taskbar</Description>
|
411 |
+
</SynchronousCommand>
|
412 |
+
<SynchronousCommand wcm:action="add">
|
413 |
+
<Order>15</Order>
|
414 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
415 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
416 |
+
</SynchronousCommand>
|
417 |
+
<SynchronousCommand wcm:action="add">
|
418 |
+
<Order>16</Order>
|
419 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
420 |
+
<Description>Remove Chat from the Taskbar</Description>
|
421 |
+
</SynchronousCommand>
|
422 |
+
<SynchronousCommand wcm:action="add">
|
423 |
+
<Order>17</Order>
|
424 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
425 |
+
<Description>Turn off Windows Update auto download</Description>
|
426 |
+
</SynchronousCommand>
|
427 |
+
<SynchronousCommand wcm:action="add">
|
428 |
+
<Order>18</Order>
|
429 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
430 |
+
<Description>Enable Network Discovery</Description>
|
431 |
+
</SynchronousCommand>
|
432 |
+
<SynchronousCommand wcm:action="add">
|
433 |
+
<Order>19</Order>
|
434 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
435 |
+
<Description>Enable File Sharing</Description>
|
436 |
+
</SynchronousCommand>
|
437 |
+
<SynchronousCommand wcm:action="add">
|
438 |
+
<Order>20</Order>
|
439 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
|
440 |
+
<Description>Disable unsupported hardware notifications</Description>
|
441 |
+
</SynchronousCommand>
|
442 |
+
<SynchronousCommand wcm:action="add">
|
443 |
+
<Order>21</Order>
|
444 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
|
445 |
+
<Description>Disable unsupported hardware notifications</Description>
|
446 |
+
</SynchronousCommand>
|
447 |
+
<SynchronousCommand wcm:action="add">
|
448 |
+
<Order>22</Order>
|
449 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
450 |
+
<Description>Install VirtIO display driver</Description>
|
451 |
+
</SynchronousCommand>
|
452 |
+
<SynchronousCommand wcm:action="add">
|
453 |
+
<Order>23</Order>
|
454 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
455 |
+
<Description>Remove empty Windows.old folder</Description>
|
456 |
+
</SynchronousCommand>
|
457 |
+
<SynchronousCommand wcm:action="add">
|
458 |
+
<Order>24</Order>
|
459 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
460 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
461 |
+
</SynchronousCommand>
|
462 |
+
</FirstLogonCommands>
|
463 |
+
</component>
|
464 |
+
</settings>
|
465 |
+
</unattend>
|
assets/win11x64-ltsc.xml
ADDED
@@ -0,0 +1,465 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>M7XTQ-FN8P6-TTKYV-9D4CC-J462D</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
<RunSynchronous>
|
92 |
+
<RunSynchronousCommand wcm:action="add">
|
93 |
+
<Order>1</Order>
|
94 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
95 |
+
</RunSynchronousCommand>
|
96 |
+
<RunSynchronousCommand wcm:action="add">
|
97 |
+
<Order>2</Order>
|
98 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
99 |
+
</RunSynchronousCommand>
|
100 |
+
<RunSynchronousCommand wcm:action="add">
|
101 |
+
<Order>3</Order>
|
102 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
103 |
+
</RunSynchronousCommand>
|
104 |
+
<RunSynchronousCommand wcm:action="add">
|
105 |
+
<Order>4</Order>
|
106 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
|
107 |
+
</RunSynchronousCommand>
|
108 |
+
</RunSynchronous>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="offlineServicing">
|
112 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<EnableLUA>false</EnableLUA>
|
114 |
+
</component>
|
115 |
+
</settings>
|
116 |
+
<settings pass="generalize">
|
117 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
118 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
119 |
+
</component>
|
120 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
121 |
+
<SkipRearm>1</SkipRearm>
|
122 |
+
</component>
|
123 |
+
</settings>
|
124 |
+
<settings pass="specialize">
|
125 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<ComputerName>*</ComputerName>
|
130 |
+
<OEMInformation>
|
131 |
+
<Manufacturer>Dockur</Manufacturer>
|
132 |
+
<Model>Windows for Docker</Model>
|
133 |
+
<SupportHours>24/7</SupportHours>
|
134 |
+
<SupportPhone />
|
135 |
+
<SupportProvider>Dockur</SupportProvider>
|
136 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
137 |
+
</OEMInformation>
|
138 |
+
<OEMName>Windows for Docker</OEMName>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableWER>1</DisableWER>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<DisableAccelerators>true</DisableAccelerators>
|
145 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
146 |
+
<Home_Page>https://google.com</Home_Page>
|
147 |
+
<Help_Page>about:blank</Help_Page>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<DisableAccelerators>true</DisableAccelerators>
|
151 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
152 |
+
<Home_Page>https://google.com</Home_Page>
|
153 |
+
<Help_Page>about:blank</Help_Page>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<CEIPEnabled>0</CEIPEnabled>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<DisableSR>1</DisableSR>
|
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 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<RunSynchronous>
|
169 |
+
<RunSynchronousCommand wcm:action="add">
|
170 |
+
<Order>1</Order>
|
171 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
172 |
+
</RunSynchronousCommand>
|
173 |
+
<RunSynchronousCommand wcm:action="add">
|
174 |
+
<Order>2</Order>
|
175 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
176 |
+
</RunSynchronousCommand>
|
177 |
+
<RunSynchronousCommand wcm:action="add">
|
178 |
+
<Order>3</Order>
|
179 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
180 |
+
</RunSynchronousCommand>
|
181 |
+
<RunSynchronousCommand wcm:action="add">
|
182 |
+
<Order>4</Order>
|
183 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
184 |
+
</RunSynchronousCommand>
|
185 |
+
<RunSynchronousCommand wcm:action="add">
|
186 |
+
<Order>5</Order>
|
187 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
188 |
+
</RunSynchronousCommand>
|
189 |
+
<RunSynchronousCommand wcm:action="add">
|
190 |
+
<Order>6</Order>
|
191 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
192 |
+
</RunSynchronousCommand>
|
193 |
+
<RunSynchronousCommand wcm:action="add">
|
194 |
+
<Order>7</Order>
|
195 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
196 |
+
</RunSynchronousCommand>
|
197 |
+
<RunSynchronousCommand wcm:action="add">
|
198 |
+
<Order>8</Order>
|
199 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
200 |
+
</RunSynchronousCommand>
|
201 |
+
<RunSynchronousCommand wcm:action="add">
|
202 |
+
<Order>9</Order>
|
203 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
204 |
+
</RunSynchronousCommand>
|
205 |
+
<RunSynchronousCommand wcm:action="add">
|
206 |
+
<Order>10</Order>
|
207 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
208 |
+
</RunSynchronousCommand>
|
209 |
+
<RunSynchronousCommand wcm:action="add">
|
210 |
+
<Order>11</Order>
|
211 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
212 |
+
</RunSynchronousCommand>
|
213 |
+
<RunSynchronousCommand wcm:action="add">
|
214 |
+
<Order>12</Order>
|
215 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
216 |
+
</RunSynchronousCommand>
|
217 |
+
<RunSynchronousCommand wcm:action="add">
|
218 |
+
<Order>13</Order>
|
219 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
220 |
+
</RunSynchronousCommand>
|
221 |
+
<RunSynchronousCommand wcm:action="add">
|
222 |
+
<Order>14</Order>
|
223 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
224 |
+
</RunSynchronousCommand>
|
225 |
+
<RunSynchronousCommand wcm:action="add">
|
226 |
+
<Order>15</Order>
|
227 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
228 |
+
</RunSynchronousCommand>
|
229 |
+
<RunSynchronousCommand wcm:action="add">
|
230 |
+
<Order>16</Order>
|
231 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
232 |
+
</RunSynchronousCommand>
|
233 |
+
<RunSynchronousCommand wcm:action="add">
|
234 |
+
<Order>17</Order>
|
235 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
236 |
+
</RunSynchronousCommand>
|
237 |
+
<RunSynchronousCommand wcm:action="add">
|
238 |
+
<Order>18</Order>
|
239 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
240 |
+
</RunSynchronousCommand>
|
241 |
+
<RunSynchronousCommand wcm:action="add">
|
242 |
+
<Order>19</Order>
|
243 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
244 |
+
</RunSynchronousCommand>
|
245 |
+
<RunSynchronousCommand wcm:action="add">
|
246 |
+
<Order>20</Order>
|
247 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
248 |
+
</RunSynchronousCommand>
|
249 |
+
<RunSynchronousCommand wcm:action="add">
|
250 |
+
<Order>21</Order>
|
251 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
252 |
+
</RunSynchronousCommand>
|
253 |
+
<RunSynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
256 |
+
</RunSynchronousCommand>
|
257 |
+
<RunSynchronousCommand wcm:action="add">
|
258 |
+
<Order>23</Order>
|
259 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
260 |
+
</RunSynchronousCommand>
|
261 |
+
<RunSynchronousCommand wcm:action="add">
|
262 |
+
<Order>24</Order>
|
263 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
264 |
+
</RunSynchronousCommand>
|
265 |
+
<RunSynchronousCommand wcm:action="add">
|
266 |
+
<Order>25</Order>
|
267 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
268 |
+
<Description>Set Network Location to Home</Description>
|
269 |
+
</RunSynchronousCommand>
|
270 |
+
</RunSynchronous>
|
271 |
+
</component>
|
272 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
273 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
274 |
+
</component>
|
275 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
276 |
+
<UserAuthentication>0</UserAuthentication>
|
277 |
+
</component>
|
278 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
279 |
+
<FirewallGroups>
|
280 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
281 |
+
<Active>true</Active>
|
282 |
+
<Profile>all</Profile>
|
283 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
284 |
+
</FirewallGroup>
|
285 |
+
</FirewallGroups>
|
286 |
+
</component>
|
287 |
+
</settings>
|
288 |
+
<settings pass="auditSystem" />
|
289 |
+
<settings pass="auditUser" />
|
290 |
+
<settings pass="oobeSystem">
|
291 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
292 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
293 |
+
</component>
|
294 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
295 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
296 |
+
</component>
|
297 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
298 |
+
<UserAccounts>
|
299 |
+
<LocalAccounts>
|
300 |
+
<LocalAccount wcm:action="add">
|
301 |
+
<Name>Docker</Name>
|
302 |
+
<Group>Administrators</Group>
|
303 |
+
<Password>
|
304 |
+
<Value />
|
305 |
+
<PlainText>true</PlainText>
|
306 |
+
</Password>
|
307 |
+
</LocalAccount>
|
308 |
+
</LocalAccounts>
|
309 |
+
<AdministratorPassword>
|
310 |
+
<Value>password</Value>
|
311 |
+
<PlainText>true</PlainText>
|
312 |
+
</AdministratorPassword>
|
313 |
+
</UserAccounts>
|
314 |
+
<AutoLogon>
|
315 |
+
<Username>Docker</Username>
|
316 |
+
<Enabled>true</Enabled>
|
317 |
+
<LogonCount>65432</LogonCount>
|
318 |
+
<Password>
|
319 |
+
<Value />
|
320 |
+
<PlainText>true</PlainText>
|
321 |
+
</Password>
|
322 |
+
</AutoLogon>
|
323 |
+
<Display>
|
324 |
+
<ColorDepth>32</ColorDepth>
|
325 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
326 |
+
<VerticalResolution>1080</VerticalResolution>
|
327 |
+
</Display>
|
328 |
+
<OOBE>
|
329 |
+
<HideEULAPage>true</HideEULAPage>
|
330 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
331 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
332 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
333 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
334 |
+
<NetworkLocation>Home</NetworkLocation>
|
335 |
+
<ProtectYourPC>3</ProtectYourPC>
|
336 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
337 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
338 |
+
</OOBE>
|
339 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
340 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
341 |
+
<FirstLogonCommands>
|
342 |
+
<SynchronousCommand wcm:action="add">
|
343 |
+
<Order>1</Order>
|
344 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
345 |
+
<Description>Allow guest access to network shares</Description>
|
346 |
+
</SynchronousCommand>
|
347 |
+
<SynchronousCommand wcm:action="add">
|
348 |
+
<Order>2</Order>
|
349 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
350 |
+
<Description>Disable SMB signing requirement</Description>
|
351 |
+
</SynchronousCommand>
|
352 |
+
<SynchronousCommand wcm:action="add">
|
353 |
+
<Order>3</Order>
|
354 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
355 |
+
<Description>Allow RDP login with blank password</Description>
|
356 |
+
</SynchronousCommand>
|
357 |
+
<SynchronousCommand wcm:action="add">
|
358 |
+
<Order>4</Order>
|
359 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
360 |
+
<Description>Enable option for passwordless sign-in</Description>
|
361 |
+
</SynchronousCommand>
|
362 |
+
<SynchronousCommand wcm:action="add">
|
363 |
+
<Order>5</Order>
|
364 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
365 |
+
<Description>Password Never Expires</Description>
|
366 |
+
</SynchronousCommand>
|
367 |
+
<SynchronousCommand wcm:action="add">
|
368 |
+
<Order>6</Order>
|
369 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
370 |
+
<Description>Disable Hibernation</Description>
|
371 |
+
</SynchronousCommand>
|
372 |
+
<SynchronousCommand wcm:action="add">
|
373 |
+
<Order>7</Order>
|
374 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
375 |
+
<Description>Disable monitor blanking</Description>
|
376 |
+
</SynchronousCommand>
|
377 |
+
<SynchronousCommand wcm:action="add">
|
378 |
+
<Order>8</Order>
|
379 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
380 |
+
<Description>Disable first-run experience in Edge</Description>
|
381 |
+
</SynchronousCommand>
|
382 |
+
<SynchronousCommand wcm:action="add">
|
383 |
+
<Order>9</Order>
|
384 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
385 |
+
<Description>Show file extensions in Explorer</Description>
|
386 |
+
</SynchronousCommand>
|
387 |
+
<SynchronousCommand wcm:action="add">
|
388 |
+
<Order>10</Order>
|
389 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
390 |
+
<Description>Zero Hibernation File</Description>
|
391 |
+
</SynchronousCommand>
|
392 |
+
<SynchronousCommand wcm:action="add">
|
393 |
+
<Order>11</Order>
|
394 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
395 |
+
<Description>Disable Hibernation</Description>
|
396 |
+
</SynchronousCommand>
|
397 |
+
<SynchronousCommand wcm:action="add">
|
398 |
+
<Order>12</Order>
|
399 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
400 |
+
<Description>Disable Sleep</Description>
|
401 |
+
</SynchronousCommand>
|
402 |
+
<SynchronousCommand wcm:action="add">
|
403 |
+
<Order>13</Order>
|
404 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
405 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
406 |
+
</SynchronousCommand>
|
407 |
+
<SynchronousCommand wcm:action="add">
|
408 |
+
<Order>14</Order>
|
409 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
410 |
+
<Description>Remove Task View from the Taskbar</Description>
|
411 |
+
</SynchronousCommand>
|
412 |
+
<SynchronousCommand wcm:action="add">
|
413 |
+
<Order>15</Order>
|
414 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
415 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
416 |
+
</SynchronousCommand>
|
417 |
+
<SynchronousCommand wcm:action="add">
|
418 |
+
<Order>16</Order>
|
419 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
420 |
+
<Description>Remove Chat from the Taskbar</Description>
|
421 |
+
</SynchronousCommand>
|
422 |
+
<SynchronousCommand wcm:action="add">
|
423 |
+
<Order>17</Order>
|
424 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
425 |
+
<Description>Turn off Windows Update auto download</Description>
|
426 |
+
</SynchronousCommand>
|
427 |
+
<SynchronousCommand wcm:action="add">
|
428 |
+
<Order>18</Order>
|
429 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
430 |
+
<Description>Enable Network Discovery</Description>
|
431 |
+
</SynchronousCommand>
|
432 |
+
<SynchronousCommand wcm:action="add">
|
433 |
+
<Order>19</Order>
|
434 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
435 |
+
<Description>Enable File Sharing</Description>
|
436 |
+
</SynchronousCommand>
|
437 |
+
<SynchronousCommand wcm:action="add">
|
438 |
+
<Order>20</Order>
|
439 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
|
440 |
+
<Description>Disable unsupported hardware notifications</Description>
|
441 |
+
</SynchronousCommand>
|
442 |
+
<SynchronousCommand wcm:action="add">
|
443 |
+
<Order>21</Order>
|
444 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
|
445 |
+
<Description>Disable unsupported hardware notifications</Description>
|
446 |
+
</SynchronousCommand>
|
447 |
+
<SynchronousCommand wcm:action="add">
|
448 |
+
<Order>22</Order>
|
449 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
450 |
+
<Description>Install VirtIO display driver</Description>
|
451 |
+
</SynchronousCommand>
|
452 |
+
<SynchronousCommand wcm:action="add">
|
453 |
+
<Order>23</Order>
|
454 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
455 |
+
<Description>Remove empty Windows.old folder</Description>
|
456 |
+
</SynchronousCommand>
|
457 |
+
<SynchronousCommand wcm:action="add">
|
458 |
+
<Order>24</Order>
|
459 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
460 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
461 |
+
</SynchronousCommand>
|
462 |
+
</FirstLogonCommands>
|
463 |
+
</component>
|
464 |
+
</settings>
|
465 |
+
</unattend>
|
assets/win11x64.xml
ADDED
@@ -0,0 +1,465 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
<RunSynchronous>
|
92 |
+
<RunSynchronousCommand wcm:action="add">
|
93 |
+
<Order>1</Order>
|
94 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
|
95 |
+
</RunSynchronousCommand>
|
96 |
+
<RunSynchronousCommand wcm:action="add">
|
97 |
+
<Order>2</Order>
|
98 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
|
99 |
+
</RunSynchronousCommand>
|
100 |
+
<RunSynchronousCommand wcm:action="add">
|
101 |
+
<Order>3</Order>
|
102 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
|
103 |
+
</RunSynchronousCommand>
|
104 |
+
<RunSynchronousCommand wcm:action="add">
|
105 |
+
<Order>4</Order>
|
106 |
+
<Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
|
107 |
+
</RunSynchronousCommand>
|
108 |
+
</RunSynchronous>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="offlineServicing">
|
112 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<EnableLUA>false</EnableLUA>
|
114 |
+
</component>
|
115 |
+
</settings>
|
116 |
+
<settings pass="generalize">
|
117 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
118 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
119 |
+
</component>
|
120 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
121 |
+
<SkipRearm>1</SkipRearm>
|
122 |
+
</component>
|
123 |
+
</settings>
|
124 |
+
<settings pass="specialize">
|
125 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<ComputerName>*</ComputerName>
|
130 |
+
<OEMInformation>
|
131 |
+
<Manufacturer>Dockur</Manufacturer>
|
132 |
+
<Model>Windows for Docker</Model>
|
133 |
+
<SupportHours>24/7</SupportHours>
|
134 |
+
<SupportPhone />
|
135 |
+
<SupportProvider>Dockur</SupportProvider>
|
136 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
137 |
+
</OEMInformation>
|
138 |
+
<OEMName>Windows for Docker</OEMName>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<DisableWER>1</DisableWER>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<DisableAccelerators>true</DisableAccelerators>
|
145 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
146 |
+
<Home_Page>https://google.com</Home_Page>
|
147 |
+
<Help_Page>about:blank</Help_Page>
|
148 |
+
</component>
|
149 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
150 |
+
<DisableAccelerators>true</DisableAccelerators>
|
151 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
152 |
+
<Home_Page>https://google.com</Home_Page>
|
153 |
+
<Help_Page>about:blank</Help_Page>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<CEIPEnabled>0</CEIPEnabled>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<DisableSR>1</DisableSR>
|
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 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<RunSynchronous>
|
169 |
+
<RunSynchronousCommand wcm:action="add">
|
170 |
+
<Order>1</Order>
|
171 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
|
172 |
+
</RunSynchronousCommand>
|
173 |
+
<RunSynchronousCommand wcm:action="add">
|
174 |
+
<Order>2</Order>
|
175 |
+
<Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
|
176 |
+
</RunSynchronousCommand>
|
177 |
+
<RunSynchronousCommand wcm:action="add">
|
178 |
+
<Order>3</Order>
|
179 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
|
180 |
+
</RunSynchronousCommand>
|
181 |
+
<RunSynchronousCommand wcm:action="add">
|
182 |
+
<Order>4</Order>
|
183 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
|
184 |
+
</RunSynchronousCommand>
|
185 |
+
<RunSynchronousCommand wcm:action="add">
|
186 |
+
<Order>5</Order>
|
187 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
188 |
+
</RunSynchronousCommand>
|
189 |
+
<RunSynchronousCommand wcm:action="add">
|
190 |
+
<Order>6</Order>
|
191 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
192 |
+
</RunSynchronousCommand>
|
193 |
+
<RunSynchronousCommand wcm:action="add">
|
194 |
+
<Order>7</Order>
|
195 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
|
196 |
+
</RunSynchronousCommand>
|
197 |
+
<RunSynchronousCommand wcm:action="add">
|
198 |
+
<Order>8</Order>
|
199 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
|
200 |
+
</RunSynchronousCommand>
|
201 |
+
<RunSynchronousCommand wcm:action="add">
|
202 |
+
<Order>9</Order>
|
203 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
|
204 |
+
</RunSynchronousCommand>
|
205 |
+
<RunSynchronousCommand wcm:action="add">
|
206 |
+
<Order>10</Order>
|
207 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
|
208 |
+
</RunSynchronousCommand>
|
209 |
+
<RunSynchronousCommand wcm:action="add">
|
210 |
+
<Order>11</Order>
|
211 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
|
212 |
+
</RunSynchronousCommand>
|
213 |
+
<RunSynchronousCommand wcm:action="add">
|
214 |
+
<Order>12</Order>
|
215 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
|
216 |
+
</RunSynchronousCommand>
|
217 |
+
<RunSynchronousCommand wcm:action="add">
|
218 |
+
<Order>13</Order>
|
219 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
|
220 |
+
</RunSynchronousCommand>
|
221 |
+
<RunSynchronousCommand wcm:action="add">
|
222 |
+
<Order>14</Order>
|
223 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
|
224 |
+
</RunSynchronousCommand>
|
225 |
+
<RunSynchronousCommand wcm:action="add">
|
226 |
+
<Order>15</Order>
|
227 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
|
228 |
+
</RunSynchronousCommand>
|
229 |
+
<RunSynchronousCommand wcm:action="add">
|
230 |
+
<Order>16</Order>
|
231 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
|
232 |
+
</RunSynchronousCommand>
|
233 |
+
<RunSynchronousCommand wcm:action="add">
|
234 |
+
<Order>17</Order>
|
235 |
+
<Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
|
236 |
+
</RunSynchronousCommand>
|
237 |
+
<RunSynchronousCommand wcm:action="add">
|
238 |
+
<Order>18</Order>
|
239 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
240 |
+
</RunSynchronousCommand>
|
241 |
+
<RunSynchronousCommand wcm:action="add">
|
242 |
+
<Order>19</Order>
|
243 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
244 |
+
</RunSynchronousCommand>
|
245 |
+
<RunSynchronousCommand wcm:action="add">
|
246 |
+
<Order>20</Order>
|
247 |
+
<Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
248 |
+
</RunSynchronousCommand>
|
249 |
+
<RunSynchronousCommand wcm:action="add">
|
250 |
+
<Order>21</Order>
|
251 |
+
<Path>reg.exe unload "HKU\mount"</Path>
|
252 |
+
</RunSynchronousCommand>
|
253 |
+
<RunSynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
|
256 |
+
</RunSynchronousCommand>
|
257 |
+
<RunSynchronousCommand wcm:action="add">
|
258 |
+
<Order>23</Order>
|
259 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
|
260 |
+
</RunSynchronousCommand>
|
261 |
+
<RunSynchronousCommand wcm:action="add">
|
262 |
+
<Order>24</Order>
|
263 |
+
<Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
|
264 |
+
</RunSynchronousCommand>
|
265 |
+
<RunSynchronousCommand wcm:action="add">
|
266 |
+
<Order>25</Order>
|
267 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
268 |
+
<Description>Set Network Location to Home</Description>
|
269 |
+
</RunSynchronousCommand>
|
270 |
+
</RunSynchronous>
|
271 |
+
</component>
|
272 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
273 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
274 |
+
</component>
|
275 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
276 |
+
<UserAuthentication>0</UserAuthentication>
|
277 |
+
</component>
|
278 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
279 |
+
<FirewallGroups>
|
280 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
281 |
+
<Active>true</Active>
|
282 |
+
<Profile>all</Profile>
|
283 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
284 |
+
</FirewallGroup>
|
285 |
+
</FirewallGroups>
|
286 |
+
</component>
|
287 |
+
</settings>
|
288 |
+
<settings pass="auditSystem" />
|
289 |
+
<settings pass="auditUser" />
|
290 |
+
<settings pass="oobeSystem">
|
291 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
292 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
293 |
+
</component>
|
294 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
295 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
296 |
+
</component>
|
297 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
298 |
+
<UserAccounts>
|
299 |
+
<LocalAccounts>
|
300 |
+
<LocalAccount wcm:action="add">
|
301 |
+
<Name>Docker</Name>
|
302 |
+
<Group>Administrators</Group>
|
303 |
+
<Password>
|
304 |
+
<Value />
|
305 |
+
<PlainText>true</PlainText>
|
306 |
+
</Password>
|
307 |
+
</LocalAccount>
|
308 |
+
</LocalAccounts>
|
309 |
+
<AdministratorPassword>
|
310 |
+
<Value>password</Value>
|
311 |
+
<PlainText>true</PlainText>
|
312 |
+
</AdministratorPassword>
|
313 |
+
</UserAccounts>
|
314 |
+
<AutoLogon>
|
315 |
+
<Username>Docker</Username>
|
316 |
+
<Enabled>true</Enabled>
|
317 |
+
<LogonCount>65432</LogonCount>
|
318 |
+
<Password>
|
319 |
+
<Value />
|
320 |
+
<PlainText>true</PlainText>
|
321 |
+
</Password>
|
322 |
+
</AutoLogon>
|
323 |
+
<Display>
|
324 |
+
<ColorDepth>32</ColorDepth>
|
325 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
326 |
+
<VerticalResolution>1080</VerticalResolution>
|
327 |
+
</Display>
|
328 |
+
<OOBE>
|
329 |
+
<HideEULAPage>true</HideEULAPage>
|
330 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
331 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
332 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
333 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
334 |
+
<NetworkLocation>Home</NetworkLocation>
|
335 |
+
<ProtectYourPC>3</ProtectYourPC>
|
336 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
337 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
338 |
+
</OOBE>
|
339 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
340 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
341 |
+
<FirstLogonCommands>
|
342 |
+
<SynchronousCommand wcm:action="add">
|
343 |
+
<Order>1</Order>
|
344 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
345 |
+
<Description>Allow guest access to network shares</Description>
|
346 |
+
</SynchronousCommand>
|
347 |
+
<SynchronousCommand wcm:action="add">
|
348 |
+
<Order>2</Order>
|
349 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
350 |
+
<Description>Disable SMB signing requirement</Description>
|
351 |
+
</SynchronousCommand>
|
352 |
+
<SynchronousCommand wcm:action="add">
|
353 |
+
<Order>3</Order>
|
354 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
355 |
+
<Description>Allow RDP login with blank password</Description>
|
356 |
+
</SynchronousCommand>
|
357 |
+
<SynchronousCommand wcm:action="add">
|
358 |
+
<Order>4</Order>
|
359 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
360 |
+
<Description>Enable option for passwordless sign-in</Description>
|
361 |
+
</SynchronousCommand>
|
362 |
+
<SynchronousCommand wcm:action="add">
|
363 |
+
<Order>5</Order>
|
364 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
365 |
+
<Description>Password Never Expires</Description>
|
366 |
+
</SynchronousCommand>
|
367 |
+
<SynchronousCommand wcm:action="add">
|
368 |
+
<Order>6</Order>
|
369 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
370 |
+
<Description>Disable Hibernation</Description>
|
371 |
+
</SynchronousCommand>
|
372 |
+
<SynchronousCommand wcm:action="add">
|
373 |
+
<Order>7</Order>
|
374 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
375 |
+
<Description>Disable monitor blanking</Description>
|
376 |
+
</SynchronousCommand>
|
377 |
+
<SynchronousCommand wcm:action="add">
|
378 |
+
<Order>8</Order>
|
379 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
380 |
+
<Description>Disable first-run experience in Edge</Description>
|
381 |
+
</SynchronousCommand>
|
382 |
+
<SynchronousCommand wcm:action="add">
|
383 |
+
<Order>9</Order>
|
384 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
385 |
+
<Description>Show file extensions in Explorer</Description>
|
386 |
+
</SynchronousCommand>
|
387 |
+
<SynchronousCommand wcm:action="add">
|
388 |
+
<Order>10</Order>
|
389 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
390 |
+
<Description>Zero Hibernation File</Description>
|
391 |
+
</SynchronousCommand>
|
392 |
+
<SynchronousCommand wcm:action="add">
|
393 |
+
<Order>11</Order>
|
394 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
395 |
+
<Description>Disable Hibernation</Description>
|
396 |
+
</SynchronousCommand>
|
397 |
+
<SynchronousCommand wcm:action="add">
|
398 |
+
<Order>12</Order>
|
399 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
400 |
+
<Description>Disable Sleep</Description>
|
401 |
+
</SynchronousCommand>
|
402 |
+
<SynchronousCommand wcm:action="add">
|
403 |
+
<Order>13</Order>
|
404 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
405 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
406 |
+
</SynchronousCommand>
|
407 |
+
<SynchronousCommand wcm:action="add">
|
408 |
+
<Order>14</Order>
|
409 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
410 |
+
<Description>Remove Task View from the Taskbar</Description>
|
411 |
+
</SynchronousCommand>
|
412 |
+
<SynchronousCommand wcm:action="add">
|
413 |
+
<Order>15</Order>
|
414 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
415 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
416 |
+
</SynchronousCommand>
|
417 |
+
<SynchronousCommand wcm:action="add">
|
418 |
+
<Order>16</Order>
|
419 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
420 |
+
<Description>Remove Chat from the Taskbar</Description>
|
421 |
+
</SynchronousCommand>
|
422 |
+
<SynchronousCommand wcm:action="add">
|
423 |
+
<Order>17</Order>
|
424 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
425 |
+
<Description>Turn off Windows Update auto download</Description>
|
426 |
+
</SynchronousCommand>
|
427 |
+
<SynchronousCommand wcm:action="add">
|
428 |
+
<Order>18</Order>
|
429 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
430 |
+
<Description>Enable Network Discovery</Description>
|
431 |
+
</SynchronousCommand>
|
432 |
+
<SynchronousCommand wcm:action="add">
|
433 |
+
<Order>19</Order>
|
434 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
435 |
+
<Description>Enable File Sharing</Description>
|
436 |
+
</SynchronousCommand>
|
437 |
+
<SynchronousCommand wcm:action="add">
|
438 |
+
<Order>20</Order>
|
439 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
|
440 |
+
<Description>Disable unsupported hardware notifications</Description>
|
441 |
+
</SynchronousCommand>
|
442 |
+
<SynchronousCommand wcm:action="add">
|
443 |
+
<Order>21</Order>
|
444 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
|
445 |
+
<Description>Disable unsupported hardware notifications</Description>
|
446 |
+
</SynchronousCommand>
|
447 |
+
<SynchronousCommand wcm:action="add">
|
448 |
+
<Order>22</Order>
|
449 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
450 |
+
<Description>Install VirtIO display driver</Description>
|
451 |
+
</SynchronousCommand>
|
452 |
+
<SynchronousCommand wcm:action="add">
|
453 |
+
<Order>23</Order>
|
454 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
455 |
+
<Description>Remove empty Windows.old folder</Description>
|
456 |
+
</SynchronousCommand>
|
457 |
+
<SynchronousCommand wcm:action="add">
|
458 |
+
<Order>24</Order>
|
459 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
460 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
461 |
+
</SynchronousCommand>
|
462 |
+
</FirstLogonCommands>
|
463 |
+
</component>
|
464 |
+
</settings>
|
465 |
+
</unattend>
|
assets/win2008r2-eval.xml
ADDED
@@ -0,0 +1,299 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Value>1</Value>
|
56 |
+
<Key>/IMAGE/INDEX</Key>
|
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 |
+
</UserData>
|
79 |
+
<EnableFirewall>false</EnableFirewall>
|
80 |
+
<Diagnostics>
|
81 |
+
<OptIn>false</OptIn>
|
82 |
+
</Diagnostics>
|
83 |
+
</component>
|
84 |
+
</settings>
|
85 |
+
<settings pass="offlineServicing">
|
86 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
87 |
+
<EnableLUA>false</EnableLUA>
|
88 |
+
</component>
|
89 |
+
</settings>
|
90 |
+
<settings pass="generalize">
|
91 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
92 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
93 |
+
</component>
|
94 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
95 |
+
<SkipRearm>1</SkipRearm>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="specialize">
|
99 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
101 |
+
</component>
|
102 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<ComputerName>*</ComputerName>
|
104 |
+
<OEMInformation>
|
105 |
+
<Manufacturer>Dockur</Manufacturer>
|
106 |
+
<Model>Windows for Docker</Model>
|
107 |
+
</OEMInformation>
|
108 |
+
</component>
|
109 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
110 |
+
<DisableWER>1</DisableWER>
|
111 |
+
</component>
|
112 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<DisableAccelerators>true</DisableAccelerators>
|
114 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
115 |
+
<Home_Page>https://google.com</Home_Page>
|
116 |
+
<Help_Page>about:blank</Help_Page>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<DisableAccelerators>true</DisableAccelerators>
|
120 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
121 |
+
<Home_Page>https://google.com</Home_Page>
|
122 |
+
<Help_Page>about:blank</Help_Page>
|
123 |
+
</component>
|
124 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
125 |
+
<CEIPEnabled>0</CEIPEnabled>
|
126 |
+
</component>
|
127 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
128 |
+
<DisableSR>1</DisableSR>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<InputLocale>0409:00000409</InputLocale>
|
132 |
+
<SystemLocale>en-US</SystemLocale>
|
133 |
+
<UILanguage>en-US</UILanguage>
|
134 |
+
<UserLocale>en-US</UserLocale>
|
135 |
+
</component>
|
136 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
137 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
138 |
+
</component>
|
139 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
140 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
141 |
+
</component>
|
142 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
143 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<UserAuthentication>0</UserAuthentication>
|
147 |
+
</component>
|
148 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<FirewallGroups>
|
150 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
151 |
+
<Active>true</Active>
|
152 |
+
<Profile>all</Profile>
|
153 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
154 |
+
</FirewallGroup>
|
155 |
+
</FirewallGroups>
|
156 |
+
</component>
|
157 |
+
</settings>
|
158 |
+
<settings pass="oobeSystem">
|
159 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
160 |
+
<UserAccounts>
|
161 |
+
<LocalAccounts>
|
162 |
+
<LocalAccount wcm:action="add">
|
163 |
+
<Name>Docker</Name>
|
164 |
+
<Group>Administrators</Group>
|
165 |
+
<Password>
|
166 |
+
<Value />
|
167 |
+
<PlainText>true</PlainText>
|
168 |
+
</Password>
|
169 |
+
</LocalAccount>
|
170 |
+
</LocalAccounts>
|
171 |
+
<AdministratorPassword>
|
172 |
+
<Value>password</Value>
|
173 |
+
<PlainText>true</PlainText>
|
174 |
+
</AdministratorPassword>
|
175 |
+
</UserAccounts>
|
176 |
+
<AutoLogon>
|
177 |
+
<Username>Docker</Username>
|
178 |
+
<Enabled>true</Enabled>
|
179 |
+
<LogonCount>65432</LogonCount>
|
180 |
+
<Password>
|
181 |
+
<Value />
|
182 |
+
<PlainText>true</PlainText>
|
183 |
+
</Password>
|
184 |
+
</AutoLogon>
|
185 |
+
<Display>
|
186 |
+
<ColorDepth>32</ColorDepth>
|
187 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
188 |
+
<VerticalResolution>1080</VerticalResolution>
|
189 |
+
</Display>
|
190 |
+
<OOBE>
|
191 |
+
<HideEULAPage>true</HideEULAPage>
|
192 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
193 |
+
<NetworkLocation>Home</NetworkLocation>
|
194 |
+
<ProtectYourPC>3</ProtectYourPC>
|
195 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
196 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
197 |
+
</OOBE>
|
198 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
199 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
200 |
+
<FirstLogonCommands>
|
201 |
+
<SynchronousCommand wcm:action="add">
|
202 |
+
<Order>1</Order>
|
203 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
204 |
+
<Description>Allow guest access to network shares</Description>
|
205 |
+
</SynchronousCommand>
|
206 |
+
<SynchronousCommand wcm:action="add">
|
207 |
+
<Order>2</Order>
|
208 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
209 |
+
<Description>Allow RDP login with blank password</Description>
|
210 |
+
</SynchronousCommand>
|
211 |
+
<SynchronousCommand wcm:action="add">
|
212 |
+
<Order>3</Order>
|
213 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
214 |
+
<Description>Enable option for passwordless sign-in</Description>
|
215 |
+
</SynchronousCommand>
|
216 |
+
<SynchronousCommand wcm:action="add">
|
217 |
+
<Order>4</Order>
|
218 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
219 |
+
<Description>Password Never Expires</Description>
|
220 |
+
</SynchronousCommand>
|
221 |
+
<SynchronousCommand wcm:action="add">
|
222 |
+
<Order>5</Order>
|
223 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
224 |
+
<Description>Disable Hibernation</Description>
|
225 |
+
</SynchronousCommand>
|
226 |
+
<SynchronousCommand wcm:action="add">
|
227 |
+
<Order>6</Order>
|
228 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
229 |
+
<Description>Disable monitor blanking</Description>
|
230 |
+
</SynchronousCommand>
|
231 |
+
<SynchronousCommand wcm:action="add">
|
232 |
+
<Order>7</Order>
|
233 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
234 |
+
<Description>Disable Network Discovery popup</Description>
|
235 |
+
</SynchronousCommand>
|
236 |
+
<SynchronousCommand wcm:action="add">
|
237 |
+
<Order>8</Order>
|
238 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
239 |
+
<Description>Disable Network Discovery popup</Description>
|
240 |
+
</SynchronousCommand>
|
241 |
+
<SynchronousCommand wcm:action="add">
|
242 |
+
<Order>9</Order>
|
243 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
244 |
+
<Description>Disable Network Discovery popup</Description>
|
245 |
+
</SynchronousCommand>
|
246 |
+
<SynchronousCommand wcm:action="add">
|
247 |
+
<Order>10</Order>
|
248 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
249 |
+
<Description>Disable first-run experience in Edge</Description>
|
250 |
+
</SynchronousCommand>
|
251 |
+
<SynchronousCommand wcm:action="add">
|
252 |
+
<Order>11</Order>
|
253 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
254 |
+
<Description>Show file extensions in Explorer</Description>
|
255 |
+
</SynchronousCommand>
|
256 |
+
<SynchronousCommand wcm:action="add">
|
257 |
+
<Order>12</Order>
|
258 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
259 |
+
<Description>Zero Hibernation File</Description>
|
260 |
+
</SynchronousCommand>
|
261 |
+
<SynchronousCommand wcm:action="add">
|
262 |
+
<Order>13</Order>
|
263 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
264 |
+
<Description>Disable Hibernation</Description>
|
265 |
+
</SynchronousCommand>
|
266 |
+
<SynchronousCommand wcm:action="add">
|
267 |
+
<Order>14</Order>
|
268 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
269 |
+
<Description>Disable Sleep</Description>
|
270 |
+
</SynchronousCommand>
|
271 |
+
<SynchronousCommand wcm:action="add">
|
272 |
+
<Order>15</Order>
|
273 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
274 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
275 |
+
</SynchronousCommand>
|
276 |
+
<SynchronousCommand wcm:action="add">
|
277 |
+
<Order>16</Order>
|
278 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
279 |
+
<Description>Turn off Windows Update auto download</Description>
|
280 |
+
</SynchronousCommand>
|
281 |
+
<SynchronousCommand wcm:action="add">
|
282 |
+
<Order>17</Order>
|
283 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
284 |
+
<Description>Enable Network Discovery</Description>
|
285 |
+
</SynchronousCommand>
|
286 |
+
<SynchronousCommand wcm:action="add">
|
287 |
+
<Order>18</Order>
|
288 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
289 |
+
<Description>Enable File Sharing</Description>
|
290 |
+
</SynchronousCommand>
|
291 |
+
<SynchronousCommand wcm:action="add">
|
292 |
+
<Order>19</Order>
|
293 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
294 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
295 |
+
</SynchronousCommand>
|
296 |
+
</FirstLogonCommands>
|
297 |
+
</component>
|
298 |
+
</settings>
|
299 |
+
</unattend>
|
assets/win2008r2.xml
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Value>1</Value>
|
56 |
+
<Key>/IMAGE/INDEX</Key>
|
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>YC6KT-GKW9T-YTKYR-T4X34-R7VHC</Key>
|
80 |
+
</ProductKey>
|
81 |
+
</UserData>
|
82 |
+
<EnableFirewall>false</EnableFirewall>
|
83 |
+
<Diagnostics>
|
84 |
+
<OptIn>false</OptIn>
|
85 |
+
</Diagnostics>
|
86 |
+
</component>
|
87 |
+
</settings>
|
88 |
+
<settings pass="offlineServicing">
|
89 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
90 |
+
<EnableLUA>false</EnableLUA>
|
91 |
+
</component>
|
92 |
+
</settings>
|
93 |
+
<settings pass="generalize">
|
94 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
95 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
96 |
+
</component>
|
97 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
98 |
+
<SkipRearm>1</SkipRearm>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="specialize">
|
102 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
104 |
+
</component>
|
105 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
106 |
+
<ComputerName>*</ComputerName>
|
107 |
+
<OEMInformation>
|
108 |
+
<Manufacturer>Dockur</Manufacturer>
|
109 |
+
<Model>Windows for Docker</Model>
|
110 |
+
</OEMInformation>
|
111 |
+
</component>
|
112 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<DisableWER>1</DisableWER>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<DisableAccelerators>true</DisableAccelerators>
|
117 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
118 |
+
<Home_Page>https://google.com</Home_Page>
|
119 |
+
<Help_Page>about:blank</Help_Page>
|
120 |
+
</component>
|
121 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
122 |
+
<DisableAccelerators>true</DisableAccelerators>
|
123 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
124 |
+
<Home_Page>https://google.com</Home_Page>
|
125 |
+
<Help_Page>about:blank</Help_Page>
|
126 |
+
</component>
|
127 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
128 |
+
<CEIPEnabled>0</CEIPEnabled>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableSR>1</DisableSR>
|
132 |
+
</component>
|
133 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
134 |
+
<InputLocale>0409:00000409</InputLocale>
|
135 |
+
<SystemLocale>en-US</SystemLocale>
|
136 |
+
<UILanguage>en-US</UILanguage>
|
137 |
+
<UserLocale>en-US</UserLocale>
|
138 |
+
</component>
|
139 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
140 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
141 |
+
</component>
|
142 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
143 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<UserAuthentication>0</UserAuthentication>
|
150 |
+
</component>
|
151 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<FirewallGroups>
|
153 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
154 |
+
<Active>true</Active>
|
155 |
+
<Profile>all</Profile>
|
156 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
157 |
+
</FirewallGroup>
|
158 |
+
</FirewallGroups>
|
159 |
+
</component>
|
160 |
+
</settings>
|
161 |
+
<settings pass="oobeSystem">
|
162 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
163 |
+
<UserAccounts>
|
164 |
+
<LocalAccounts>
|
165 |
+
<LocalAccount wcm:action="add">
|
166 |
+
<Name>Docker</Name>
|
167 |
+
<Group>Administrators</Group>
|
168 |
+
<Password>
|
169 |
+
<Value />
|
170 |
+
<PlainText>true</PlainText>
|
171 |
+
</Password>
|
172 |
+
</LocalAccount>
|
173 |
+
</LocalAccounts>
|
174 |
+
<AdministratorPassword>
|
175 |
+
<Value>password</Value>
|
176 |
+
<PlainText>true</PlainText>
|
177 |
+
</AdministratorPassword>
|
178 |
+
</UserAccounts>
|
179 |
+
<AutoLogon>
|
180 |
+
<Username>Docker</Username>
|
181 |
+
<Enabled>true</Enabled>
|
182 |
+
<LogonCount>65432</LogonCount>
|
183 |
+
<Password>
|
184 |
+
<Value />
|
185 |
+
<PlainText>true</PlainText>
|
186 |
+
</Password>
|
187 |
+
</AutoLogon>
|
188 |
+
<Display>
|
189 |
+
<ColorDepth>32</ColorDepth>
|
190 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
191 |
+
<VerticalResolution>1080</VerticalResolution>
|
192 |
+
</Display>
|
193 |
+
<OOBE>
|
194 |
+
<HideEULAPage>true</HideEULAPage>
|
195 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
196 |
+
<NetworkLocation>Home</NetworkLocation>
|
197 |
+
<ProtectYourPC>3</ProtectYourPC>
|
198 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
199 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
200 |
+
</OOBE>
|
201 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
202 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
203 |
+
<FirstLogonCommands>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>1</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
207 |
+
<Description>Allow guest access to network shares</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>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
217 |
+
<Description>Enable option for passwordless sign-in</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>4</Order>
|
221 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
222 |
+
<Description>Password Never Expires</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>5</Order>
|
226 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
227 |
+
<Description>Disable Hibernation</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>6</Order>
|
231 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
232 |
+
<Description>Disable monitor blanking</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>7</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>8</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable Network Discovery popup</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>9</Order>
|
246 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
247 |
+
<Description>Disable Network Discovery popup</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>10</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
252 |
+
<Description>Disable first-run experience in Edge</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>11</Order>
|
256 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Show file extensions in Explorer</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>12</Order>
|
261 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
262 |
+
<Description>Zero Hibernation File</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>13</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
267 |
+
<Description>Disable Hibernation</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>14</Order>
|
271 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
272 |
+
<Description>Disable Sleep</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>15</Order>
|
276 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
277 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>16</Order>
|
281 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
282 |
+
<Description>Turn off Windows Update auto download</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
<SynchronousCommand wcm:action="add">
|
285 |
+
<Order>17</Order>
|
286 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
287 |
+
<Description>Enable Network Discovery</Description>
|
288 |
+
</SynchronousCommand>
|
289 |
+
<SynchronousCommand wcm:action="add">
|
290 |
+
<Order>18</Order>
|
291 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
292 |
+
<Description>Enable File Sharing</Description>
|
293 |
+
</SynchronousCommand>
|
294 |
+
<SynchronousCommand wcm:action="add">
|
295 |
+
<Order>19</Order>
|
296 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
297 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
298 |
+
</SynchronousCommand>
|
299 |
+
</FirstLogonCommands>
|
300 |
+
</component>
|
301 |
+
</settings>
|
302 |
+
</unattend>
|
assets/win2012r2-eval.xml
ADDED
@@ -0,0 +1,317 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/image/index</Key>
|
68 |
+
<Value>2</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
</UserData>
|
92 |
+
<EnableFirewall>false</EnableFirewall>
|
93 |
+
<Diagnostics>
|
94 |
+
<OptIn>false</OptIn>
|
95 |
+
</Diagnostics>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="offlineServicing">
|
99 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<EnableLUA>false</EnableLUA>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="generalize">
|
104 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipRearm>1</SkipRearm>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="specialize">
|
112 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<ComputerName>*</ComputerName>
|
117 |
+
<OEMInformation>
|
118 |
+
<Manufacturer>Dockur</Manufacturer>
|
119 |
+
<Model>Windows for Docker</Model>
|
120 |
+
</OEMInformation>
|
121 |
+
<OEMName>Windows for Docker</OEMName>
|
122 |
+
</component>
|
123 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
124 |
+
<DisableWER>1</DisableWER>
|
125 |
+
</component>
|
126 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
127 |
+
<DisableAccelerators>true</DisableAccelerators>
|
128 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
129 |
+
<Home_Page>https://google.com</Home_Page>
|
130 |
+
<Help_Page>about:blank</Help_Page>
|
131 |
+
</component>
|
132 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
133 |
+
<DisableAccelerators>true</DisableAccelerators>
|
134 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
135 |
+
<Home_Page>https://google.com</Home_Page>
|
136 |
+
<Help_Page>about:blank</Help_Page>
|
137 |
+
</component>
|
138 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
139 |
+
<CEIPEnabled>0</CEIPEnabled>
|
140 |
+
</component>
|
141 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
142 |
+
<DisableSR>1</DisableSR>
|
143 |
+
</component>
|
144 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
145 |
+
<InputLocale>0409:00000409</InputLocale>
|
146 |
+
<SystemLocale>en-US</SystemLocale>
|
147 |
+
<UILanguage>en-US</UILanguage>
|
148 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
149 |
+
<UserLocale>en-US</UserLocale>
|
150 |
+
</component>
|
151 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<RunSynchronous>
|
153 |
+
<RunSynchronousCommand wcm:action="add">
|
154 |
+
<Order>1</Order>
|
155 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
156 |
+
<Description>Set Network Location to Home</Description>
|
157 |
+
</RunSynchronousCommand>
|
158 |
+
</RunSynchronous>
|
159 |
+
</component>
|
160 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
161 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
162 |
+
</component>
|
163 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
164 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
165 |
+
</component>
|
166 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
167 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
168 |
+
</component>
|
169 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
170 |
+
<UserAuthentication>0</UserAuthentication>
|
171 |
+
</component>
|
172 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
173 |
+
<FirewallGroups>
|
174 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
175 |
+
<Active>true</Active>
|
176 |
+
<Profile>all</Profile>
|
177 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
178 |
+
</FirewallGroup>
|
179 |
+
</FirewallGroups>
|
180 |
+
</component>
|
181 |
+
</settings>
|
182 |
+
<settings pass="oobeSystem">
|
183 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
184 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
185 |
+
</component>
|
186 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
187 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
188 |
+
</component>
|
189 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
190 |
+
<UserAccounts>
|
191 |
+
<LocalAccounts>
|
192 |
+
<LocalAccount wcm:action="add">
|
193 |
+
<Name>Docker</Name>
|
194 |
+
<Group>Administrators</Group>
|
195 |
+
<Password>
|
196 |
+
<Value />
|
197 |
+
<PlainText>true</PlainText>
|
198 |
+
</Password>
|
199 |
+
</LocalAccount>
|
200 |
+
</LocalAccounts>
|
201 |
+
<AdministratorPassword>
|
202 |
+
<Value>password</Value>
|
203 |
+
<PlainText>true</PlainText>
|
204 |
+
</AdministratorPassword>
|
205 |
+
</UserAccounts>
|
206 |
+
<AutoLogon>
|
207 |
+
<Username>Docker</Username>
|
208 |
+
<Enabled>true</Enabled>
|
209 |
+
<LogonCount>65432</LogonCount>
|
210 |
+
<Password>
|
211 |
+
<Value />
|
212 |
+
<PlainText>true</PlainText>
|
213 |
+
</Password>
|
214 |
+
</AutoLogon>
|
215 |
+
<Display>
|
216 |
+
<ColorDepth>32</ColorDepth>
|
217 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
218 |
+
<VerticalResolution>1080</VerticalResolution>
|
219 |
+
</Display>
|
220 |
+
<OOBE>
|
221 |
+
<HideEULAPage>true</HideEULAPage>
|
222 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
223 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
224 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
225 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
226 |
+
<NetworkLocation>Home</NetworkLocation>
|
227 |
+
<ProtectYourPC>3</ProtectYourPC>
|
228 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
229 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
230 |
+
</OOBE>
|
231 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
232 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
233 |
+
<FirstLogonCommands>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>1</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
237 |
+
<Description>Allow guest access to network shares</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>2</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
242 |
+
<Description>Allow RDP login with blank password</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>3</Order>
|
246 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Enable option for passwordless sign-in</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>4</Order>
|
251 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
252 |
+
<Description>Password Never Expires</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>5</Order>
|
256 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>6</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable monitor blanking</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>7</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Disable first-run experience in Edge</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>8</Order>
|
271 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
272 |
+
<Description>Show file extensions in Explorer</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>9</Order>
|
276 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
277 |
+
<Description>Zero Hibernation File</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>10</Order>
|
281 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
282 |
+
<Description>Disable Hibernation</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
<SynchronousCommand wcm:action="add">
|
285 |
+
<Order>11</Order>
|
286 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
287 |
+
<Description>Disable Sleep</Description>
|
288 |
+
</SynchronousCommand>
|
289 |
+
<SynchronousCommand wcm:action="add">
|
290 |
+
<Order>12</Order>
|
291 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
292 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
293 |
+
</SynchronousCommand>
|
294 |
+
<SynchronousCommand wcm:action="add">
|
295 |
+
<Order>13</Order>
|
296 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
297 |
+
<Description>Turn off Windows Update auto download</Description>
|
298 |
+
</SynchronousCommand>
|
299 |
+
<SynchronousCommand wcm:action="add">
|
300 |
+
<Order>14</Order>
|
301 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
302 |
+
<Description>Enable Network Discovery</Description>
|
303 |
+
</SynchronousCommand>
|
304 |
+
<SynchronousCommand wcm:action="add">
|
305 |
+
<Order>15</Order>
|
306 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
307 |
+
<Description>Enable File Sharing</Description>
|
308 |
+
</SynchronousCommand>
|
309 |
+
<SynchronousCommand wcm:action="add">
|
310 |
+
<Order>16</Order>
|
311 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
312 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
313 |
+
</SynchronousCommand>
|
314 |
+
</FirstLogonCommands>
|
315 |
+
</component>
|
316 |
+
</settings>
|
317 |
+
</unattend>
|
assets/win2012r2.xml
ADDED
@@ -0,0 +1,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/image/index</Key>
|
68 |
+
<Value>2</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
<ProductKey>
|
92 |
+
<Key>D2N9P-3P6X9-2R39C-7RTCD-MDVJX</Key>
|
93 |
+
</ProductKey>
|
94 |
+
</UserData>
|
95 |
+
<EnableFirewall>false</EnableFirewall>
|
96 |
+
<Diagnostics>
|
97 |
+
<OptIn>false</OptIn>
|
98 |
+
</Diagnostics>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="offlineServicing">
|
102 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<EnableLUA>false</EnableLUA>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="generalize">
|
107 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<SkipRearm>1</SkipRearm>
|
112 |
+
</component>
|
113 |
+
</settings>
|
114 |
+
<settings pass="specialize">
|
115 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<ComputerName>*</ComputerName>
|
120 |
+
<OEMInformation>
|
121 |
+
<Manufacturer>Dockur</Manufacturer>
|
122 |
+
<Model>Windows for Docker</Model>
|
123 |
+
</OEMInformation>
|
124 |
+
<OEMName>Windows for Docker</OEMName>
|
125 |
+
</component>
|
126 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
127 |
+
<DisableWER>1</DisableWER>
|
128 |
+
</component>
|
129 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
130 |
+
<DisableAccelerators>true</DisableAccelerators>
|
131 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
132 |
+
<Home_Page>https://google.com</Home_Page>
|
133 |
+
<Help_Page>about:blank</Help_Page>
|
134 |
+
</component>
|
135 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
136 |
+
<DisableAccelerators>true</DisableAccelerators>
|
137 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
138 |
+
<Home_Page>https://google.com</Home_Page>
|
139 |
+
<Help_Page>about:blank</Help_Page>
|
140 |
+
</component>
|
141 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
142 |
+
<CEIPEnabled>0</CEIPEnabled>
|
143 |
+
</component>
|
144 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
145 |
+
<DisableSR>1</DisableSR>
|
146 |
+
</component>
|
147 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
148 |
+
<InputLocale>0409:00000409</InputLocale>
|
149 |
+
<SystemLocale>en-US</SystemLocale>
|
150 |
+
<UILanguage>en-US</UILanguage>
|
151 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
152 |
+
<UserLocale>en-US</UserLocale>
|
153 |
+
</component>
|
154 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
155 |
+
<RunSynchronous>
|
156 |
+
<RunSynchronousCommand wcm:action="add">
|
157 |
+
<Order>1</Order>
|
158 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
159 |
+
<Description>Set Network Location to Home</Description>
|
160 |
+
</RunSynchronousCommand>
|
161 |
+
</RunSynchronous>
|
162 |
+
</component>
|
163 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
164 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
165 |
+
</component>
|
166 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
167 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
168 |
+
</component>
|
169 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
170 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
171 |
+
</component>
|
172 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
173 |
+
<UserAuthentication>0</UserAuthentication>
|
174 |
+
</component>
|
175 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
176 |
+
<FirewallGroups>
|
177 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
178 |
+
<Active>true</Active>
|
179 |
+
<Profile>all</Profile>
|
180 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
181 |
+
</FirewallGroup>
|
182 |
+
</FirewallGroups>
|
183 |
+
</component>
|
184 |
+
</settings>
|
185 |
+
<settings pass="oobeSystem">
|
186 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
187 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
188 |
+
</component>
|
189 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
190 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
191 |
+
</component>
|
192 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
193 |
+
<UserAccounts>
|
194 |
+
<LocalAccounts>
|
195 |
+
<LocalAccount wcm:action="add">
|
196 |
+
<Name>Docker</Name>
|
197 |
+
<Group>Administrators</Group>
|
198 |
+
<Password>
|
199 |
+
<Value />
|
200 |
+
<PlainText>true</PlainText>
|
201 |
+
</Password>
|
202 |
+
</LocalAccount>
|
203 |
+
</LocalAccounts>
|
204 |
+
<AdministratorPassword>
|
205 |
+
<Value>password</Value>
|
206 |
+
<PlainText>true</PlainText>
|
207 |
+
</AdministratorPassword>
|
208 |
+
</UserAccounts>
|
209 |
+
<AutoLogon>
|
210 |
+
<Username>Docker</Username>
|
211 |
+
<Enabled>true</Enabled>
|
212 |
+
<LogonCount>65432</LogonCount>
|
213 |
+
<Password>
|
214 |
+
<Value />
|
215 |
+
<PlainText>true</PlainText>
|
216 |
+
</Password>
|
217 |
+
</AutoLogon>
|
218 |
+
<Display>
|
219 |
+
<ColorDepth>32</ColorDepth>
|
220 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
221 |
+
<VerticalResolution>1080</VerticalResolution>
|
222 |
+
</Display>
|
223 |
+
<OOBE>
|
224 |
+
<HideEULAPage>true</HideEULAPage>
|
225 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
226 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
227 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
228 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
229 |
+
<NetworkLocation>Home</NetworkLocation>
|
230 |
+
<ProtectYourPC>3</ProtectYourPC>
|
231 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
232 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
233 |
+
</OOBE>
|
234 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
235 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
236 |
+
<FirstLogonCommands>
|
237 |
+
<SynchronousCommand wcm:action="add">
|
238 |
+
<Order>1</Order>
|
239 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
240 |
+
<Description>Allow guest access to network shares</Description>
|
241 |
+
</SynchronousCommand>
|
242 |
+
<SynchronousCommand wcm:action="add">
|
243 |
+
<Order>2</Order>
|
244 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
245 |
+
<Description>Allow RDP login with blank password</Description>
|
246 |
+
</SynchronousCommand>
|
247 |
+
<SynchronousCommand wcm:action="add">
|
248 |
+
<Order>3</Order>
|
249 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
250 |
+
<Description>Enable option for passwordless sign-in</Description>
|
251 |
+
</SynchronousCommand>
|
252 |
+
<SynchronousCommand wcm:action="add">
|
253 |
+
<Order>4</Order>
|
254 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
255 |
+
<Description>Password Never Expires</Description>
|
256 |
+
</SynchronousCommand>
|
257 |
+
<SynchronousCommand wcm:action="add">
|
258 |
+
<Order>5</Order>
|
259 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
260 |
+
<Description>Disable Hibernation</Description>
|
261 |
+
</SynchronousCommand>
|
262 |
+
<SynchronousCommand wcm:action="add">
|
263 |
+
<Order>6</Order>
|
264 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
265 |
+
<Description>Disable monitor blanking</Description>
|
266 |
+
</SynchronousCommand>
|
267 |
+
<SynchronousCommand wcm:action="add">
|
268 |
+
<Order>7</Order>
|
269 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
270 |
+
<Description>Disable first-run experience in Edge</Description>
|
271 |
+
</SynchronousCommand>
|
272 |
+
<SynchronousCommand wcm:action="add">
|
273 |
+
<Order>8</Order>
|
274 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
275 |
+
<Description>Show file extensions in Explorer</Description>
|
276 |
+
</SynchronousCommand>
|
277 |
+
<SynchronousCommand wcm:action="add">
|
278 |
+
<Order>9</Order>
|
279 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
280 |
+
<Description>Zero Hibernation File</Description>
|
281 |
+
</SynchronousCommand>
|
282 |
+
<SynchronousCommand wcm:action="add">
|
283 |
+
<Order>10</Order>
|
284 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
285 |
+
<Description>Disable Hibernation</Description>
|
286 |
+
</SynchronousCommand>
|
287 |
+
<SynchronousCommand wcm:action="add">
|
288 |
+
<Order>11</Order>
|
289 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
290 |
+
<Description>Disable Sleep</Description>
|
291 |
+
</SynchronousCommand>
|
292 |
+
<SynchronousCommand wcm:action="add">
|
293 |
+
<Order>12</Order>
|
294 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
295 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
296 |
+
</SynchronousCommand>
|
297 |
+
<SynchronousCommand wcm:action="add">
|
298 |
+
<Order>13</Order>
|
299 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
300 |
+
<Description>Turn off Windows Update auto download</Description>
|
301 |
+
</SynchronousCommand>
|
302 |
+
<SynchronousCommand wcm:action="add">
|
303 |
+
<Order>14</Order>
|
304 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
305 |
+
<Description>Enable Network Discovery</Description>
|
306 |
+
</SynchronousCommand>
|
307 |
+
<SynchronousCommand wcm:action="add">
|
308 |
+
<Order>15</Order>
|
309 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
310 |
+
<Description>Enable File Sharing</Description>
|
311 |
+
</SynchronousCommand>
|
312 |
+
<SynchronousCommand wcm:action="add">
|
313 |
+
<Order>16</Order>
|
314 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
315 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
316 |
+
</SynchronousCommand>
|
317 |
+
</FirstLogonCommands>
|
318 |
+
</component>
|
319 |
+
</settings>
|
320 |
+
</unattend>
|
assets/win2016-eval.xml
ADDED
@@ -0,0 +1,337 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2016 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
</UserData>
|
92 |
+
<EnableFirewall>false</EnableFirewall>
|
93 |
+
<Diagnostics>
|
94 |
+
<OptIn>false</OptIn>
|
95 |
+
</Diagnostics>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="offlineServicing">
|
99 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<EnableLUA>false</EnableLUA>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="generalize">
|
104 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipRearm>1</SkipRearm>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="specialize">
|
112 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<ComputerName>*</ComputerName>
|
117 |
+
<OEMInformation>
|
118 |
+
<Manufacturer>Dockur</Manufacturer>
|
119 |
+
<Model>Windows for Docker</Model>
|
120 |
+
</OEMInformation>
|
121 |
+
<OEMName>Windows for Docker</OEMName>
|
122 |
+
</component>
|
123 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
124 |
+
<DisableWER>1</DisableWER>
|
125 |
+
</component>
|
126 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
127 |
+
<DisableAccelerators>true</DisableAccelerators>
|
128 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
129 |
+
<Home_Page>https://google.com</Home_Page>
|
130 |
+
<Help_Page>about:blank</Help_Page>
|
131 |
+
</component>
|
132 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
133 |
+
<DisableAccelerators>true</DisableAccelerators>
|
134 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
135 |
+
<Home_Page>https://google.com</Home_Page>
|
136 |
+
<Help_Page>about:blank</Help_Page>
|
137 |
+
</component>
|
138 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
139 |
+
<CEIPEnabled>0</CEIPEnabled>
|
140 |
+
</component>
|
141 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
142 |
+
<DisableSR>1</DisableSR>
|
143 |
+
</component>
|
144 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
145 |
+
<InputLocale>0409:00000409</InputLocale>
|
146 |
+
<SystemLocale>en-US</SystemLocale>
|
147 |
+
<UILanguage>en-US</UILanguage>
|
148 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
149 |
+
<UserLocale>en-US</UserLocale>
|
150 |
+
</component>
|
151 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<RunSynchronous>
|
153 |
+
<RunSynchronousCommand wcm:action="add">
|
154 |
+
<Order>1</Order>
|
155 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
156 |
+
<Description>Set Network Location to Home</Description>
|
157 |
+
</RunSynchronousCommand>
|
158 |
+
</RunSynchronous>
|
159 |
+
</component>
|
160 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
161 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
162 |
+
</component>
|
163 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
164 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
165 |
+
</component>
|
166 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
167 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
168 |
+
</component>
|
169 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
170 |
+
<UserAuthentication>0</UserAuthentication>
|
171 |
+
</component>
|
172 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
173 |
+
<FirewallGroups>
|
174 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
175 |
+
<Active>true</Active>
|
176 |
+
<Profile>all</Profile>
|
177 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
178 |
+
</FirewallGroup>
|
179 |
+
</FirewallGroups>
|
180 |
+
</component>
|
181 |
+
</settings>
|
182 |
+
<settings pass="oobeSystem">
|
183 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
184 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
185 |
+
</component>
|
186 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
187 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
188 |
+
</component>
|
189 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
190 |
+
<UserAccounts>
|
191 |
+
<LocalAccounts>
|
192 |
+
<LocalAccount wcm:action="add">
|
193 |
+
<Name>Docker</Name>
|
194 |
+
<Group>Administrators</Group>
|
195 |
+
<Password>
|
196 |
+
<Value />
|
197 |
+
<PlainText>true</PlainText>
|
198 |
+
</Password>
|
199 |
+
</LocalAccount>
|
200 |
+
</LocalAccounts>
|
201 |
+
<AdministratorPassword>
|
202 |
+
<Value>password</Value>
|
203 |
+
<PlainText>true</PlainText>
|
204 |
+
</AdministratorPassword>
|
205 |
+
</UserAccounts>
|
206 |
+
<AutoLogon>
|
207 |
+
<Username>Docker</Username>
|
208 |
+
<Enabled>true</Enabled>
|
209 |
+
<LogonCount>65432</LogonCount>
|
210 |
+
<Password>
|
211 |
+
<Value />
|
212 |
+
<PlainText>true</PlainText>
|
213 |
+
</Password>
|
214 |
+
</AutoLogon>
|
215 |
+
<Display>
|
216 |
+
<ColorDepth>32</ColorDepth>
|
217 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
218 |
+
<VerticalResolution>1080</VerticalResolution>
|
219 |
+
</Display>
|
220 |
+
<OOBE>
|
221 |
+
<HideEULAPage>true</HideEULAPage>
|
222 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
223 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
224 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
225 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
226 |
+
<NetworkLocation>Home</NetworkLocation>
|
227 |
+
<ProtectYourPC>3</ProtectYourPC>
|
228 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
229 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
230 |
+
</OOBE>
|
231 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
232 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
233 |
+
<FirstLogonCommands>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>1</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
237 |
+
<Description>Allow guest access to network shares</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>2</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
242 |
+
<Description>Allow RDP login with blank password</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>3</Order>
|
246 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Enable option for passwordless sign-in</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>4</Order>
|
251 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
252 |
+
<Description>Password Never Expires</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>5</Order>
|
256 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>6</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable monitor blanking</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>7</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Disable first-run experience in Edge</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>8</Order>
|
271 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
272 |
+
<Description>Show file extensions in Explorer</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>9</Order>
|
276 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
277 |
+
<Description>Zero Hibernation File</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>10</Order>
|
281 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
282 |
+
<Description>Disable Hibernation</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
<SynchronousCommand wcm:action="add">
|
285 |
+
<Order>11</Order>
|
286 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
287 |
+
<Description>Disable Sleep</Description>
|
288 |
+
</SynchronousCommand>
|
289 |
+
<SynchronousCommand wcm:action="add">
|
290 |
+
<Order>12</Order>
|
291 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
292 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
293 |
+
</SynchronousCommand>
|
294 |
+
<SynchronousCommand wcm:action="add">
|
295 |
+
<Order>13</Order>
|
296 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
297 |
+
<Description>Remove Search from the Taskbar</Description>
|
298 |
+
</SynchronousCommand>
|
299 |
+
<SynchronousCommand wcm:action="add">
|
300 |
+
<Order>14</Order>
|
301 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
302 |
+
<Description>Remove Task View from the Taskbar</Description>
|
303 |
+
</SynchronousCommand>
|
304 |
+
<SynchronousCommand wcm:action="add">
|
305 |
+
<Order>15</Order>
|
306 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
307 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
308 |
+
</SynchronousCommand>
|
309 |
+
<SynchronousCommand wcm:action="add">
|
310 |
+
<Order>16</Order>
|
311 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
312 |
+
<Description>Remove Chat from the Taskbar</Description>
|
313 |
+
</SynchronousCommand>
|
314 |
+
<SynchronousCommand wcm:action="add">
|
315 |
+
<Order>17</Order>
|
316 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
317 |
+
<Description>Turn off Windows Update auto download</Description>
|
318 |
+
</SynchronousCommand>
|
319 |
+
<SynchronousCommand wcm:action="add">
|
320 |
+
<Order>18</Order>
|
321 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
322 |
+
<Description>Enable Network Discovery</Description>
|
323 |
+
</SynchronousCommand>
|
324 |
+
<SynchronousCommand wcm:action="add">
|
325 |
+
<Order>19</Order>
|
326 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
327 |
+
<Description>Enable File Sharing</Description>
|
328 |
+
</SynchronousCommand>
|
329 |
+
<SynchronousCommand wcm:action="add">
|
330 |
+
<Order>20</Order>
|
331 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
332 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
333 |
+
</SynchronousCommand>
|
334 |
+
</FirstLogonCommands>
|
335 |
+
</component>
|
336 |
+
</settings>
|
337 |
+
</unattend>
|
assets/win2016.xml
ADDED
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2016 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
<ProductKey>
|
92 |
+
<Key>WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY</Key>
|
93 |
+
</ProductKey>
|
94 |
+
</UserData>
|
95 |
+
<EnableFirewall>false</EnableFirewall>
|
96 |
+
<Diagnostics>
|
97 |
+
<OptIn>false</OptIn>
|
98 |
+
</Diagnostics>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="offlineServicing">
|
102 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<EnableLUA>false</EnableLUA>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="generalize">
|
107 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<SkipRearm>1</SkipRearm>
|
112 |
+
</component>
|
113 |
+
</settings>
|
114 |
+
<settings pass="specialize">
|
115 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<ComputerName>*</ComputerName>
|
120 |
+
<OEMInformation>
|
121 |
+
<Manufacturer>Dockur</Manufacturer>
|
122 |
+
<Model>Windows for Docker</Model>
|
123 |
+
</OEMInformation>
|
124 |
+
<OEMName>Windows for Docker</OEMName>
|
125 |
+
</component>
|
126 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
127 |
+
<DisableWER>1</DisableWER>
|
128 |
+
</component>
|
129 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
130 |
+
<DisableAccelerators>true</DisableAccelerators>
|
131 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
132 |
+
<Home_Page>https://google.com</Home_Page>
|
133 |
+
<Help_Page>about:blank</Help_Page>
|
134 |
+
</component>
|
135 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
136 |
+
<DisableAccelerators>true</DisableAccelerators>
|
137 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
138 |
+
<Home_Page>https://google.com</Home_Page>
|
139 |
+
<Help_Page>about:blank</Help_Page>
|
140 |
+
</component>
|
141 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
142 |
+
<CEIPEnabled>0</CEIPEnabled>
|
143 |
+
</component>
|
144 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
145 |
+
<DisableSR>1</DisableSR>
|
146 |
+
</component>
|
147 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
148 |
+
<InputLocale>0409:00000409</InputLocale>
|
149 |
+
<SystemLocale>en-US</SystemLocale>
|
150 |
+
<UILanguage>en-US</UILanguage>
|
151 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
152 |
+
<UserLocale>en-US</UserLocale>
|
153 |
+
</component>
|
154 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
155 |
+
<RunSynchronous>
|
156 |
+
<RunSynchronousCommand wcm:action="add">
|
157 |
+
<Order>1</Order>
|
158 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
159 |
+
<Description>Set Network Location to Home</Description>
|
160 |
+
</RunSynchronousCommand>
|
161 |
+
</RunSynchronous>
|
162 |
+
</component>
|
163 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
164 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
165 |
+
</component>
|
166 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
167 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
168 |
+
</component>
|
169 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
170 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
171 |
+
</component>
|
172 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
173 |
+
<UserAuthentication>0</UserAuthentication>
|
174 |
+
</component>
|
175 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
176 |
+
<FirewallGroups>
|
177 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
178 |
+
<Active>true</Active>
|
179 |
+
<Profile>all</Profile>
|
180 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
181 |
+
</FirewallGroup>
|
182 |
+
</FirewallGroups>
|
183 |
+
</component>
|
184 |
+
</settings>
|
185 |
+
<settings pass="oobeSystem">
|
186 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
187 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
188 |
+
</component>
|
189 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
190 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
191 |
+
</component>
|
192 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
193 |
+
<UserAccounts>
|
194 |
+
<LocalAccounts>
|
195 |
+
<LocalAccount wcm:action="add">
|
196 |
+
<Name>Docker</Name>
|
197 |
+
<Group>Administrators</Group>
|
198 |
+
<Password>
|
199 |
+
<Value />
|
200 |
+
<PlainText>true</PlainText>
|
201 |
+
</Password>
|
202 |
+
</LocalAccount>
|
203 |
+
</LocalAccounts>
|
204 |
+
<AdministratorPassword>
|
205 |
+
<Value>password</Value>
|
206 |
+
<PlainText>true</PlainText>
|
207 |
+
</AdministratorPassword>
|
208 |
+
</UserAccounts>
|
209 |
+
<AutoLogon>
|
210 |
+
<Username>Docker</Username>
|
211 |
+
<Enabled>true</Enabled>
|
212 |
+
<LogonCount>65432</LogonCount>
|
213 |
+
<Password>
|
214 |
+
<Value />
|
215 |
+
<PlainText>true</PlainText>
|
216 |
+
</Password>
|
217 |
+
</AutoLogon>
|
218 |
+
<Display>
|
219 |
+
<ColorDepth>32</ColorDepth>
|
220 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
221 |
+
<VerticalResolution>1080</VerticalResolution>
|
222 |
+
</Display>
|
223 |
+
<OOBE>
|
224 |
+
<HideEULAPage>true</HideEULAPage>
|
225 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
226 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
227 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
228 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
229 |
+
<NetworkLocation>Home</NetworkLocation>
|
230 |
+
<ProtectYourPC>3</ProtectYourPC>
|
231 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
232 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
233 |
+
</OOBE>
|
234 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
235 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
236 |
+
<FirstLogonCommands>
|
237 |
+
<SynchronousCommand wcm:action="add">
|
238 |
+
<Order>1</Order>
|
239 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
240 |
+
<Description>Allow guest access to network shares</Description>
|
241 |
+
</SynchronousCommand>
|
242 |
+
<SynchronousCommand wcm:action="add">
|
243 |
+
<Order>2</Order>
|
244 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
245 |
+
<Description>Allow RDP login with blank password</Description>
|
246 |
+
</SynchronousCommand>
|
247 |
+
<SynchronousCommand wcm:action="add">
|
248 |
+
<Order>3</Order>
|
249 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
250 |
+
<Description>Enable option for passwordless sign-in</Description>
|
251 |
+
</SynchronousCommand>
|
252 |
+
<SynchronousCommand wcm:action="add">
|
253 |
+
<Order>4</Order>
|
254 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
255 |
+
<Description>Password Never Expires</Description>
|
256 |
+
</SynchronousCommand>
|
257 |
+
<SynchronousCommand wcm:action="add">
|
258 |
+
<Order>5</Order>
|
259 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
260 |
+
<Description>Disable Hibernation</Description>
|
261 |
+
</SynchronousCommand>
|
262 |
+
<SynchronousCommand wcm:action="add">
|
263 |
+
<Order>6</Order>
|
264 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
265 |
+
<Description>Disable monitor blanking</Description>
|
266 |
+
</SynchronousCommand>
|
267 |
+
<SynchronousCommand wcm:action="add">
|
268 |
+
<Order>7</Order>
|
269 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
270 |
+
<Description>Disable first-run experience in Edge</Description>
|
271 |
+
</SynchronousCommand>
|
272 |
+
<SynchronousCommand wcm:action="add">
|
273 |
+
<Order>8</Order>
|
274 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
275 |
+
<Description>Show file extensions in Explorer</Description>
|
276 |
+
</SynchronousCommand>
|
277 |
+
<SynchronousCommand wcm:action="add">
|
278 |
+
<Order>9</Order>
|
279 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
280 |
+
<Description>Zero Hibernation File</Description>
|
281 |
+
</SynchronousCommand>
|
282 |
+
<SynchronousCommand wcm:action="add">
|
283 |
+
<Order>10</Order>
|
284 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
285 |
+
<Description>Disable Hibernation</Description>
|
286 |
+
</SynchronousCommand>
|
287 |
+
<SynchronousCommand wcm:action="add">
|
288 |
+
<Order>11</Order>
|
289 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
290 |
+
<Description>Disable Sleep</Description>
|
291 |
+
</SynchronousCommand>
|
292 |
+
<SynchronousCommand wcm:action="add">
|
293 |
+
<Order>12</Order>
|
294 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
295 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
296 |
+
</SynchronousCommand>
|
297 |
+
<SynchronousCommand wcm:action="add">
|
298 |
+
<Order>13</Order>
|
299 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
300 |
+
<Description>Remove Search from the Taskbar</Description>
|
301 |
+
</SynchronousCommand>
|
302 |
+
<SynchronousCommand wcm:action="add">
|
303 |
+
<Order>14</Order>
|
304 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
305 |
+
<Description>Remove Task View from the Taskbar</Description>
|
306 |
+
</SynchronousCommand>
|
307 |
+
<SynchronousCommand wcm:action="add">
|
308 |
+
<Order>15</Order>
|
309 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
310 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
311 |
+
</SynchronousCommand>
|
312 |
+
<SynchronousCommand wcm:action="add">
|
313 |
+
<Order>16</Order>
|
314 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
315 |
+
<Description>Remove Chat from the Taskbar</Description>
|
316 |
+
</SynchronousCommand>
|
317 |
+
<SynchronousCommand wcm:action="add">
|
318 |
+
<Order>17</Order>
|
319 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
320 |
+
<Description>Turn off Windows Update auto download</Description>
|
321 |
+
</SynchronousCommand>
|
322 |
+
<SynchronousCommand wcm:action="add">
|
323 |
+
<Order>18</Order>
|
324 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
325 |
+
<Description>Enable Network Discovery</Description>
|
326 |
+
</SynchronousCommand>
|
327 |
+
<SynchronousCommand wcm:action="add">
|
328 |
+
<Order>19</Order>
|
329 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
330 |
+
<Description>Enable File Sharing</Description>
|
331 |
+
</SynchronousCommand>
|
332 |
+
<SynchronousCommand wcm:action="add">
|
333 |
+
<Order>20</Order>
|
334 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
335 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
336 |
+
</SynchronousCommand>
|
337 |
+
</FirstLogonCommands>
|
338 |
+
</component>
|
339 |
+
</settings>
|
340 |
+
</unattend>
|
assets/win2019-eval.xml
ADDED
@@ -0,0 +1,341 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2019 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
</UserData>
|
92 |
+
<EnableFirewall>false</EnableFirewall>
|
93 |
+
<Diagnostics>
|
94 |
+
<OptIn>false</OptIn>
|
95 |
+
</Diagnostics>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="offlineServicing">
|
99 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<EnableLUA>false</EnableLUA>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="generalize">
|
104 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipRearm>1</SkipRearm>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="specialize">
|
112 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<ComputerName>*</ComputerName>
|
117 |
+
<OEMInformation>
|
118 |
+
<Manufacturer>Dockur</Manufacturer>
|
119 |
+
<Model>Windows for Docker</Model>
|
120 |
+
<SupportHours>24/7</SupportHours>
|
121 |
+
<SupportPhone />
|
122 |
+
<SupportProvider>Dockur</SupportProvider>
|
123 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
124 |
+
</OEMInformation>
|
125 |
+
<OEMName>Windows for Docker</OEMName>
|
126 |
+
</component>
|
127 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
128 |
+
<DisableWER>1</DisableWER>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableAccelerators>true</DisableAccelerators>
|
132 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
133 |
+
<Home_Page>https://google.com</Home_Page>
|
134 |
+
<Help_Page>about:blank</Help_Page>
|
135 |
+
</component>
|
136 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
137 |
+
<DisableAccelerators>true</DisableAccelerators>
|
138 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
139 |
+
<Home_Page>https://google.com</Home_Page>
|
140 |
+
<Help_Page>about:blank</Help_Page>
|
141 |
+
</component>
|
142 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
143 |
+
<CEIPEnabled>0</CEIPEnabled>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<DisableSR>1</DisableSR>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<InputLocale>0409:00000409</InputLocale>
|
150 |
+
<SystemLocale>en-US</SystemLocale>
|
151 |
+
<UILanguage>en-US</UILanguage>
|
152 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
153 |
+
<UserLocale>en-US</UserLocale>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<RunSynchronous>
|
157 |
+
<RunSynchronousCommand wcm:action="add">
|
158 |
+
<Order>1</Order>
|
159 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
160 |
+
<Description>Set Network Location to Home</Description>
|
161 |
+
</RunSynchronousCommand>
|
162 |
+
</RunSynchronous>
|
163 |
+
</component>
|
164 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
165 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
166 |
+
</component>
|
167 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
169 |
+
</component>
|
170 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
171 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
172 |
+
</component>
|
173 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
174 |
+
<UserAuthentication>0</UserAuthentication>
|
175 |
+
</component>
|
176 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
177 |
+
<FirewallGroups>
|
178 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
179 |
+
<Active>true</Active>
|
180 |
+
<Profile>all</Profile>
|
181 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
182 |
+
</FirewallGroup>
|
183 |
+
</FirewallGroups>
|
184 |
+
</component>
|
185 |
+
</settings>
|
186 |
+
<settings pass="oobeSystem">
|
187 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
188 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
189 |
+
</component>
|
190 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
191 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
192 |
+
</component>
|
193 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
194 |
+
<UserAccounts>
|
195 |
+
<LocalAccounts>
|
196 |
+
<LocalAccount wcm:action="add">
|
197 |
+
<Name>Docker</Name>
|
198 |
+
<Group>Administrators</Group>
|
199 |
+
<Password>
|
200 |
+
<Value />
|
201 |
+
<PlainText>true</PlainText>
|
202 |
+
</Password>
|
203 |
+
</LocalAccount>
|
204 |
+
</LocalAccounts>
|
205 |
+
<AdministratorPassword>
|
206 |
+
<Value>password</Value>
|
207 |
+
<PlainText>true</PlainText>
|
208 |
+
</AdministratorPassword>
|
209 |
+
</UserAccounts>
|
210 |
+
<AutoLogon>
|
211 |
+
<Username>Docker</Username>
|
212 |
+
<Enabled>true</Enabled>
|
213 |
+
<LogonCount>65432</LogonCount>
|
214 |
+
<Password>
|
215 |
+
<Value />
|
216 |
+
<PlainText>true</PlainText>
|
217 |
+
</Password>
|
218 |
+
</AutoLogon>
|
219 |
+
<Display>
|
220 |
+
<ColorDepth>32</ColorDepth>
|
221 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
222 |
+
<VerticalResolution>1080</VerticalResolution>
|
223 |
+
</Display>
|
224 |
+
<OOBE>
|
225 |
+
<HideEULAPage>true</HideEULAPage>
|
226 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
227 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
228 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
229 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
230 |
+
<NetworkLocation>Home</NetworkLocation>
|
231 |
+
<ProtectYourPC>3</ProtectYourPC>
|
232 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
233 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
234 |
+
</OOBE>
|
235 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
236 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
237 |
+
<FirstLogonCommands>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>1</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Allow guest access to network shares</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>2</Order>
|
245 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
246 |
+
<Description>Allow RDP login with blank password</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>3</Order>
|
250 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
251 |
+
<Description>Enable option for passwordless sign-in</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>4</Order>
|
255 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
256 |
+
<Description>Password Never Expires</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
<SynchronousCommand wcm:action="add">
|
259 |
+
<Order>5</Order>
|
260 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
261 |
+
<Description>Disable Hibernation</Description>
|
262 |
+
</SynchronousCommand>
|
263 |
+
<SynchronousCommand wcm:action="add">
|
264 |
+
<Order>6</Order>
|
265 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
266 |
+
<Description>Disable monitor blanking</Description>
|
267 |
+
</SynchronousCommand>
|
268 |
+
<SynchronousCommand wcm:action="add">
|
269 |
+
<Order>7</Order>
|
270 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
271 |
+
<Description>Disable first-run experience in Edge</Description>
|
272 |
+
</SynchronousCommand>
|
273 |
+
<SynchronousCommand wcm:action="add">
|
274 |
+
<Order>8</Order>
|
275 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
276 |
+
<Description>Show file extensions in Explorer</Description>
|
277 |
+
</SynchronousCommand>
|
278 |
+
<SynchronousCommand wcm:action="add">
|
279 |
+
<Order>9</Order>
|
280 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
281 |
+
<Description>Zero Hibernation File</Description>
|
282 |
+
</SynchronousCommand>
|
283 |
+
<SynchronousCommand wcm:action="add">
|
284 |
+
<Order>10</Order>
|
285 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
286 |
+
<Description>Disable Hibernation</Description>
|
287 |
+
</SynchronousCommand>
|
288 |
+
<SynchronousCommand wcm:action="add">
|
289 |
+
<Order>11</Order>
|
290 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
291 |
+
<Description>Disable Sleep</Description>
|
292 |
+
</SynchronousCommand>
|
293 |
+
<SynchronousCommand wcm:action="add">
|
294 |
+
<Order>12</Order>
|
295 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
296 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
297 |
+
</SynchronousCommand>
|
298 |
+
<SynchronousCommand wcm:action="add">
|
299 |
+
<Order>13</Order>
|
300 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
301 |
+
<Description>Remove Search from the Taskbar</Description>
|
302 |
+
</SynchronousCommand>
|
303 |
+
<SynchronousCommand wcm:action="add">
|
304 |
+
<Order>14</Order>
|
305 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
306 |
+
<Description>Remove Task View from the Taskbar</Description>
|
307 |
+
</SynchronousCommand>
|
308 |
+
<SynchronousCommand wcm:action="add">
|
309 |
+
<Order>15</Order>
|
310 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
311 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
312 |
+
</SynchronousCommand>
|
313 |
+
<SynchronousCommand wcm:action="add">
|
314 |
+
<Order>16</Order>
|
315 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
316 |
+
<Description>Remove Chat from the Taskbar</Description>
|
317 |
+
</SynchronousCommand>
|
318 |
+
<SynchronousCommand wcm:action="add">
|
319 |
+
<Order>17</Order>
|
320 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
321 |
+
<Description>Turn off Windows Update auto download</Description>
|
322 |
+
</SynchronousCommand>
|
323 |
+
<SynchronousCommand wcm:action="add">
|
324 |
+
<Order>18</Order>
|
325 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
326 |
+
<Description>Enable Network Discovery</Description>
|
327 |
+
</SynchronousCommand>
|
328 |
+
<SynchronousCommand wcm:action="add">
|
329 |
+
<Order>19</Order>
|
330 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
331 |
+
<Description>Enable File Sharing</Description>
|
332 |
+
</SynchronousCommand>
|
333 |
+
<SynchronousCommand wcm:action="add">
|
334 |
+
<Order>20</Order>
|
335 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
336 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
337 |
+
</SynchronousCommand>
|
338 |
+
</FirstLogonCommands>
|
339 |
+
</component>
|
340 |
+
</settings>
|
341 |
+
</unattend>
|
assets/win2019.xml
ADDED
@@ -0,0 +1,344 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2019 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
<ProductKey>
|
92 |
+
<Key>N69G4-B89J2-4G8F4-WWYCC-J464C</Key>
|
93 |
+
</ProductKey>
|
94 |
+
</UserData>
|
95 |
+
<EnableFirewall>false</EnableFirewall>
|
96 |
+
<Diagnostics>
|
97 |
+
<OptIn>false</OptIn>
|
98 |
+
</Diagnostics>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="offlineServicing">
|
102 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<EnableLUA>false</EnableLUA>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="generalize">
|
107 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<SkipRearm>1</SkipRearm>
|
112 |
+
</component>
|
113 |
+
</settings>
|
114 |
+
<settings pass="specialize">
|
115 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<ComputerName>*</ComputerName>
|
120 |
+
<OEMInformation>
|
121 |
+
<Manufacturer>Dockur</Manufacturer>
|
122 |
+
<Model>Windows for Docker</Model>
|
123 |
+
<SupportHours>24/7</SupportHours>
|
124 |
+
<SupportPhone />
|
125 |
+
<SupportProvider>Dockur</SupportProvider>
|
126 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
127 |
+
</OEMInformation>
|
128 |
+
<OEMName>Windows for Docker</OEMName>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableWER>1</DisableWER>
|
132 |
+
</component>
|
133 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
134 |
+
<DisableAccelerators>true</DisableAccelerators>
|
135 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
136 |
+
<Home_Page>https://google.com</Home_Page>
|
137 |
+
<Help_Page>about:blank</Help_Page>
|
138 |
+
</component>
|
139 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
140 |
+
<DisableAccelerators>true</DisableAccelerators>
|
141 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
142 |
+
<Home_Page>https://google.com</Home_Page>
|
143 |
+
<Help_Page>about:blank</Help_Page>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<CEIPEnabled>0</CEIPEnabled>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<DisableSR>1</DisableSR>
|
150 |
+
</component>
|
151 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<InputLocale>0409:00000409</InputLocale>
|
153 |
+
<SystemLocale>en-US</SystemLocale>
|
154 |
+
<UILanguage>en-US</UILanguage>
|
155 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
156 |
+
<UserLocale>en-US</UserLocale>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<RunSynchronous>
|
160 |
+
<RunSynchronousCommand wcm:action="add">
|
161 |
+
<Order>1</Order>
|
162 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
163 |
+
<Description>Set Network Location to Home</Description>
|
164 |
+
</RunSynchronousCommand>
|
165 |
+
</RunSynchronous>
|
166 |
+
</component>
|
167 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
169 |
+
</component>
|
170 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
171 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
172 |
+
</component>
|
173 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
174 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
175 |
+
</component>
|
176 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
177 |
+
<UserAuthentication>0</UserAuthentication>
|
178 |
+
</component>
|
179 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
180 |
+
<FirewallGroups>
|
181 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
182 |
+
<Active>true</Active>
|
183 |
+
<Profile>all</Profile>
|
184 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
185 |
+
</FirewallGroup>
|
186 |
+
</FirewallGroups>
|
187 |
+
</component>
|
188 |
+
</settings>
|
189 |
+
<settings pass="oobeSystem">
|
190 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
191 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
192 |
+
</component>
|
193 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
194 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
195 |
+
</component>
|
196 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
197 |
+
<UserAccounts>
|
198 |
+
<LocalAccounts>
|
199 |
+
<LocalAccount wcm:action="add">
|
200 |
+
<Name>Docker</Name>
|
201 |
+
<Group>Administrators</Group>
|
202 |
+
<Password>
|
203 |
+
<Value />
|
204 |
+
<PlainText>true</PlainText>
|
205 |
+
</Password>
|
206 |
+
</LocalAccount>
|
207 |
+
</LocalAccounts>
|
208 |
+
<AdministratorPassword>
|
209 |
+
<Value>password</Value>
|
210 |
+
<PlainText>true</PlainText>
|
211 |
+
</AdministratorPassword>
|
212 |
+
</UserAccounts>
|
213 |
+
<AutoLogon>
|
214 |
+
<Username>Docker</Username>
|
215 |
+
<Enabled>true</Enabled>
|
216 |
+
<LogonCount>65432</LogonCount>
|
217 |
+
<Password>
|
218 |
+
<Value />
|
219 |
+
<PlainText>true</PlainText>
|
220 |
+
</Password>
|
221 |
+
</AutoLogon>
|
222 |
+
<Display>
|
223 |
+
<ColorDepth>32</ColorDepth>
|
224 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
225 |
+
<VerticalResolution>1080</VerticalResolution>
|
226 |
+
</Display>
|
227 |
+
<OOBE>
|
228 |
+
<HideEULAPage>true</HideEULAPage>
|
229 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
230 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
231 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
232 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
233 |
+
<NetworkLocation>Home</NetworkLocation>
|
234 |
+
<ProtectYourPC>3</ProtectYourPC>
|
235 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
236 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
237 |
+
</OOBE>
|
238 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
239 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
240 |
+
<FirstLogonCommands>
|
241 |
+
<SynchronousCommand wcm:action="add">
|
242 |
+
<Order>1</Order>
|
243 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
244 |
+
<Description>Allow guest access to network shares</Description>
|
245 |
+
</SynchronousCommand>
|
246 |
+
<SynchronousCommand wcm:action="add">
|
247 |
+
<Order>2</Order>
|
248 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
249 |
+
<Description>Allow RDP login with blank password</Description>
|
250 |
+
</SynchronousCommand>
|
251 |
+
<SynchronousCommand wcm:action="add">
|
252 |
+
<Order>3</Order>
|
253 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
254 |
+
<Description>Enable option for passwordless sign-in</Description>
|
255 |
+
</SynchronousCommand>
|
256 |
+
<SynchronousCommand wcm:action="add">
|
257 |
+
<Order>4</Order>
|
258 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
259 |
+
<Description>Password Never Expires</Description>
|
260 |
+
</SynchronousCommand>
|
261 |
+
<SynchronousCommand wcm:action="add">
|
262 |
+
<Order>5</Order>
|
263 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
264 |
+
<Description>Disable Hibernation</Description>
|
265 |
+
</SynchronousCommand>
|
266 |
+
<SynchronousCommand wcm:action="add">
|
267 |
+
<Order>6</Order>
|
268 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
269 |
+
<Description>Disable monitor blanking</Description>
|
270 |
+
</SynchronousCommand>
|
271 |
+
<SynchronousCommand wcm:action="add">
|
272 |
+
<Order>7</Order>
|
273 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
274 |
+
<Description>Disable first-run experience in Edge</Description>
|
275 |
+
</SynchronousCommand>
|
276 |
+
<SynchronousCommand wcm:action="add">
|
277 |
+
<Order>8</Order>
|
278 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
279 |
+
<Description>Show file extensions in Explorer</Description>
|
280 |
+
</SynchronousCommand>
|
281 |
+
<SynchronousCommand wcm:action="add">
|
282 |
+
<Order>9</Order>
|
283 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
284 |
+
<Description>Zero Hibernation File</Description>
|
285 |
+
</SynchronousCommand>
|
286 |
+
<SynchronousCommand wcm:action="add">
|
287 |
+
<Order>10</Order>
|
288 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
289 |
+
<Description>Disable Hibernation</Description>
|
290 |
+
</SynchronousCommand>
|
291 |
+
<SynchronousCommand wcm:action="add">
|
292 |
+
<Order>11</Order>
|
293 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
294 |
+
<Description>Disable Sleep</Description>
|
295 |
+
</SynchronousCommand>
|
296 |
+
<SynchronousCommand wcm:action="add">
|
297 |
+
<Order>12</Order>
|
298 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
299 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
300 |
+
</SynchronousCommand>
|
301 |
+
<SynchronousCommand wcm:action="add">
|
302 |
+
<Order>13</Order>
|
303 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
304 |
+
<Description>Remove Search from the Taskbar</Description>
|
305 |
+
</SynchronousCommand>
|
306 |
+
<SynchronousCommand wcm:action="add">
|
307 |
+
<Order>14</Order>
|
308 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
309 |
+
<Description>Remove Task View from the Taskbar</Description>
|
310 |
+
</SynchronousCommand>
|
311 |
+
<SynchronousCommand wcm:action="add">
|
312 |
+
<Order>15</Order>
|
313 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
314 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
315 |
+
</SynchronousCommand>
|
316 |
+
<SynchronousCommand wcm:action="add">
|
317 |
+
<Order>16</Order>
|
318 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
319 |
+
<Description>Remove Chat from the Taskbar</Description>
|
320 |
+
</SynchronousCommand>
|
321 |
+
<SynchronousCommand wcm:action="add">
|
322 |
+
<Order>17</Order>
|
323 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
324 |
+
<Description>Turn off Windows Update auto download</Description>
|
325 |
+
</SynchronousCommand>
|
326 |
+
<SynchronousCommand wcm:action="add">
|
327 |
+
<Order>18</Order>
|
328 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
329 |
+
<Description>Enable Network Discovery</Description>
|
330 |
+
</SynchronousCommand>
|
331 |
+
<SynchronousCommand wcm:action="add">
|
332 |
+
<Order>19</Order>
|
333 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
334 |
+
<Description>Enable File Sharing</Description>
|
335 |
+
</SynchronousCommand>
|
336 |
+
<SynchronousCommand wcm:action="add">
|
337 |
+
<Order>20</Order>
|
338 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
339 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
340 |
+
</SynchronousCommand>
|
341 |
+
</FirstLogonCommands>
|
342 |
+
</component>
|
343 |
+
</settings>
|
344 |
+
</unattend>
|
assets/win2022-eval.xml
ADDED
@@ -0,0 +1,341 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2022 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
</UserData>
|
92 |
+
<EnableFirewall>false</EnableFirewall>
|
93 |
+
<Diagnostics>
|
94 |
+
<OptIn>false</OptIn>
|
95 |
+
</Diagnostics>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="offlineServicing">
|
99 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<EnableLUA>false</EnableLUA>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="generalize">
|
104 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipRearm>1</SkipRearm>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="specialize">
|
112 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<ComputerName>*</ComputerName>
|
117 |
+
<OEMInformation>
|
118 |
+
<Manufacturer>Dockur</Manufacturer>
|
119 |
+
<Model>Windows for Docker</Model>
|
120 |
+
<SupportHours>24/7</SupportHours>
|
121 |
+
<SupportPhone />
|
122 |
+
<SupportProvider>Dockur</SupportProvider>
|
123 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
124 |
+
</OEMInformation>
|
125 |
+
<OEMName>Windows for Docker</OEMName>
|
126 |
+
</component>
|
127 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
128 |
+
<DisableWER>1</DisableWER>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableAccelerators>true</DisableAccelerators>
|
132 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
133 |
+
<Home_Page>https://google.com</Home_Page>
|
134 |
+
<Help_Page>about:blank</Help_Page>
|
135 |
+
</component>
|
136 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
137 |
+
<DisableAccelerators>true</DisableAccelerators>
|
138 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
139 |
+
<Home_Page>https://google.com</Home_Page>
|
140 |
+
<Help_Page>about:blank</Help_Page>
|
141 |
+
</component>
|
142 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
143 |
+
<CEIPEnabled>0</CEIPEnabled>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<DisableSR>1</DisableSR>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<InputLocale>0409:00000409</InputLocale>
|
150 |
+
<SystemLocale>en-US</SystemLocale>
|
151 |
+
<UILanguage>en-US</UILanguage>
|
152 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
153 |
+
<UserLocale>en-US</UserLocale>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<RunSynchronous>
|
157 |
+
<RunSynchronousCommand wcm:action="add">
|
158 |
+
<Order>1</Order>
|
159 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
160 |
+
<Description>Set Network Location to Home</Description>
|
161 |
+
</RunSynchronousCommand>
|
162 |
+
</RunSynchronous>
|
163 |
+
</component>
|
164 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
165 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
166 |
+
</component>
|
167 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
169 |
+
</component>
|
170 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
171 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
172 |
+
</component>
|
173 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
174 |
+
<UserAuthentication>0</UserAuthentication>
|
175 |
+
</component>
|
176 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
177 |
+
<FirewallGroups>
|
178 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
179 |
+
<Active>true</Active>
|
180 |
+
<Profile>all</Profile>
|
181 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
182 |
+
</FirewallGroup>
|
183 |
+
</FirewallGroups>
|
184 |
+
</component>
|
185 |
+
</settings>
|
186 |
+
<settings pass="oobeSystem">
|
187 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
188 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
189 |
+
</component>
|
190 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
191 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
192 |
+
</component>
|
193 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
194 |
+
<UserAccounts>
|
195 |
+
<LocalAccounts>
|
196 |
+
<LocalAccount wcm:action="add">
|
197 |
+
<Name>Docker</Name>
|
198 |
+
<Group>Administrators</Group>
|
199 |
+
<Password>
|
200 |
+
<Value />
|
201 |
+
<PlainText>true</PlainText>
|
202 |
+
</Password>
|
203 |
+
</LocalAccount>
|
204 |
+
</LocalAccounts>
|
205 |
+
<AdministratorPassword>
|
206 |
+
<Value>password</Value>
|
207 |
+
<PlainText>true</PlainText>
|
208 |
+
</AdministratorPassword>
|
209 |
+
</UserAccounts>
|
210 |
+
<AutoLogon>
|
211 |
+
<Username>Docker</Username>
|
212 |
+
<Enabled>true</Enabled>
|
213 |
+
<LogonCount>65432</LogonCount>
|
214 |
+
<Password>
|
215 |
+
<Value />
|
216 |
+
<PlainText>true</PlainText>
|
217 |
+
</Password>
|
218 |
+
</AutoLogon>
|
219 |
+
<Display>
|
220 |
+
<ColorDepth>32</ColorDepth>
|
221 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
222 |
+
<VerticalResolution>1080</VerticalResolution>
|
223 |
+
</Display>
|
224 |
+
<OOBE>
|
225 |
+
<HideEULAPage>true</HideEULAPage>
|
226 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
227 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
228 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
229 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
230 |
+
<NetworkLocation>Home</NetworkLocation>
|
231 |
+
<ProtectYourPC>3</ProtectYourPC>
|
232 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
233 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
234 |
+
</OOBE>
|
235 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
236 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
237 |
+
<FirstLogonCommands>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>1</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Allow guest access to network shares</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>2</Order>
|
245 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
246 |
+
<Description>Allow RDP login with blank password</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>3</Order>
|
250 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
251 |
+
<Description>Enable option for passwordless sign-in</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>4</Order>
|
255 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
256 |
+
<Description>Password Never Expires</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
<SynchronousCommand wcm:action="add">
|
259 |
+
<Order>5</Order>
|
260 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
261 |
+
<Description>Disable Hibernation</Description>
|
262 |
+
</SynchronousCommand>
|
263 |
+
<SynchronousCommand wcm:action="add">
|
264 |
+
<Order>6</Order>
|
265 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
266 |
+
<Description>Disable monitor blanking</Description>
|
267 |
+
</SynchronousCommand>
|
268 |
+
<SynchronousCommand wcm:action="add">
|
269 |
+
<Order>7</Order>
|
270 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
271 |
+
<Description>Disable first-run experience in Edge</Description>
|
272 |
+
</SynchronousCommand>
|
273 |
+
<SynchronousCommand wcm:action="add">
|
274 |
+
<Order>8</Order>
|
275 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
276 |
+
<Description>Show file extensions in Explorer</Description>
|
277 |
+
</SynchronousCommand>
|
278 |
+
<SynchronousCommand wcm:action="add">
|
279 |
+
<Order>9</Order>
|
280 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
281 |
+
<Description>Zero Hibernation File</Description>
|
282 |
+
</SynchronousCommand>
|
283 |
+
<SynchronousCommand wcm:action="add">
|
284 |
+
<Order>10</Order>
|
285 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
286 |
+
<Description>Disable Hibernation</Description>
|
287 |
+
</SynchronousCommand>
|
288 |
+
<SynchronousCommand wcm:action="add">
|
289 |
+
<Order>11</Order>
|
290 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
291 |
+
<Description>Disable Sleep</Description>
|
292 |
+
</SynchronousCommand>
|
293 |
+
<SynchronousCommand wcm:action="add">
|
294 |
+
<Order>12</Order>
|
295 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
296 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
297 |
+
</SynchronousCommand>
|
298 |
+
<SynchronousCommand wcm:action="add">
|
299 |
+
<Order>13</Order>
|
300 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
301 |
+
<Description>Remove Search from the Taskbar</Description>
|
302 |
+
</SynchronousCommand>
|
303 |
+
<SynchronousCommand wcm:action="add">
|
304 |
+
<Order>14</Order>
|
305 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
306 |
+
<Description>Remove Task View from the Taskbar</Description>
|
307 |
+
</SynchronousCommand>
|
308 |
+
<SynchronousCommand wcm:action="add">
|
309 |
+
<Order>15</Order>
|
310 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
311 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
312 |
+
</SynchronousCommand>
|
313 |
+
<SynchronousCommand wcm:action="add">
|
314 |
+
<Order>16</Order>
|
315 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
316 |
+
<Description>Remove Chat from the Taskbar</Description>
|
317 |
+
</SynchronousCommand>
|
318 |
+
<SynchronousCommand wcm:action="add">
|
319 |
+
<Order>17</Order>
|
320 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
321 |
+
<Description>Turn off Windows Update auto download</Description>
|
322 |
+
</SynchronousCommand>
|
323 |
+
<SynchronousCommand wcm:action="add">
|
324 |
+
<Order>18</Order>
|
325 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
326 |
+
<Description>Enable Network Discovery</Description>
|
327 |
+
</SynchronousCommand>
|
328 |
+
<SynchronousCommand wcm:action="add">
|
329 |
+
<Order>19</Order>
|
330 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
331 |
+
<Description>Enable File Sharing</Description>
|
332 |
+
</SynchronousCommand>
|
333 |
+
<SynchronousCommand wcm:action="add">
|
334 |
+
<Order>20</Order>
|
335 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
336 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
337 |
+
</SynchronousCommand>
|
338 |
+
</FirstLogonCommands>
|
339 |
+
</component>
|
340 |
+
</settings>
|
341 |
+
</unattend>
|
assets/win2022.xml
ADDED
@@ -0,0 +1,344 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2022 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
<ProductKey>
|
92 |
+
<Key>VDYBN-27WPP-V4HQT-9VMD4-VMK7H</Key>
|
93 |
+
</ProductKey>
|
94 |
+
</UserData>
|
95 |
+
<EnableFirewall>false</EnableFirewall>
|
96 |
+
<Diagnostics>
|
97 |
+
<OptIn>false</OptIn>
|
98 |
+
</Diagnostics>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="offlineServicing">
|
102 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<EnableLUA>false</EnableLUA>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="generalize">
|
107 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<SkipRearm>1</SkipRearm>
|
112 |
+
</component>
|
113 |
+
</settings>
|
114 |
+
<settings pass="specialize">
|
115 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<ComputerName>*</ComputerName>
|
120 |
+
<OEMInformation>
|
121 |
+
<Manufacturer>Dockur</Manufacturer>
|
122 |
+
<Model>Windows for Docker</Model>
|
123 |
+
<SupportHours>24/7</SupportHours>
|
124 |
+
<SupportPhone />
|
125 |
+
<SupportProvider>Dockur</SupportProvider>
|
126 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
127 |
+
</OEMInformation>
|
128 |
+
<OEMName>Windows for Docker</OEMName>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableWER>1</DisableWER>
|
132 |
+
</component>
|
133 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
134 |
+
<DisableAccelerators>true</DisableAccelerators>
|
135 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
136 |
+
<Home_Page>https://google.com</Home_Page>
|
137 |
+
<Help_Page>about:blank</Help_Page>
|
138 |
+
</component>
|
139 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
140 |
+
<DisableAccelerators>true</DisableAccelerators>
|
141 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
142 |
+
<Home_Page>https://google.com</Home_Page>
|
143 |
+
<Help_Page>about:blank</Help_Page>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<CEIPEnabled>0</CEIPEnabled>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<DisableSR>1</DisableSR>
|
150 |
+
</component>
|
151 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<InputLocale>0409:00000409</InputLocale>
|
153 |
+
<SystemLocale>en-US</SystemLocale>
|
154 |
+
<UILanguage>en-US</UILanguage>
|
155 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
156 |
+
<UserLocale>en-US</UserLocale>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<RunSynchronous>
|
160 |
+
<RunSynchronousCommand wcm:action="add">
|
161 |
+
<Order>1</Order>
|
162 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
163 |
+
<Description>Set Network Location to Home</Description>
|
164 |
+
</RunSynchronousCommand>
|
165 |
+
</RunSynchronous>
|
166 |
+
</component>
|
167 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
169 |
+
</component>
|
170 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
171 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
172 |
+
</component>
|
173 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
174 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
175 |
+
</component>
|
176 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
177 |
+
<UserAuthentication>0</UserAuthentication>
|
178 |
+
</component>
|
179 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
180 |
+
<FirewallGroups>
|
181 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
182 |
+
<Active>true</Active>
|
183 |
+
<Profile>all</Profile>
|
184 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
185 |
+
</FirewallGroup>
|
186 |
+
</FirewallGroups>
|
187 |
+
</component>
|
188 |
+
</settings>
|
189 |
+
<settings pass="oobeSystem">
|
190 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
191 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
192 |
+
</component>
|
193 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
194 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
195 |
+
</component>
|
196 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
197 |
+
<UserAccounts>
|
198 |
+
<LocalAccounts>
|
199 |
+
<LocalAccount wcm:action="add">
|
200 |
+
<Name>Docker</Name>
|
201 |
+
<Group>Administrators</Group>
|
202 |
+
<Password>
|
203 |
+
<Value />
|
204 |
+
<PlainText>true</PlainText>
|
205 |
+
</Password>
|
206 |
+
</LocalAccount>
|
207 |
+
</LocalAccounts>
|
208 |
+
<AdministratorPassword>
|
209 |
+
<Value>password</Value>
|
210 |
+
<PlainText>true</PlainText>
|
211 |
+
</AdministratorPassword>
|
212 |
+
</UserAccounts>
|
213 |
+
<AutoLogon>
|
214 |
+
<Username>Docker</Username>
|
215 |
+
<Enabled>true</Enabled>
|
216 |
+
<LogonCount>65432</LogonCount>
|
217 |
+
<Password>
|
218 |
+
<Value />
|
219 |
+
<PlainText>true</PlainText>
|
220 |
+
</Password>
|
221 |
+
</AutoLogon>
|
222 |
+
<Display>
|
223 |
+
<ColorDepth>32</ColorDepth>
|
224 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
225 |
+
<VerticalResolution>1080</VerticalResolution>
|
226 |
+
</Display>
|
227 |
+
<OOBE>
|
228 |
+
<HideEULAPage>true</HideEULAPage>
|
229 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
230 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
231 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
232 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
233 |
+
<NetworkLocation>Home</NetworkLocation>
|
234 |
+
<ProtectYourPC>3</ProtectYourPC>
|
235 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
236 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
237 |
+
</OOBE>
|
238 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
239 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
240 |
+
<FirstLogonCommands>
|
241 |
+
<SynchronousCommand wcm:action="add">
|
242 |
+
<Order>1</Order>
|
243 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
244 |
+
<Description>Allow guest access to network shares</Description>
|
245 |
+
</SynchronousCommand>
|
246 |
+
<SynchronousCommand wcm:action="add">
|
247 |
+
<Order>2</Order>
|
248 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
249 |
+
<Description>Allow RDP login with blank password</Description>
|
250 |
+
</SynchronousCommand>
|
251 |
+
<SynchronousCommand wcm:action="add">
|
252 |
+
<Order>3</Order>
|
253 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
254 |
+
<Description>Enable option for passwordless sign-in</Description>
|
255 |
+
</SynchronousCommand>
|
256 |
+
<SynchronousCommand wcm:action="add">
|
257 |
+
<Order>4</Order>
|
258 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
259 |
+
<Description>Password Never Expires</Description>
|
260 |
+
</SynchronousCommand>
|
261 |
+
<SynchronousCommand wcm:action="add">
|
262 |
+
<Order>5</Order>
|
263 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
264 |
+
<Description>Disable Hibernation</Description>
|
265 |
+
</SynchronousCommand>
|
266 |
+
<SynchronousCommand wcm:action="add">
|
267 |
+
<Order>6</Order>
|
268 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
269 |
+
<Description>Disable monitor blanking</Description>
|
270 |
+
</SynchronousCommand>
|
271 |
+
<SynchronousCommand wcm:action="add">
|
272 |
+
<Order>7</Order>
|
273 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
274 |
+
<Description>Disable first-run experience in Edge</Description>
|
275 |
+
</SynchronousCommand>
|
276 |
+
<SynchronousCommand wcm:action="add">
|
277 |
+
<Order>8</Order>
|
278 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
279 |
+
<Description>Show file extensions in Explorer</Description>
|
280 |
+
</SynchronousCommand>
|
281 |
+
<SynchronousCommand wcm:action="add">
|
282 |
+
<Order>9</Order>
|
283 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
284 |
+
<Description>Zero Hibernation File</Description>
|
285 |
+
</SynchronousCommand>
|
286 |
+
<SynchronousCommand wcm:action="add">
|
287 |
+
<Order>10</Order>
|
288 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
289 |
+
<Description>Disable Hibernation</Description>
|
290 |
+
</SynchronousCommand>
|
291 |
+
<SynchronousCommand wcm:action="add">
|
292 |
+
<Order>11</Order>
|
293 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
294 |
+
<Description>Disable Sleep</Description>
|
295 |
+
</SynchronousCommand>
|
296 |
+
<SynchronousCommand wcm:action="add">
|
297 |
+
<Order>12</Order>
|
298 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
299 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
300 |
+
</SynchronousCommand>
|
301 |
+
<SynchronousCommand wcm:action="add">
|
302 |
+
<Order>13</Order>
|
303 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
304 |
+
<Description>Remove Search from the Taskbar</Description>
|
305 |
+
</SynchronousCommand>
|
306 |
+
<SynchronousCommand wcm:action="add">
|
307 |
+
<Order>14</Order>
|
308 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
309 |
+
<Description>Remove Task View from the Taskbar</Description>
|
310 |
+
</SynchronousCommand>
|
311 |
+
<SynchronousCommand wcm:action="add">
|
312 |
+
<Order>15</Order>
|
313 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
314 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
315 |
+
</SynchronousCommand>
|
316 |
+
<SynchronousCommand wcm:action="add">
|
317 |
+
<Order>16</Order>
|
318 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
319 |
+
<Description>Remove Chat from the Taskbar</Description>
|
320 |
+
</SynchronousCommand>
|
321 |
+
<SynchronousCommand wcm:action="add">
|
322 |
+
<Order>17</Order>
|
323 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
324 |
+
<Description>Turn off Windows Update auto download</Description>
|
325 |
+
</SynchronousCommand>
|
326 |
+
<SynchronousCommand wcm:action="add">
|
327 |
+
<Order>18</Order>
|
328 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
329 |
+
<Description>Enable Network Discovery</Description>
|
330 |
+
</SynchronousCommand>
|
331 |
+
<SynchronousCommand wcm:action="add">
|
332 |
+
<Order>19</Order>
|
333 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
334 |
+
<Description>Enable File Sharing</Description>
|
335 |
+
</SynchronousCommand>
|
336 |
+
<SynchronousCommand wcm:action="add">
|
337 |
+
<Order>20</Order>
|
338 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
339 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
340 |
+
</SynchronousCommand>
|
341 |
+
</FirstLogonCommands>
|
342 |
+
</component>
|
343 |
+
</settings>
|
344 |
+
</unattend>
|
assets/win2025-eval.xml
ADDED
@@ -0,0 +1,356 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2025 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
</UserData>
|
92 |
+
<EnableFirewall>false</EnableFirewall>
|
93 |
+
<Diagnostics>
|
94 |
+
<OptIn>false</OptIn>
|
95 |
+
</Diagnostics>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="offlineServicing">
|
99 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<EnableLUA>false</EnableLUA>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="generalize">
|
104 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipRearm>1</SkipRearm>
|
109 |
+
</component>
|
110 |
+
</settings>
|
111 |
+
<settings pass="specialize">
|
112 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
113 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<ComputerName>*</ComputerName>
|
117 |
+
<OEMInformation>
|
118 |
+
<Manufacturer>Dockur</Manufacturer>
|
119 |
+
<Model>Windows for Docker</Model>
|
120 |
+
<SupportHours>24/7</SupportHours>
|
121 |
+
<SupportPhone />
|
122 |
+
<SupportProvider>Dockur</SupportProvider>
|
123 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
124 |
+
</OEMInformation>
|
125 |
+
<OEMName>Windows for Docker</OEMName>
|
126 |
+
</component>
|
127 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
128 |
+
<DisableWER>1</DisableWER>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableAccelerators>true</DisableAccelerators>
|
132 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
133 |
+
<Home_Page>https://google.com</Home_Page>
|
134 |
+
<Help_Page>about:blank</Help_Page>
|
135 |
+
</component>
|
136 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
137 |
+
<DisableAccelerators>true</DisableAccelerators>
|
138 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
139 |
+
<Home_Page>https://google.com</Home_Page>
|
140 |
+
<Help_Page>about:blank</Help_Page>
|
141 |
+
</component>
|
142 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
143 |
+
<CEIPEnabled>0</CEIPEnabled>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<DisableSR>1</DisableSR>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<InputLocale>0409:00000409</InputLocale>
|
150 |
+
<SystemLocale>en-US</SystemLocale>
|
151 |
+
<UILanguage>en-US</UILanguage>
|
152 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
153 |
+
<UserLocale>en-US</UserLocale>
|
154 |
+
</component>
|
155 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
156 |
+
<RunSynchronous>
|
157 |
+
<RunSynchronousCommand wcm:action="add">
|
158 |
+
<Order>1</Order>
|
159 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
160 |
+
<Description>Set Network Location to Home</Description>
|
161 |
+
</RunSynchronousCommand>
|
162 |
+
</RunSynchronous>
|
163 |
+
</component>
|
164 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
165 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
166 |
+
</component>
|
167 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
169 |
+
</component>
|
170 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
171 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
172 |
+
</component>
|
173 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
174 |
+
<UserAuthentication>0</UserAuthentication>
|
175 |
+
</component>
|
176 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
177 |
+
<FirewallGroups>
|
178 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
179 |
+
<Active>true</Active>
|
180 |
+
<Profile>all</Profile>
|
181 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
182 |
+
</FirewallGroup>
|
183 |
+
</FirewallGroups>
|
184 |
+
</component>
|
185 |
+
</settings>
|
186 |
+
<settings pass="oobeSystem">
|
187 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
188 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
189 |
+
</component>
|
190 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
191 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
192 |
+
</component>
|
193 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
194 |
+
<UserAccounts>
|
195 |
+
<LocalAccounts>
|
196 |
+
<LocalAccount wcm:action="add">
|
197 |
+
<Name>Docker</Name>
|
198 |
+
<Group>Administrators</Group>
|
199 |
+
<Password>
|
200 |
+
<Value />
|
201 |
+
<PlainText>true</PlainText>
|
202 |
+
</Password>
|
203 |
+
</LocalAccount>
|
204 |
+
</LocalAccounts>
|
205 |
+
<AdministratorPassword>
|
206 |
+
<Value>password</Value>
|
207 |
+
<PlainText>true</PlainText>
|
208 |
+
</AdministratorPassword>
|
209 |
+
</UserAccounts>
|
210 |
+
<AutoLogon>
|
211 |
+
<Username>Docker</Username>
|
212 |
+
<Enabled>true</Enabled>
|
213 |
+
<LogonCount>65432</LogonCount>
|
214 |
+
<Password>
|
215 |
+
<Value />
|
216 |
+
<PlainText>true</PlainText>
|
217 |
+
</Password>
|
218 |
+
</AutoLogon>
|
219 |
+
<Display>
|
220 |
+
<ColorDepth>32</ColorDepth>
|
221 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
222 |
+
<VerticalResolution>1080</VerticalResolution>
|
223 |
+
</Display>
|
224 |
+
<OOBE>
|
225 |
+
<HideEULAPage>true</HideEULAPage>
|
226 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
227 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
228 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
229 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
230 |
+
<NetworkLocation>Home</NetworkLocation>
|
231 |
+
<ProtectYourPC>3</ProtectYourPC>
|
232 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
233 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
234 |
+
</OOBE>
|
235 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
236 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
237 |
+
<FirstLogonCommands>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>1</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Allow guest access to network shares</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>2</Order>
|
245 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
246 |
+
<Description>Disable SMB signing requirement</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>3</Order>
|
250 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
251 |
+
<Description>Allow RDP login with blank password</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>4</Order>
|
255 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
256 |
+
<Description>Enable option for passwordless sign-in</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
<SynchronousCommand wcm:action="add">
|
259 |
+
<Order>5</Order>
|
260 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
261 |
+
<Description>Password Never Expires</Description>
|
262 |
+
</SynchronousCommand>
|
263 |
+
<SynchronousCommand wcm:action="add">
|
264 |
+
<Order>6</Order>
|
265 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
266 |
+
<Description>Disable Hibernation</Description>
|
267 |
+
</SynchronousCommand>
|
268 |
+
<SynchronousCommand wcm:action="add">
|
269 |
+
<Order>7</Order>
|
270 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
271 |
+
<Description>Disable monitor blanking</Description>
|
272 |
+
</SynchronousCommand>
|
273 |
+
<SynchronousCommand wcm:action="add">
|
274 |
+
<Order>8</Order>
|
275 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
276 |
+
<Description>Disable first-run experience in Edge</Description>
|
277 |
+
</SynchronousCommand>
|
278 |
+
<SynchronousCommand wcm:action="add">
|
279 |
+
<Order>9</Order>
|
280 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
281 |
+
<Description>Show file extensions in Explorer</Description>
|
282 |
+
</SynchronousCommand>
|
283 |
+
<SynchronousCommand wcm:action="add">
|
284 |
+
<Order>10</Order>
|
285 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
286 |
+
<Description>Zero Hibernation File</Description>
|
287 |
+
</SynchronousCommand>
|
288 |
+
<SynchronousCommand wcm:action="add">
|
289 |
+
<Order>11</Order>
|
290 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
291 |
+
<Description>Disable Hibernation</Description>
|
292 |
+
</SynchronousCommand>
|
293 |
+
<SynchronousCommand wcm:action="add">
|
294 |
+
<Order>12</Order>
|
295 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
296 |
+
<Description>Disable Sleep</Description>
|
297 |
+
</SynchronousCommand>
|
298 |
+
<SynchronousCommand wcm:action="add">
|
299 |
+
<Order>13</Order>
|
300 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
301 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
302 |
+
</SynchronousCommand>
|
303 |
+
<SynchronousCommand wcm:action="add">
|
304 |
+
<Order>14</Order>
|
305 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
306 |
+
<Description>Remove Search from the Taskbar</Description>
|
307 |
+
</SynchronousCommand>
|
308 |
+
<SynchronousCommand wcm:action="add">
|
309 |
+
<Order>15</Order>
|
310 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
311 |
+
<Description>Remove Task View from the Taskbar</Description>
|
312 |
+
</SynchronousCommand>
|
313 |
+
<SynchronousCommand wcm:action="add">
|
314 |
+
<Order>16</Order>
|
315 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
316 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
317 |
+
</SynchronousCommand>
|
318 |
+
<SynchronousCommand wcm:action="add">
|
319 |
+
<Order>17</Order>
|
320 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
321 |
+
<Description>Remove Chat from the Taskbar</Description>
|
322 |
+
</SynchronousCommand>
|
323 |
+
<SynchronousCommand wcm:action="add">
|
324 |
+
<Order>18</Order>
|
325 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
326 |
+
<Description>Turn off Windows Update auto download</Description>
|
327 |
+
</SynchronousCommand>
|
328 |
+
<SynchronousCommand wcm:action="add">
|
329 |
+
<Order>19</Order>
|
330 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
331 |
+
<Description>Enable Network Discovery</Description>
|
332 |
+
</SynchronousCommand>
|
333 |
+
<SynchronousCommand wcm:action="add">
|
334 |
+
<Order>20</Order>
|
335 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
336 |
+
<Description>Enable File Sharing</Description>
|
337 |
+
</SynchronousCommand>
|
338 |
+
<SynchronousCommand wcm:action="add">
|
339 |
+
<Order>21</Order>
|
340 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
341 |
+
<Description>Install VirtIO display driver</Description>
|
342 |
+
</SynchronousCommand>
|
343 |
+
<SynchronousCommand wcm:action="add">
|
344 |
+
<Order>22</Order>
|
345 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
346 |
+
<Description>Remove empty Windows.old folder</Description>
|
347 |
+
</SynchronousCommand>
|
348 |
+
<SynchronousCommand wcm:action="add">
|
349 |
+
<Order>23</Order>
|
350 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
351 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
352 |
+
</SynchronousCommand>
|
353 |
+
</FirstLogonCommands>
|
354 |
+
</component>
|
355 |
+
</settings>
|
356 |
+
</unattend>
|
assets/win2025.xml
ADDED
@@ -0,0 +1,359 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
12 |
+
<UserLocale>en-US</UserLocale>
|
13 |
+
</component>
|
14 |
+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
15 |
+
<DiskConfiguration>
|
16 |
+
<Disk wcm:action="add">
|
17 |
+
<DiskID>0</DiskID>
|
18 |
+
<WillWipeDisk>true</WillWipeDisk>
|
19 |
+
<CreatePartitions>
|
20 |
+
<!-- System partition (ESP) -->
|
21 |
+
<CreatePartition wcm:action="add">
|
22 |
+
<Order>1</Order>
|
23 |
+
<Type>EFI</Type>
|
24 |
+
<Size>128</Size>
|
25 |
+
</CreatePartition>
|
26 |
+
<!-- Microsoft reserved partition (MSR) -->
|
27 |
+
<CreatePartition wcm:action="add">
|
28 |
+
<Order>2</Order>
|
29 |
+
<Type>MSR</Type>
|
30 |
+
<Size>128</Size>
|
31 |
+
</CreatePartition>
|
32 |
+
<!-- Windows partition -->
|
33 |
+
<CreatePartition wcm:action="add">
|
34 |
+
<Order>3</Order>
|
35 |
+
<Type>Primary</Type>
|
36 |
+
<Extend>true</Extend>
|
37 |
+
</CreatePartition>
|
38 |
+
</CreatePartitions>
|
39 |
+
<ModifyPartitions>
|
40 |
+
<!-- System partition (ESP) -->
|
41 |
+
<ModifyPartition wcm:action="add">
|
42 |
+
<Order>1</Order>
|
43 |
+
<PartitionID>1</PartitionID>
|
44 |
+
<Label>System</Label>
|
45 |
+
<Format>FAT32</Format>
|
46 |
+
</ModifyPartition>
|
47 |
+
<!-- MSR partition does not need to be modified -->
|
48 |
+
<ModifyPartition wcm:action="add">
|
49 |
+
<Order>2</Order>
|
50 |
+
<PartitionID>2</PartitionID>
|
51 |
+
</ModifyPartition>
|
52 |
+
<!-- Windows partition -->
|
53 |
+
<ModifyPartition wcm:action="add">
|
54 |
+
<Order>3</Order>
|
55 |
+
<PartitionID>3</PartitionID>
|
56 |
+
<Label>Windows</Label>
|
57 |
+
<Letter>C</Letter>
|
58 |
+
<Format>NTFS</Format>
|
59 |
+
</ModifyPartition>
|
60 |
+
</ModifyPartitions>
|
61 |
+
</Disk>
|
62 |
+
</DiskConfiguration>
|
63 |
+
<ImageInstall>
|
64 |
+
<OSImage>
|
65 |
+
<InstallFrom>
|
66 |
+
<MetaData wcm:action="add">
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
<Value>Windows Server 2025 SERVERSTANDARD</Value>
|
69 |
+
</MetaData>
|
70 |
+
</InstallFrom>
|
71 |
+
<InstallTo>
|
72 |
+
<DiskID>0</DiskID>
|
73 |
+
<PartitionID>3</PartitionID>
|
74 |
+
</InstallTo>
|
75 |
+
<WillShowUI>OnError</WillShowUI>
|
76 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
77 |
+
</OSImage>
|
78 |
+
</ImageInstall>
|
79 |
+
<DynamicUpdate>
|
80 |
+
<Enable>true</Enable>
|
81 |
+
<WillShowUI>Never</WillShowUI>
|
82 |
+
</DynamicUpdate>
|
83 |
+
<UpgradeData>
|
84 |
+
<Upgrade>false</Upgrade>
|
85 |
+
<WillShowUI>Never</WillShowUI>
|
86 |
+
</UpgradeData>
|
87 |
+
<UserData>
|
88 |
+
<AcceptEula>true</AcceptEula>
|
89 |
+
<FullName>Docker</FullName>
|
90 |
+
<Organization>Windows for Docker</Organization>
|
91 |
+
<ProductKey>
|
92 |
+
<Key>TVRH6-WHNXV-R9WG3-9XRFY-MY832</Key>
|
93 |
+
</ProductKey>
|
94 |
+
</UserData>
|
95 |
+
<EnableFirewall>false</EnableFirewall>
|
96 |
+
<Diagnostics>
|
97 |
+
<OptIn>false</OptIn>
|
98 |
+
</Diagnostics>
|
99 |
+
</component>
|
100 |
+
</settings>
|
101 |
+
<settings pass="offlineServicing">
|
102 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<EnableLUA>false</EnableLUA>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="generalize">
|
107 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<SkipRearm>1</SkipRearm>
|
112 |
+
</component>
|
113 |
+
</settings>
|
114 |
+
<settings pass="specialize">
|
115 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<ComputerName>*</ComputerName>
|
120 |
+
<OEMInformation>
|
121 |
+
<Manufacturer>Dockur</Manufacturer>
|
122 |
+
<Model>Windows for Docker</Model>
|
123 |
+
<SupportHours>24/7</SupportHours>
|
124 |
+
<SupportPhone />
|
125 |
+
<SupportProvider>Dockur</SupportProvider>
|
126 |
+
<SupportURL>https://github.com/dockur/windows/issues</SupportURL>
|
127 |
+
</OEMInformation>
|
128 |
+
<OEMName>Windows for Docker</OEMName>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<DisableWER>1</DisableWER>
|
132 |
+
</component>
|
133 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
134 |
+
<DisableAccelerators>true</DisableAccelerators>
|
135 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
136 |
+
<Home_Page>https://google.com</Home_Page>
|
137 |
+
<Help_Page>about:blank</Help_Page>
|
138 |
+
</component>
|
139 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
140 |
+
<DisableAccelerators>true</DisableAccelerators>
|
141 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
142 |
+
<Home_Page>https://google.com</Home_Page>
|
143 |
+
<Help_Page>about:blank</Help_Page>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<CEIPEnabled>0</CEIPEnabled>
|
147 |
+
</component>
|
148 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
149 |
+
<DisableSR>1</DisableSR>
|
150 |
+
</component>
|
151 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<InputLocale>0409:00000409</InputLocale>
|
153 |
+
<SystemLocale>en-US</SystemLocale>
|
154 |
+
<UILanguage>en-US</UILanguage>
|
155 |
+
<UILanguageFallback>en-US</UILanguageFallback>
|
156 |
+
<UserLocale>en-US</UserLocale>
|
157 |
+
</component>
|
158 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
159 |
+
<RunSynchronous>
|
160 |
+
<RunSynchronousCommand wcm:action="add">
|
161 |
+
<Order>1</Order>
|
162 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
163 |
+
<Description>Set Network Location to Home</Description>
|
164 |
+
</RunSynchronousCommand>
|
165 |
+
</RunSynchronous>
|
166 |
+
</component>
|
167 |
+
<component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
|
169 |
+
</component>
|
170 |
+
<component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
171 |
+
<DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
|
172 |
+
</component>
|
173 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
174 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
175 |
+
</component>
|
176 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
177 |
+
<UserAuthentication>0</UserAuthentication>
|
178 |
+
</component>
|
179 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
180 |
+
<FirewallGroups>
|
181 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
182 |
+
<Active>true</Active>
|
183 |
+
<Profile>all</Profile>
|
184 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
185 |
+
</FirewallGroup>
|
186 |
+
</FirewallGroups>
|
187 |
+
</component>
|
188 |
+
</settings>
|
189 |
+
<settings pass="oobeSystem">
|
190 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
191 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
192 |
+
</component>
|
193 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
194 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
195 |
+
</component>
|
196 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
197 |
+
<UserAccounts>
|
198 |
+
<LocalAccounts>
|
199 |
+
<LocalAccount wcm:action="add">
|
200 |
+
<Name>Docker</Name>
|
201 |
+
<Group>Administrators</Group>
|
202 |
+
<Password>
|
203 |
+
<Value />
|
204 |
+
<PlainText>true</PlainText>
|
205 |
+
</Password>
|
206 |
+
</LocalAccount>
|
207 |
+
</LocalAccounts>
|
208 |
+
<AdministratorPassword>
|
209 |
+
<Value>password</Value>
|
210 |
+
<PlainText>true</PlainText>
|
211 |
+
</AdministratorPassword>
|
212 |
+
</UserAccounts>
|
213 |
+
<AutoLogon>
|
214 |
+
<Username>Docker</Username>
|
215 |
+
<Enabled>true</Enabled>
|
216 |
+
<LogonCount>65432</LogonCount>
|
217 |
+
<Password>
|
218 |
+
<Value />
|
219 |
+
<PlainText>true</PlainText>
|
220 |
+
</Password>
|
221 |
+
</AutoLogon>
|
222 |
+
<Display>
|
223 |
+
<ColorDepth>32</ColorDepth>
|
224 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
225 |
+
<VerticalResolution>1080</VerticalResolution>
|
226 |
+
</Display>
|
227 |
+
<OOBE>
|
228 |
+
<HideEULAPage>true</HideEULAPage>
|
229 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
230 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
231 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
232 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
233 |
+
<NetworkLocation>Home</NetworkLocation>
|
234 |
+
<ProtectYourPC>3</ProtectYourPC>
|
235 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
236 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
237 |
+
</OOBE>
|
238 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
239 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
240 |
+
<FirstLogonCommands>
|
241 |
+
<SynchronousCommand wcm:action="add">
|
242 |
+
<Order>1</Order>
|
243 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
244 |
+
<Description>Allow guest access to network shares</Description>
|
245 |
+
</SynchronousCommand>
|
246 |
+
<SynchronousCommand wcm:action="add">
|
247 |
+
<Order>2</Order>
|
248 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
|
249 |
+
<Description>Disable SMB signing requirement</Description>
|
250 |
+
</SynchronousCommand>
|
251 |
+
<SynchronousCommand wcm:action="add">
|
252 |
+
<Order>3</Order>
|
253 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
254 |
+
<Description>Allow RDP login with blank password</Description>
|
255 |
+
</SynchronousCommand>
|
256 |
+
<SynchronousCommand wcm:action="add">
|
257 |
+
<Order>4</Order>
|
258 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
259 |
+
<Description>Enable option for passwordless sign-in</Description>
|
260 |
+
</SynchronousCommand>
|
261 |
+
<SynchronousCommand wcm:action="add">
|
262 |
+
<Order>5</Order>
|
263 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
264 |
+
<Description>Password Never Expires</Description>
|
265 |
+
</SynchronousCommand>
|
266 |
+
<SynchronousCommand wcm:action="add">
|
267 |
+
<Order>6</Order>
|
268 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
269 |
+
<Description>Disable Hibernation</Description>
|
270 |
+
</SynchronousCommand>
|
271 |
+
<SynchronousCommand wcm:action="add">
|
272 |
+
<Order>7</Order>
|
273 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
274 |
+
<Description>Disable monitor blanking</Description>
|
275 |
+
</SynchronousCommand>
|
276 |
+
<SynchronousCommand wcm:action="add">
|
277 |
+
<Order>8</Order>
|
278 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
279 |
+
<Description>Disable first-run experience in Edge</Description>
|
280 |
+
</SynchronousCommand>
|
281 |
+
<SynchronousCommand wcm:action="add">
|
282 |
+
<Order>9</Order>
|
283 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
284 |
+
<Description>Show file extensions in Explorer</Description>
|
285 |
+
</SynchronousCommand>
|
286 |
+
<SynchronousCommand wcm:action="add">
|
287 |
+
<Order>10</Order>
|
288 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
289 |
+
<Description>Zero Hibernation File</Description>
|
290 |
+
</SynchronousCommand>
|
291 |
+
<SynchronousCommand wcm:action="add">
|
292 |
+
<Order>11</Order>
|
293 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
294 |
+
<Description>Disable Hibernation</Description>
|
295 |
+
</SynchronousCommand>
|
296 |
+
<SynchronousCommand wcm:action="add">
|
297 |
+
<Order>12</Order>
|
298 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
299 |
+
<Description>Disable Sleep</Description>
|
300 |
+
</SynchronousCommand>
|
301 |
+
<SynchronousCommand wcm:action="add">
|
302 |
+
<Order>13</Order>
|
303 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
304 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
305 |
+
</SynchronousCommand>
|
306 |
+
<SynchronousCommand wcm:action="add">
|
307 |
+
<Order>14</Order>
|
308 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
|
309 |
+
<Description>Remove Search from the Taskbar</Description>
|
310 |
+
</SynchronousCommand>
|
311 |
+
<SynchronousCommand wcm:action="add">
|
312 |
+
<Order>15</Order>
|
313 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
|
314 |
+
<Description>Remove Task View from the Taskbar</Description>
|
315 |
+
</SynchronousCommand>
|
316 |
+
<SynchronousCommand wcm:action="add">
|
317 |
+
<Order>16</Order>
|
318 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
|
319 |
+
<Description>Remove Widgets from the Taskbar</Description>
|
320 |
+
</SynchronousCommand>
|
321 |
+
<SynchronousCommand wcm:action="add">
|
322 |
+
<Order>17</Order>
|
323 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
|
324 |
+
<Description>Remove Chat from the Taskbar</Description>
|
325 |
+
</SynchronousCommand>
|
326 |
+
<SynchronousCommand wcm:action="add">
|
327 |
+
<Order>18</Order>
|
328 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
329 |
+
<Description>Turn off Windows Update auto download</Description>
|
330 |
+
</SynchronousCommand>
|
331 |
+
<SynchronousCommand wcm:action="add">
|
332 |
+
<Order>19</Order>
|
333 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
334 |
+
<Description>Enable Network Discovery</Description>
|
335 |
+
</SynchronousCommand>
|
336 |
+
<SynchronousCommand wcm:action="add">
|
337 |
+
<Order>20</Order>
|
338 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
339 |
+
<Description>Enable File Sharing</Description>
|
340 |
+
</SynchronousCommand>
|
341 |
+
<SynchronousCommand wcm:action="add">
|
342 |
+
<Order>21</Order>
|
343 |
+
<CommandLine>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</CommandLine>
|
344 |
+
<Description>Install VirtIO display driver</Description>
|
345 |
+
</SynchronousCommand>
|
346 |
+
<SynchronousCommand wcm:action="add">
|
347 |
+
<Order>22</Order>
|
348 |
+
<CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
|
349 |
+
<Description>Remove empty Windows.old folder</Description>
|
350 |
+
</SynchronousCommand>
|
351 |
+
<SynchronousCommand wcm:action="add">
|
352 |
+
<Order>23</Order>
|
353 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
354 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
355 |
+
</SynchronousCommand>
|
356 |
+
</FirstLogonCommands>
|
357 |
+
</component>
|
358 |
+
</settings>
|
359 |
+
</unattend>
|
assets/win7x64-enterprise.xml
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Value>Windows 7 Enterprise</Value>
|
56 |
+
<Key>/IMAGE/NAME</Key>
|
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>H7X92-3VPBB-Q799D-Y6JJ3-86WC6</Key>
|
80 |
+
<WillShowUI>OnError</WillShowUI>
|
81 |
+
</ProductKey>
|
82 |
+
</UserData>
|
83 |
+
<EnableFirewall>false</EnableFirewall>
|
84 |
+
<Diagnostics>
|
85 |
+
<OptIn>false</OptIn>
|
86 |
+
</Diagnostics>
|
87 |
+
</component>
|
88 |
+
</settings>
|
89 |
+
<settings pass="offlineServicing">
|
90 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<EnableLUA>false</EnableLUA>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="generalize">
|
95 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
97 |
+
</component>
|
98 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
99 |
+
<SkipRearm>1</SkipRearm>
|
100 |
+
</component>
|
101 |
+
</settings>
|
102 |
+
<settings pass="specialize">
|
103 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
104 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
105 |
+
</component>
|
106 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<ComputerName>*</ComputerName>
|
108 |
+
<OEMInformation>
|
109 |
+
<Manufacturer>Dockur</Manufacturer>
|
110 |
+
<Model>Windows for Docker</Model>
|
111 |
+
</OEMInformation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<DisableWER>1</DisableWER>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<DisableAccelerators>true</DisableAccelerators>
|
118 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
119 |
+
<Home_Page>https://google.com</Home_Page>
|
120 |
+
<Help_Page>about:blank</Help_Page>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<CEIPEnabled>0</CEIPEnabled>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableSR>1</DisableSR>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<InputLocale>0409:00000409</InputLocale>
|
136 |
+
<SystemLocale>en-US</SystemLocale>
|
137 |
+
<UILanguage>en-US</UILanguage>
|
138 |
+
<UserLocale>en-US</UserLocale>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<UserAuthentication>0</UserAuthentication>
|
145 |
+
</component>
|
146 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<FirewallGroups>
|
148 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
149 |
+
<Active>true</Active>
|
150 |
+
<Profile>all</Profile>
|
151 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
152 |
+
</FirewallGroup>
|
153 |
+
</FirewallGroups>
|
154 |
+
</component>
|
155 |
+
</settings>
|
156 |
+
<settings pass="oobeSystem">
|
157 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAccounts>
|
159 |
+
<LocalAccounts>
|
160 |
+
<LocalAccount wcm:action="add">
|
161 |
+
<Name>Docker</Name>
|
162 |
+
<Group>Administrators</Group>
|
163 |
+
<Password>
|
164 |
+
<Value />
|
165 |
+
<PlainText>true</PlainText>
|
166 |
+
</Password>
|
167 |
+
</LocalAccount>
|
168 |
+
</LocalAccounts>
|
169 |
+
<AdministratorPassword>
|
170 |
+
<Value>password</Value>
|
171 |
+
<PlainText>true</PlainText>
|
172 |
+
</AdministratorPassword>
|
173 |
+
</UserAccounts>
|
174 |
+
<AutoLogon>
|
175 |
+
<Username>Docker</Username>
|
176 |
+
<Enabled>true</Enabled>
|
177 |
+
<LogonCount>65432</LogonCount>
|
178 |
+
<Password>
|
179 |
+
<Value />
|
180 |
+
<PlainText>true</PlainText>
|
181 |
+
</Password>
|
182 |
+
</AutoLogon>
|
183 |
+
<Display>
|
184 |
+
<ColorDepth>32</ColorDepth>
|
185 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
186 |
+
<VerticalResolution>1080</VerticalResolution>
|
187 |
+
</Display>
|
188 |
+
<OOBE>
|
189 |
+
<HideEULAPage>true</HideEULAPage>
|
190 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
191 |
+
<NetworkLocation>Home</NetworkLocation>
|
192 |
+
<ProtectYourPC>3</ProtectYourPC>
|
193 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
194 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
195 |
+
</OOBE>
|
196 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
197 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
198 |
+
<FirstLogonCommands>
|
199 |
+
<SynchronousCommand wcm:action="add">
|
200 |
+
<Order>1</Order>
|
201 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
202 |
+
<Description>Allow guest access to network shares</Description>
|
203 |
+
</SynchronousCommand>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>2</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
207 |
+
<Description>Allow RDP login with blank password</Description>
|
208 |
+
</SynchronousCommand>
|
209 |
+
<SynchronousCommand wcm:action="add">
|
210 |
+
<Order>3</Order>
|
211 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
212 |
+
<Description>Password Never Expires</Description>
|
213 |
+
</SynchronousCommand>
|
214 |
+
<SynchronousCommand wcm:action="add">
|
215 |
+
<Order>4</Order>
|
216 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
217 |
+
<Description>Disable Hibernation</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>5</Order>
|
221 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
222 |
+
<Description>Disable monitor blanking</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>6</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
227 |
+
<Description>Disable Network Discovery popup</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>7</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Disable Network Discovery popup</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>8</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>9</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable first-run experience in Edge</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>10</Order>
|
246 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Show file extensions in Explorer</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>11</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
252 |
+
<Description>Zero Hibernation File</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>12</Order>
|
256 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>13</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable Sleep</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>14</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>15</Order>
|
271 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
272 |
+
<Description>Enable Network Discovery</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>16</Order>
|
276 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
277 |
+
<Description>Enable File Sharing</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>17</Order>
|
281 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
282 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
</FirstLogonCommands>
|
285 |
+
</component>
|
286 |
+
</settings>
|
287 |
+
</unattend>
|
assets/win7x64-ultimate.xml
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Value>Windows 7 Ultimate</Value>
|
56 |
+
<Key>/IMAGE/NAME</Key>
|
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 |
+
</settings>
|
89 |
+
<settings pass="offlineServicing">
|
90 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<EnableLUA>false</EnableLUA>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="generalize">
|
95 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
97 |
+
</component>
|
98 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
99 |
+
<SkipRearm>1</SkipRearm>
|
100 |
+
</component>
|
101 |
+
</settings>
|
102 |
+
<settings pass="specialize">
|
103 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
104 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
105 |
+
</component>
|
106 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<ComputerName>*</ComputerName>
|
108 |
+
<OEMInformation>
|
109 |
+
<Manufacturer>Dockur</Manufacturer>
|
110 |
+
<Model>Windows for Docker</Model>
|
111 |
+
</OEMInformation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<DisableWER>1</DisableWER>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<DisableAccelerators>true</DisableAccelerators>
|
118 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
119 |
+
<Home_Page>https://google.com</Home_Page>
|
120 |
+
<Help_Page>about:blank</Help_Page>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<CEIPEnabled>0</CEIPEnabled>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableSR>1</DisableSR>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<InputLocale>0409:00000409</InputLocale>
|
136 |
+
<SystemLocale>en-US</SystemLocale>
|
137 |
+
<UILanguage>en-US</UILanguage>
|
138 |
+
<UserLocale>en-US</UserLocale>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<UserAuthentication>0</UserAuthentication>
|
145 |
+
</component>
|
146 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<FirewallGroups>
|
148 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
149 |
+
<Active>true</Active>
|
150 |
+
<Profile>all</Profile>
|
151 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
152 |
+
</FirewallGroup>
|
153 |
+
</FirewallGroups>
|
154 |
+
</component>
|
155 |
+
</settings>
|
156 |
+
<settings pass="oobeSystem">
|
157 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAccounts>
|
159 |
+
<LocalAccounts>
|
160 |
+
<LocalAccount wcm:action="add">
|
161 |
+
<Name>Docker</Name>
|
162 |
+
<Group>Administrators</Group>
|
163 |
+
<Password>
|
164 |
+
<Value />
|
165 |
+
<PlainText>true</PlainText>
|
166 |
+
</Password>
|
167 |
+
</LocalAccount>
|
168 |
+
</LocalAccounts>
|
169 |
+
<AdministratorPassword>
|
170 |
+
<Value>password</Value>
|
171 |
+
<PlainText>true</PlainText>
|
172 |
+
</AdministratorPassword>
|
173 |
+
</UserAccounts>
|
174 |
+
<AutoLogon>
|
175 |
+
<Username>Docker</Username>
|
176 |
+
<Enabled>true</Enabled>
|
177 |
+
<LogonCount>65432</LogonCount>
|
178 |
+
<Password>
|
179 |
+
<Value />
|
180 |
+
<PlainText>true</PlainText>
|
181 |
+
</Password>
|
182 |
+
</AutoLogon>
|
183 |
+
<Display>
|
184 |
+
<ColorDepth>32</ColorDepth>
|
185 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
186 |
+
<VerticalResolution>1080</VerticalResolution>
|
187 |
+
</Display>
|
188 |
+
<OOBE>
|
189 |
+
<HideEULAPage>true</HideEULAPage>
|
190 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
191 |
+
<NetworkLocation>Home</NetworkLocation>
|
192 |
+
<ProtectYourPC>3</ProtectYourPC>
|
193 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
194 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
195 |
+
</OOBE>
|
196 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
197 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
198 |
+
<FirstLogonCommands>
|
199 |
+
<SynchronousCommand wcm:action="add">
|
200 |
+
<Order>1</Order>
|
201 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
202 |
+
<Description>Allow guest access to network shares</Description>
|
203 |
+
</SynchronousCommand>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>2</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
207 |
+
<Description>Allow RDP login with blank password</Description>
|
208 |
+
</SynchronousCommand>
|
209 |
+
<SynchronousCommand wcm:action="add">
|
210 |
+
<Order>3</Order>
|
211 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
212 |
+
<Description>Password Never Expires</Description>
|
213 |
+
</SynchronousCommand>
|
214 |
+
<SynchronousCommand wcm:action="add">
|
215 |
+
<Order>4</Order>
|
216 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
217 |
+
<Description>Disable Hibernation</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>5</Order>
|
221 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
222 |
+
<Description>Disable monitor blanking</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>6</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
227 |
+
<Description>Disable Network Discovery popup</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>7</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Disable Network Discovery popup</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>8</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>9</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable first-run experience in Edge</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>10</Order>
|
246 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Show file extensions in Explorer</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>11</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
252 |
+
<Description>Zero Hibernation File</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>12</Order>
|
256 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>13</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable Sleep</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>14</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>15</Order>
|
271 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
272 |
+
<Description>Enable Network Discovery</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>16</Order>
|
276 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
277 |
+
<Description>Enable File Sharing</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>17</Order>
|
281 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
282 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
</FirstLogonCommands>
|
285 |
+
</component>
|
286 |
+
</settings>
|
287 |
+
</unattend>
|
assets/win7x64.xml
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Value>Windows 7 PROFESSIONAL</Value>
|
56 |
+
<Key>/IMAGE/NAME</Key>
|
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>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key>
|
80 |
+
<WillShowUI>OnError</WillShowUI>
|
81 |
+
</ProductKey>
|
82 |
+
</UserData>
|
83 |
+
<EnableFirewall>false</EnableFirewall>
|
84 |
+
<Diagnostics>
|
85 |
+
<OptIn>false</OptIn>
|
86 |
+
</Diagnostics>
|
87 |
+
</component>
|
88 |
+
</settings>
|
89 |
+
<settings pass="offlineServicing">
|
90 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<EnableLUA>false</EnableLUA>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="generalize">
|
95 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
97 |
+
</component>
|
98 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
99 |
+
<SkipRearm>1</SkipRearm>
|
100 |
+
</component>
|
101 |
+
</settings>
|
102 |
+
<settings pass="specialize">
|
103 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
104 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
105 |
+
</component>
|
106 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<ComputerName>*</ComputerName>
|
108 |
+
<OEMInformation>
|
109 |
+
<Manufacturer>Dockur</Manufacturer>
|
110 |
+
<Model>Windows for Docker</Model>
|
111 |
+
</OEMInformation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<DisableWER>1</DisableWER>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<DisableAccelerators>true</DisableAccelerators>
|
118 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
119 |
+
<Home_Page>https://google.com</Home_Page>
|
120 |
+
<Help_Page>about:blank</Help_Page>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<CEIPEnabled>0</CEIPEnabled>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableSR>1</DisableSR>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<InputLocale>0409:00000409</InputLocale>
|
136 |
+
<SystemLocale>en-US</SystemLocale>
|
137 |
+
<UILanguage>en-US</UILanguage>
|
138 |
+
<UserLocale>en-US</UserLocale>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<UserAuthentication>0</UserAuthentication>
|
145 |
+
</component>
|
146 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<FirewallGroups>
|
148 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
149 |
+
<Active>true</Active>
|
150 |
+
<Profile>all</Profile>
|
151 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
152 |
+
</FirewallGroup>
|
153 |
+
</FirewallGroups>
|
154 |
+
</component>
|
155 |
+
</settings>
|
156 |
+
<settings pass="oobeSystem">
|
157 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAccounts>
|
159 |
+
<LocalAccounts>
|
160 |
+
<LocalAccount wcm:action="add">
|
161 |
+
<Name>Docker</Name>
|
162 |
+
<Group>Administrators</Group>
|
163 |
+
<Password>
|
164 |
+
<Value />
|
165 |
+
<PlainText>true</PlainText>
|
166 |
+
</Password>
|
167 |
+
</LocalAccount>
|
168 |
+
</LocalAccounts>
|
169 |
+
<AdministratorPassword>
|
170 |
+
<Value>password</Value>
|
171 |
+
<PlainText>true</PlainText>
|
172 |
+
</AdministratorPassword>
|
173 |
+
</UserAccounts>
|
174 |
+
<AutoLogon>
|
175 |
+
<Username>Docker</Username>
|
176 |
+
<Enabled>true</Enabled>
|
177 |
+
<LogonCount>65432</LogonCount>
|
178 |
+
<Password>
|
179 |
+
<Value />
|
180 |
+
<PlainText>true</PlainText>
|
181 |
+
</Password>
|
182 |
+
</AutoLogon>
|
183 |
+
<Display>
|
184 |
+
<ColorDepth>32</ColorDepth>
|
185 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
186 |
+
<VerticalResolution>1080</VerticalResolution>
|
187 |
+
</Display>
|
188 |
+
<OOBE>
|
189 |
+
<HideEULAPage>true</HideEULAPage>
|
190 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
191 |
+
<NetworkLocation>Home</NetworkLocation>
|
192 |
+
<ProtectYourPC>3</ProtectYourPC>
|
193 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
194 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
195 |
+
</OOBE>
|
196 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
197 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
198 |
+
<FirstLogonCommands>
|
199 |
+
<SynchronousCommand wcm:action="add">
|
200 |
+
<Order>1</Order>
|
201 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
202 |
+
<Description>Allow guest access to network shares</Description>
|
203 |
+
</SynchronousCommand>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>2</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
207 |
+
<Description>Allow RDP login with blank password</Description>
|
208 |
+
</SynchronousCommand>
|
209 |
+
<SynchronousCommand wcm:action="add">
|
210 |
+
<Order>3</Order>
|
211 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
212 |
+
<Description>Password Never Expires</Description>
|
213 |
+
</SynchronousCommand>
|
214 |
+
<SynchronousCommand wcm:action="add">
|
215 |
+
<Order>4</Order>
|
216 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
217 |
+
<Description>Disable Hibernation</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>5</Order>
|
221 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
222 |
+
<Description>Disable monitor blanking</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>6</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
227 |
+
<Description>Disable Network Discovery popup</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>7</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Disable Network Discovery popup</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>8</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>9</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable first-run experience in Edge</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>10</Order>
|
246 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Show file extensions in Explorer</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>11</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
252 |
+
<Description>Zero Hibernation File</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>12</Order>
|
256 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>13</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable Sleep</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>14</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>15</Order>
|
271 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
272 |
+
<Description>Enable Network Discovery</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>16</Order>
|
276 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
277 |
+
<Description>Enable File Sharing</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>17</Order>
|
281 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
282 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
</FirstLogonCommands>
|
285 |
+
</component>
|
286 |
+
</settings>
|
287 |
+
</unattend>
|
assets/win7x86-enterprise.xml
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="x86" 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="x86" 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 |
+
<Value>Windows 7 Enterprise</Value>
|
56 |
+
<Key>/IMAGE/NAME</Key>
|
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>H7X92-3VPBB-Q799D-Y6JJ3-86WC6</Key>
|
80 |
+
<WillShowUI>OnError</WillShowUI>
|
81 |
+
</ProductKey>
|
82 |
+
</UserData>
|
83 |
+
<EnableFirewall>false</EnableFirewall>
|
84 |
+
<Diagnostics>
|
85 |
+
<OptIn>false</OptIn>
|
86 |
+
</Diagnostics>
|
87 |
+
</component>
|
88 |
+
</settings>
|
89 |
+
<settings pass="offlineServicing">
|
90 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<EnableLUA>false</EnableLUA>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="generalize">
|
95 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
97 |
+
</component>
|
98 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
99 |
+
<SkipRearm>1</SkipRearm>
|
100 |
+
</component>
|
101 |
+
</settings>
|
102 |
+
<settings pass="specialize">
|
103 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
104 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
105 |
+
</component>
|
106 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<ComputerName>*</ComputerName>
|
108 |
+
<OEMInformation>
|
109 |
+
<Manufacturer>Dockur</Manufacturer>
|
110 |
+
<Model>Windows for Docker</Model>
|
111 |
+
</OEMInformation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<DisableWER>1</DisableWER>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<DisableAccelerators>true</DisableAccelerators>
|
118 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
119 |
+
<Home_Page>https://google.com</Home_Page>
|
120 |
+
<Help_Page>about:blank</Help_Page>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<CEIPEnabled>0</CEIPEnabled>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableSR>1</DisableSR>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<InputLocale>0409:00000409</InputLocale>
|
136 |
+
<SystemLocale>en-US</SystemLocale>
|
137 |
+
<UILanguage>en-US</UILanguage>
|
138 |
+
<UserLocale>en-US</UserLocale>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<UserAuthentication>0</UserAuthentication>
|
145 |
+
</component>
|
146 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<FirewallGroups>
|
148 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
149 |
+
<Active>true</Active>
|
150 |
+
<Profile>all</Profile>
|
151 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
152 |
+
</FirewallGroup>
|
153 |
+
</FirewallGroups>
|
154 |
+
</component>
|
155 |
+
</settings>
|
156 |
+
<settings pass="oobeSystem">
|
157 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAccounts>
|
159 |
+
<LocalAccounts>
|
160 |
+
<LocalAccount wcm:action="add">
|
161 |
+
<Name>Docker</Name>
|
162 |
+
<Group>Administrators</Group>
|
163 |
+
<Password>
|
164 |
+
<Value />
|
165 |
+
<PlainText>true</PlainText>
|
166 |
+
</Password>
|
167 |
+
</LocalAccount>
|
168 |
+
</LocalAccounts>
|
169 |
+
<AdministratorPassword>
|
170 |
+
<Value>password</Value>
|
171 |
+
<PlainText>true</PlainText>
|
172 |
+
</AdministratorPassword>
|
173 |
+
</UserAccounts>
|
174 |
+
<AutoLogon>
|
175 |
+
<Username>Docker</Username>
|
176 |
+
<Enabled>true</Enabled>
|
177 |
+
<LogonCount>65432</LogonCount>
|
178 |
+
<Password>
|
179 |
+
<Value />
|
180 |
+
<PlainText>true</PlainText>
|
181 |
+
</Password>
|
182 |
+
</AutoLogon>
|
183 |
+
<Display>
|
184 |
+
<ColorDepth>32</ColorDepth>
|
185 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
186 |
+
<VerticalResolution>1080</VerticalResolution>
|
187 |
+
</Display>
|
188 |
+
<OOBE>
|
189 |
+
<HideEULAPage>true</HideEULAPage>
|
190 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
191 |
+
<NetworkLocation>Home</NetworkLocation>
|
192 |
+
<ProtectYourPC>3</ProtectYourPC>
|
193 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
194 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
195 |
+
</OOBE>
|
196 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
197 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
198 |
+
<FirstLogonCommands>
|
199 |
+
<SynchronousCommand wcm:action="add">
|
200 |
+
<Order>1</Order>
|
201 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
202 |
+
<Description>Allow guest access to network shares</Description>
|
203 |
+
</SynchronousCommand>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>2</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
207 |
+
<Description>Allow RDP login with blank password</Description>
|
208 |
+
</SynchronousCommand>
|
209 |
+
<SynchronousCommand wcm:action="add">
|
210 |
+
<Order>3</Order>
|
211 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
212 |
+
<Description>Password Never Expires</Description>
|
213 |
+
</SynchronousCommand>
|
214 |
+
<SynchronousCommand wcm:action="add">
|
215 |
+
<Order>4</Order>
|
216 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
217 |
+
<Description>Disable Hibernation</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>5</Order>
|
221 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
222 |
+
<Description>Disable monitor blanking</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>6</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
227 |
+
<Description>Disable Network Discovery popup</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>7</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Disable Network Discovery popup</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>8</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>9</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable first-run experience in Edge</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>10</Order>
|
246 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Show file extensions in Explorer</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>11</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
252 |
+
<Description>Zero Hibernation File</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>12</Order>
|
256 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>13</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable Sleep</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>14</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>15</Order>
|
271 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
272 |
+
<Description>Enable Network Discovery</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>16</Order>
|
276 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
277 |
+
<Description>Enable File Sharing</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>17</Order>
|
281 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
282 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
</FirstLogonCommands>
|
285 |
+
</component>
|
286 |
+
</settings>
|
287 |
+
</unattend>
|
assets/win7x86-ultimate.xml
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="x86" 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="x86" 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 |
+
<Value>Windows 7 Ultimate</Value>
|
56 |
+
<Key>/IMAGE/NAME</Key>
|
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 |
+
</settings>
|
89 |
+
<settings pass="offlineServicing">
|
90 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<EnableLUA>false</EnableLUA>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="generalize">
|
95 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
97 |
+
</component>
|
98 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
99 |
+
<SkipRearm>1</SkipRearm>
|
100 |
+
</component>
|
101 |
+
</settings>
|
102 |
+
<settings pass="specialize">
|
103 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
104 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
105 |
+
</component>
|
106 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<ComputerName>*</ComputerName>
|
108 |
+
<OEMInformation>
|
109 |
+
<Manufacturer>Dockur</Manufacturer>
|
110 |
+
<Model>Windows for Docker</Model>
|
111 |
+
</OEMInformation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<DisableWER>1</DisableWER>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<DisableAccelerators>true</DisableAccelerators>
|
118 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
119 |
+
<Home_Page>https://google.com</Home_Page>
|
120 |
+
<Help_Page>about:blank</Help_Page>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<CEIPEnabled>0</CEIPEnabled>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableSR>1</DisableSR>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<InputLocale>0409:00000409</InputLocale>
|
136 |
+
<SystemLocale>en-US</SystemLocale>
|
137 |
+
<UILanguage>en-US</UILanguage>
|
138 |
+
<UserLocale>en-US</UserLocale>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<UserAuthentication>0</UserAuthentication>
|
145 |
+
</component>
|
146 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<FirewallGroups>
|
148 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
149 |
+
<Active>true</Active>
|
150 |
+
<Profile>all</Profile>
|
151 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
152 |
+
</FirewallGroup>
|
153 |
+
</FirewallGroups>
|
154 |
+
</component>
|
155 |
+
</settings>
|
156 |
+
<settings pass="oobeSystem">
|
157 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAccounts>
|
159 |
+
<LocalAccounts>
|
160 |
+
<LocalAccount wcm:action="add">
|
161 |
+
<Name>Docker</Name>
|
162 |
+
<Group>Administrators</Group>
|
163 |
+
<Password>
|
164 |
+
<Value />
|
165 |
+
<PlainText>true</PlainText>
|
166 |
+
</Password>
|
167 |
+
</LocalAccount>
|
168 |
+
</LocalAccounts>
|
169 |
+
<AdministratorPassword>
|
170 |
+
<Value>password</Value>
|
171 |
+
<PlainText>true</PlainText>
|
172 |
+
</AdministratorPassword>
|
173 |
+
</UserAccounts>
|
174 |
+
<AutoLogon>
|
175 |
+
<Username>Docker</Username>
|
176 |
+
<Enabled>true</Enabled>
|
177 |
+
<LogonCount>65432</LogonCount>
|
178 |
+
<Password>
|
179 |
+
<Value />
|
180 |
+
<PlainText>true</PlainText>
|
181 |
+
</Password>
|
182 |
+
</AutoLogon>
|
183 |
+
<Display>
|
184 |
+
<ColorDepth>32</ColorDepth>
|
185 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
186 |
+
<VerticalResolution>1080</VerticalResolution>
|
187 |
+
</Display>
|
188 |
+
<OOBE>
|
189 |
+
<HideEULAPage>true</HideEULAPage>
|
190 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
191 |
+
<NetworkLocation>Home</NetworkLocation>
|
192 |
+
<ProtectYourPC>3</ProtectYourPC>
|
193 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
194 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
195 |
+
</OOBE>
|
196 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
197 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
198 |
+
<FirstLogonCommands>
|
199 |
+
<SynchronousCommand wcm:action="add">
|
200 |
+
<Order>1</Order>
|
201 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
202 |
+
<Description>Allow guest access to network shares</Description>
|
203 |
+
</SynchronousCommand>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>2</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
207 |
+
<Description>Allow RDP login with blank password</Description>
|
208 |
+
</SynchronousCommand>
|
209 |
+
<SynchronousCommand wcm:action="add">
|
210 |
+
<Order>3</Order>
|
211 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
212 |
+
<Description>Password Never Expires</Description>
|
213 |
+
</SynchronousCommand>
|
214 |
+
<SynchronousCommand wcm:action="add">
|
215 |
+
<Order>4</Order>
|
216 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
217 |
+
<Description>Disable Hibernation</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>5</Order>
|
221 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
222 |
+
<Description>Disable monitor blanking</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>6</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
227 |
+
<Description>Disable Network Discovery popup</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>7</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Disable Network Discovery popup</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>8</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>9</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable first-run experience in Edge</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>10</Order>
|
246 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Show file extensions in Explorer</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>11</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
252 |
+
<Description>Zero Hibernation File</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>12</Order>
|
256 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>13</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable Sleep</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>14</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>15</Order>
|
271 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
272 |
+
<Description>Enable Network Discovery</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>16</Order>
|
276 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
277 |
+
<Description>Enable File Sharing</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>17</Order>
|
281 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
282 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
</FirstLogonCommands>
|
285 |
+
</component>
|
286 |
+
</settings>
|
287 |
+
</unattend>
|
assets/win7x86.xml
ADDED
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="x86" 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="x86" 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 |
+
<Value>Windows 7 PROFESSIONAL</Value>
|
56 |
+
<Key>/IMAGE/NAME</Key>
|
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>HYF8J-CVRMY-CM74G-RPHKF-PW487</Key>
|
80 |
+
<WillShowUI>OnError</WillShowUI>
|
81 |
+
</ProductKey>
|
82 |
+
</UserData>
|
83 |
+
<EnableFirewall>false</EnableFirewall>
|
84 |
+
<Diagnostics>
|
85 |
+
<OptIn>false</OptIn>
|
86 |
+
</Diagnostics>
|
87 |
+
</component>
|
88 |
+
</settings>
|
89 |
+
<settings pass="offlineServicing">
|
90 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<EnableLUA>false</EnableLUA>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="generalize">
|
95 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
97 |
+
</component>
|
98 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
99 |
+
<SkipRearm>1</SkipRearm>
|
100 |
+
</component>
|
101 |
+
</settings>
|
102 |
+
<settings pass="specialize">
|
103 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
104 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
105 |
+
</component>
|
106 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<ComputerName>*</ComputerName>
|
108 |
+
<OEMInformation>
|
109 |
+
<Manufacturer>Dockur</Manufacturer>
|
110 |
+
<Model>Windows for Docker</Model>
|
111 |
+
</OEMInformation>
|
112 |
+
</component>
|
113 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
114 |
+
<DisableWER>1</DisableWER>
|
115 |
+
</component>
|
116 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
117 |
+
<DisableAccelerators>true</DisableAccelerators>
|
118 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
119 |
+
<Home_Page>https://google.com</Home_Page>
|
120 |
+
<Help_Page>about:blank</Help_Page>
|
121 |
+
</component>
|
122 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
123 |
+
<DisableAccelerators>true</DisableAccelerators>
|
124 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
125 |
+
<Home_Page>https://google.com</Home_Page>
|
126 |
+
<Help_Page>about:blank</Help_Page>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<CEIPEnabled>0</CEIPEnabled>
|
130 |
+
</component>
|
131 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
132 |
+
<DisableSR>1</DisableSR>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<InputLocale>0409:00000409</InputLocale>
|
136 |
+
<SystemLocale>en-US</SystemLocale>
|
137 |
+
<UILanguage>en-US</UILanguage>
|
138 |
+
<UserLocale>en-US</UserLocale>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<UserAuthentication>0</UserAuthentication>
|
145 |
+
</component>
|
146 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<FirewallGroups>
|
148 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
149 |
+
<Active>true</Active>
|
150 |
+
<Profile>all</Profile>
|
151 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
152 |
+
</FirewallGroup>
|
153 |
+
</FirewallGroups>
|
154 |
+
</component>
|
155 |
+
</settings>
|
156 |
+
<settings pass="oobeSystem">
|
157 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAccounts>
|
159 |
+
<LocalAccounts>
|
160 |
+
<LocalAccount wcm:action="add">
|
161 |
+
<Name>Docker</Name>
|
162 |
+
<Group>Administrators</Group>
|
163 |
+
<Password>
|
164 |
+
<Value />
|
165 |
+
<PlainText>true</PlainText>
|
166 |
+
</Password>
|
167 |
+
</LocalAccount>
|
168 |
+
</LocalAccounts>
|
169 |
+
<AdministratorPassword>
|
170 |
+
<Value>password</Value>
|
171 |
+
<PlainText>true</PlainText>
|
172 |
+
</AdministratorPassword>
|
173 |
+
</UserAccounts>
|
174 |
+
<AutoLogon>
|
175 |
+
<Username>Docker</Username>
|
176 |
+
<Enabled>true</Enabled>
|
177 |
+
<LogonCount>65432</LogonCount>
|
178 |
+
<Password>
|
179 |
+
<Value />
|
180 |
+
<PlainText>true</PlainText>
|
181 |
+
</Password>
|
182 |
+
</AutoLogon>
|
183 |
+
<Display>
|
184 |
+
<ColorDepth>32</ColorDepth>
|
185 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
186 |
+
<VerticalResolution>1080</VerticalResolution>
|
187 |
+
</Display>
|
188 |
+
<OOBE>
|
189 |
+
<HideEULAPage>true</HideEULAPage>
|
190 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
191 |
+
<NetworkLocation>Home</NetworkLocation>
|
192 |
+
<ProtectYourPC>3</ProtectYourPC>
|
193 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
194 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
195 |
+
</OOBE>
|
196 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
197 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
198 |
+
<FirstLogonCommands>
|
199 |
+
<SynchronousCommand wcm:action="add">
|
200 |
+
<Order>1</Order>
|
201 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
202 |
+
<Description>Allow guest access to network shares</Description>
|
203 |
+
</SynchronousCommand>
|
204 |
+
<SynchronousCommand wcm:action="add">
|
205 |
+
<Order>2</Order>
|
206 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
207 |
+
<Description>Allow RDP login with blank password</Description>
|
208 |
+
</SynchronousCommand>
|
209 |
+
<SynchronousCommand wcm:action="add">
|
210 |
+
<Order>3</Order>
|
211 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
212 |
+
<Description>Password Never Expires</Description>
|
213 |
+
</SynchronousCommand>
|
214 |
+
<SynchronousCommand wcm:action="add">
|
215 |
+
<Order>4</Order>
|
216 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
217 |
+
<Description>Disable Hibernation</Description>
|
218 |
+
</SynchronousCommand>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>5</Order>
|
221 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
222 |
+
<Description>Disable monitor blanking</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>6</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
227 |
+
<Description>Disable Network Discovery popup</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>7</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Disable Network Discovery popup</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>8</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
237 |
+
<Description>Disable Network Discovery popup</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>9</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
242 |
+
<Description>Disable first-run experience in Edge</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>10</Order>
|
246 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
247 |
+
<Description>Show file extensions in Explorer</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>11</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
252 |
+
<Description>Zero Hibernation File</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>12</Order>
|
256 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Disable Hibernation</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>13</Order>
|
261 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
262 |
+
<Description>Disable Sleep</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>14</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
267 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>15</Order>
|
271 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
272 |
+
<Description>Enable Network Discovery</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>16</Order>
|
276 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
277 |
+
<Description>Enable File Sharing</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>17</Order>
|
281 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
282 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
</FirstLogonCommands>
|
285 |
+
</component>
|
286 |
+
</settings>
|
287 |
+
</unattend>
|
assets/win81x64-enterprise-eval.xml
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
</UserData>
|
84 |
+
<EnableFirewall>false</EnableFirewall>
|
85 |
+
<Diagnostics>
|
86 |
+
<OptIn>false</OptIn>
|
87 |
+
</Diagnostics>
|
88 |
+
</component>
|
89 |
+
</settings>
|
90 |
+
<settings pass="offlineServicing">
|
91 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
92 |
+
<EnableLUA>false</EnableLUA>
|
93 |
+
</component>
|
94 |
+
</settings>
|
95 |
+
<settings pass="generalize">
|
96 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
97 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
98 |
+
</component>
|
99 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<SkipRearm>1</SkipRearm>
|
101 |
+
</component>
|
102 |
+
</settings>
|
103 |
+
<settings pass="specialize">
|
104 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<ComputerName>*</ComputerName>
|
109 |
+
<OEMInformation>
|
110 |
+
<Manufacturer>Dockur</Manufacturer>
|
111 |
+
<Model>Windows for Docker</Model>
|
112 |
+
</OEMInformation>
|
113 |
+
<OEMName>Windows for Docker</OEMName>
|
114 |
+
</component>
|
115 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
116 |
+
<DisableWER>1</DisableWER>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<DisableAccelerators>true</DisableAccelerators>
|
120 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
121 |
+
<Home_Page>https://google.com</Home_Page>
|
122 |
+
<Help_Page>about:blank</Help_Page>
|
123 |
+
</component>
|
124 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
125 |
+
<DisableAccelerators>true</DisableAccelerators>
|
126 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
127 |
+
<Home_Page>https://google.com</Home_Page>
|
128 |
+
<Help_Page>about:blank</Help_Page>
|
129 |
+
</component>
|
130 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
131 |
+
<CEIPEnabled>0</CEIPEnabled>
|
132 |
+
</component>
|
133 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
134 |
+
<DisableSR>1</DisableSR>
|
135 |
+
</component>
|
136 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
137 |
+
<InputLocale>0409:00000409</InputLocale>
|
138 |
+
<SystemLocale>en-US</SystemLocale>
|
139 |
+
<UILanguage>en-US</UILanguage>
|
140 |
+
<UserLocale>en-US</UserLocale>
|
141 |
+
</component>
|
142 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
143 |
+
<RunSynchronous>
|
144 |
+
<RunSynchronousCommand wcm:action="add">
|
145 |
+
<Order>1</Order>
|
146 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
147 |
+
<Description>Set Network Location to Home</Description>
|
148 |
+
</RunSynchronousCommand>
|
149 |
+
</RunSynchronous>
|
150 |
+
</component>
|
151 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
152 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
153 |
+
</component>
|
154 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
155 |
+
<UserAuthentication>0</UserAuthentication>
|
156 |
+
</component>
|
157 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<FirewallGroups>
|
159 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
160 |
+
<Active>true</Active>
|
161 |
+
<Profile>all</Profile>
|
162 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
163 |
+
</FirewallGroup>
|
164 |
+
</FirewallGroups>
|
165 |
+
</component>
|
166 |
+
</settings>
|
167 |
+
<settings pass="oobeSystem">
|
168 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
169 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
170 |
+
</component>
|
171 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
172 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
173 |
+
</component>
|
174 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
175 |
+
<UserAccounts>
|
176 |
+
<LocalAccounts>
|
177 |
+
<LocalAccount wcm:action="add">
|
178 |
+
<Name>Docker</Name>
|
179 |
+
<Group>Administrators</Group>
|
180 |
+
<Password>
|
181 |
+
<Value />
|
182 |
+
<PlainText>true</PlainText>
|
183 |
+
</Password>
|
184 |
+
</LocalAccount>
|
185 |
+
</LocalAccounts>
|
186 |
+
<AdministratorPassword>
|
187 |
+
<Value>password</Value>
|
188 |
+
<PlainText>true</PlainText>
|
189 |
+
</AdministratorPassword>
|
190 |
+
</UserAccounts>
|
191 |
+
<AutoLogon>
|
192 |
+
<Username>Docker</Username>
|
193 |
+
<Enabled>true</Enabled>
|
194 |
+
<LogonCount>65432</LogonCount>
|
195 |
+
<Password>
|
196 |
+
<Value />
|
197 |
+
<PlainText>true</PlainText>
|
198 |
+
</Password>
|
199 |
+
</AutoLogon>
|
200 |
+
<Display>
|
201 |
+
<ColorDepth>32</ColorDepth>
|
202 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
203 |
+
<VerticalResolution>1080</VerticalResolution>
|
204 |
+
</Display>
|
205 |
+
<OOBE>
|
206 |
+
<HideEULAPage>true</HideEULAPage>
|
207 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
208 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
209 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
210 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
211 |
+
<NetworkLocation>Home</NetworkLocation>
|
212 |
+
<ProtectYourPC>3</ProtectYourPC>
|
213 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
214 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
215 |
+
</OOBE>
|
216 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
217 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
218 |
+
<FirstLogonCommands>
|
219 |
+
<SynchronousCommand wcm:action="add">
|
220 |
+
<Order>1</Order>
|
221 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
222 |
+
<Description>Allow guest access to network shares</Description>
|
223 |
+
</SynchronousCommand>
|
224 |
+
<SynchronousCommand wcm:action="add">
|
225 |
+
<Order>2</Order>
|
226 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
227 |
+
<Description>Allow RDP login with blank password</Description>
|
228 |
+
</SynchronousCommand>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>3</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
232 |
+
<Description>Enable option for passwordless sign-in</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>4</Order>
|
236 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
237 |
+
<Description>Password Never Expires</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>5</Order>
|
241 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
242 |
+
<Description>Disable Hibernation</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>6</Order>
|
246 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
247 |
+
<Description>Disable monitor blanking</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>7</Order>
|
251 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
252 |
+
<Description>Disable first-run experience in Edge</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>8</Order>
|
256 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
257 |
+
<Description>Show file extensions in Explorer</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>9</Order>
|
261 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
262 |
+
<Description>Zero Hibernation File</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>10</Order>
|
266 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
267 |
+
<Description>Disable Hibernation</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>11</Order>
|
271 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
272 |
+
<Description>Disable Sleep</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>12</Order>
|
276 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
277 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>13</Order>
|
281 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
282 |
+
<Description>Turn off Windows Update auto download</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
<SynchronousCommand wcm:action="add">
|
285 |
+
<Order>14</Order>
|
286 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
287 |
+
<Description>Enable Network Discovery</Description>
|
288 |
+
</SynchronousCommand>
|
289 |
+
<SynchronousCommand wcm:action="add">
|
290 |
+
<Order>15</Order>
|
291 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
292 |
+
<Description>Enable File Sharing</Description>
|
293 |
+
</SynchronousCommand>
|
294 |
+
<SynchronousCommand wcm:action="add">
|
295 |
+
<Order>16</Order>
|
296 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
297 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
298 |
+
</SynchronousCommand>
|
299 |
+
</FirstLogonCommands>
|
300 |
+
</component>
|
301 |
+
</settings>
|
302 |
+
</unattend>
|
assets/win81x64-enterprise.xml
ADDED
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallTo>
|
65 |
+
<DiskID>0</DiskID>
|
66 |
+
<PartitionID>3</PartitionID>
|
67 |
+
</InstallTo>
|
68 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
69 |
+
</OSImage>
|
70 |
+
</ImageInstall>
|
71 |
+
<DynamicUpdate>
|
72 |
+
<Enable>true</Enable>
|
73 |
+
<WillShowUI>Never</WillShowUI>
|
74 |
+
</DynamicUpdate>
|
75 |
+
<UpgradeData>
|
76 |
+
<Upgrade>false</Upgrade>
|
77 |
+
<WillShowUI>Never</WillShowUI>
|
78 |
+
</UpgradeData>
|
79 |
+
<UserData>
|
80 |
+
<AcceptEula>true</AcceptEula>
|
81 |
+
<FullName>Docker</FullName>
|
82 |
+
<Organization>Windows for Docker</Organization>
|
83 |
+
<ProductKey>
|
84 |
+
<Key>FHQNR-XYXYC-8PMHT-TV4PH-DRQ3H</Key>
|
85 |
+
</ProductKey>
|
86 |
+
</UserData>
|
87 |
+
<EnableFirewall>false</EnableFirewall>
|
88 |
+
<Diagnostics>
|
89 |
+
<OptIn>false</OptIn>
|
90 |
+
</Diagnostics>
|
91 |
+
</component>
|
92 |
+
</settings>
|
93 |
+
<settings pass="offlineServicing">
|
94 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
95 |
+
<EnableLUA>false</EnableLUA>
|
96 |
+
</component>
|
97 |
+
</settings>
|
98 |
+
<settings pass="generalize">
|
99 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
100 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
101 |
+
</component>
|
102 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
103 |
+
<SkipRearm>1</SkipRearm>
|
104 |
+
</component>
|
105 |
+
</settings>
|
106 |
+
<settings pass="specialize">
|
107 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
109 |
+
</component>
|
110 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
111 |
+
<ComputerName>*</ComputerName>
|
112 |
+
<OEMInformation>
|
113 |
+
<Manufacturer>Dockur</Manufacturer>
|
114 |
+
<Model>Windows for Docker</Model>
|
115 |
+
</OEMInformation>
|
116 |
+
<OEMName>Windows for Docker</OEMName>
|
117 |
+
</component>
|
118 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
119 |
+
<DisableWER>1</DisableWER>
|
120 |
+
</component>
|
121 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
122 |
+
<DisableAccelerators>true</DisableAccelerators>
|
123 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
124 |
+
<Home_Page>https://google.com</Home_Page>
|
125 |
+
<Help_Page>about:blank</Help_Page>
|
126 |
+
</component>
|
127 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
128 |
+
<DisableAccelerators>true</DisableAccelerators>
|
129 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
130 |
+
<Home_Page>https://google.com</Home_Page>
|
131 |
+
<Help_Page>about:blank</Help_Page>
|
132 |
+
</component>
|
133 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
134 |
+
<CEIPEnabled>0</CEIPEnabled>
|
135 |
+
</component>
|
136 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
137 |
+
<DisableSR>1</DisableSR>
|
138 |
+
</component>
|
139 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
140 |
+
<InputLocale>0409:00000409</InputLocale>
|
141 |
+
<SystemLocale>en-US</SystemLocale>
|
142 |
+
<UILanguage>en-US</UILanguage>
|
143 |
+
<UserLocale>en-US</UserLocale>
|
144 |
+
</component>
|
145 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
146 |
+
<RunSynchronous>
|
147 |
+
<RunSynchronousCommand wcm:action="add">
|
148 |
+
<Order>1</Order>
|
149 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
150 |
+
<Description>Set Network Location to Home</Description>
|
151 |
+
</RunSynchronousCommand>
|
152 |
+
</RunSynchronous>
|
153 |
+
</component>
|
154 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
155 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
156 |
+
</component>
|
157 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
158 |
+
<UserAuthentication>0</UserAuthentication>
|
159 |
+
</component>
|
160 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
161 |
+
<FirewallGroups>
|
162 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
163 |
+
<Active>true</Active>
|
164 |
+
<Profile>all</Profile>
|
165 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
166 |
+
</FirewallGroup>
|
167 |
+
</FirewallGroups>
|
168 |
+
</component>
|
169 |
+
</settings>
|
170 |
+
<settings pass="oobeSystem">
|
171 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
172 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
173 |
+
</component>
|
174 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
175 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
176 |
+
</component>
|
177 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
178 |
+
<UserAccounts>
|
179 |
+
<LocalAccounts>
|
180 |
+
<LocalAccount wcm:action="add">
|
181 |
+
<Name>Docker</Name>
|
182 |
+
<Group>Administrators</Group>
|
183 |
+
<Password>
|
184 |
+
<Value />
|
185 |
+
<PlainText>true</PlainText>
|
186 |
+
</Password>
|
187 |
+
</LocalAccount>
|
188 |
+
</LocalAccounts>
|
189 |
+
<AdministratorPassword>
|
190 |
+
<Value>password</Value>
|
191 |
+
<PlainText>true</PlainText>
|
192 |
+
</AdministratorPassword>
|
193 |
+
</UserAccounts>
|
194 |
+
<AutoLogon>
|
195 |
+
<Username>Docker</Username>
|
196 |
+
<Enabled>true</Enabled>
|
197 |
+
<LogonCount>65432</LogonCount>
|
198 |
+
<Password>
|
199 |
+
<Value />
|
200 |
+
<PlainText>true</PlainText>
|
201 |
+
</Password>
|
202 |
+
</AutoLogon>
|
203 |
+
<Display>
|
204 |
+
<ColorDepth>32</ColorDepth>
|
205 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
206 |
+
<VerticalResolution>1080</VerticalResolution>
|
207 |
+
</Display>
|
208 |
+
<OOBE>
|
209 |
+
<HideEULAPage>true</HideEULAPage>
|
210 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
211 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
212 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
213 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
214 |
+
<NetworkLocation>Home</NetworkLocation>
|
215 |
+
<ProtectYourPC>3</ProtectYourPC>
|
216 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
217 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
218 |
+
</OOBE>
|
219 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
220 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
221 |
+
<FirstLogonCommands>
|
222 |
+
<SynchronousCommand wcm:action="add">
|
223 |
+
<Order>1</Order>
|
224 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
225 |
+
<Description>Allow guest access to network shares</Description>
|
226 |
+
</SynchronousCommand>
|
227 |
+
<SynchronousCommand wcm:action="add">
|
228 |
+
<Order>2</Order>
|
229 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
230 |
+
<Description>Allow RDP login with blank password</Description>
|
231 |
+
</SynchronousCommand>
|
232 |
+
<SynchronousCommand wcm:action="add">
|
233 |
+
<Order>3</Order>
|
234 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
235 |
+
<Description>Enable option for passwordless sign-in</Description>
|
236 |
+
</SynchronousCommand>
|
237 |
+
<SynchronousCommand wcm:action="add">
|
238 |
+
<Order>4</Order>
|
239 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
240 |
+
<Description>Password Never Expires</Description>
|
241 |
+
</SynchronousCommand>
|
242 |
+
<SynchronousCommand wcm:action="add">
|
243 |
+
<Order>5</Order>
|
244 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
245 |
+
<Description>Disable Hibernation</Description>
|
246 |
+
</SynchronousCommand>
|
247 |
+
<SynchronousCommand wcm:action="add">
|
248 |
+
<Order>6</Order>
|
249 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
250 |
+
<Description>Disable monitor blanking</Description>
|
251 |
+
</SynchronousCommand>
|
252 |
+
<SynchronousCommand wcm:action="add">
|
253 |
+
<Order>7</Order>
|
254 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
255 |
+
<Description>Disable first-run experience in Edge</Description>
|
256 |
+
</SynchronousCommand>
|
257 |
+
<SynchronousCommand wcm:action="add">
|
258 |
+
<Order>8</Order>
|
259 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
260 |
+
<Description>Show file extensions in Explorer</Description>
|
261 |
+
</SynchronousCommand>
|
262 |
+
<SynchronousCommand wcm:action="add">
|
263 |
+
<Order>9</Order>
|
264 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
265 |
+
<Description>Zero Hibernation File</Description>
|
266 |
+
</SynchronousCommand>
|
267 |
+
<SynchronousCommand wcm:action="add">
|
268 |
+
<Order>10</Order>
|
269 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
270 |
+
<Description>Disable Hibernation</Description>
|
271 |
+
</SynchronousCommand>
|
272 |
+
<SynchronousCommand wcm:action="add">
|
273 |
+
<Order>11</Order>
|
274 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
275 |
+
<Description>Disable Sleep</Description>
|
276 |
+
</SynchronousCommand>
|
277 |
+
<SynchronousCommand wcm:action="add">
|
278 |
+
<Order>12</Order>
|
279 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
280 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
281 |
+
</SynchronousCommand>
|
282 |
+
<SynchronousCommand wcm:action="add">
|
283 |
+
<Order>13</Order>
|
284 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
285 |
+
<Description>Turn off Windows Update auto download</Description>
|
286 |
+
</SynchronousCommand>
|
287 |
+
<SynchronousCommand wcm:action="add">
|
288 |
+
<Order>14</Order>
|
289 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
290 |
+
<Description>Enable Network Discovery</Description>
|
291 |
+
</SynchronousCommand>
|
292 |
+
<SynchronousCommand wcm:action="add">
|
293 |
+
<Order>15</Order>
|
294 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
295 |
+
<Description>Enable File Sharing</Description>
|
296 |
+
</SynchronousCommand>
|
297 |
+
<SynchronousCommand wcm:action="add">
|
298 |
+
<Order>16</Order>
|
299 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
300 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
301 |
+
</SynchronousCommand>
|
302 |
+
</FirstLogonCommands>
|
303 |
+
</component>
|
304 |
+
</settings>
|
305 |
+
</unattend>
|
assets/win81x64.xml
ADDED
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Disk wcm:action="add">
|
16 |
+
<DiskID>0</DiskID>
|
17 |
+
<WillWipeDisk>true</WillWipeDisk>
|
18 |
+
<CreatePartitions>
|
19 |
+
<!-- System partition (ESP) -->
|
20 |
+
<CreatePartition wcm:action="add">
|
21 |
+
<Order>1</Order>
|
22 |
+
<Type>EFI</Type>
|
23 |
+
<Size>128</Size>
|
24 |
+
</CreatePartition>
|
25 |
+
<!-- Microsoft reserved partition (MSR) -->
|
26 |
+
<CreatePartition wcm:action="add">
|
27 |
+
<Order>2</Order>
|
28 |
+
<Type>MSR</Type>
|
29 |
+
<Size>128</Size>
|
30 |
+
</CreatePartition>
|
31 |
+
<!-- Windows partition -->
|
32 |
+
<CreatePartition wcm:action="add">
|
33 |
+
<Order>3</Order>
|
34 |
+
<Type>Primary</Type>
|
35 |
+
<Extend>true</Extend>
|
36 |
+
</CreatePartition>
|
37 |
+
</CreatePartitions>
|
38 |
+
<ModifyPartitions>
|
39 |
+
<!-- System partition (ESP) -->
|
40 |
+
<ModifyPartition wcm:action="add">
|
41 |
+
<Order>1</Order>
|
42 |
+
<PartitionID>1</PartitionID>
|
43 |
+
<Label>System</Label>
|
44 |
+
<Format>FAT32</Format>
|
45 |
+
</ModifyPartition>
|
46 |
+
<!-- MSR partition does not need to be modified -->
|
47 |
+
<ModifyPartition wcm:action="add">
|
48 |
+
<Order>2</Order>
|
49 |
+
<PartitionID>2</PartitionID>
|
50 |
+
</ModifyPartition>
|
51 |
+
<!-- Windows partition -->
|
52 |
+
<ModifyPartition wcm:action="add">
|
53 |
+
<Order>3</Order>
|
54 |
+
<PartitionID>3</PartitionID>
|
55 |
+
<Label>Windows</Label>
|
56 |
+
<Letter>C</Letter>
|
57 |
+
<Format>NTFS</Format>
|
58 |
+
</ModifyPartition>
|
59 |
+
</ModifyPartitions>
|
60 |
+
</Disk>
|
61 |
+
</DiskConfiguration>
|
62 |
+
<ImageInstall>
|
63 |
+
<OSImage>
|
64 |
+
<InstallFrom>
|
65 |
+
<MetaData wcm:action="add">
|
66 |
+
<Value>Windows 8.1 Pro</Value>
|
67 |
+
<Key>/IMAGE/NAME</Key>
|
68 |
+
</MetaData>
|
69 |
+
</InstallFrom>
|
70 |
+
<InstallTo>
|
71 |
+
<DiskID>0</DiskID>
|
72 |
+
<PartitionID>3</PartitionID>
|
73 |
+
</InstallTo>
|
74 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
75 |
+
</OSImage>
|
76 |
+
</ImageInstall>
|
77 |
+
<DynamicUpdate>
|
78 |
+
<Enable>true</Enable>
|
79 |
+
<WillShowUI>Never</WillShowUI>
|
80 |
+
</DynamicUpdate>
|
81 |
+
<UpgradeData>
|
82 |
+
<Upgrade>false</Upgrade>
|
83 |
+
<WillShowUI>Never</WillShowUI>
|
84 |
+
</UpgradeData>
|
85 |
+
<UserData>
|
86 |
+
<AcceptEula>true</AcceptEula>
|
87 |
+
<FullName>Docker</FullName>
|
88 |
+
<Organization>Windows for Docker</Organization>
|
89 |
+
<ProductKey>
|
90 |
+
<Key>GCRJD-8NW9H-F2CDX-CCM8D-9D6T9</Key>
|
91 |
+
<WillShowUI>OnError</WillShowUI>
|
92 |
+
</ProductKey>
|
93 |
+
</UserData>
|
94 |
+
<EnableFirewall>false</EnableFirewall>
|
95 |
+
<Diagnostics>
|
96 |
+
<OptIn>false</OptIn>
|
97 |
+
</Diagnostics>
|
98 |
+
</component>
|
99 |
+
</settings>
|
100 |
+
<settings pass="offlineServicing">
|
101 |
+
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<EnableLUA>false</EnableLUA>
|
103 |
+
</component>
|
104 |
+
</settings>
|
105 |
+
<settings pass="generalize">
|
106 |
+
<component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
107 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
108 |
+
</component>
|
109 |
+
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
110 |
+
<SkipRearm>1</SkipRearm>
|
111 |
+
</component>
|
112 |
+
</settings>
|
113 |
+
<settings pass="specialize">
|
114 |
+
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
115 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
116 |
+
</component>
|
117 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
118 |
+
<ComputerName>*</ComputerName>
|
119 |
+
<OEMInformation>
|
120 |
+
<Manufacturer>Dockur</Manufacturer>
|
121 |
+
<Model>Windows for Docker</Model>
|
122 |
+
</OEMInformation>
|
123 |
+
<OEMName>Windows for Docker</OEMName>
|
124 |
+
</component>
|
125 |
+
<component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
126 |
+
<DisableWER>1</DisableWER>
|
127 |
+
</component>
|
128 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
129 |
+
<DisableAccelerators>true</DisableAccelerators>
|
130 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
131 |
+
<Home_Page>https://google.com</Home_Page>
|
132 |
+
<Help_Page>about:blank</Help_Page>
|
133 |
+
</component>
|
134 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
135 |
+
<DisableAccelerators>true</DisableAccelerators>
|
136 |
+
<DisableFirstRunWizard>true</DisableFirstRunWizard>
|
137 |
+
<Home_Page>https://google.com</Home_Page>
|
138 |
+
<Help_Page>about:blank</Help_Page>
|
139 |
+
</component>
|
140 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
141 |
+
<CEIPEnabled>0</CEIPEnabled>
|
142 |
+
</component>
|
143 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
144 |
+
<DisableSR>1</DisableSR>
|
145 |
+
</component>
|
146 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
147 |
+
<InputLocale>0409:00000409</InputLocale>
|
148 |
+
<SystemLocale>en-US</SystemLocale>
|
149 |
+
<UILanguage>en-US</UILanguage>
|
150 |
+
<UserLocale>en-US</UserLocale>
|
151 |
+
</component>
|
152 |
+
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
153 |
+
<RunSynchronous>
|
154 |
+
<RunSynchronousCommand wcm:action="add">
|
155 |
+
<Order>1</Order>
|
156 |
+
<Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
|
157 |
+
<Description>Set Network Location to Home</Description>
|
158 |
+
</RunSynchronousCommand>
|
159 |
+
</RunSynchronous>
|
160 |
+
</component>
|
161 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
162 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
163 |
+
</component>
|
164 |
+
<component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
165 |
+
<UserAuthentication>0</UserAuthentication>
|
166 |
+
</component>
|
167 |
+
<component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
168 |
+
<FirewallGroups>
|
169 |
+
<FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
|
170 |
+
<Active>true</Active>
|
171 |
+
<Profile>all</Profile>
|
172 |
+
<Group>@FirewallAPI.dll,-28752</Group>
|
173 |
+
</FirewallGroup>
|
174 |
+
</FirewallGroups>
|
175 |
+
</component>
|
176 |
+
</settings>
|
177 |
+
<settings pass="oobeSystem">
|
178 |
+
<component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
179 |
+
<PreventDeviceEncryption>true</PreventDeviceEncryption>
|
180 |
+
</component>
|
181 |
+
<component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
182 |
+
<TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
|
183 |
+
</component>
|
184 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
185 |
+
<UserAccounts>
|
186 |
+
<LocalAccounts>
|
187 |
+
<LocalAccount wcm:action="add">
|
188 |
+
<Name>Docker</Name>
|
189 |
+
<Group>Administrators</Group>
|
190 |
+
<Password>
|
191 |
+
<Value />
|
192 |
+
<PlainText>true</PlainText>
|
193 |
+
</Password>
|
194 |
+
</LocalAccount>
|
195 |
+
</LocalAccounts>
|
196 |
+
<AdministratorPassword>
|
197 |
+
<Value>password</Value>
|
198 |
+
<PlainText>true</PlainText>
|
199 |
+
</AdministratorPassword>
|
200 |
+
</UserAccounts>
|
201 |
+
<AutoLogon>
|
202 |
+
<Username>Docker</Username>
|
203 |
+
<Enabled>true</Enabled>
|
204 |
+
<LogonCount>65432</LogonCount>
|
205 |
+
<Password>
|
206 |
+
<Value />
|
207 |
+
<PlainText>true</PlainText>
|
208 |
+
</Password>
|
209 |
+
</AutoLogon>
|
210 |
+
<Display>
|
211 |
+
<ColorDepth>32</ColorDepth>
|
212 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
213 |
+
<VerticalResolution>1080</VerticalResolution>
|
214 |
+
</Display>
|
215 |
+
<OOBE>
|
216 |
+
<HideEULAPage>true</HideEULAPage>
|
217 |
+
<HideLocalAccountScreen>true</HideLocalAccountScreen>
|
218 |
+
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
|
219 |
+
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
|
220 |
+
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
|
221 |
+
<NetworkLocation>Home</NetworkLocation>
|
222 |
+
<ProtectYourPC>3</ProtectYourPC>
|
223 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
224 |
+
<SkipMachineOOBE>true</SkipMachineOOBE>
|
225 |
+
</OOBE>
|
226 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
227 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
228 |
+
<FirstLogonCommands>
|
229 |
+
<SynchronousCommand wcm:action="add">
|
230 |
+
<Order>1</Order>
|
231 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
232 |
+
<Description>Allow guest access to network shares</Description>
|
233 |
+
</SynchronousCommand>
|
234 |
+
<SynchronousCommand wcm:action="add">
|
235 |
+
<Order>2</Order>
|
236 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
237 |
+
<Description>Allow RDP login with blank password</Description>
|
238 |
+
</SynchronousCommand>
|
239 |
+
<SynchronousCommand wcm:action="add">
|
240 |
+
<Order>3</Order>
|
241 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
|
242 |
+
<Description>Enable option for passwordless sign-in</Description>
|
243 |
+
</SynchronousCommand>
|
244 |
+
<SynchronousCommand wcm:action="add">
|
245 |
+
<Order>4</Order>
|
246 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
247 |
+
<Description>Password Never Expires</Description>
|
248 |
+
</SynchronousCommand>
|
249 |
+
<SynchronousCommand wcm:action="add">
|
250 |
+
<Order>5</Order>
|
251 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
252 |
+
<Description>Disable Hibernation</Description>
|
253 |
+
</SynchronousCommand>
|
254 |
+
<SynchronousCommand wcm:action="add">
|
255 |
+
<Order>6</Order>
|
256 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
257 |
+
<Description>Disable monitor blanking</Description>
|
258 |
+
</SynchronousCommand>
|
259 |
+
<SynchronousCommand wcm:action="add">
|
260 |
+
<Order>7</Order>
|
261 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
262 |
+
<Description>Disable first-run experience in Edge</Description>
|
263 |
+
</SynchronousCommand>
|
264 |
+
<SynchronousCommand wcm:action="add">
|
265 |
+
<Order>8</Order>
|
266 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
267 |
+
<Description>Show file extensions in Explorer</Description>
|
268 |
+
</SynchronousCommand>
|
269 |
+
<SynchronousCommand wcm:action="add">
|
270 |
+
<Order>9</Order>
|
271 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
272 |
+
<Description>Zero Hibernation File</Description>
|
273 |
+
</SynchronousCommand>
|
274 |
+
<SynchronousCommand wcm:action="add">
|
275 |
+
<Order>10</Order>
|
276 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
277 |
+
<Description>Disable Hibernation</Description>
|
278 |
+
</SynchronousCommand>
|
279 |
+
<SynchronousCommand wcm:action="add">
|
280 |
+
<Order>11</Order>
|
281 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
282 |
+
<Description>Disable Sleep</Description>
|
283 |
+
</SynchronousCommand>
|
284 |
+
<SynchronousCommand wcm:action="add">
|
285 |
+
<Order>12</Order>
|
286 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
287 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
288 |
+
</SynchronousCommand>
|
289 |
+
<SynchronousCommand wcm:action="add">
|
290 |
+
<Order>13</Order>
|
291 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
|
292 |
+
<Description>Turn off Windows Update auto download</Description>
|
293 |
+
</SynchronousCommand>
|
294 |
+
<SynchronousCommand wcm:action="add">
|
295 |
+
<Order>14</Order>
|
296 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
297 |
+
<Description>Enable Network Discovery</Description>
|
298 |
+
</SynchronousCommand>
|
299 |
+
<SynchronousCommand wcm:action="add">
|
300 |
+
<Order>15</Order>
|
301 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
302 |
+
<Description>Enable File Sharing</Description>
|
303 |
+
</SynchronousCommand>
|
304 |
+
<SynchronousCommand wcm:action="add">
|
305 |
+
<Order>16</Order>
|
306 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
307 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
308 |
+
</SynchronousCommand>
|
309 |
+
</FirstLogonCommands>
|
310 |
+
</component>
|
311 |
+
</settings>
|
312 |
+
</unattend>
|
assets/winvistax64-enterprise.xml
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Extend>true</Extend>
|
24 |
+
</CreatePartition>
|
25 |
+
</CreatePartitions>
|
26 |
+
<ModifyPartitions>
|
27 |
+
<ModifyPartition wcm:action="add">
|
28 |
+
<Active>true</Active>
|
29 |
+
<Format>NTFS</Format>
|
30 |
+
<Label>Windows</Label>
|
31 |
+
<Letter>C</Letter>
|
32 |
+
<Order>1</Order>
|
33 |
+
<PartitionID>1</PartitionID>
|
34 |
+
</ModifyPartition>
|
35 |
+
</ModifyPartitions>
|
36 |
+
</Disk>
|
37 |
+
</DiskConfiguration>
|
38 |
+
<ImageInstall>
|
39 |
+
<OSImage>
|
40 |
+
<InstallFrom>
|
41 |
+
<MetaData wcm:action="add">
|
42 |
+
<Value>Windows Vista Enterprise</Value>
|
43 |
+
<Key>/IMAGE/NAME</Key>
|
44 |
+
</MetaData>
|
45 |
+
</InstallFrom>
|
46 |
+
<InstallTo>
|
47 |
+
<DiskID>0</DiskID>
|
48 |
+
<PartitionID>1</PartitionID>
|
49 |
+
</InstallTo>
|
50 |
+
<WillShowUI>OnError</WillShowUI>
|
51 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
52 |
+
</OSImage>
|
53 |
+
</ImageInstall>
|
54 |
+
<UserData>
|
55 |
+
<AcceptEula>true</AcceptEula>
|
56 |
+
<FullName>Docker</FullName>
|
57 |
+
<Organization>Windows for Docker</Organization>
|
58 |
+
<ProductKey>
|
59 |
+
<Key>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</Key>
|
60 |
+
</ProductKey>
|
61 |
+
</UserData>
|
62 |
+
</component>
|
63 |
+
</settings>
|
64 |
+
<settings pass="generalize">
|
65 |
+
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
66 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
67 |
+
</component>
|
68 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
69 |
+
<SkipRearm>1</SkipRearm>
|
70 |
+
</component>
|
71 |
+
</settings>
|
72 |
+
<settings pass="specialize">
|
73 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
74 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
75 |
+
</component>
|
76 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
77 |
+
<ComputerName>*</ComputerName>
|
78 |
+
<ProductKey>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</ProductKey>
|
79 |
+
<TimeZone>Pacific Standard Time</TimeZone>
|
80 |
+
<OEMInformation>
|
81 |
+
<Manufacturer>Dockur</Manufacturer>
|
82 |
+
<Model>Windows for Docker</Model>
|
83 |
+
</OEMInformation>
|
84 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
85 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
86 |
+
</component>
|
87 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
88 |
+
<DisableSR>1</DisableSR>
|
89 |
+
</component>
|
90 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="oobeSystem">
|
95 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<InputLocale>0409:00000409</InputLocale>
|
97 |
+
<SystemLocale>en-US</SystemLocale>
|
98 |
+
<UILanguage>en-US</UILanguage>
|
99 |
+
<UserLocale>en-US</UserLocale>
|
100 |
+
</component>
|
101 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<Home_Page>about:blank</Home_Page>
|
103 |
+
</component>
|
104 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<CEIPEnabled>0</CEIPEnabled>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<UserAccounts>
|
109 |
+
<LocalAccounts>
|
110 |
+
<LocalAccount wcm:action="add">
|
111 |
+
<Name>Docker</Name>
|
112 |
+
<Group>Administrators</Group>
|
113 |
+
<Password>
|
114 |
+
<Value />
|
115 |
+
<PlainText>true</PlainText>
|
116 |
+
</Password>
|
117 |
+
</LocalAccount>
|
118 |
+
</LocalAccounts>
|
119 |
+
<AdministratorPassword>
|
120 |
+
<Value>password</Value>
|
121 |
+
<PlainText>true</PlainText>
|
122 |
+
</AdministratorPassword>
|
123 |
+
</UserAccounts>
|
124 |
+
<AutoLogon>
|
125 |
+
<Username>Docker</Username>
|
126 |
+
<Enabled>true</Enabled>
|
127 |
+
<LogonCount>65432</LogonCount>
|
128 |
+
<Password>
|
129 |
+
<Value />
|
130 |
+
<PlainText>true</PlainText>
|
131 |
+
</Password>
|
132 |
+
</AutoLogon>
|
133 |
+
<Display>
|
134 |
+
<ColorDepth>32</ColorDepth>
|
135 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
136 |
+
<VerticalResolution>1080</VerticalResolution>
|
137 |
+
</Display>
|
138 |
+
<OOBE>
|
139 |
+
<HideEULAPage>true</HideEULAPage>
|
140 |
+
<NetworkLocation>Home</NetworkLocation>
|
141 |
+
<ProtectYourPC>3</ProtectYourPC>
|
142 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
143 |
+
<SkipMachineOOBE>false</SkipMachineOOBE>
|
144 |
+
</OOBE>
|
145 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
146 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
147 |
+
<FirstLogonCommands>
|
148 |
+
<SynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
151 |
+
<Description>Allow guest access to network shares</Description>
|
152 |
+
</SynchronousCommand>
|
153 |
+
<SynchronousCommand wcm:action="add">
|
154 |
+
<Order>2</Order>
|
155 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
156 |
+
<Description>Allow RDP login with blank password</Description>
|
157 |
+
</SynchronousCommand>
|
158 |
+
<SynchronousCommand wcm:action="add">
|
159 |
+
<Order>3</Order>
|
160 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
161 |
+
<Description>Password Never Expires</Description>
|
162 |
+
</SynchronousCommand>
|
163 |
+
<SynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
166 |
+
<Description>Disable Hibernation</Description>
|
167 |
+
</SynchronousCommand>
|
168 |
+
<SynchronousCommand wcm:action="add">
|
169 |
+
<Order>5</Order>
|
170 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
171 |
+
<Description>Disable monitor blanking</Description>
|
172 |
+
</SynchronousCommand>
|
173 |
+
<SynchronousCommand wcm:action="add">
|
174 |
+
<Order>6</Order>
|
175 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
176 |
+
<Description>Disable Network Discovery popup</Description>
|
177 |
+
</SynchronousCommand>
|
178 |
+
<SynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
181 |
+
<Description>Disable Network Discovery popup</Description>
|
182 |
+
</SynchronousCommand>
|
183 |
+
<SynchronousCommand wcm:action="add">
|
184 |
+
<Order>8</Order>
|
185 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
186 |
+
<Description>Disable Network Discovery popup</Description>
|
187 |
+
</SynchronousCommand>
|
188 |
+
<SynchronousCommand wcm:action="add">
|
189 |
+
<Order>9</Order>
|
190 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
191 |
+
<Description>Disable first-run experience in Edge</Description>
|
192 |
+
</SynchronousCommand>
|
193 |
+
<SynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
196 |
+
<Description>Show file extensions in Explorer</Description>
|
197 |
+
</SynchronousCommand>
|
198 |
+
<SynchronousCommand wcm:action="add">
|
199 |
+
<Order>11</Order>
|
200 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
201 |
+
<Description>Zero Hibernation File</Description>
|
202 |
+
</SynchronousCommand>
|
203 |
+
<SynchronousCommand wcm:action="add">
|
204 |
+
<Order>12</Order>
|
205 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
206 |
+
<Description>Disable Hibernation</Description>
|
207 |
+
</SynchronousCommand>
|
208 |
+
<SynchronousCommand wcm:action="add">
|
209 |
+
<Order>13</Order>
|
210 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
211 |
+
<Description>Disable Sleep</Description>
|
212 |
+
</SynchronousCommand>
|
213 |
+
<SynchronousCommand wcm:action="add">
|
214 |
+
<Order>14</Order>
|
215 |
+
<CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
|
216 |
+
<Description>Add RDP in firewall</Description>
|
217 |
+
</SynchronousCommand>
|
218 |
+
<SynchronousCommand wcm:action="add">
|
219 |
+
<Order>15</Order>
|
220 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
|
221 |
+
<Description>Enable RDP</Description>
|
222 |
+
</SynchronousCommand>
|
223 |
+
<SynchronousCommand wcm:action="add">
|
224 |
+
<Order>16</Order>
|
225 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
|
226 |
+
<Description>Turn off sidebar</Description>
|
227 |
+
</SynchronousCommand>
|
228 |
+
<SynchronousCommand wcm:action="add">
|
229 |
+
<Order>17</Order>
|
230 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
|
231 |
+
<Description>Disable screensaver</Description>
|
232 |
+
</SynchronousCommand>
|
233 |
+
<SynchronousCommand wcm:action="add">
|
234 |
+
<Order>18</Order>
|
235 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
|
236 |
+
<Description>Disable screensaver</Description>
|
237 |
+
</SynchronousCommand>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>20</Order>
|
245 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
246 |
+
<Description>Enable Network Discovery</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>21</Order>
|
250 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
251 |
+
<Description>Enable File Sharing</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
256 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
</FirstLogonCommands>
|
259 |
+
</component>
|
260 |
+
</settings>
|
261 |
+
</unattend>
|
assets/winvistax64-ultimate.xml
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Extend>true</Extend>
|
24 |
+
</CreatePartition>
|
25 |
+
</CreatePartitions>
|
26 |
+
<ModifyPartitions>
|
27 |
+
<ModifyPartition wcm:action="add">
|
28 |
+
<Active>true</Active>
|
29 |
+
<Format>NTFS</Format>
|
30 |
+
<Label>Windows</Label>
|
31 |
+
<Letter>C</Letter>
|
32 |
+
<Order>1</Order>
|
33 |
+
<PartitionID>1</PartitionID>
|
34 |
+
</ModifyPartition>
|
35 |
+
</ModifyPartitions>
|
36 |
+
</Disk>
|
37 |
+
</DiskConfiguration>
|
38 |
+
<ImageInstall>
|
39 |
+
<OSImage>
|
40 |
+
<InstallFrom>
|
41 |
+
<MetaData wcm:action="add">
|
42 |
+
<Value>Windows Vista Ultimate</Value>
|
43 |
+
<Key>/IMAGE/NAME</Key>
|
44 |
+
</MetaData>
|
45 |
+
</InstallFrom>
|
46 |
+
<InstallTo>
|
47 |
+
<DiskID>0</DiskID>
|
48 |
+
<PartitionID>1</PartitionID>
|
49 |
+
</InstallTo>
|
50 |
+
<WillShowUI>OnError</WillShowUI>
|
51 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
52 |
+
</OSImage>
|
53 |
+
</ImageInstall>
|
54 |
+
<UserData>
|
55 |
+
<AcceptEula>true</AcceptEula>
|
56 |
+
<FullName>Docker</FullName>
|
57 |
+
<Organization>Windows for Docker</Organization>
|
58 |
+
<ProductKey>
|
59 |
+
<Key>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</Key>
|
60 |
+
</ProductKey>
|
61 |
+
</UserData>
|
62 |
+
</component>
|
63 |
+
</settings>
|
64 |
+
<settings pass="generalize">
|
65 |
+
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
66 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
67 |
+
</component>
|
68 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
69 |
+
<SkipRearm>1</SkipRearm>
|
70 |
+
</component>
|
71 |
+
</settings>
|
72 |
+
<settings pass="specialize">
|
73 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
74 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
75 |
+
</component>
|
76 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
77 |
+
<ComputerName>*</ComputerName>
|
78 |
+
<ProductKey>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</ProductKey>
|
79 |
+
<TimeZone>Pacific Standard Time</TimeZone>
|
80 |
+
<OEMInformation>
|
81 |
+
<Manufacturer>Dockur</Manufacturer>
|
82 |
+
<Model>Windows for Docker</Model>
|
83 |
+
</OEMInformation>
|
84 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
85 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
86 |
+
</component>
|
87 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
88 |
+
<DisableSR>1</DisableSR>
|
89 |
+
</component>
|
90 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="oobeSystem">
|
95 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<InputLocale>0409:00000409</InputLocale>
|
97 |
+
<SystemLocale>en-US</SystemLocale>
|
98 |
+
<UILanguage>en-US</UILanguage>
|
99 |
+
<UserLocale>en-US</UserLocale>
|
100 |
+
</component>
|
101 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<Home_Page>about:blank</Home_Page>
|
103 |
+
</component>
|
104 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<CEIPEnabled>0</CEIPEnabled>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<UserAccounts>
|
109 |
+
<LocalAccounts>
|
110 |
+
<LocalAccount wcm:action="add">
|
111 |
+
<Name>Docker</Name>
|
112 |
+
<Group>Administrators</Group>
|
113 |
+
<Password>
|
114 |
+
<Value />
|
115 |
+
<PlainText>true</PlainText>
|
116 |
+
</Password>
|
117 |
+
</LocalAccount>
|
118 |
+
</LocalAccounts>
|
119 |
+
<AdministratorPassword>
|
120 |
+
<Value>password</Value>
|
121 |
+
<PlainText>true</PlainText>
|
122 |
+
</AdministratorPassword>
|
123 |
+
</UserAccounts>
|
124 |
+
<AutoLogon>
|
125 |
+
<Username>Docker</Username>
|
126 |
+
<Enabled>true</Enabled>
|
127 |
+
<LogonCount>65432</LogonCount>
|
128 |
+
<Password>
|
129 |
+
<Value />
|
130 |
+
<PlainText>true</PlainText>
|
131 |
+
</Password>
|
132 |
+
</AutoLogon>
|
133 |
+
<Display>
|
134 |
+
<ColorDepth>32</ColorDepth>
|
135 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
136 |
+
<VerticalResolution>1080</VerticalResolution>
|
137 |
+
</Display>
|
138 |
+
<OOBE>
|
139 |
+
<HideEULAPage>true</HideEULAPage>
|
140 |
+
<NetworkLocation>Home</NetworkLocation>
|
141 |
+
<ProtectYourPC>3</ProtectYourPC>
|
142 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
143 |
+
<SkipMachineOOBE>false</SkipMachineOOBE>
|
144 |
+
</OOBE>
|
145 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
146 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
147 |
+
<FirstLogonCommands>
|
148 |
+
<SynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
151 |
+
<Description>Allow guest access to network shares</Description>
|
152 |
+
</SynchronousCommand>
|
153 |
+
<SynchronousCommand wcm:action="add">
|
154 |
+
<Order>2</Order>
|
155 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
156 |
+
<Description>Allow RDP login with blank password</Description>
|
157 |
+
</SynchronousCommand>
|
158 |
+
<SynchronousCommand wcm:action="add">
|
159 |
+
<Order>3</Order>
|
160 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
161 |
+
<Description>Password Never Expires</Description>
|
162 |
+
</SynchronousCommand>
|
163 |
+
<SynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
166 |
+
<Description>Disable Hibernation</Description>
|
167 |
+
</SynchronousCommand>
|
168 |
+
<SynchronousCommand wcm:action="add">
|
169 |
+
<Order>5</Order>
|
170 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
171 |
+
<Description>Disable monitor blanking</Description>
|
172 |
+
</SynchronousCommand>
|
173 |
+
<SynchronousCommand wcm:action="add">
|
174 |
+
<Order>6</Order>
|
175 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
176 |
+
<Description>Disable Network Discovery popup</Description>
|
177 |
+
</SynchronousCommand>
|
178 |
+
<SynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
181 |
+
<Description>Disable Network Discovery popup</Description>
|
182 |
+
</SynchronousCommand>
|
183 |
+
<SynchronousCommand wcm:action="add">
|
184 |
+
<Order>8</Order>
|
185 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
186 |
+
<Description>Disable Network Discovery popup</Description>
|
187 |
+
</SynchronousCommand>
|
188 |
+
<SynchronousCommand wcm:action="add">
|
189 |
+
<Order>9</Order>
|
190 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
191 |
+
<Description>Disable first-run experience in Edge</Description>
|
192 |
+
</SynchronousCommand>
|
193 |
+
<SynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
196 |
+
<Description>Show file extensions in Explorer</Description>
|
197 |
+
</SynchronousCommand>
|
198 |
+
<SynchronousCommand wcm:action="add">
|
199 |
+
<Order>11</Order>
|
200 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
201 |
+
<Description>Zero Hibernation File</Description>
|
202 |
+
</SynchronousCommand>
|
203 |
+
<SynchronousCommand wcm:action="add">
|
204 |
+
<Order>12</Order>
|
205 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
206 |
+
<Description>Disable Hibernation</Description>
|
207 |
+
</SynchronousCommand>
|
208 |
+
<SynchronousCommand wcm:action="add">
|
209 |
+
<Order>13</Order>
|
210 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
211 |
+
<Description>Disable Sleep</Description>
|
212 |
+
</SynchronousCommand>
|
213 |
+
<SynchronousCommand wcm:action="add">
|
214 |
+
<Order>14</Order>
|
215 |
+
<CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
|
216 |
+
<Description>Add RDP in firewall</Description>
|
217 |
+
</SynchronousCommand>
|
218 |
+
<SynchronousCommand wcm:action="add">
|
219 |
+
<Order>15</Order>
|
220 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
|
221 |
+
<Description>Enable RDP</Description>
|
222 |
+
</SynchronousCommand>
|
223 |
+
<SynchronousCommand wcm:action="add">
|
224 |
+
<Order>16</Order>
|
225 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
|
226 |
+
<Description>Turn off sidebar</Description>
|
227 |
+
</SynchronousCommand>
|
228 |
+
<SynchronousCommand wcm:action="add">
|
229 |
+
<Order>17</Order>
|
230 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
|
231 |
+
<Description>Disable screensaver</Description>
|
232 |
+
</SynchronousCommand>
|
233 |
+
<SynchronousCommand wcm:action="add">
|
234 |
+
<Order>18</Order>
|
235 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
|
236 |
+
<Description>Disable screensaver</Description>
|
237 |
+
</SynchronousCommand>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>20</Order>
|
245 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
246 |
+
<Description>Enable Network Discovery</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>21</Order>
|
250 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
251 |
+
<Description>Enable File Sharing</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
256 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
</FirstLogonCommands>
|
259 |
+
</component>
|
260 |
+
</settings>
|
261 |
+
</unattend>
|
assets/winvistax64.xml
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<Extend>true</Extend>
|
24 |
+
</CreatePartition>
|
25 |
+
</CreatePartitions>
|
26 |
+
<ModifyPartitions>
|
27 |
+
<ModifyPartition wcm:action="add">
|
28 |
+
<Active>true</Active>
|
29 |
+
<Format>NTFS</Format>
|
30 |
+
<Label>Windows</Label>
|
31 |
+
<Letter>C</Letter>
|
32 |
+
<Order>1</Order>
|
33 |
+
<PartitionID>1</PartitionID>
|
34 |
+
</ModifyPartition>
|
35 |
+
</ModifyPartitions>
|
36 |
+
</Disk>
|
37 |
+
</DiskConfiguration>
|
38 |
+
<ImageInstall>
|
39 |
+
<OSImage>
|
40 |
+
<InstallFrom>
|
41 |
+
<MetaData wcm:action="add">
|
42 |
+
<Value>Windows Vista BUSINESS</Value>
|
43 |
+
<Key>/IMAGE/NAME</Key>
|
44 |
+
</MetaData>
|
45 |
+
</InstallFrom>
|
46 |
+
<InstallTo>
|
47 |
+
<DiskID>0</DiskID>
|
48 |
+
<PartitionID>1</PartitionID>
|
49 |
+
</InstallTo>
|
50 |
+
<WillShowUI>OnError</WillShowUI>
|
51 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
52 |
+
</OSImage>
|
53 |
+
</ImageInstall>
|
54 |
+
<UserData>
|
55 |
+
<AcceptEula>true</AcceptEula>
|
56 |
+
<FullName>Docker</FullName>
|
57 |
+
<Organization>Windows for Docker</Organization>
|
58 |
+
<ProductKey>
|
59 |
+
<Key>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</Key>
|
60 |
+
</ProductKey>
|
61 |
+
</UserData>
|
62 |
+
</component>
|
63 |
+
</settings>
|
64 |
+
<settings pass="generalize">
|
65 |
+
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
66 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
67 |
+
</component>
|
68 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
69 |
+
<SkipRearm>1</SkipRearm>
|
70 |
+
</component>
|
71 |
+
</settings>
|
72 |
+
<settings pass="specialize">
|
73 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
74 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
75 |
+
</component>
|
76 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
77 |
+
<ComputerName>*</ComputerName>
|
78 |
+
<ProductKey>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</ProductKey>
|
79 |
+
<TimeZone>Pacific Standard Time</TimeZone>
|
80 |
+
<OEMInformation>
|
81 |
+
<Manufacturer>Dockur</Manufacturer>
|
82 |
+
<Model>Windows for Docker</Model>
|
83 |
+
</OEMInformation>
|
84 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
85 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
86 |
+
</component>
|
87 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
88 |
+
<DisableSR>1</DisableSR>
|
89 |
+
</component>
|
90 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="oobeSystem">
|
95 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<InputLocale>0409:00000409</InputLocale>
|
97 |
+
<SystemLocale>en-US</SystemLocale>
|
98 |
+
<UILanguage>en-US</UILanguage>
|
99 |
+
<UserLocale>en-US</UserLocale>
|
100 |
+
</component>
|
101 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<Home_Page>about:blank</Home_Page>
|
103 |
+
</component>
|
104 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<CEIPEnabled>0</CEIPEnabled>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<UserAccounts>
|
109 |
+
<LocalAccounts>
|
110 |
+
<LocalAccount wcm:action="add">
|
111 |
+
<Name>Docker</Name>
|
112 |
+
<Group>Administrators</Group>
|
113 |
+
<Password>
|
114 |
+
<Value />
|
115 |
+
<PlainText>true</PlainText>
|
116 |
+
</Password>
|
117 |
+
</LocalAccount>
|
118 |
+
</LocalAccounts>
|
119 |
+
<AdministratorPassword>
|
120 |
+
<Value>password</Value>
|
121 |
+
<PlainText>true</PlainText>
|
122 |
+
</AdministratorPassword>
|
123 |
+
</UserAccounts>
|
124 |
+
<AutoLogon>
|
125 |
+
<Username>Docker</Username>
|
126 |
+
<Enabled>true</Enabled>
|
127 |
+
<LogonCount>65432</LogonCount>
|
128 |
+
<Password>
|
129 |
+
<Value />
|
130 |
+
<PlainText>true</PlainText>
|
131 |
+
</Password>
|
132 |
+
</AutoLogon>
|
133 |
+
<Display>
|
134 |
+
<ColorDepth>32</ColorDepth>
|
135 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
136 |
+
<VerticalResolution>1080</VerticalResolution>
|
137 |
+
</Display>
|
138 |
+
<OOBE>
|
139 |
+
<HideEULAPage>true</HideEULAPage>
|
140 |
+
<NetworkLocation>Home</NetworkLocation>
|
141 |
+
<ProtectYourPC>3</ProtectYourPC>
|
142 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
143 |
+
<SkipMachineOOBE>false</SkipMachineOOBE>
|
144 |
+
</OOBE>
|
145 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
146 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
147 |
+
<FirstLogonCommands>
|
148 |
+
<SynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
151 |
+
<Description>Allow guest access to network shares</Description>
|
152 |
+
</SynchronousCommand>
|
153 |
+
<SynchronousCommand wcm:action="add">
|
154 |
+
<Order>2</Order>
|
155 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
156 |
+
<Description>Allow RDP login with blank password</Description>
|
157 |
+
</SynchronousCommand>
|
158 |
+
<SynchronousCommand wcm:action="add">
|
159 |
+
<Order>3</Order>
|
160 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
161 |
+
<Description>Password Never Expires</Description>
|
162 |
+
</SynchronousCommand>
|
163 |
+
<SynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
166 |
+
<Description>Disable Hibernation</Description>
|
167 |
+
</SynchronousCommand>
|
168 |
+
<SynchronousCommand wcm:action="add">
|
169 |
+
<Order>5</Order>
|
170 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
171 |
+
<Description>Disable monitor blanking</Description>
|
172 |
+
</SynchronousCommand>
|
173 |
+
<SynchronousCommand wcm:action="add">
|
174 |
+
<Order>6</Order>
|
175 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
176 |
+
<Description>Disable Network Discovery popup</Description>
|
177 |
+
</SynchronousCommand>
|
178 |
+
<SynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
181 |
+
<Description>Disable Network Discovery popup</Description>
|
182 |
+
</SynchronousCommand>
|
183 |
+
<SynchronousCommand wcm:action="add">
|
184 |
+
<Order>8</Order>
|
185 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
186 |
+
<Description>Disable Network Discovery popup</Description>
|
187 |
+
</SynchronousCommand>
|
188 |
+
<SynchronousCommand wcm:action="add">
|
189 |
+
<Order>9</Order>
|
190 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
191 |
+
<Description>Disable first-run experience in Edge</Description>
|
192 |
+
</SynchronousCommand>
|
193 |
+
<SynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
196 |
+
<Description>Show file extensions in Explorer</Description>
|
197 |
+
</SynchronousCommand>
|
198 |
+
<SynchronousCommand wcm:action="add">
|
199 |
+
<Order>11</Order>
|
200 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
201 |
+
<Description>Zero Hibernation File</Description>
|
202 |
+
</SynchronousCommand>
|
203 |
+
<SynchronousCommand wcm:action="add">
|
204 |
+
<Order>12</Order>
|
205 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
206 |
+
<Description>Disable Hibernation</Description>
|
207 |
+
</SynchronousCommand>
|
208 |
+
<SynchronousCommand wcm:action="add">
|
209 |
+
<Order>13</Order>
|
210 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
211 |
+
<Description>Disable Sleep</Description>
|
212 |
+
</SynchronousCommand>
|
213 |
+
<SynchronousCommand wcm:action="add">
|
214 |
+
<Order>14</Order>
|
215 |
+
<CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
|
216 |
+
<Description>Add RDP in firewall</Description>
|
217 |
+
</SynchronousCommand>
|
218 |
+
<SynchronousCommand wcm:action="add">
|
219 |
+
<Order>15</Order>
|
220 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
|
221 |
+
<Description>Enable RDP</Description>
|
222 |
+
</SynchronousCommand>
|
223 |
+
<SynchronousCommand wcm:action="add">
|
224 |
+
<Order>16</Order>
|
225 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
|
226 |
+
<Description>Turn off sidebar</Description>
|
227 |
+
</SynchronousCommand>
|
228 |
+
<SynchronousCommand wcm:action="add">
|
229 |
+
<Order>17</Order>
|
230 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
|
231 |
+
<Description>Disable screensaver</Description>
|
232 |
+
</SynchronousCommand>
|
233 |
+
<SynchronousCommand wcm:action="add">
|
234 |
+
<Order>18</Order>
|
235 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
|
236 |
+
<Description>Disable screensaver</Description>
|
237 |
+
</SynchronousCommand>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>20</Order>
|
245 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
246 |
+
<Description>Enable Network Discovery</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>21</Order>
|
250 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
251 |
+
<Description>Enable File Sharing</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
256 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
</FirstLogonCommands>
|
259 |
+
</component>
|
260 |
+
</settings>
|
261 |
+
</unattend>
|
assets/winvistax86-enterprise.xml
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="x86" 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="x86" 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 |
+
<Extend>true</Extend>
|
24 |
+
</CreatePartition>
|
25 |
+
</CreatePartitions>
|
26 |
+
<ModifyPartitions>
|
27 |
+
<ModifyPartition wcm:action="add">
|
28 |
+
<Active>true</Active>
|
29 |
+
<Format>NTFS</Format>
|
30 |
+
<Label>Windows</Label>
|
31 |
+
<Letter>C</Letter>
|
32 |
+
<Order>1</Order>
|
33 |
+
<PartitionID>1</PartitionID>
|
34 |
+
</ModifyPartition>
|
35 |
+
</ModifyPartitions>
|
36 |
+
</Disk>
|
37 |
+
</DiskConfiguration>
|
38 |
+
<ImageInstall>
|
39 |
+
<OSImage>
|
40 |
+
<InstallFrom>
|
41 |
+
<MetaData wcm:action="add">
|
42 |
+
<Value>Windows Vista Enterprise</Value>
|
43 |
+
<Key>/IMAGE/NAME</Key>
|
44 |
+
</MetaData>
|
45 |
+
</InstallFrom>
|
46 |
+
<InstallTo>
|
47 |
+
<DiskID>0</DiskID>
|
48 |
+
<PartitionID>1</PartitionID>
|
49 |
+
</InstallTo>
|
50 |
+
<WillShowUI>OnError</WillShowUI>
|
51 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
52 |
+
</OSImage>
|
53 |
+
</ImageInstall>
|
54 |
+
<UserData>
|
55 |
+
<AcceptEula>true</AcceptEula>
|
56 |
+
<FullName>Docker</FullName>
|
57 |
+
<Organization>Windows for Docker</Organization>
|
58 |
+
<ProductKey>
|
59 |
+
<Key>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</Key>
|
60 |
+
</ProductKey>
|
61 |
+
</UserData>
|
62 |
+
</component>
|
63 |
+
</settings>
|
64 |
+
<settings pass="generalize">
|
65 |
+
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
66 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
67 |
+
</component>
|
68 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
69 |
+
<SkipRearm>1</SkipRearm>
|
70 |
+
</component>
|
71 |
+
</settings>
|
72 |
+
<settings pass="specialize">
|
73 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
74 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
75 |
+
</component>
|
76 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
77 |
+
<ComputerName>*</ComputerName>
|
78 |
+
<ProductKey>VKK3X-68KWM-X2YGT-QR4M6-4BWMV</ProductKey>
|
79 |
+
<TimeZone>Pacific Standard Time</TimeZone>
|
80 |
+
<OEMInformation>
|
81 |
+
<Manufacturer>Dockur</Manufacturer>
|
82 |
+
<Model>Windows for Docker</Model>
|
83 |
+
</OEMInformation>
|
84 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
85 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
86 |
+
</component>
|
87 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
88 |
+
<DisableSR>1</DisableSR>
|
89 |
+
</component>
|
90 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="oobeSystem">
|
95 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<InputLocale>0409:00000409</InputLocale>
|
97 |
+
<SystemLocale>en-US</SystemLocale>
|
98 |
+
<UILanguage>en-US</UILanguage>
|
99 |
+
<UserLocale>en-US</UserLocale>
|
100 |
+
</component>
|
101 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<Home_Page>about:blank</Home_Page>
|
103 |
+
</component>
|
104 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<CEIPEnabled>0</CEIPEnabled>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<UserAccounts>
|
109 |
+
<LocalAccounts>
|
110 |
+
<LocalAccount wcm:action="add">
|
111 |
+
<Name>Docker</Name>
|
112 |
+
<Group>Administrators</Group>
|
113 |
+
<Password>
|
114 |
+
<Value />
|
115 |
+
<PlainText>true</PlainText>
|
116 |
+
</Password>
|
117 |
+
</LocalAccount>
|
118 |
+
</LocalAccounts>
|
119 |
+
<AdministratorPassword>
|
120 |
+
<Value>password</Value>
|
121 |
+
<PlainText>true</PlainText>
|
122 |
+
</AdministratorPassword>
|
123 |
+
</UserAccounts>
|
124 |
+
<AutoLogon>
|
125 |
+
<Username>Docker</Username>
|
126 |
+
<Enabled>true</Enabled>
|
127 |
+
<LogonCount>65432</LogonCount>
|
128 |
+
<Password>
|
129 |
+
<Value />
|
130 |
+
<PlainText>true</PlainText>
|
131 |
+
</Password>
|
132 |
+
</AutoLogon>
|
133 |
+
<Display>
|
134 |
+
<ColorDepth>32</ColorDepth>
|
135 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
136 |
+
<VerticalResolution>1080</VerticalResolution>
|
137 |
+
</Display>
|
138 |
+
<OOBE>
|
139 |
+
<HideEULAPage>true</HideEULAPage>
|
140 |
+
<NetworkLocation>Home</NetworkLocation>
|
141 |
+
<ProtectYourPC>3</ProtectYourPC>
|
142 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
143 |
+
<SkipMachineOOBE>false</SkipMachineOOBE>
|
144 |
+
</OOBE>
|
145 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
146 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
147 |
+
<FirstLogonCommands>
|
148 |
+
<SynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
151 |
+
<Description>Allow guest access to network shares</Description>
|
152 |
+
</SynchronousCommand>
|
153 |
+
<SynchronousCommand wcm:action="add">
|
154 |
+
<Order>2</Order>
|
155 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
156 |
+
<Description>Allow RDP login with blank password</Description>
|
157 |
+
</SynchronousCommand>
|
158 |
+
<SynchronousCommand wcm:action="add">
|
159 |
+
<Order>3</Order>
|
160 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
161 |
+
<Description>Password Never Expires</Description>
|
162 |
+
</SynchronousCommand>
|
163 |
+
<SynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
166 |
+
<Description>Disable Hibernation</Description>
|
167 |
+
</SynchronousCommand>
|
168 |
+
<SynchronousCommand wcm:action="add">
|
169 |
+
<Order>5</Order>
|
170 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
171 |
+
<Description>Disable monitor blanking</Description>
|
172 |
+
</SynchronousCommand>
|
173 |
+
<SynchronousCommand wcm:action="add">
|
174 |
+
<Order>6</Order>
|
175 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
176 |
+
<Description>Disable Network Discovery popup</Description>
|
177 |
+
</SynchronousCommand>
|
178 |
+
<SynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
181 |
+
<Description>Disable Network Discovery popup</Description>
|
182 |
+
</SynchronousCommand>
|
183 |
+
<SynchronousCommand wcm:action="add">
|
184 |
+
<Order>8</Order>
|
185 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
186 |
+
<Description>Disable Network Discovery popup</Description>
|
187 |
+
</SynchronousCommand>
|
188 |
+
<SynchronousCommand wcm:action="add">
|
189 |
+
<Order>9</Order>
|
190 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
191 |
+
<Description>Disable first-run experience in Edge</Description>
|
192 |
+
</SynchronousCommand>
|
193 |
+
<SynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
196 |
+
<Description>Show file extensions in Explorer</Description>
|
197 |
+
</SynchronousCommand>
|
198 |
+
<SynchronousCommand wcm:action="add">
|
199 |
+
<Order>11</Order>
|
200 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
201 |
+
<Description>Zero Hibernation File</Description>
|
202 |
+
</SynchronousCommand>
|
203 |
+
<SynchronousCommand wcm:action="add">
|
204 |
+
<Order>12</Order>
|
205 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
206 |
+
<Description>Disable Hibernation</Description>
|
207 |
+
</SynchronousCommand>
|
208 |
+
<SynchronousCommand wcm:action="add">
|
209 |
+
<Order>13</Order>
|
210 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
211 |
+
<Description>Disable Sleep</Description>
|
212 |
+
</SynchronousCommand>
|
213 |
+
<SynchronousCommand wcm:action="add">
|
214 |
+
<Order>14</Order>
|
215 |
+
<CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
|
216 |
+
<Description>Add RDP in firewall</Description>
|
217 |
+
</SynchronousCommand>
|
218 |
+
<SynchronousCommand wcm:action="add">
|
219 |
+
<Order>15</Order>
|
220 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
|
221 |
+
<Description>Enable RDP</Description>
|
222 |
+
</SynchronousCommand>
|
223 |
+
<SynchronousCommand wcm:action="add">
|
224 |
+
<Order>16</Order>
|
225 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
|
226 |
+
<Description>Turn off sidebar</Description>
|
227 |
+
</SynchronousCommand>
|
228 |
+
<SynchronousCommand wcm:action="add">
|
229 |
+
<Order>17</Order>
|
230 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
|
231 |
+
<Description>Disable screensaver</Description>
|
232 |
+
</SynchronousCommand>
|
233 |
+
<SynchronousCommand wcm:action="add">
|
234 |
+
<Order>18</Order>
|
235 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
|
236 |
+
<Description>Disable screensaver</Description>
|
237 |
+
</SynchronousCommand>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>20</Order>
|
245 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
246 |
+
<Description>Enable Network Discovery</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>21</Order>
|
250 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
251 |
+
<Description>Enable File Sharing</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
256 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
</FirstLogonCommands>
|
259 |
+
</component>
|
260 |
+
</settings>
|
261 |
+
</unattend>
|
assets/winvistax86-ultimate.xml
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="x86" 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="x86" 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 |
+
<Extend>true</Extend>
|
24 |
+
</CreatePartition>
|
25 |
+
</CreatePartitions>
|
26 |
+
<ModifyPartitions>
|
27 |
+
<ModifyPartition wcm:action="add">
|
28 |
+
<Active>true</Active>
|
29 |
+
<Format>NTFS</Format>
|
30 |
+
<Label>Windows</Label>
|
31 |
+
<Letter>C</Letter>
|
32 |
+
<Order>1</Order>
|
33 |
+
<PartitionID>1</PartitionID>
|
34 |
+
</ModifyPartition>
|
35 |
+
</ModifyPartitions>
|
36 |
+
</Disk>
|
37 |
+
</DiskConfiguration>
|
38 |
+
<ImageInstall>
|
39 |
+
<OSImage>
|
40 |
+
<InstallFrom>
|
41 |
+
<MetaData wcm:action="add">
|
42 |
+
<Value>Windows Vista Ultimate</Value>
|
43 |
+
<Key>/IMAGE/NAME</Key>
|
44 |
+
</MetaData>
|
45 |
+
</InstallFrom>
|
46 |
+
<InstallTo>
|
47 |
+
<DiskID>0</DiskID>
|
48 |
+
<PartitionID>1</PartitionID>
|
49 |
+
</InstallTo>
|
50 |
+
<WillShowUI>OnError</WillShowUI>
|
51 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
52 |
+
</OSImage>
|
53 |
+
</ImageInstall>
|
54 |
+
<UserData>
|
55 |
+
<AcceptEula>true</AcceptEula>
|
56 |
+
<FullName>Docker</FullName>
|
57 |
+
<Organization>Windows for Docker</Organization>
|
58 |
+
<ProductKey>
|
59 |
+
<Key>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</Key>
|
60 |
+
</ProductKey>
|
61 |
+
</UserData>
|
62 |
+
</component>
|
63 |
+
</settings>
|
64 |
+
<settings pass="generalize">
|
65 |
+
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
66 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
67 |
+
</component>
|
68 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
69 |
+
<SkipRearm>1</SkipRearm>
|
70 |
+
</component>
|
71 |
+
</settings>
|
72 |
+
<settings pass="specialize">
|
73 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
74 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
75 |
+
</component>
|
76 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
77 |
+
<ComputerName>*</ComputerName>
|
78 |
+
<ProductKey>VMCB9-FDRV6-6CDQM-RV23K-RP8F7</ProductKey>
|
79 |
+
<TimeZone>Pacific Standard Time</TimeZone>
|
80 |
+
<OEMInformation>
|
81 |
+
<Manufacturer>Dockur</Manufacturer>
|
82 |
+
<Model>Windows for Docker</Model>
|
83 |
+
</OEMInformation>
|
84 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
85 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
86 |
+
</component>
|
87 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
88 |
+
<DisableSR>1</DisableSR>
|
89 |
+
</component>
|
90 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="oobeSystem">
|
95 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<InputLocale>0409:00000409</InputLocale>
|
97 |
+
<SystemLocale>en-US</SystemLocale>
|
98 |
+
<UILanguage>en-US</UILanguage>
|
99 |
+
<UserLocale>en-US</UserLocale>
|
100 |
+
</component>
|
101 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<Home_Page>about:blank</Home_Page>
|
103 |
+
</component>
|
104 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<CEIPEnabled>0</CEIPEnabled>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<UserAccounts>
|
109 |
+
<LocalAccounts>
|
110 |
+
<LocalAccount wcm:action="add">
|
111 |
+
<Name>Docker</Name>
|
112 |
+
<Group>Administrators</Group>
|
113 |
+
<Password>
|
114 |
+
<Value />
|
115 |
+
<PlainText>true</PlainText>
|
116 |
+
</Password>
|
117 |
+
</LocalAccount>
|
118 |
+
</LocalAccounts>
|
119 |
+
<AdministratorPassword>
|
120 |
+
<Value>password</Value>
|
121 |
+
<PlainText>true</PlainText>
|
122 |
+
</AdministratorPassword>
|
123 |
+
</UserAccounts>
|
124 |
+
<AutoLogon>
|
125 |
+
<Username>Docker</Username>
|
126 |
+
<Enabled>true</Enabled>
|
127 |
+
<LogonCount>65432</LogonCount>
|
128 |
+
<Password>
|
129 |
+
<Value />
|
130 |
+
<PlainText>true</PlainText>
|
131 |
+
</Password>
|
132 |
+
</AutoLogon>
|
133 |
+
<Display>
|
134 |
+
<ColorDepth>32</ColorDepth>
|
135 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
136 |
+
<VerticalResolution>1080</VerticalResolution>
|
137 |
+
</Display>
|
138 |
+
<OOBE>
|
139 |
+
<HideEULAPage>true</HideEULAPage>
|
140 |
+
<NetworkLocation>Home</NetworkLocation>
|
141 |
+
<ProtectYourPC>3</ProtectYourPC>
|
142 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
143 |
+
<SkipMachineOOBE>false</SkipMachineOOBE>
|
144 |
+
</OOBE>
|
145 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
146 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
147 |
+
<FirstLogonCommands>
|
148 |
+
<SynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
151 |
+
<Description>Allow guest access to network shares</Description>
|
152 |
+
</SynchronousCommand>
|
153 |
+
<SynchronousCommand wcm:action="add">
|
154 |
+
<Order>2</Order>
|
155 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
156 |
+
<Description>Allow RDP login with blank password</Description>
|
157 |
+
</SynchronousCommand>
|
158 |
+
<SynchronousCommand wcm:action="add">
|
159 |
+
<Order>3</Order>
|
160 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
161 |
+
<Description>Password Never Expires</Description>
|
162 |
+
</SynchronousCommand>
|
163 |
+
<SynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
166 |
+
<Description>Disable Hibernation</Description>
|
167 |
+
</SynchronousCommand>
|
168 |
+
<SynchronousCommand wcm:action="add">
|
169 |
+
<Order>5</Order>
|
170 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
171 |
+
<Description>Disable monitor blanking</Description>
|
172 |
+
</SynchronousCommand>
|
173 |
+
<SynchronousCommand wcm:action="add">
|
174 |
+
<Order>6</Order>
|
175 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
176 |
+
<Description>Disable Network Discovery popup</Description>
|
177 |
+
</SynchronousCommand>
|
178 |
+
<SynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
181 |
+
<Description>Disable Network Discovery popup</Description>
|
182 |
+
</SynchronousCommand>
|
183 |
+
<SynchronousCommand wcm:action="add">
|
184 |
+
<Order>8</Order>
|
185 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
186 |
+
<Description>Disable Network Discovery popup</Description>
|
187 |
+
</SynchronousCommand>
|
188 |
+
<SynchronousCommand wcm:action="add">
|
189 |
+
<Order>9</Order>
|
190 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
191 |
+
<Description>Disable first-run experience in Edge</Description>
|
192 |
+
</SynchronousCommand>
|
193 |
+
<SynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
196 |
+
<Description>Show file extensions in Explorer</Description>
|
197 |
+
</SynchronousCommand>
|
198 |
+
<SynchronousCommand wcm:action="add">
|
199 |
+
<Order>11</Order>
|
200 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
201 |
+
<Description>Zero Hibernation File</Description>
|
202 |
+
</SynchronousCommand>
|
203 |
+
<SynchronousCommand wcm:action="add">
|
204 |
+
<Order>12</Order>
|
205 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
206 |
+
<Description>Disable Hibernation</Description>
|
207 |
+
</SynchronousCommand>
|
208 |
+
<SynchronousCommand wcm:action="add">
|
209 |
+
<Order>13</Order>
|
210 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
211 |
+
<Description>Disable Sleep</Description>
|
212 |
+
</SynchronousCommand>
|
213 |
+
<SynchronousCommand wcm:action="add">
|
214 |
+
<Order>14</Order>
|
215 |
+
<CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
|
216 |
+
<Description>Add RDP in firewall</Description>
|
217 |
+
</SynchronousCommand>
|
218 |
+
<SynchronousCommand wcm:action="add">
|
219 |
+
<Order>15</Order>
|
220 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
|
221 |
+
<Description>Enable RDP</Description>
|
222 |
+
</SynchronousCommand>
|
223 |
+
<SynchronousCommand wcm:action="add">
|
224 |
+
<Order>16</Order>
|
225 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
|
226 |
+
<Description>Turn off sidebar</Description>
|
227 |
+
</SynchronousCommand>
|
228 |
+
<SynchronousCommand wcm:action="add">
|
229 |
+
<Order>17</Order>
|
230 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
|
231 |
+
<Description>Disable screensaver</Description>
|
232 |
+
</SynchronousCommand>
|
233 |
+
<SynchronousCommand wcm:action="add">
|
234 |
+
<Order>18</Order>
|
235 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
|
236 |
+
<Description>Disable screensaver</Description>
|
237 |
+
</SynchronousCommand>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>20</Order>
|
245 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
246 |
+
<Description>Enable Network Discovery</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>21</Order>
|
250 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
251 |
+
<Description>Enable File Sharing</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
256 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
</FirstLogonCommands>
|
259 |
+
</component>
|
260 |
+
</settings>
|
261 |
+
</unattend>
|
assets/winvistax86.xml
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="x86" 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="x86" 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 |
+
<Extend>true</Extend>
|
24 |
+
</CreatePartition>
|
25 |
+
</CreatePartitions>
|
26 |
+
<ModifyPartitions>
|
27 |
+
<ModifyPartition wcm:action="add">
|
28 |
+
<Active>true</Active>
|
29 |
+
<Format>NTFS</Format>
|
30 |
+
<Label>Windows</Label>
|
31 |
+
<Letter>C</Letter>
|
32 |
+
<Order>1</Order>
|
33 |
+
<PartitionID>1</PartitionID>
|
34 |
+
</ModifyPartition>
|
35 |
+
</ModifyPartitions>
|
36 |
+
</Disk>
|
37 |
+
</DiskConfiguration>
|
38 |
+
<ImageInstall>
|
39 |
+
<OSImage>
|
40 |
+
<InstallFrom>
|
41 |
+
<MetaData wcm:action="add">
|
42 |
+
<Value>Windows Vista BUSINESS</Value>
|
43 |
+
<Key>/IMAGE/NAME</Key>
|
44 |
+
</MetaData>
|
45 |
+
</InstallFrom>
|
46 |
+
<InstallTo>
|
47 |
+
<DiskID>0</DiskID>
|
48 |
+
<PartitionID>1</PartitionID>
|
49 |
+
</InstallTo>
|
50 |
+
<WillShowUI>OnError</WillShowUI>
|
51 |
+
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
52 |
+
</OSImage>
|
53 |
+
</ImageInstall>
|
54 |
+
<UserData>
|
55 |
+
<AcceptEula>true</AcceptEula>
|
56 |
+
<FullName>Docker</FullName>
|
57 |
+
<Organization>Windows for Docker</Organization>
|
58 |
+
<ProductKey>
|
59 |
+
<Key>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</Key>
|
60 |
+
</ProductKey>
|
61 |
+
</UserData>
|
62 |
+
</component>
|
63 |
+
</settings>
|
64 |
+
<settings pass="generalize">
|
65 |
+
<component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
66 |
+
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
|
67 |
+
</component>
|
68 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
69 |
+
<SkipRearm>1</SkipRearm>
|
70 |
+
</component>
|
71 |
+
</settings>
|
72 |
+
<settings pass="specialize">
|
73 |
+
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
74 |
+
<SkipAutoActivation>true</SkipAutoActivation>
|
75 |
+
</component>
|
76 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
77 |
+
<ComputerName>*</ComputerName>
|
78 |
+
<ProductKey>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</ProductKey>
|
79 |
+
<TimeZone>Pacific Standard Time</TimeZone>
|
80 |
+
<OEMInformation>
|
81 |
+
<Manufacturer>Dockur</Manufacturer>
|
82 |
+
<Model>Windows for Docker</Model>
|
83 |
+
</OEMInformation>
|
84 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
85 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
86 |
+
</component>
|
87 |
+
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
88 |
+
<DisableSR>1</DisableSR>
|
89 |
+
</component>
|
90 |
+
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
91 |
+
<fDenyTSConnections>false</fDenyTSConnections>
|
92 |
+
</component>
|
93 |
+
</settings>
|
94 |
+
<settings pass="oobeSystem">
|
95 |
+
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
96 |
+
<InputLocale>0409:00000409</InputLocale>
|
97 |
+
<SystemLocale>en-US</SystemLocale>
|
98 |
+
<UILanguage>en-US</UILanguage>
|
99 |
+
<UserLocale>en-US</UserLocale>
|
100 |
+
</component>
|
101 |
+
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
102 |
+
<Home_Page>about:blank</Home_Page>
|
103 |
+
</component>
|
104 |
+
<component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
105 |
+
<CEIPEnabled>0</CEIPEnabled>
|
106 |
+
</component>
|
107 |
+
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
|
108 |
+
<UserAccounts>
|
109 |
+
<LocalAccounts>
|
110 |
+
<LocalAccount wcm:action="add">
|
111 |
+
<Name>Docker</Name>
|
112 |
+
<Group>Administrators</Group>
|
113 |
+
<Password>
|
114 |
+
<Value />
|
115 |
+
<PlainText>true</PlainText>
|
116 |
+
</Password>
|
117 |
+
</LocalAccount>
|
118 |
+
</LocalAccounts>
|
119 |
+
<AdministratorPassword>
|
120 |
+
<Value>password</Value>
|
121 |
+
<PlainText>true</PlainText>
|
122 |
+
</AdministratorPassword>
|
123 |
+
</UserAccounts>
|
124 |
+
<AutoLogon>
|
125 |
+
<Username>Docker</Username>
|
126 |
+
<Enabled>true</Enabled>
|
127 |
+
<LogonCount>65432</LogonCount>
|
128 |
+
<Password>
|
129 |
+
<Value />
|
130 |
+
<PlainText>true</PlainText>
|
131 |
+
</Password>
|
132 |
+
</AutoLogon>
|
133 |
+
<Display>
|
134 |
+
<ColorDepth>32</ColorDepth>
|
135 |
+
<HorizontalResolution>1920</HorizontalResolution>
|
136 |
+
<VerticalResolution>1080</VerticalResolution>
|
137 |
+
</Display>
|
138 |
+
<OOBE>
|
139 |
+
<HideEULAPage>true</HideEULAPage>
|
140 |
+
<NetworkLocation>Home</NetworkLocation>
|
141 |
+
<ProtectYourPC>3</ProtectYourPC>
|
142 |
+
<SkipUserOOBE>true</SkipUserOOBE>
|
143 |
+
<SkipMachineOOBE>false</SkipMachineOOBE>
|
144 |
+
</OOBE>
|
145 |
+
<RegisteredOrganization>Dockur</RegisteredOrganization>
|
146 |
+
<RegisteredOwner>Windows for Docker</RegisteredOwner>
|
147 |
+
<FirstLogonCommands>
|
148 |
+
<SynchronousCommand wcm:action="add">
|
149 |
+
<Order>1</Order>
|
150 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
|
151 |
+
<Description>Allow guest access to network shares</Description>
|
152 |
+
</SynchronousCommand>
|
153 |
+
<SynchronousCommand wcm:action="add">
|
154 |
+
<Order>2</Order>
|
155 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
|
156 |
+
<Description>Allow RDP login with blank password</Description>
|
157 |
+
</SynchronousCommand>
|
158 |
+
<SynchronousCommand wcm:action="add">
|
159 |
+
<Order>3</Order>
|
160 |
+
<CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
|
161 |
+
<Description>Password Never Expires</Description>
|
162 |
+
</SynchronousCommand>
|
163 |
+
<SynchronousCommand wcm:action="add">
|
164 |
+
<Order>4</Order>
|
165 |
+
<CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
|
166 |
+
<Description>Disable Hibernation</Description>
|
167 |
+
</SynchronousCommand>
|
168 |
+
<SynchronousCommand wcm:action="add">
|
169 |
+
<Order>5</Order>
|
170 |
+
<CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
|
171 |
+
<Description>Disable monitor blanking</Description>
|
172 |
+
</SynchronousCommand>
|
173 |
+
<SynchronousCommand wcm:action="add">
|
174 |
+
<Order>6</Order>
|
175 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
|
176 |
+
<Description>Disable Network Discovery popup</Description>
|
177 |
+
</SynchronousCommand>
|
178 |
+
<SynchronousCommand wcm:action="add">
|
179 |
+
<Order>7</Order>
|
180 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
|
181 |
+
<Description>Disable Network Discovery popup</Description>
|
182 |
+
</SynchronousCommand>
|
183 |
+
<SynchronousCommand wcm:action="add">
|
184 |
+
<Order>8</Order>
|
185 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
|
186 |
+
<Description>Disable Network Discovery popup</Description>
|
187 |
+
</SynchronousCommand>
|
188 |
+
<SynchronousCommand wcm:action="add">
|
189 |
+
<Order>9</Order>
|
190 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
|
191 |
+
<Description>Disable first-run experience in Edge</Description>
|
192 |
+
</SynchronousCommand>
|
193 |
+
<SynchronousCommand wcm:action="add">
|
194 |
+
<Order>10</Order>
|
195 |
+
<CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
|
196 |
+
<Description>Show file extensions in Explorer</Description>
|
197 |
+
</SynchronousCommand>
|
198 |
+
<SynchronousCommand wcm:action="add">
|
199 |
+
<Order>11</Order>
|
200 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
|
201 |
+
<Description>Zero Hibernation File</Description>
|
202 |
+
</SynchronousCommand>
|
203 |
+
<SynchronousCommand wcm:action="add">
|
204 |
+
<Order>12</Order>
|
205 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
|
206 |
+
<Description>Disable Hibernation</Description>
|
207 |
+
</SynchronousCommand>
|
208 |
+
<SynchronousCommand wcm:action="add">
|
209 |
+
<Order>13</Order>
|
210 |
+
<CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
|
211 |
+
<Description>Disable Sleep</Description>
|
212 |
+
</SynchronousCommand>
|
213 |
+
<SynchronousCommand wcm:action="add">
|
214 |
+
<Order>14</Order>
|
215 |
+
<CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
|
216 |
+
<Description>Add RDP in firewall</Description>
|
217 |
+
</SynchronousCommand>
|
218 |
+
<SynchronousCommand wcm:action="add">
|
219 |
+
<Order>15</Order>
|
220 |
+
<CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
|
221 |
+
<Description>Enable RDP</Description>
|
222 |
+
</SynchronousCommand>
|
223 |
+
<SynchronousCommand wcm:action="add">
|
224 |
+
<Order>16</Order>
|
225 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
|
226 |
+
<Description>Turn off sidebar</Description>
|
227 |
+
</SynchronousCommand>
|
228 |
+
<SynchronousCommand wcm:action="add">
|
229 |
+
<Order>17</Order>
|
230 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
|
231 |
+
<Description>Disable screensaver</Description>
|
232 |
+
</SynchronousCommand>
|
233 |
+
<SynchronousCommand wcm:action="add">
|
234 |
+
<Order>18</Order>
|
235 |
+
<CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
|
236 |
+
<Description>Disable screensaver</Description>
|
237 |
+
</SynchronousCommand>
|
238 |
+
<SynchronousCommand wcm:action="add">
|
239 |
+
<Order>19</Order>
|
240 |
+
<CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
|
241 |
+
<Description>Enable RemoteAPP to launch unlisted programs</Description>
|
242 |
+
</SynchronousCommand>
|
243 |
+
<SynchronousCommand wcm:action="add">
|
244 |
+
<Order>20</Order>
|
245 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
|
246 |
+
<Description>Enable Network Discovery</Description>
|
247 |
+
</SynchronousCommand>
|
248 |
+
<SynchronousCommand wcm:action="add">
|
249 |
+
<Order>21</Order>
|
250 |
+
<CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
|
251 |
+
<Description>Enable File Sharing</Description>
|
252 |
+
</SynchronousCommand>
|
253 |
+
<SynchronousCommand wcm:action="add">
|
254 |
+
<Order>22</Order>
|
255 |
+
<CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
|
256 |
+
<Description>Execute custom script from the OEM folder if exists</Description>
|
257 |
+
</SynchronousCommand>
|
258 |
+
</FirstLogonCommands>
|
259 |
+
</component>
|
260 |
+
</settings>
|
261 |
+
</unattend>
|
compose.yml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
services:
|
2 |
+
windows:
|
3 |
+
image: dockurr/windows
|
4 |
+
container_name: windows
|
5 |
+
environment:
|
6 |
+
VERSION: "11"
|
7 |
+
devices:
|
8 |
+
- /dev/kvm
|
9 |
+
cap_add:
|
10 |
+
- NET_ADMIN
|
11 |
+
ports:
|
12 |
+
- 8006:8006
|
13 |
+
- 3389:3389/tcp
|
14 |
+
- 3389:3389/udp
|
15 |
+
stop_grace_period: 2m
|
kubernetes.yml
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
apiVersion: v1
|
2 |
+
kind: PersistentVolumeClaim
|
3 |
+
metadata:
|
4 |
+
name: windows-pvc
|
5 |
+
spec:
|
6 |
+
accessModes:
|
7 |
+
- ReadWriteOnce
|
8 |
+
resources:
|
9 |
+
requests:
|
10 |
+
storage: 64Gi
|
11 |
+
---
|
12 |
+
apiVersion: v1
|
13 |
+
kind: Pod
|
14 |
+
metadata:
|
15 |
+
name: windows
|
16 |
+
labels:
|
17 |
+
name: windows
|
18 |
+
spec:
|
19 |
+
terminationGracePeriodSeconds: 120 # the Kubernetes default is 30 seconds and it may be not enough
|
20 |
+
containers:
|
21 |
+
- name: windows
|
22 |
+
image: dockurr/windows
|
23 |
+
ports:
|
24 |
+
- containerPort: 8006
|
25 |
+
protocol: TCP
|
26 |
+
- containerPort: 3389
|
27 |
+
protocol: TCP
|
28 |
+
- containerPort: 3389
|
29 |
+
protocol: UDP
|
30 |
+
securityContext:
|
31 |
+
privileged: true
|
32 |
+
env:
|
33 |
+
- name: VERSION
|
34 |
+
value: "11"
|
35 |
+
- name: RAM_SIZE
|
36 |
+
value: "4G"
|
37 |
+
- name: CPU_CORES
|
38 |
+
value: "2"
|
39 |
+
- name: DISK_SIZE
|
40 |
+
value: "64G"
|
41 |
+
volumeMounts:
|
42 |
+
- mountPath: /storage
|
43 |
+
name: storage
|
44 |
+
- mountPath: /dev/kvm
|
45 |
+
name: dev-kvm
|
46 |
+
volumes:
|
47 |
+
- name: storage
|
48 |
+
persistentVolumeClaim:
|
49 |
+
claimName: windows-pvc
|
50 |
+
- name: dev-kvm
|
51 |
+
hostPath:
|
52 |
+
path: /dev/kvm
|
53 |
+
---
|
54 |
+
apiVersion: v1
|
55 |
+
kind: Service
|
56 |
+
metadata:
|
57 |
+
name: windows
|
58 |
+
spec:
|
59 |
+
type: NodePort
|
60 |
+
selector:
|
61 |
+
name: windows
|
62 |
+
ports:
|
63 |
+
- name: tcp-8006
|
64 |
+
protocol: TCP
|
65 |
+
port: 8006
|
66 |
+
targetPort: 8006
|
67 |
+
- name: tcp-3389
|
68 |
+
protocol: TCP
|
69 |
+
port: 3389
|
70 |
+
targetPort: 3389
|
71 |
+
- name: udp-3389
|
72 |
+
protocol: UDP
|
73 |
+
port: 3389
|
74 |
+
targetPort: 3389
|
license.md
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIT License
|
2 |
+
|
3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4 |
+
of this software and associated documentation files (the "Software"), to deal
|
5 |
+
in the Software without restriction, including without limitation the rights
|
6 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7 |
+
copies of the Software, and to permit persons to whom the Software is
|
8 |
+
furnished to do so, subject to the following conditions:
|
9 |
+
|
10 |
+
The above copyright notice and this permission notice shall be included in all
|
11 |
+
copies or substantial portions of the Software.
|
12 |
+
|
13 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19 |
+
SOFTWARE.
|
readme.md
ADDED
@@ -0,0 +1,399 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<h1 align="center">Windows<br />
|
2 |
+
<div align="center">
|
3 |
+
<a href="https://github.com/dockur/windows"><img src="https://github.com/dockur/windows/raw/master/.github/logo.png" title="Logo" style="max-width:100%;" width="128" /></a>
|
4 |
+
</div>
|
5 |
+
<div align="center">
|
6 |
+
|
7 |
+
[![Build]][build_url]
|
8 |
+
[![Version]][tag_url]
|
9 |
+
[![Size]][tag_url]
|
10 |
+
[![Package]][pkg_url]
|
11 |
+
[![Pulls]][hub_url]
|
12 |
+
|
13 |
+
</div></h1>
|
14 |
+
|
15 |
+
Windows inside a Docker container.
|
16 |
+
|
17 |
+
## Features ✨
|
18 |
+
|
19 |
+
- ISO downloader
|
20 |
+
- KVM acceleration
|
21 |
+
- Web-based viewer
|
22 |
+
|
23 |
+
## Video 📺
|
24 |
+
|
25 |
+
[](https://www.youtube.com/watch?v=xhGYobuG508)
|
26 |
+
|
27 |
+
## Usage 🐳
|
28 |
+
|
29 |
+
Via Docker Compose:
|
30 |
+
|
31 |
+
```yaml
|
32 |
+
services:
|
33 |
+
windows:
|
34 |
+
image: dockurr/windows
|
35 |
+
container_name: windows
|
36 |
+
environment:
|
37 |
+
VERSION: "11"
|
38 |
+
devices:
|
39 |
+
- /dev/kvm
|
40 |
+
cap_add:
|
41 |
+
- NET_ADMIN
|
42 |
+
ports:
|
43 |
+
- 8006:8006
|
44 |
+
- 3389:3389/tcp
|
45 |
+
- 3389:3389/udp
|
46 |
+
stop_grace_period: 2m
|
47 |
+
```
|
48 |
+
|
49 |
+
Via Docker CLI:
|
50 |
+
|
51 |
+
```bash
|
52 |
+
docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows
|
53 |
+
```
|
54 |
+
|
55 |
+
Via Kubernetes:
|
56 |
+
|
57 |
+
```shell
|
58 |
+
kubectl apply -f https://raw.githubusercontent.com/dockur/windows/refs/heads/master/kubernetes.yml
|
59 |
+
```
|
60 |
+
|
61 |
+
## Compatibility ⚙️
|
62 |
+
|
63 |
+
| **Product** | **Platform** | |
|
64 |
+
|---|---|---|
|
65 |
+
| Docker Engine | Linux| ✅ |
|
66 |
+
| Docker Desktop | Linux | ❌ |
|
67 |
+
| Docker Desktop | macOS | ❌ |
|
68 |
+
| Docker Desktop | Windows 11 | ✅ |
|
69 |
+
| Docker Desktop | Windows 10 | ❌ |
|
70 |
+
|
71 |
+
## FAQ 💬
|
72 |
+
|
73 |
+
### How do I use it?
|
74 |
+
|
75 |
+
Very simple! These are the steps:
|
76 |
+
|
77 |
+
- Start the container and connect to [port 8006](http://localhost:8006) using your web browser.
|
78 |
+
|
79 |
+
- Sit back and relax while the magic happens, the whole installation will be performed fully automatic.
|
80 |
+
|
81 |
+
- Once you see the desktop, your Windows installation is ready for use.
|
82 |
+
|
83 |
+
Enjoy your brand new machine, and don't forget to star this repo!
|
84 |
+
|
85 |
+
### How do I select the Windows version?
|
86 |
+
|
87 |
+
By default, Windows 11 will be installed. But you can add the `VERSION` environment variable to your compose file, in order to specify an alternative Windows version to be downloaded:
|
88 |
+
|
89 |
+
```yaml
|
90 |
+
environment:
|
91 |
+
VERSION: "11"
|
92 |
+
```
|
93 |
+
|
94 |
+
Select from the values below:
|
95 |
+
|
96 |
+
| **Value** | **Version** | **Size** |
|
97 |
+
|---|---|---|
|
98 |
+
| `11` | Windows 11 Pro | 5.4 GB |
|
99 |
+
| `11l` | Windows 11 LTSC | 4.2 GB |
|
100 |
+
| `11e` | Windows 11 Enterprise | 5.8 GB |
|
101 |
+
||||
|
102 |
+
| `10` | Windows 10 Pro | 5.7 GB |
|
103 |
+
| `10l` | Windows 10 LTSC | 4.6 GB |
|
104 |
+
| `10e` | Windows 10 Enterprise | 5.2 GB |
|
105 |
+
||||
|
106 |
+
| `8e` | Windows 8.1 Enterprise | 3.7 GB |
|
107 |
+
| `7e` | Windows 7 Enterprise | 3.0 GB |
|
108 |
+
| `ve` | Windows Vista Enterprise | 3.0 GB |
|
109 |
+
| `xp` | Windows XP Professional | 0.6 GB |
|
110 |
+
||||
|
111 |
+
| `2025` | Windows Server 2025 | 5.0 GB |
|
112 |
+
| `2022` | Windows Server 2022 | 4.7 GB |
|
113 |
+
| `2019` | Windows Server 2019 | 5.3 GB |
|
114 |
+
| `2016` | Windows Server 2016 | 6.5 GB |
|
115 |
+
| `2012` | Windows Server 2012 | 4.3 GB |
|
116 |
+
| `2008` | Windows Server 2008 | 3.0 GB |
|
117 |
+
| `2003` | Windows Server 2003 | 0.6 GB |
|
118 |
+
|
119 |
+
> [!TIP]
|
120 |
+
> To install ARM64 versions of Windows use [dockur/windows-arm](https://github.com/dockur/windows-arm/).
|
121 |
+
|
122 |
+
### How do I change the storage location?
|
123 |
+
|
124 |
+
To change the storage location, include the following bind mount in your compose file:
|
125 |
+
|
126 |
+
```yaml
|
127 |
+
volumes:
|
128 |
+
- /var/win:/storage
|
129 |
+
```
|
130 |
+
|
131 |
+
Replace the example path `/var/win` with the desired storage folder.
|
132 |
+
|
133 |
+
### How do I change the size of the disk?
|
134 |
+
|
135 |
+
To expand the default size of 64 GB, add the `DISK_SIZE` setting to your compose file and set it to your preferred capacity:
|
136 |
+
|
137 |
+
```yaml
|
138 |
+
environment:
|
139 |
+
DISK_SIZE: "256G"
|
140 |
+
```
|
141 |
+
|
142 |
+
> [!TIP]
|
143 |
+
> This can also be used to resize the existing disk to a larger capacity without any data loss.
|
144 |
+
|
145 |
+
### How do I share files with the host?
|
146 |
+
|
147 |
+
Open 'File Explorer' and click on the 'Network' section, you will see a computer called `host.lan`. Double-click it and it will show a folder called `Data`, which can be bound to any folder on your host via the compose file:
|
148 |
+
|
149 |
+
```yaml
|
150 |
+
volumes:
|
151 |
+
- /home/user/example:/data
|
152 |
+
```
|
153 |
+
|
154 |
+
The example folder `/home/user/example` will be available as ` \\host.lan\Data`.
|
155 |
+
|
156 |
+
> [!TIP]
|
157 |
+
> You can map this path to a drive letter in Windows, for easier access.
|
158 |
+
|
159 |
+
### How do I install a custom image?
|
160 |
+
|
161 |
+
In order to download an unsupported ISO image that is not selectable from the list above, specify the URL of that ISO in the `VERSION` environment variable, for example:
|
162 |
+
|
163 |
+
```yaml
|
164 |
+
environment:
|
165 |
+
VERSION: "https://example.com/win.iso"
|
166 |
+
```
|
167 |
+
|
168 |
+
Alternatively, you can also skip the download and use a local file instead, by binding it in your compose file in this way:
|
169 |
+
|
170 |
+
```yaml
|
171 |
+
volumes:
|
172 |
+
- /home/user/example.iso:/custom.iso
|
173 |
+
```
|
174 |
+
|
175 |
+
Replace the example path `/home/user/example.iso` with the filename of your desired ISO file, the value of `VERSION` will be ignored in this case.
|
176 |
+
|
177 |
+
### How do I run a script after installation?
|
178 |
+
|
179 |
+
To run your own script after installation, you can create a file called `install.bat` and place it in a folder together with any additional files it needs (software to be installed for example). Then bind that folder in your compose file like this:
|
180 |
+
|
181 |
+
```yaml
|
182 |
+
volumes:
|
183 |
+
- /home/user/example:/oem
|
184 |
+
```
|
185 |
+
|
186 |
+
The example folder `/home/user/example` will be copied to `C:\OEM` during installation and the containing `install.bat` will be executed during the last step.
|
187 |
+
|
188 |
+
### How do I perform a manual installation?
|
189 |
+
|
190 |
+
It's best to stick to the automatic installation, as it adjusts various settings to prevent common issues when running Windows inside a virtual environment.
|
191 |
+
|
192 |
+
However, if you insist on performing the installation manually, add the following environment variable to your compose file:
|
193 |
+
|
194 |
+
```yaml
|
195 |
+
environment:
|
196 |
+
MANUAL: "Y"
|
197 |
+
```
|
198 |
+
|
199 |
+
### How do I change the amount of CPU or RAM?
|
200 |
+
|
201 |
+
By default, the container will be allowed to use a maximum of 2 CPU cores and 4 GB of RAM.
|
202 |
+
|
203 |
+
If you want to adjust this, you can specify the desired amount using the following environment variables:
|
204 |
+
|
205 |
+
```yaml
|
206 |
+
environment:
|
207 |
+
RAM_SIZE: "8G"
|
208 |
+
CPU_CORES: "4"
|
209 |
+
```
|
210 |
+
|
211 |
+
### How do I configure the username and password?
|
212 |
+
|
213 |
+
By default, a user called `Docker` is created during the installation, with an empty password.
|
214 |
+
|
215 |
+
If you want to use different credentials, you can change them in your compose file:
|
216 |
+
|
217 |
+
```yaml
|
218 |
+
environment:
|
219 |
+
USERNAME: "bill"
|
220 |
+
PASSWORD: "gates"
|
221 |
+
```
|
222 |
+
|
223 |
+
### How do I select the Windows language?
|
224 |
+
|
225 |
+
By default, the English version of Windows will be downloaded. But you can add the `LANGUAGE` environment variable to your compose file, in order to specify an alternative language:
|
226 |
+
|
227 |
+
```yaml
|
228 |
+
environment:
|
229 |
+
LANGUAGE: "French"
|
230 |
+
```
|
231 |
+
|
232 |
+
You can choose between: 🇦🇪 Arabic, 🇧🇬 Bulgarian, 🇨🇳 Chinese, 🇭🇷 Croatian, 🇨🇿 Czech, 🇩🇰 Danish, 🇳🇱 Dutch, 🇬🇧 English, 🇪🇪 Estonian, 🇫🇮 Finnish, 🇫🇷 French, 🇩🇪 German, 🇬🇷 Greek, 🇮🇱 Hebrew, 🇭🇺 Hungarian, 🇮🇹 Italian, 🇯🇵 Japanese, 🇰🇷 Korean, 🇱🇻 Latvian, 🇱🇹 Lithuanian, 🇳🇴 Norwegian, 🇵🇱 Polish, 🇵🇹 Portuguese, 🇷🇴 Romanian, 🇷🇺 Russian, 🇷🇸 Serbian, 🇸🇰 Slovak, 🇸🇮 Slovenian, 🇪🇸 Spanish, 🇸🇪 Swedish, 🇹🇭 Thai, 🇹🇷 Turkish and 🇺🇦 Ukrainian.
|
233 |
+
|
234 |
+
### How do I select the keyboard layout?
|
235 |
+
|
236 |
+
If you want to use a keyboard layout or locale that is not the default for your selected language, you can add the `KEYBOARD` and `REGION` variables with a culture code, like this:
|
237 |
+
|
238 |
+
```yaml
|
239 |
+
environment:
|
240 |
+
REGION: "en-US"
|
241 |
+
KEYBOARD: "en-US"
|
242 |
+
```
|
243 |
+
|
244 |
+
> [!NOTE]
|
245 |
+
> Changing these values will have no effect after the installation has been performed already. Use the control panel inside Windows in that case.
|
246 |
+
>
|
247 |
+
|
248 |
+
### How do I connect using RDP?
|
249 |
+
|
250 |
+
The web-viewer is mainly meant to be used during installation, as its picture quality is low, and it has no audio or clipboard for example.
|
251 |
+
|
252 |
+
So for a better experience you can connect using any Microsoft Remote Desktop client to the IP of the container, using the username `Docker` and by leaving the password empty.
|
253 |
+
|
254 |
+
There is a RDP client for [Android](https://play.google.com/store/apps/details?id=com.microsoft.rdc.androidx) available from the Play Store and one for [iOS](https://apps.apple.com/nl/app/microsoft-remote-desktop/id714464092?l=en-GB) in the Apple Store. For Linux you can use [FreeRDP](https://www.freerdp.com/) and on Windows just type `mstsc` in the search box.
|
255 |
+
|
256 |
+
### How do I assign an individual IP address to the container?
|
257 |
+
|
258 |
+
By default, the container uses bridge networking, which shares the IP address with the host.
|
259 |
+
|
260 |
+
If you want to assign an individual IP address to the container, you can create a macvlan network as follows:
|
261 |
+
|
262 |
+
```bash
|
263 |
+
docker network create -d macvlan \
|
264 |
+
--subnet=192.168.0.0/24 \
|
265 |
+
--gateway=192.168.0.1 \
|
266 |
+
--ip-range=192.168.0.100/28 \
|
267 |
+
-o parent=eth0 vlan
|
268 |
+
```
|
269 |
+
|
270 |
+
Be sure to modify these values to match your local subnet.
|
271 |
+
|
272 |
+
Once you have created the network, change your compose file to look as follows:
|
273 |
+
|
274 |
+
```yaml
|
275 |
+
services:
|
276 |
+
windows:
|
277 |
+
container_name: windows
|
278 |
+
..<snip>..
|
279 |
+
networks:
|
280 |
+
vlan:
|
281 |
+
ipv4_address: 192.168.0.100
|
282 |
+
|
283 |
+
networks:
|
284 |
+
vlan:
|
285 |
+
external: true
|
286 |
+
```
|
287 |
+
|
288 |
+
An added benefit of this approach is that you won't have to perform any port mapping anymore, since all ports will be exposed by default.
|
289 |
+
|
290 |
+
> [!IMPORTANT]
|
291 |
+
> This IP address won't be accessible from the Docker host due to the design of macvlan, which doesn't permit communication between the two. If this is a concern, you need to create a [second macvlan](https://blog.oddbit.com/post/2018-03-12-using-docker-macvlan-networks/#host-access) as a workaround.
|
292 |
+
|
293 |
+
### How can Windows acquire an IP address from my router?
|
294 |
+
|
295 |
+
After configuring the container for [macvlan](#how-do-i-assign-an-individual-ip-address-to-the-container), it is possible for Windows to become part of your home network by requesting an IP from your router, just like a real PC.
|
296 |
+
|
297 |
+
To enable this mode, add the following lines to your compose file:
|
298 |
+
|
299 |
+
```yaml
|
300 |
+
environment:
|
301 |
+
DHCP: "Y"
|
302 |
+
devices:
|
303 |
+
- /dev/vhost-net
|
304 |
+
device_cgroup_rules:
|
305 |
+
- 'c *:* rwm'
|
306 |
+
```
|
307 |
+
|
308 |
+
> [!NOTE]
|
309 |
+
> In this mode, the container and Windows will each have their own separate IPs.
|
310 |
+
|
311 |
+
### How do I add multiple disks?
|
312 |
+
|
313 |
+
To create additional disks, modify your compose file like this:
|
314 |
+
|
315 |
+
```yaml
|
316 |
+
environment:
|
317 |
+
DISK2_SIZE: "32G"
|
318 |
+
DISK3_SIZE: "64G"
|
319 |
+
volumes:
|
320 |
+
- /home/example:/storage2
|
321 |
+
- /mnt/data/example:/storage3
|
322 |
+
```
|
323 |
+
|
324 |
+
### How do I pass-through a disk?
|
325 |
+
|
326 |
+
It is possible to pass-through disk devices directly by adding them to your compose file in this way:
|
327 |
+
|
328 |
+
```yaml
|
329 |
+
devices:
|
330 |
+
- /dev/sdb:/disk1
|
331 |
+
- /dev/sdc:/disk2
|
332 |
+
```
|
333 |
+
|
334 |
+
Use `/disk1` if you want it to become your main drive (which will be formatted during installation), and use `/disk2` and higher to add them as secondary drives (which will stay untouched).
|
335 |
+
|
336 |
+
### How do I pass-through a USB device?
|
337 |
+
|
338 |
+
To pass-through a USB device, first lookup its vendor and product id via the `lsusb` command, then add them to your compose file like this:
|
339 |
+
|
340 |
+
```yaml
|
341 |
+
environment:
|
342 |
+
ARGUMENTS: "-device usb-host,vendorid=0x1234,productid=0x1234"
|
343 |
+
devices:
|
344 |
+
- /dev/bus/usb
|
345 |
+
```
|
346 |
+
|
347 |
+
> [!IMPORTANT]
|
348 |
+
> If the device is a USB disk drive, please wait until after the installation is completed before connecting it. Otherwise the installation may fail, as the order of the disks can get rearranged.
|
349 |
+
|
350 |
+
### How do I verify if my system supports KVM?
|
351 |
+
|
352 |
+
Only Linux and Windows 11 support KVM virtualization, macOS and Windows 10 do not unfortunately.
|
353 |
+
|
354 |
+
You can run the following commands in Linux to check your system:
|
355 |
+
|
356 |
+
```bash
|
357 |
+
sudo apt install cpu-checker
|
358 |
+
sudo kvm-ok
|
359 |
+
```
|
360 |
+
|
361 |
+
If you receive an error from `kvm-ok` indicating that KVM cannot be used, please check whether:
|
362 |
+
|
363 |
+
- the virtualization extensions (`Intel VT-x` or `AMD SVM`) are enabled in your BIOS.
|
364 |
+
|
365 |
+
- you enabled "nested virtualization" if you are running the container inside a virtual machine.
|
366 |
+
|
367 |
+
- you are not using a cloud provider, as most of them do not allow nested virtualization for their VPS's.
|
368 |
+
|
369 |
+
If you do not receive any error from `kvm-ok` but the container still complains about KVM, please check whether:
|
370 |
+
|
371 |
+
- you are not using "Docker Desktop for Linux" as it does not support KVM, instead make use of Docker Engine directly.
|
372 |
+
|
373 |
+
- it could help to add `privileged: true` to your compose file (or `sudo` to your `docker run` command), to rule out any permission issue.
|
374 |
+
|
375 |
+
### How do I run macOS in a container?
|
376 |
+
|
377 |
+
You can use [dockur/macos](https://github.com/dockur/macos) for that. It shares many of the same features, except for the automatic installation.
|
378 |
+
|
379 |
+
### Is this project legal?
|
380 |
+
|
381 |
+
Yes, this project contains only open-source code and does not distribute any copyrighted material. Any product keys found in the code are just generic placeholders provided by Microsoft for trial purposes. So under all applicable laws, this project will be considered legal.
|
382 |
+
|
383 |
+
## Stars 🌟
|
384 |
+
[](https://starchart.cc/dockur/windows)
|
385 |
+
|
386 |
+
## Disclaimer ⚖️
|
387 |
+
|
388 |
+
*The product names, logos, brands, and other trademarks referred to within this project are the property of their respective trademark holders. This project is not affiliated, sponsored, or endorsed by Microsoft Corporation.*
|
389 |
+
|
390 |
+
[build_url]: https://github.com/dockur/windows/
|
391 |
+
[hub_url]: https://hub.docker.com/r/dockurr/windows/
|
392 |
+
[tag_url]: https://hub.docker.com/r/dockurr/windows/tags
|
393 |
+
[pkg_url]: https://github.com/dockur/windows/pkgs/container/windows
|
394 |
+
|
395 |
+
[Build]: https://github.com/dockur/windows/actions/workflows/build.yml/badge.svg
|
396 |
+
[Size]: https://img.shields.io/docker/image-size/dockurr/windows/latest?color=066da5&label=size
|
397 |
+
[Pulls]: https://img.shields.io/docker/pulls/dockurr/windows.svg?style=flat&label=pulls&logo=docker
|
398 |
+
[Version]: https://img.shields.io/docker/v/dockurr/windows/latest?arch=amd64&sort=semver&color=066da5
|
399 |
+
[Package]: https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fipitio.github.io%2Fbackage%2Fdockur%2Fwindows%2Fwindows.json&query=%24.downloads&logo=github&style=flat&color=066da5&label=pulls
|
src/define.sh
ADDED
The diff for this file is too large to render.
See raw diff
|
|
src/entry.sh
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
set -Eeuo pipefail
|
3 |
+
|
4 |
+
: "${BOOT_MODE:="windows"}"
|
5 |
+
|
6 |
+
APP="Windows"
|
7 |
+
SUPPORT="https://github.com/dockur/windows"
|
8 |
+
|
9 |
+
cd /run
|
10 |
+
|
11 |
+
. reset.sh # Initialize system
|
12 |
+
. define.sh # Define versions
|
13 |
+
. mido.sh # Download code
|
14 |
+
. install.sh # Run installation
|
15 |
+
. disk.sh # Initialize disks
|
16 |
+
. display.sh # Initialize graphics
|
17 |
+
. network.sh # Initialize network
|
18 |
+
. samba.sh # Configure samba
|
19 |
+
. boot.sh # Configure boot
|
20 |
+
. proc.sh # Initialize processor
|
21 |
+
. power.sh # Configure shutdown
|
22 |
+
. config.sh # Configure arguments
|
23 |
+
|
24 |
+
trap - ERR
|
25 |
+
|
26 |
+
version=$(qemu-system-x86_64 --version | head -n 1 | cut -d '(' -f 1 | awk '{ print $NF }')
|
27 |
+
info "Booting ${APP}${BOOT_DESC} using QEMU v$version..."
|
28 |
+
|
29 |
+
{ qemu-system-x86_64 ${ARGS:+ $ARGS} >"$QEMU_OUT" 2>"$QEMU_LOG"; rc=$?; } || :
|
30 |
+
(( rc != 0 )) && error "$(<"$QEMU_LOG")" && exit 15
|
31 |
+
|
32 |
+
terminal
|
33 |
+
( sleep 30; boot ) &
|
34 |
+
tail -fn +0 "$QEMU_LOG" 2>/dev/null &
|
35 |
+
cat "$QEMU_TERM" 2> /dev/null | tee "$QEMU_PTY" &
|
36 |
+
wait $! || :
|
37 |
+
|
38 |
+
sleep 1 & wait $!
|
39 |
+
[ ! -f "$QEMU_END" ] && finish 0
|
src/install.sh
ADDED
@@ -0,0 +1,1079 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
set -Eeuo pipefail
|
3 |
+
|
4 |
+
TMP="$STORAGE/tmp"
|
5 |
+
DIR="$TMP/unpack"
|
6 |
+
FB="falling back to manual installation!"
|
7 |
+
ETFS="boot/etfsboot.com"
|
8 |
+
EFISYS="efi/microsoft/boot/efisys_noprompt.bin"
|
9 |
+
|
10 |
+
skipInstall() {
|
11 |
+
|
12 |
+
local iso="$1"
|
13 |
+
local magic byte
|
14 |
+
local boot="$STORAGE/windows.boot"
|
15 |
+
local previous="$STORAGE/windows.base"
|
16 |
+
|
17 |
+
if [ -f "$previous" ]; then
|
18 |
+
previous=$(<"$previous")
|
19 |
+
if [ -n "$previous" ]; then
|
20 |
+
previous="$STORAGE/$previous"
|
21 |
+
if [[ "${previous,,}" != "${iso,,}" ]]; then
|
22 |
+
if [ -f "$boot" ] && hasDisk; then
|
23 |
+
info "Detected that the version was changed, but ignoring this because Windows is already installed."
|
24 |
+
info "Please start with an empty /storage folder, if you want to install a different version of Windows."
|
25 |
+
return 0
|
26 |
+
fi
|
27 |
+
[ -f "$previous" ] && rm -f "$previous"
|
28 |
+
return 1
|
29 |
+
fi
|
30 |
+
fi
|
31 |
+
fi
|
32 |
+
|
33 |
+
[ -f "$boot" ] && hasDisk && return 0
|
34 |
+
|
35 |
+
[ ! -f "$iso" ] && return 1
|
36 |
+
[ ! -s "$iso" ] && return 1
|
37 |
+
|
38 |
+
# Check if the ISO was already processed by our script
|
39 |
+
magic=$(dd if="$iso" seek=0 bs=1 count=1 status=none | tr -d '\000')
|
40 |
+
magic="$(printf '%s' "$magic" | od -A n -t x1 -v | tr -d ' \n')"
|
41 |
+
byte="16" && [[ "$MANUAL" == [Yy1]* ]] && byte="17"
|
42 |
+
|
43 |
+
if [[ "$magic" != "$byte" ]]; then
|
44 |
+
info "The ISO will be processed again because the configuration was changed..."
|
45 |
+
return 1
|
46 |
+
fi
|
47 |
+
|
48 |
+
return 0
|
49 |
+
}
|
50 |
+
|
51 |
+
startInstall() {
|
52 |
+
|
53 |
+
html "Starting $APP..."
|
54 |
+
|
55 |
+
if [ -z "$CUSTOM" ]; then
|
56 |
+
|
57 |
+
local file="${VERSION//\//}.iso"
|
58 |
+
|
59 |
+
if [[ "${VERSION,,}" == "http"* ]]; then
|
60 |
+
|
61 |
+
file=$(basename "${VERSION%%\?*}")
|
62 |
+
: "${file//+/ }"; printf -v file '%b' "${_//%/\\x}"
|
63 |
+
file=$(echo "$file" | sed -e 's/[^A-Za-z0-9._-]/_/g')
|
64 |
+
|
65 |
+
else
|
66 |
+
|
67 |
+
local language
|
68 |
+
language=$(getLanguage "$LANGUAGE" "culture")
|
69 |
+
language="${language%%-*}"
|
70 |
+
|
71 |
+
if [ -n "$language" ] && [[ "${language,,}" != "en" ]]; then
|
72 |
+
file="${VERSION//\//}_${language,,}.iso"
|
73 |
+
fi
|
74 |
+
|
75 |
+
fi
|
76 |
+
|
77 |
+
BOOT="$STORAGE/$file"
|
78 |
+
|
79 |
+
! migrateFiles "$BOOT" "$VERSION" && error "Migration failed!" && exit 57
|
80 |
+
|
81 |
+
fi
|
82 |
+
|
83 |
+
skipInstall "$BOOT" && return 1
|
84 |
+
|
85 |
+
rm -rf "$TMP"
|
86 |
+
mkdir -p "$TMP"
|
87 |
+
|
88 |
+
if [ -z "$CUSTOM" ]; then
|
89 |
+
|
90 |
+
ISO=$(basename "$BOOT")
|
91 |
+
ISO="$TMP/$ISO"
|
92 |
+
|
93 |
+
if [ -f "$BOOT" ] && [ -s "$BOOT" ]; then
|
94 |
+
mv -f "$BOOT" "$ISO"
|
95 |
+
fi
|
96 |
+
|
97 |
+
fi
|
98 |
+
|
99 |
+
rm -f "$BOOT"
|
100 |
+
return 0
|
101 |
+
}
|
102 |
+
|
103 |
+
finishInstall() {
|
104 |
+
|
105 |
+
local iso="$1"
|
106 |
+
local aborted="$2"
|
107 |
+
local base byte
|
108 |
+
|
109 |
+
if [ ! -s "$iso" ] || [ ! -f "$iso" ]; then
|
110 |
+
error "Failed to find ISO file: $iso" && return 1
|
111 |
+
fi
|
112 |
+
|
113 |
+
if [[ "$aborted" != [Yy1]* ]]; then
|
114 |
+
# Mark ISO as prepared via magic byte
|
115 |
+
byte="16" && [[ "$MANUAL" == [Yy1]* ]] && byte="17"
|
116 |
+
if ! printf '%b' "\x$byte" | dd of="$iso" bs=1 seek=0 count=1 conv=notrunc status=none; then
|
117 |
+
warn "failed to set magic byte in ISO file: $iso"
|
118 |
+
fi
|
119 |
+
fi
|
120 |
+
|
121 |
+
rm -f "$STORAGE/windows.old"
|
122 |
+
rm -f "$STORAGE/windows.vga"
|
123 |
+
rm -f "$STORAGE/windows.args"
|
124 |
+
rm -f "$STORAGE/windows.base"
|
125 |
+
rm -f "$STORAGE/windows.boot"
|
126 |
+
rm -f "$STORAGE/windows.mode"
|
127 |
+
rm -f "$STORAGE/windows.type"
|
128 |
+
|
129 |
+
cp -f /run/version "$STORAGE/windows.ver"
|
130 |
+
|
131 |
+
if [[ "$iso" == "$STORAGE/"* ]]; then
|
132 |
+
if [[ "$aborted" != [Yy1]* ]] || [ -z "$CUSTOM" ]; then
|
133 |
+
base=$(basename "$iso")
|
134 |
+
echo "$base" > "$STORAGE/windows.base"
|
135 |
+
fi
|
136 |
+
fi
|
137 |
+
|
138 |
+
if [[ "${PLATFORM,,}" == "x64" ]]; then
|
139 |
+
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
|
140 |
+
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
141 |
+
if [[ "${MACHINE,,}" != "q35" ]]; then
|
142 |
+
echo "$MACHINE" > "$STORAGE/windows.old"
|
143 |
+
fi
|
144 |
+
else
|
145 |
+
# Enable secure boot + TPM on manual installs as Win11 requires
|
146 |
+
if [[ "$MANUAL" == [Yy1]* ]] || [[ "$aborted" == [Yy1]* ]]; then
|
147 |
+
if [[ "${DETECTED,,}" == "win11"* ]]; then
|
148 |
+
BOOT_MODE="windows_secure"
|
149 |
+
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
150 |
+
fi
|
151 |
+
fi
|
152 |
+
# Enable secure boot on multi-socket systems to workaround freeze
|
153 |
+
if [ -n "$SOCKETS" ] && [[ "$SOCKETS" != "1" ]]; then
|
154 |
+
BOOT_MODE="windows_secure"
|
155 |
+
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
156 |
+
fi
|
157 |
+
fi
|
158 |
+
fi
|
159 |
+
|
160 |
+
if [ -n "${ARGS:-}" ]; then
|
161 |
+
ARGUMENTS="$ARGS ${ARGUMENTS:-}"
|
162 |
+
echo "$ARGS" > "$STORAGE/windows.args"
|
163 |
+
fi
|
164 |
+
|
165 |
+
if [ -n "${DISK_TYPE:-}" ] && [[ "${DISK_TYPE:-}" != "scsi" ]]; then
|
166 |
+
echo "$DISK_TYPE" > "$STORAGE/windows.type"
|
167 |
+
fi
|
168 |
+
|
169 |
+
rm -rf "$TMP"
|
170 |
+
return 0
|
171 |
+
}
|
172 |
+
|
173 |
+
abortInstall() {
|
174 |
+
|
175 |
+
local dir="$1"
|
176 |
+
local iso="$2"
|
177 |
+
local efi
|
178 |
+
|
179 |
+
[[ "${iso,,}" == *".esd" ]] && exit 60
|
180 |
+
|
181 |
+
efi=$(find "$dir" -maxdepth 1 -type d -iname efi | head -n 1)
|
182 |
+
|
183 |
+
if [ -z "$efi" ]; then
|
184 |
+
[[ "${PLATFORM,,}" == "x64" ]] && BOOT_MODE="windows_legacy"
|
185 |
+
fi
|
186 |
+
|
187 |
+
if [ -n "$CUSTOM" ]; then
|
188 |
+
BOOT="$iso"
|
189 |
+
REMOVE="N"
|
190 |
+
else
|
191 |
+
if [[ "$iso" != "$BOOT" ]]; then
|
192 |
+
if ! mv -f "$iso" "$BOOT"; then
|
193 |
+
error "Failed to move ISO file: $iso" && return 1
|
194 |
+
fi
|
195 |
+
fi
|
196 |
+
fi
|
197 |
+
|
198 |
+
finishInstall "$BOOT" "Y" && return 0
|
199 |
+
return 1
|
200 |
+
}
|
201 |
+
|
202 |
+
detectCustom() {
|
203 |
+
|
204 |
+
local file base
|
205 |
+
CUSTOM=""
|
206 |
+
|
207 |
+
file=$(find / -maxdepth 1 -type f -iname custom.iso | head -n 1)
|
208 |
+
[ ! -s "$file" ] && file=$(find "$STORAGE" -maxdepth 1 -type f -iname custom.iso | head -n 1)
|
209 |
+
|
210 |
+
if [ ! -s "$file" ] && [[ "${VERSION,,}" != "http"* ]]; then
|
211 |
+
base=$(basename "$VERSION")
|
212 |
+
file="$STORAGE/$base"
|
213 |
+
fi
|
214 |
+
|
215 |
+
if [ ! -f "$file" ] || [ ! -s "$file" ]; then
|
216 |
+
return 0
|
217 |
+
fi
|
218 |
+
|
219 |
+
local size
|
220 |
+
size="$(stat -c%s "$file")"
|
221 |
+
[ -z "$size" ] || [[ "$size" == "0" ]] && return 0
|
222 |
+
|
223 |
+
ISO="$file"
|
224 |
+
CUSTOM="$ISO"
|
225 |
+
BOOT="$STORAGE/windows.$size.iso"
|
226 |
+
|
227 |
+
return 0
|
228 |
+
}
|
229 |
+
|
230 |
+
extractESD() {
|
231 |
+
|
232 |
+
local iso="$1"
|
233 |
+
local dir="$2"
|
234 |
+
local version="$3"
|
235 |
+
local desc="$4"
|
236 |
+
local size size_gb space space_gb desc
|
237 |
+
|
238 |
+
local msg="Extracting $desc bootdisk..."
|
239 |
+
info "$msg" && html "$msg"
|
240 |
+
|
241 |
+
if [ "$(stat -c%s "$iso")" -lt 100000000 ]; then
|
242 |
+
error "Invalid ESD file: Size is smaller than 100 MB" && return 1
|
243 |
+
fi
|
244 |
+
|
245 |
+
rm -rf "$dir"
|
246 |
+
mkdir -p "$dir"
|
247 |
+
|
248 |
+
size=16106127360
|
249 |
+
size_gb=$(( (size + 1073741823)/1073741824 ))
|
250 |
+
space=$(df --output=avail -B 1 "$dir" | tail -n 1)
|
251 |
+
space_gb=$(( (space + 1073741823)/1073741824 ))
|
252 |
+
|
253 |
+
if (( size > space )); then
|
254 |
+
error "Not enough free space in $STORAGE, have $space_gb GB available but need at least $size_gb GB." && return 1
|
255 |
+
fi
|
256 |
+
|
257 |
+
local esdImageCount
|
258 |
+
esdImageCount=$(wimlib-imagex info "$iso" | awk '/Image Count:/ {print $3}')
|
259 |
+
|
260 |
+
wimlib-imagex apply "$iso" 1 "$dir" --quiet 2>/dev/null || {
|
261 |
+
retVal=$?
|
262 |
+
error "Extracting $desc bootdisk failed" && return $retVal
|
263 |
+
}
|
264 |
+
|
265 |
+
local bootWimFile="$dir/sources/boot.wim"
|
266 |
+
local installWimFile="$dir/sources/install.wim"
|
267 |
+
|
268 |
+
local msg="Extracting $desc environment..."
|
269 |
+
info "$msg" && html "$msg"
|
270 |
+
|
271 |
+
wimlib-imagex export "$iso" 2 "$bootWimFile" --compress=none --quiet || {
|
272 |
+
retVal=$?
|
273 |
+
error "Adding WinPE failed" && return ${retVal}
|
274 |
+
}
|
275 |
+
|
276 |
+
local msg="Extracting $desc setup..."
|
277 |
+
info "$msg" && html "$msg"
|
278 |
+
|
279 |
+
wimlib-imagex export "$iso" 3 "$bootWimFile" --compress=none --boot --quiet || {
|
280 |
+
retVal=$?
|
281 |
+
error "Adding Windows Setup failed" && return ${retVal}
|
282 |
+
}
|
283 |
+
|
284 |
+
if [[ "${PLATFORM,,}" == "x64" ]]; then
|
285 |
+
LABEL="CCCOMA_X64FRE_EN-US_DV9"
|
286 |
+
else
|
287 |
+
LABEL="CPBA_A64FRE_EN-US_DV9"
|
288 |
+
fi
|
289 |
+
|
290 |
+
local msg="Extracting $desc image..."
|
291 |
+
info "$msg" && html "$msg"
|
292 |
+
|
293 |
+
local edition imageIndex imageEdition
|
294 |
+
edition=$(getCatalog "$version" "name")
|
295 |
+
|
296 |
+
if [ -z "$edition" ]; then
|
297 |
+
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
298 |
+
fi
|
299 |
+
|
300 |
+
for (( imageIndex=4; imageIndex<=esdImageCount; imageIndex++ )); do
|
301 |
+
imageEdition=$(wimlib-imagex info "$iso" ${imageIndex} | grep '^Description:' | sed 's/Description:[ \t]*//')
|
302 |
+
[[ "${imageEdition,,}" != "${edition,,}" ]] && continue
|
303 |
+
wimlib-imagex export "$iso" ${imageIndex} "$installWimFile" --compress=LZMS --chunk-size 128K --quiet || {
|
304 |
+
retVal=$?
|
305 |
+
error "Addition of $imageIndex to the $desc image failed" && return $retVal
|
306 |
+
}
|
307 |
+
return 0
|
308 |
+
done
|
309 |
+
|
310 |
+
error "Failed to find product '$edition' in install.wim!" && return 1
|
311 |
+
}
|
312 |
+
|
313 |
+
extractImage() {
|
314 |
+
|
315 |
+
local iso="$1"
|
316 |
+
local dir="$2"
|
317 |
+
local version="$3"
|
318 |
+
local desc="local ISO"
|
319 |
+
local size size_gb space space_gb
|
320 |
+
|
321 |
+
if [ -z "$CUSTOM" ]; then
|
322 |
+
desc="downloaded ISO"
|
323 |
+
if [[ "$version" != "http"* ]]; then
|
324 |
+
desc=$(printVersion "$version" "$desc")
|
325 |
+
fi
|
326 |
+
fi
|
327 |
+
|
328 |
+
if [[ "${iso,,}" == *".esd" ]]; then
|
329 |
+
extractESD "$iso" "$dir" "$version" "$desc" && return 0
|
330 |
+
return 1
|
331 |
+
fi
|
332 |
+
|
333 |
+
local msg="Extracting $desc image..."
|
334 |
+
info "$msg" && html "$msg"
|
335 |
+
|
336 |
+
rm -rf "$dir"
|
337 |
+
mkdir -p "$dir"
|
338 |
+
|
339 |
+
size=$(stat -c%s "$iso")
|
340 |
+
size_gb=$(( (size + 1073741823)/1073741824 ))
|
341 |
+
space=$(df --output=avail -B 1 "$dir" | tail -n 1)
|
342 |
+
space_gb=$(( (space + 1073741823)/1073741824 ))
|
343 |
+
|
344 |
+
if ((size<100000000)); then
|
345 |
+
error "Invalid ISO file: Size is smaller than 100 MB" && return 1
|
346 |
+
fi
|
347 |
+
|
348 |
+
if (( size > space )); then
|
349 |
+
error "Not enough free space in $STORAGE, have $space_gb GB available but need at least $size_gb GB." && return 1
|
350 |
+
fi
|
351 |
+
|
352 |
+
rm -rf "$dir"
|
353 |
+
|
354 |
+
if ! 7z x "$iso" -o"$dir" > /dev/null; then
|
355 |
+
error "Failed to extract ISO file: $iso" && return 1
|
356 |
+
fi
|
357 |
+
|
358 |
+
LABEL=$(isoinfo -d -i "$iso" | sed -n 's/Volume id: //p')
|
359 |
+
|
360 |
+
return 0
|
361 |
+
}
|
362 |
+
|
363 |
+
getPlatform() {
|
364 |
+
|
365 |
+
local xml="$1"
|
366 |
+
local tag="ARCH"
|
367 |
+
local platform="x64"
|
368 |
+
local arch
|
369 |
+
|
370 |
+
arch=$(sed -n "/$tag/{s/.*<$tag>\(.*\)<\/$tag>.*/\1/;p}" <<< "$xml")
|
371 |
+
|
372 |
+
case "${arch,,}" in
|
373 |
+
"0" ) platform="x86" ;;
|
374 |
+
"9" ) platform="x64" ;;
|
375 |
+
"12" )platform="arm64" ;;
|
376 |
+
esac
|
377 |
+
|
378 |
+
echo "$platform"
|
379 |
+
return 0
|
380 |
+
}
|
381 |
+
|
382 |
+
checkPlatform() {
|
383 |
+
|
384 |
+
local xml="$1"
|
385 |
+
local platform compat
|
386 |
+
|
387 |
+
platform=$(getPlatform "$xml")
|
388 |
+
|
389 |
+
case "${platform,,}" in
|
390 |
+
"x86" ) compat="x64" ;;
|
391 |
+
"x64" ) compat="$platform" ;;
|
392 |
+
"arm64" ) compat="$platform" ;;
|
393 |
+
* ) compat="${PLATFORM,,}" ;;
|
394 |
+
esac
|
395 |
+
|
396 |
+
[[ "${compat,,}" == "${PLATFORM,,}" ]] && return 0
|
397 |
+
|
398 |
+
error "You cannot boot ${platform^^} images on a $PLATFORM CPU!"
|
399 |
+
return 1
|
400 |
+
}
|
401 |
+
|
402 |
+
hasVersion() {
|
403 |
+
|
404 |
+
local id="$1"
|
405 |
+
local tag="$2"
|
406 |
+
local xml="$3"
|
407 |
+
local edition
|
408 |
+
|
409 |
+
[ ! -f "/run/assets/$id.xml" ] && return 1
|
410 |
+
|
411 |
+
edition=$(printEdition "$id" "")
|
412 |
+
[ -z "$edition" ] && return 1
|
413 |
+
[[ "${xml,,}" != *"<${tag,,}>${edition,,}</${tag,,}>"* ]] && return 1
|
414 |
+
|
415 |
+
return 0
|
416 |
+
}
|
417 |
+
|
418 |
+
selectVersion() {
|
419 |
+
|
420 |
+
local tag="$1"
|
421 |
+
local xml="$2"
|
422 |
+
local platform="$3"
|
423 |
+
local id name prefer
|
424 |
+
|
425 |
+
name=$(sed -n "/$tag/{s/.*<$tag>\(.*\)<\/$tag>.*/\1/;p}" <<< "$xml")
|
426 |
+
[[ "$name" == *"Operating System"* ]] && name=""
|
427 |
+
[ -z "$name" ] && return 0
|
428 |
+
|
429 |
+
id=$(fromName "$name" "$platform")
|
430 |
+
[ -z "$id" ] && warn "Unknown ${tag,,}: '$name'" && return 0
|
431 |
+
|
432 |
+
prefer="$id-enterprise"
|
433 |
+
hasVersion "$prefer" "$tag" "$xml" && echo "$prefer" && return 0
|
434 |
+
|
435 |
+
prefer="$id-ultimate"
|
436 |
+
hasVersion "$prefer" "$tag" "$xml" && echo "$prefer" && return 0
|
437 |
+
|
438 |
+
prefer="$id"
|
439 |
+
hasVersion "$prefer" "$tag" "$xml" && echo "$prefer" && return 0
|
440 |
+
|
441 |
+
prefer=$(getVersion "$name" "$platform")
|
442 |
+
|
443 |
+
echo "$prefer"
|
444 |
+
return 0
|
445 |
+
}
|
446 |
+
|
447 |
+
detectVersion() {
|
448 |
+
|
449 |
+
local xml="$1"
|
450 |
+
local id platform
|
451 |
+
|
452 |
+
platform=$(getPlatform "$xml")
|
453 |
+
id=$(selectVersion "DISPLAYNAME" "$xml" "$platform")
|
454 |
+
[ -z "$id" ] && id=$(selectVersion "PRODUCTNAME" "$xml" "$platform")
|
455 |
+
[ -z "$id" ] && id=$(selectVersion "NAME" "$xml" "$platform")
|
456 |
+
|
457 |
+
echo "$id"
|
458 |
+
return 0
|
459 |
+
}
|
460 |
+
|
461 |
+
detectLanguage() {
|
462 |
+
|
463 |
+
local xml="$1"
|
464 |
+
local lang=""
|
465 |
+
|
466 |
+
if [[ "$xml" == *"LANGUAGE><DEFAULT>"* ]]; then
|
467 |
+
lang="${xml#*LANGUAGE><DEFAULT>}"
|
468 |
+
lang="${lang%%<*}"
|
469 |
+
else
|
470 |
+
if [[ "$xml" == *"FALLBACK><DEFAULT>"* ]]; then
|
471 |
+
lang="${xml#*FALLBACK><DEFAULT>}"
|
472 |
+
lang="${lang%%<*}"
|
473 |
+
fi
|
474 |
+
fi
|
475 |
+
|
476 |
+
if [ -z "$lang" ]; then
|
477 |
+
warn "Language could not be detected from ISO!" && return 0
|
478 |
+
fi
|
479 |
+
|
480 |
+
local culture
|
481 |
+
culture=$(getLanguage "$lang" "culture")
|
482 |
+
[ -n "$culture" ] && LANGUAGE="$lang" && return 0
|
483 |
+
|
484 |
+
warn "Invalid language detected: \"$lang\""
|
485 |
+
return 0
|
486 |
+
}
|
487 |
+
|
488 |
+
setXML() {
|
489 |
+
|
490 |
+
local file="/custom.xml"
|
491 |
+
|
492 |
+
[ ! -f "$file" ] || [ ! -s "$file" ] && file="$STORAGE/custom.xml"
|
493 |
+
[ ! -f "$file" ] || [ ! -s "$file" ] && file="/run/assets/custom.xml"
|
494 |
+
[ ! -f "$file" ] || [ ! -s "$file" ] && file="$1"
|
495 |
+
[ ! -f "$file" ] || [ ! -s "$file" ] && file="/run/assets/$DETECTED.xml"
|
496 |
+
[ ! -f "$file" ] || [ ! -s "$file" ] && return 1
|
497 |
+
|
498 |
+
XML="$file"
|
499 |
+
return 0
|
500 |
+
}
|
501 |
+
|
502 |
+
detectImage() {
|
503 |
+
|
504 |
+
local dir="$1"
|
505 |
+
local version="$2"
|
506 |
+
local desc msg find language
|
507 |
+
|
508 |
+
XML=""
|
509 |
+
|
510 |
+
if [ -z "$DETECTED" ] && [ -z "$CUSTOM" ]; then
|
511 |
+
[[ "${version,,}" != "http"* ]] && DETECTED="$version"
|
512 |
+
fi
|
513 |
+
|
514 |
+
if [ -n "$DETECTED" ]; then
|
515 |
+
|
516 |
+
skipVersion "${DETECTED,,}" && return 0
|
517 |
+
|
518 |
+
if ! setXML "" && [[ "$MANUAL" != [Yy1]* ]]; then
|
519 |
+
MANUAL="Y"
|
520 |
+
desc=$(printEdition "$DETECTED" "this version")
|
521 |
+
warn "the answer file for $desc was not found ($DETECTED.xml), $FB."
|
522 |
+
fi
|
523 |
+
|
524 |
+
return 0
|
525 |
+
fi
|
526 |
+
|
527 |
+
info "Detecting version from ISO image..."
|
528 |
+
|
529 |
+
if detectLegacy "$dir"; then
|
530 |
+
desc=$(printEdition "$DETECTED" "$DETECTED")
|
531 |
+
info "Detected: $desc"
|
532 |
+
return 0
|
533 |
+
fi
|
534 |
+
|
535 |
+
local src wim info
|
536 |
+
src=$(find "$dir" -maxdepth 1 -type d -iname sources | head -n 1)
|
537 |
+
|
538 |
+
if [ ! -d "$src" ]; then
|
539 |
+
warn "failed to locate 'sources' folder in ISO image, $FB" && return 1
|
540 |
+
fi
|
541 |
+
|
542 |
+
wim=$(find "$src" -maxdepth 1 -type f -iname install.wim | head -n 1)
|
543 |
+
[ ! -f "$wim" ] && wim=$(find "$src" -maxdepth 1 -type f -iname install.esd | head -n 1)
|
544 |
+
|
545 |
+
if [ ! -f "$wim" ]; then
|
546 |
+
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB" && return 1
|
547 |
+
fi
|
548 |
+
|
549 |
+
info=$(wimlib-imagex info -xml "$wim" | tr -d '\000')
|
550 |
+
checkPlatform "$info" || exit 67
|
551 |
+
|
552 |
+
DETECTED=$(detectVersion "$info")
|
553 |
+
|
554 |
+
if [ -z "$DETECTED" ]; then
|
555 |
+
msg="Failed to determine Windows version from image"
|
556 |
+
if setXML "" || [[ "$MANUAL" == [Yy1]* ]]; then
|
557 |
+
info "${msg}!"
|
558 |
+
else
|
559 |
+
MANUAL="Y"
|
560 |
+
warn "${msg}, $FB."
|
561 |
+
fi
|
562 |
+
return 0
|
563 |
+
fi
|
564 |
+
|
565 |
+
desc=$(printEdition "$DETECTED" "$DETECTED")
|
566 |
+
detectLanguage "$info"
|
567 |
+
|
568 |
+
if [[ "${LANGUAGE,,}" != "en" ]] && [[ "${LANGUAGE,,}" != "en-"* ]]; then
|
569 |
+
language=$(getLanguage "$LANGUAGE" "desc")
|
570 |
+
desc+=" ($language)"
|
571 |
+
fi
|
572 |
+
|
573 |
+
info "Detected: $desc"
|
574 |
+
setXML "" && return 0
|
575 |
+
|
576 |
+
msg="the answer file for $desc was not found ($DETECTED.xml)"
|
577 |
+
local fallback="/run/assets/${DETECTED%%-*}.xml"
|
578 |
+
|
579 |
+
if setXML "$fallback" || [[ "$MANUAL" == [Yy1]* ]]; then
|
580 |
+
[[ "$MANUAL" != [Yy1]* ]] && warn "${msg}."
|
581 |
+
else
|
582 |
+
MANUAL="Y"
|
583 |
+
warn "${msg}, $FB."
|
584 |
+
fi
|
585 |
+
|
586 |
+
return 0
|
587 |
+
}
|
588 |
+
|
589 |
+
prepareImage() {
|
590 |
+
|
591 |
+
local iso="$1"
|
592 |
+
local dir="$2"
|
593 |
+
local desc missing
|
594 |
+
|
595 |
+
desc=$(printVersion "$DETECTED" "$DETECTED")
|
596 |
+
|
597 |
+
setMachine "$DETECTED" "$iso" "$dir" "$desc" || return 1
|
598 |
+
skipVersion "$DETECTED" && return 0
|
599 |
+
|
600 |
+
if [[ "${BOOT_MODE,,}" != "windows_legacy" ]]; then
|
601 |
+
|
602 |
+
[ -f "$dir/$ETFS" ] && [ -f "$dir/$EFISYS" ] && return 0
|
603 |
+
|
604 |
+
missing=$(basename "$dir/$EFISYS")
|
605 |
+
[ ! -f "$dir/$ETFS" ] && missing=$(basename "$dir/$ETFS")
|
606 |
+
|
607 |
+
error "Failed to locate file \"${missing,,}\" in ISO image!"
|
608 |
+
return 1
|
609 |
+
fi
|
610 |
+
|
611 |
+
prepareLegacy "$iso" "$dir" "$desc" && return 0
|
612 |
+
|
613 |
+
error "Failed to extract boot image from ISO image!"
|
614 |
+
return 1
|
615 |
+
}
|
616 |
+
|
617 |
+
updateXML() {
|
618 |
+
|
619 |
+
local asset="$1"
|
620 |
+
local language="$2"
|
621 |
+
local culture region user admin pass keyboard
|
622 |
+
|
623 |
+
[ -z "$HEIGHT" ] && HEIGHT="720"
|
624 |
+
[ -z "$WIDTH" ] && WIDTH="1280"
|
625 |
+
|
626 |
+
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$HEIGHT<\/VerticalResolution>/g" "$asset"
|
627 |
+
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$WIDTH<\/HorizontalResolution>/g" "$asset"
|
628 |
+
|
629 |
+
culture=$(getLanguage "$language" "culture")
|
630 |
+
|
631 |
+
if [ -n "$culture" ] && [[ "${culture,,}" != "en-us" ]]; then
|
632 |
+
sed -i "s/<UILanguage>en-US<\/UILanguage>/<UILanguage>$culture<\/UILanguage>/g" "$asset"
|
633 |
+
fi
|
634 |
+
|
635 |
+
region="$REGION"
|
636 |
+
[ -z "$region" ] && region="$culture"
|
637 |
+
|
638 |
+
if [ -n "$region" ] && [[ "${region,,}" != "en-us" ]]; then
|
639 |
+
sed -i "s/<UserLocale>en-US<\/UserLocale>/<UserLocale>$region<\/UserLocale>/g" "$asset"
|
640 |
+
sed -i "s/<SystemLocale>en-US<\/SystemLocale>/<SystemLocale>$region<\/SystemLocale>/g" "$asset"
|
641 |
+
fi
|
642 |
+
|
643 |
+
keyboard="$KEYBOARD"
|
644 |
+
[ -z "$keyboard" ] && keyboard="$culture"
|
645 |
+
|
646 |
+
if [ -n "$keyboard" ] && [[ "${keyboard,,}" != "en-us" ]]; then
|
647 |
+
sed -i "s/<InputLocale>en-US<\/InputLocale>/<InputLocale>$keyboard<\/InputLocale>/g" "$asset"
|
648 |
+
sed -i "s/<InputLocale>0409:00000409<\/InputLocale>/<InputLocale>$keyboard<\/InputLocale>/g" "$asset"
|
649 |
+
fi
|
650 |
+
|
651 |
+
user=$(echo "$USERNAME" | sed 's/[^[:alnum:]@!._-]//g')
|
652 |
+
|
653 |
+
if [ -n "$user" ]; then
|
654 |
+
sed -i "s/<Name>Docker<\/Name>/<Name>$user<\/Name>/g" "$asset"
|
655 |
+
sed -i "s/where name=\"Docker\"/where name=\"$user\"/g" "$asset"
|
656 |
+
sed -i "s/<FullName>Docker<\/FullName>/<FullName>$user<\/FullName>/g" "$asset"
|
657 |
+
sed -i "s/<Username>Docker<\/Username>/<Username>$user<\/Username>/g" "$asset"
|
658 |
+
fi
|
659 |
+
|
660 |
+
if [ -n "$PASSWORD" ]; then
|
661 |
+
pass=$(printf '%s' "${PASSWORD}Password" | iconv -f utf-8 -t utf-16le | base64 -w 0)
|
662 |
+
admin=$(printf '%s' "${PASSWORD}AdministratorPassword" | iconv -f utf-8 -t utf-16le | base64 -w 0)
|
663 |
+
sed -i "s/<Value>password<\/Value>/<Value>$admin<\/Value>/g" "$asset"
|
664 |
+
sed -i "s/<PlainText>true<\/PlainText>/<PlainText>false<\/PlainText>/g" "$asset"
|
665 |
+
sed -z "s/<Password>...........<Value \/>/<Password>\n <Value>$pass<\/Value>/g" -i "$asset"
|
666 |
+
sed -z "s/<Password>...............<Value \/>/<Password>\n <Value>$pass<\/Value>/g" -i "$asset"
|
667 |
+
sed -z "s/<AdministratorPassword>...........<Value \/>/<AdministratorPassword>\n <Value>$admin<\/Value>/g" -i "$asset"
|
668 |
+
sed -z "s/<AdministratorPassword>...............<Value \/>/<AdministratorPassword>\n <Value>$admin<\/Value>/g" -i "$asset"
|
669 |
+
fi
|
670 |
+
|
671 |
+
return 0
|
672 |
+
}
|
673 |
+
|
674 |
+
addDriver() {
|
675 |
+
|
676 |
+
local id="$1"
|
677 |
+
local path="$2"
|
678 |
+
local target="$3"
|
679 |
+
local driver="$4"
|
680 |
+
local folder=""
|
681 |
+
|
682 |
+
case "${id,,}" in
|
683 |
+
"win7x86"* ) folder="w7/x86" ;;
|
684 |
+
"win7x64"* ) folder="w7/amd64" ;;
|
685 |
+
"win81x64"* ) folder="w8.1/amd64" ;;
|
686 |
+
"win10x64"* ) folder="w10/amd64" ;;
|
687 |
+
"win11x64"* ) folder="w11/amd64" ;;
|
688 |
+
"win2025"* ) folder="2k25/amd64" ;;
|
689 |
+
"win2022"* ) folder="2k22/amd64" ;;
|
690 |
+
"win2019"* ) folder="2k19/amd64" ;;
|
691 |
+
"win2016"* ) folder="2k16/amd64" ;;
|
692 |
+
"win2012"* ) folder="2k12R2/amd64" ;;
|
693 |
+
"win2008"* ) folder="2k8R2/amd64" ;;
|
694 |
+
"win10arm64"* ) folder="w10/ARM64" ;;
|
695 |
+
"win11arm64"* ) folder="w11/ARM64" ;;
|
696 |
+
"winvistax86"* ) folder="2k8/x86" ;;
|
697 |
+
"winvistax64"* ) folder="2k8/amd64" ;;
|
698 |
+
esac
|
699 |
+
|
700 |
+
if [ -z "$folder" ]; then
|
701 |
+
warn "no \"$driver\" driver found for \"$DETECTED\" !" && return 0
|
702 |
+
fi
|
703 |
+
|
704 |
+
[ ! -d "$path/$driver/$folder" ] && return 0
|
705 |
+
|
706 |
+
case "${id,,}" in
|
707 |
+
"winvista"* )
|
708 |
+
[[ "${driver,,}" == "viorng" ]] && return 0
|
709 |
+
;;
|
710 |
+
esac
|
711 |
+
|
712 |
+
local dest="$path/$target/$driver"
|
713 |
+
mkdir -p "$dest" || return 1
|
714 |
+
cp -Lr "$path/$driver/$folder/." "$dest" || return 1
|
715 |
+
|
716 |
+
return 0
|
717 |
+
}
|
718 |
+
|
719 |
+
addDrivers() {
|
720 |
+
|
721 |
+
local src="$1"
|
722 |
+
local tmp="$2"
|
723 |
+
local file="$3"
|
724 |
+
local index="$4"
|
725 |
+
local version="$5"
|
726 |
+
local drivers="$tmp/drivers"
|
727 |
+
|
728 |
+
rm -rf "$drivers"
|
729 |
+
mkdir -p "$drivers"
|
730 |
+
|
731 |
+
local msg="Adding drivers to image..."
|
732 |
+
info "$msg" && html "$msg"
|
733 |
+
|
734 |
+
if ! bsdtar -xf /drivers.txz -C "$drivers"; then
|
735 |
+
error "Failed to extract drivers from archive!" && return 1
|
736 |
+
fi
|
737 |
+
|
738 |
+
local target="\$WinPEDriver\$"
|
739 |
+
local dest="$drivers/$target"
|
740 |
+
mkdir -p "$dest" || return 1
|
741 |
+
|
742 |
+
wimlib-imagex update "$file" "$index" --command "delete --force --recursive /$target" >/dev/null || true
|
743 |
+
|
744 |
+
addDriver "$version" "$drivers" "$target" "qxl" || return 1
|
745 |
+
addDriver "$version" "$drivers" "$target" "viofs" || return 1
|
746 |
+
addDriver "$version" "$drivers" "$target" "sriov" || return 1
|
747 |
+
addDriver "$version" "$drivers" "$target" "smbus" || return 1
|
748 |
+
addDriver "$version" "$drivers" "$target" "qxldod" || return 1
|
749 |
+
addDriver "$version" "$drivers" "$target" "viorng" || return 1
|
750 |
+
addDriver "$version" "$drivers" "$target" "viostor" || return 1
|
751 |
+
addDriver "$version" "$drivers" "$target" "viomem" || return 1
|
752 |
+
addDriver "$version" "$drivers" "$target" "NetKVM" || return 1
|
753 |
+
addDriver "$version" "$drivers" "$target" "Balloon" || return 1
|
754 |
+
addDriver "$version" "$drivers" "$target" "vioscsi" || return 1
|
755 |
+
addDriver "$version" "$drivers" "$target" "pvpanic" || return 1
|
756 |
+
addDriver "$version" "$drivers" "$target" "vioinput" || return 1
|
757 |
+
addDriver "$version" "$drivers" "$target" "viogpudo" || return 1
|
758 |
+
addDriver "$version" "$drivers" "$target" "vioserial" || return 1
|
759 |
+
addDriver "$version" "$drivers" "$target" "qemupciserial" || return 1
|
760 |
+
|
761 |
+
case "${version,,}" in
|
762 |
+
"win11x64"* | "win2025"* )
|
763 |
+
# Workaround Virtio GPU driver bug
|
764 |
+
local dst="$src/\$OEM\$/\$\$/Drivers"
|
765 |
+
mkdir -p "$dst" || return 1
|
766 |
+
cp -Lr "$dest/." "$dst" || return 1
|
767 |
+
rm -rf "$dest/viogpudo"
|
768 |
+
;;
|
769 |
+
esac
|
770 |
+
|
771 |
+
if ! wimlib-imagex update "$file" "$index" --command "add $dest /$target" >/dev/null; then
|
772 |
+
return 1
|
773 |
+
fi
|
774 |
+
|
775 |
+
rm -rf "$drivers"
|
776 |
+
return 0
|
777 |
+
}
|
778 |
+
|
779 |
+
updateImage() {
|
780 |
+
|
781 |
+
local dir="$1"
|
782 |
+
local asset="$2"
|
783 |
+
local language="$3"
|
784 |
+
local tmp="/tmp/install"
|
785 |
+
local file="autounattend.xml"
|
786 |
+
local org="${file//.xml/.org}"
|
787 |
+
local dat="${file//.xml/.dat}"
|
788 |
+
local desc path src wim xml index result
|
789 |
+
|
790 |
+
skipVersion "${DETECTED,,}" && return 0
|
791 |
+
|
792 |
+
if [ ! -s "$asset" ] || [ ! -f "$asset" ]; then
|
793 |
+
asset=""
|
794 |
+
if [[ "$MANUAL" != [Yy1]* ]]; then
|
795 |
+
MANUAL="Y"
|
796 |
+
warn "no answer file provided, $FB."
|
797 |
+
fi
|
798 |
+
fi
|
799 |
+
|
800 |
+
rm -rf "$tmp"
|
801 |
+
mkdir -p "$tmp"
|
802 |
+
|
803 |
+
src=$(find "$dir" -maxdepth 1 -type d -iname sources | head -n 1)
|
804 |
+
|
805 |
+
if [ ! -d "$src" ]; then
|
806 |
+
error "failed to locate 'sources' folder in ISO image, $FB" && return 1
|
807 |
+
fi
|
808 |
+
|
809 |
+
wim=$(find "$src" -maxdepth 1 -type f -iname boot.wim | head -n 1)
|
810 |
+
[ ! -f "$wim" ] && wim=$(find "$src" -maxdepth 1 -type f -iname boot.esd | head -n 1)
|
811 |
+
|
812 |
+
if [ ! -f "$wim" ]; then
|
813 |
+
error "failed to locate 'boot.wim' or 'boot.esd' in ISO image, $FB" && return 1
|
814 |
+
fi
|
815 |
+
|
816 |
+
index="1"
|
817 |
+
result=$(wimlib-imagex info -xml "$wim" | tr -d '\000')
|
818 |
+
|
819 |
+
if [[ "${result^^}" == *"<IMAGE INDEX=\"2\">"* ]]; then
|
820 |
+
index="2"
|
821 |
+
fi
|
822 |
+
|
823 |
+
if ! addDrivers "$src" "$tmp" "$wim" "$index" "$DETECTED"; then
|
824 |
+
error "Failed to add drivers to image!"
|
825 |
+
fi
|
826 |
+
|
827 |
+
if ! addFolder "$src"; then
|
828 |
+
error "Failed to add OEM folder to image!"
|
829 |
+
fi
|
830 |
+
|
831 |
+
if wimlib-imagex extract "$wim" "$index" "/$file" "--dest-dir=$tmp" >/dev/null 2>&1; then
|
832 |
+
if ! wimlib-imagex extract "$wim" "$index" "/$dat" "--dest-dir=$tmp" >/dev/null 2>&1; then
|
833 |
+
if ! wimlib-imagex extract "$wim" "$index" "/$org" "--dest-dir=$tmp" >/dev/null 2>&1; then
|
834 |
+
if ! wimlib-imagex update "$wim" "$index" --command "rename /$file /$org" > /dev/null; then
|
835 |
+
warn "failed to backup original answer file ($file)."
|
836 |
+
fi
|
837 |
+
fi
|
838 |
+
fi
|
839 |
+
fi
|
840 |
+
|
841 |
+
if [[ "$MANUAL" != [Yy1]* ]]; then
|
842 |
+
|
843 |
+
xml=$(basename "$asset")
|
844 |
+
info "Adding $xml for automatic installation..."
|
845 |
+
|
846 |
+
local answer="$tmp/$xml"
|
847 |
+
cp "$asset" "$answer"
|
848 |
+
updateXML "$answer" "$language"
|
849 |
+
|
850 |
+
if ! wimlib-imagex update "$wim" "$index" --command "add $answer /$file" > /dev/null; then
|
851 |
+
MANUAL="Y"
|
852 |
+
warn "failed to add answer file ($xml) to ISO image, $FB"
|
853 |
+
else
|
854 |
+
wimlib-imagex update "$wim" "$index" --command "add $answer /$dat" > /dev/null || true
|
855 |
+
fi
|
856 |
+
|
857 |
+
fi
|
858 |
+
|
859 |
+
if [[ "$MANUAL" == [Yy1]* ]]; then
|
860 |
+
|
861 |
+
wimlib-imagex update "$wim" "$index" --command "delete --force /$file" > /dev/null || true
|
862 |
+
|
863 |
+
if wimlib-imagex extract "$wim" "$index" "/$org" "--dest-dir=$tmp" >/dev/null 2>&1; then
|
864 |
+
if ! wimlib-imagex update "$wim" "$index" --command "add $tmp/$org /$file" > /dev/null; then
|
865 |
+
warn "failed to restore original answer file ($org)."
|
866 |
+
fi
|
867 |
+
fi
|
868 |
+
|
869 |
+
fi
|
870 |
+
|
871 |
+
local find="$file"
|
872 |
+
[[ "$MANUAL" == [Yy1]* ]] && find="$org"
|
873 |
+
path=$(find "$dir" -maxdepth 1 -type f -iname "$find" | head -n 1)
|
874 |
+
|
875 |
+
if [ -f "$path" ]; then
|
876 |
+
if [[ "$MANUAL" != [Yy1]* ]]; then
|
877 |
+
mv -f "$path" "${path%.*}.org"
|
878 |
+
else
|
879 |
+
mv -f "$path" "${path%.*}.xml"
|
880 |
+
fi
|
881 |
+
fi
|
882 |
+
|
883 |
+
rm -rf "$tmp"
|
884 |
+
return 0
|
885 |
+
}
|
886 |
+
|
887 |
+
removeImage() {
|
888 |
+
|
889 |
+
local iso="$1"
|
890 |
+
|
891 |
+
[ ! -f "$iso" ] && return 0
|
892 |
+
[ -n "$CUSTOM" ] && return 0
|
893 |
+
|
894 |
+
rm -f "$iso" 2> /dev/null || warn "failed to remove $iso !"
|
895 |
+
|
896 |
+
return 0
|
897 |
+
}
|
898 |
+
|
899 |
+
buildImage() {
|
900 |
+
|
901 |
+
local dir="$1"
|
902 |
+
local failed=""
|
903 |
+
local cat="BOOT.CAT"
|
904 |
+
local log="/run/shm/iso.log"
|
905 |
+
local base size size_gb space space_gb desc
|
906 |
+
|
907 |
+
if [ -f "$BOOT" ]; then
|
908 |
+
error "File $BOOT does already exist?!" && return 1
|
909 |
+
fi
|
910 |
+
|
911 |
+
base=$(basename "$BOOT")
|
912 |
+
local out="$TMP/${base%.*}.tmp"
|
913 |
+
rm -f "$out"
|
914 |
+
|
915 |
+
desc=$(printVersion "$DETECTED" "ISO")
|
916 |
+
|
917 |
+
local msg="Building $desc image..."
|
918 |
+
info "$msg" && html "$msg"
|
919 |
+
|
920 |
+
[ -z "$LABEL" ] && LABEL="Windows"
|
921 |
+
|
922 |
+
if [ ! -f "$dir/$ETFS" ]; then
|
923 |
+
error "Failed to locate file \"$ETFS\" in ISO image!" && return 1
|
924 |
+
fi
|
925 |
+
|
926 |
+
size=$(du -h -b --max-depth=0 "$dir" | cut -f1)
|
927 |
+
size_gb=$(( (size + 1073741823)/1073741824 ))
|
928 |
+
space=$(df --output=avail -B 1 "$TMP" | tail -n 1)
|
929 |
+
space_gb=$(( (space + 1073741823)/1073741824 ))
|
930 |
+
|
931 |
+
if (( size > space )); then
|
932 |
+
error "Not enough free space in $STORAGE, have $space_gb GB available but need at least $size_gb GB." && return 1
|
933 |
+
fi
|
934 |
+
|
935 |
+
if [[ "${BOOT_MODE,,}" != "windows_legacy" ]]; then
|
936 |
+
|
937 |
+
genisoimage -o "$out" -b "$ETFS" -no-emul-boot -c "$cat" -iso-level 4 -J -l -D -N -joliet-long -relaxed-filenames -V "${LABEL::30}" \
|
938 |
+
-udf -boot-info-table -eltorito-alt-boot -eltorito-boot "$EFISYS" -no-emul-boot -allow-limited-size -quiet "$dir" 2> "$log" || failed="y"
|
939 |
+
|
940 |
+
else
|
941 |
+
|
942 |
+
case "${DETECTED,,}" in
|
943 |
+
"win2k"* | "winxp"* | "win2003"* )
|
944 |
+
genisoimage -o "$out" -b "$ETFS" -no-emul-boot -boot-load-seg 1984 -boot-load-size 4 -c "$cat" -iso-level 2 -J -l -D -N -joliet-long \
|
945 |
+
-relaxed-filenames -V "${LABEL::30}" -quiet "$dir" 2> "$log" || failed="y" ;;
|
946 |
+
"win9"* )
|
947 |
+
genisoimage -o "$out" -b "$ETFS" -J -r -V "${LABEL::30}" -quiet "$dir" 2> "$log" || failed="y" ;;
|
948 |
+
* )
|
949 |
+
genisoimage -o "$out" -b "$ETFS" -no-emul-boot -c "$cat" -iso-level 2 -J -l -D -N -joliet-long -relaxed-filenames -V "${LABEL::30}" \
|
950 |
+
-udf -allow-limited-size -quiet "$dir" 2> "$log" || failed="y" ;;
|
951 |
+
esac
|
952 |
+
|
953 |
+
fi
|
954 |
+
|
955 |
+
if [ -n "$failed" ]; then
|
956 |
+
[ -s "$log" ] && echo "$(<"$log")"
|
957 |
+
error "Failed to build image!" && return 1
|
958 |
+
fi
|
959 |
+
|
960 |
+
local error=""
|
961 |
+
local hide="Warning: creating filesystem that does not conform to ISO-9660."
|
962 |
+
|
963 |
+
[ -s "$log" ] && error="$(<"$log")"
|
964 |
+
[[ "$error" != "$hide" ]] && echo "$error"
|
965 |
+
|
966 |
+
mv -f "$out" "$BOOT" || return 1
|
967 |
+
return 0
|
968 |
+
}
|
969 |
+
|
970 |
+
bootWindows() {
|
971 |
+
|
972 |
+
rm -rf "$TMP"
|
973 |
+
|
974 |
+
if [ -f "$STORAGE/windows.args" ]; then
|
975 |
+
ARGS=$(<"$STORAGE/windows.args")
|
976 |
+
ARGUMENTS="$ARGS ${ARGUMENTS:-}"
|
977 |
+
fi
|
978 |
+
|
979 |
+
if [ -s "$STORAGE/windows.type" ] && [ -f "$STORAGE/windows.type" ]; then
|
980 |
+
[ -z "${DISK_TYPE:-}" ] && DISK_TYPE=$(<"$STORAGE/windows.type")
|
981 |
+
fi
|
982 |
+
|
983 |
+
if [ -s "$STORAGE/windows.mode" ] && [ -f "$STORAGE/windows.mode" ]; then
|
984 |
+
BOOT_MODE=$(<"$STORAGE/windows.mode")
|
985 |
+
if [ -s "$STORAGE/windows.old" ] && [ -f "$STORAGE/windows.old" ]; then
|
986 |
+
[[ "${PLATFORM,,}" == "x64" ]] && MACHINE=$(<"$STORAGE/windows.old")
|
987 |
+
fi
|
988 |
+
return 0
|
989 |
+
fi
|
990 |
+
|
991 |
+
# Migrations
|
992 |
+
|
993 |
+
[[ "${PLATFORM,,}" != "x64" ]] && return 0
|
994 |
+
|
995 |
+
if [ -f "$STORAGE/windows.old" ]; then
|
996 |
+
MACHINE=$(<"$STORAGE/windows.old")
|
997 |
+
[ -z "$MACHINE" ] && MACHINE="q35"
|
998 |
+
BOOT_MODE="windows_legacy"
|
999 |
+
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
1000 |
+
return 0
|
1001 |
+
fi
|
1002 |
+
|
1003 |
+
local creation="1.10"
|
1004 |
+
local minimal="2.14"
|
1005 |
+
|
1006 |
+
if [ -f "$STORAGE/windows.ver" ]; then
|
1007 |
+
creation=$(<"$STORAGE/windows.ver")
|
1008 |
+
[[ "${creation}" != *"."* ]] && creation="$minimal"
|
1009 |
+
fi
|
1010 |
+
|
1011 |
+
# Force secure boot on installs created prior to v2.14
|
1012 |
+
if (( $(echo "$creation < $minimal" | bc -l) )); then
|
1013 |
+
if [[ "${BOOT_MODE,,}" == "windows" ]]; then
|
1014 |
+
BOOT_MODE="windows_secure"
|
1015 |
+
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
|
1016 |
+
if [ -f "$STORAGE/windows.rom" ] && [ ! -f "$STORAGE/$BOOT_MODE.rom" ]; then
|
1017 |
+
mv -f "$STORAGE/windows.rom" "$STORAGE/$BOOT_MODE.rom"
|
1018 |
+
fi
|
1019 |
+
if [ -f "$STORAGE/windows.vars" ] && [ ! -f "$STORAGE/$BOOT_MODE.vars" ]; then
|
1020 |
+
mv -f "$STORAGE/windows.vars" "$STORAGE/$BOOT_MODE.vars"
|
1021 |
+
fi
|
1022 |
+
fi
|
1023 |
+
fi
|
1024 |
+
|
1025 |
+
return 0
|
1026 |
+
}
|
1027 |
+
|
1028 |
+
######################################
|
1029 |
+
|
1030 |
+
! parseVersion && exit 58
|
1031 |
+
! parseLanguage && exit 56
|
1032 |
+
! detectCustom && exit 59
|
1033 |
+
|
1034 |
+
if ! startInstall; then
|
1035 |
+
bootWindows && return 0
|
1036 |
+
exit 68
|
1037 |
+
fi
|
1038 |
+
|
1039 |
+
if [ ! -s "$ISO" ] || [ ! -f "$ISO" ]; then
|
1040 |
+
if ! downloadImage "$ISO" "$VERSION" "$LANGUAGE"; then
|
1041 |
+
rm -f "$ISO" 2> /dev/null || true
|
1042 |
+
exit 61
|
1043 |
+
fi
|
1044 |
+
fi
|
1045 |
+
|
1046 |
+
if ! extractImage "$ISO" "$DIR" "$VERSION"; then
|
1047 |
+
rm -f "$ISO" 2> /dev/null || true
|
1048 |
+
exit 62
|
1049 |
+
fi
|
1050 |
+
|
1051 |
+
if ! detectImage "$DIR" "$VERSION"; then
|
1052 |
+
abortInstall "$DIR" "$ISO" && return 0
|
1053 |
+
exit 60
|
1054 |
+
fi
|
1055 |
+
|
1056 |
+
if ! prepareImage "$ISO" "$DIR"; then
|
1057 |
+
abortInstall "$DIR" "$ISO" && return 0
|
1058 |
+
exit 66
|
1059 |
+
fi
|
1060 |
+
|
1061 |
+
if ! updateImage "$DIR" "$XML" "$LANGUAGE"; then
|
1062 |
+
abortInstall "$DIR" "$ISO" && return 0
|
1063 |
+
exit 63
|
1064 |
+
fi
|
1065 |
+
|
1066 |
+
if ! removeImage "$ISO"; then
|
1067 |
+
exit 64
|
1068 |
+
fi
|
1069 |
+
|
1070 |
+
if ! buildImage "$DIR"; then
|
1071 |
+
exit 65
|
1072 |
+
fi
|
1073 |
+
|
1074 |
+
if ! finishInstall "$BOOT" "N"; then
|
1075 |
+
exit 69
|
1076 |
+
fi
|
1077 |
+
|
1078 |
+
html "Successfully prepared image for installation..."
|
1079 |
+
return 0
|
src/mido.sh
ADDED
@@ -0,0 +1,718 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
set -Eeuo pipefail
|
3 |
+
|
4 |
+
handle_curl_error() {
|
5 |
+
|
6 |
+
local error_code="$1"
|
7 |
+
|
8 |
+
case "$error_code" in
|
9 |
+
1) error "Unsupported protocol!" ;;
|
10 |
+
2) error "Failed to initialize curl!" ;;
|
11 |
+
3) error "The URL format is malformed!" ;;
|
12 |
+
5) error "Failed to resolve address of proxy host!" ;;
|
13 |
+
6) error "Failed to resolve Microsoft servers! Is there an Internet connection?" ;;
|
14 |
+
7) error "Failed to contact Microsoft servers! Is there an Internet connection or is the server down?" ;;
|
15 |
+
8) error "Microsoft servers returned a malformed HTTP response!" ;;
|
16 |
+
16) error "A problem was detected in the HTTP2 framing layer!" ;;
|
17 |
+
22) error "Microsoft servers returned a failing HTTP status code!" ;;
|
18 |
+
23) error "Failed at writing Windows media to disk! Out of disk space or permission error?" ;;
|
19 |
+
26) error "Failed to read Windows media from disk!" ;;
|
20 |
+
27) error "Ran out of memory during download!" ;;
|
21 |
+
28) error "Connection timed out to Microsoft server!" ;;
|
22 |
+
35) error "SSL connection error from Microsoft server!" ;;
|
23 |
+
36) error "Failed to continue earlier download!" ;;
|
24 |
+
52) error "Received no data from the Microsoft server!" ;;
|
25 |
+
63) error "Microsoft servers returned an unexpectedly large response!" ;;
|
26 |
+
# POSIX defines exit statuses 1-125 as usable by us
|
27 |
+
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02
|
28 |
+
$((error_code <= 125)))
|
29 |
+
# Must be some other server or network error (possibly with this specific request/file)
|
30 |
+
# This is when accounting for all possible errors in the curl manual assuming a correctly formed curl command and an HTTP(S) request, using only the curl features we're using, and a sane build
|
31 |
+
error "Miscellaneous server or network error, reason: $error_code"
|
32 |
+
;;
|
33 |
+
126 | 127 ) error "Curl command not found!" ;;
|
34 |
+
# Exit statuses are undefined by POSIX beyond this point
|
35 |
+
*)
|
36 |
+
case "$(kill -l "$error_code")" in
|
37 |
+
# Signals defined to exist by POSIX:
|
38 |
+
# https://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html
|
39 |
+
INT) error "Curl was interrupted!" ;;
|
40 |
+
# There could be other signals but these are most common
|
41 |
+
SEGV | ABRT ) error "Curl crashed! Please report any core dumps to curl developers." ;;
|
42 |
+
*) error "Curl terminated due to fatal signal $error_code !" ;;
|
43 |
+
esac
|
44 |
+
esac
|
45 |
+
|
46 |
+
return 1
|
47 |
+
}
|
48 |
+
|
49 |
+
get_agent() {
|
50 |
+
|
51 |
+
local user_agent
|
52 |
+
|
53 |
+
# Determine approximate latest Firefox release
|
54 |
+
browser_version="$((124 + ($(date +%s) - 1710892800) / 2419200))"
|
55 |
+
echo "Mozilla/5.0 (X11; Linux x86_64; rv:${browser_version}.0) Gecko/20100101 Firefox/${browser_version}.0"
|
56 |
+
|
57 |
+
return 0
|
58 |
+
}
|
59 |
+
|
60 |
+
download_windows() {
|
61 |
+
|
62 |
+
local id="$1"
|
63 |
+
local lang="$2"
|
64 |
+
local desc="$3"
|
65 |
+
local sku_id=""
|
66 |
+
local sku_url=""
|
67 |
+
local iso_url=""
|
68 |
+
local iso_json=""
|
69 |
+
local language=""
|
70 |
+
local session_id=""
|
71 |
+
local user_agent=""
|
72 |
+
local download_type=""
|
73 |
+
local windows_version=""
|
74 |
+
local iso_download_link=""
|
75 |
+
local download_page_html=""
|
76 |
+
local product_edition_id=""
|
77 |
+
local language_skuid_json=""
|
78 |
+
local profile="606624d44113"
|
79 |
+
|
80 |
+
user_agent=$(get_agent)
|
81 |
+
language=$(getLanguage "$lang" "name")
|
82 |
+
|
83 |
+
case "${id,,}" in
|
84 |
+
"win11x64" ) windows_version="11" && download_type="1" ;;
|
85 |
+
"win10x64" ) windows_version="10" && download_type="1" ;;
|
86 |
+
"win11arm64" ) windows_version="11arm64" && download_type="2" ;;
|
87 |
+
* ) error "Invalid VERSION specified, value \"$id\" is not recognized!" && return 1 ;;
|
88 |
+
esac
|
89 |
+
|
90 |
+
local url="https://www.microsoft.com/en-us/software-download/windows$windows_version"
|
91 |
+
[[ "${id,,}" == "win10"* ]] && url+="ISO"
|
92 |
+
|
93 |
+
# uuidgen: For MacOS (installed by default) and other systems (e.g. with no /proc) that don't have a kernel interface for generating random UUIDs
|
94 |
+
session_id=$(cat /proc/sys/kernel/random/uuid 2> /dev/null || uuidgen --random)
|
95 |
+
|
96 |
+
# Get product edition ID for latest release of given Windows version
|
97 |
+
# Product edition ID: This specifies both the Windows release (e.g. 22H2) and edition ("multi-edition" is default, either Home/Pro/Edu/etc., we select "Pro" in the answer files) in one number
|
98 |
+
# This is the *only* request we make that Fido doesn't. Fido manually maintains a list of all the Windows release/edition product edition IDs in its script (see: $WindowsVersions array). This is helpful for downloading older releases (e.g. Windows 10 1909, 21H1, etc.) but we always want to get the newest release which is why we get this value dynamically
|
99 |
+
# Also, keeping a "$WindowsVersions" array like Fido does would be way too much of a maintenance burden
|
100 |
+
# Remove "Accept" header that curl sends by default
|
101 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "Parsing download page: ${url}"
|
102 |
+
download_page_html=$(curl --silent --max-time 30 --user-agent "$user_agent" --header "Accept:" --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url") || {
|
103 |
+
handle_curl_error $?
|
104 |
+
return $?
|
105 |
+
}
|
106 |
+
|
107 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo -n "Getting Product edition ID: "
|
108 |
+
product_edition_id=$(echo "$download_page_html" | grep -Eo '<option value="[0-9]+">Windows' | cut -d '"' -f 2 | head -n 1 | tr -cd '0-9' | head -c 16)
|
109 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "$product_edition_id"
|
110 |
+
|
111 |
+
if [ -z "$product_edition_id" ]; then
|
112 |
+
error "Product edition ID not found!"
|
113 |
+
return 1
|
114 |
+
fi
|
115 |
+
|
116 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "Permit Session ID: $session_id"
|
117 |
+
# Permit Session ID
|
118 |
+
curl --silent --max-time 30 --output /dev/null --user-agent "$user_agent" --header "Accept:" --max-filesize 100K --fail --proto =https --tlsv1.2 --http1.1 -- "https://vlscppe.microsoft.com/tags?org_id=y6jn8c31&session_id=$session_id" || {
|
119 |
+
# This should only happen if there's been some change to how this API works
|
120 |
+
handle_curl_error $?
|
121 |
+
return $?
|
122 |
+
}
|
123 |
+
|
124 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo -n "Getting language SKU ID: "
|
125 |
+
sku_url="https://www.microsoft.com/software-download-connector/api/getskuinformationbyproductedition?profile=$profile&ProductEditionId=$product_edition_id&SKU=undefined&friendlyFileName=undefined&Locale=en-US&sessionID=$session_id"
|
126 |
+
language_skuid_json=$(curl --silent --max-time 30 --request GET --user-agent "$user_agent" --referer "$url" --header "Accept:" --max-filesize 100K --fail --proto =https --tlsv1.2 --http1.1 -- "$sku_url") || {
|
127 |
+
handle_curl_error $?
|
128 |
+
return $?
|
129 |
+
}
|
130 |
+
|
131 |
+
{ sku_id=$(echo "$language_skuid_json" | jq --arg LANG "$language" -r '.Skus[] | select(.Language==$LANG).Id') 2>/dev/null; rc=$?; } || :
|
132 |
+
|
133 |
+
if [ -z "$sku_id" ] || [[ "${sku_id,,}" == "null" ]] || (( rc != 0 )); then
|
134 |
+
language=$(getLanguage "$lang" "desc")
|
135 |
+
error "No download in the $language language available for $desc!"
|
136 |
+
return 1
|
137 |
+
fi
|
138 |
+
|
139 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "$sku_id"
|
140 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "Getting ISO download link..."
|
141 |
+
|
142 |
+
# Get ISO download link
|
143 |
+
# If any request is going to be blocked by Microsoft it's always this last one (the previous requests always seem to succeed)
|
144 |
+
|
145 |
+
iso_url="https://www.microsoft.com/software-download-connector/api/GetProductDownloadLinksBySku?profile=$profile&ProductEditionId=undefined&SKU=$sku_id&friendlyFileName=undefined&Locale=en-US&sessionID=$session_id"
|
146 |
+
iso_json=$(curl --silent --max-time 30 --request GET --user-agent "$user_agent" --referer "$url" --header "Accept:" --max-filesize 100K --fail --proto =https --tlsv1.2 --http1.1 -- "$iso_url")
|
147 |
+
|
148 |
+
if ! [ "$iso_json" ]; then
|
149 |
+
# This should only happen if there's been some change to how this API works
|
150 |
+
error "Microsoft servers gave us an empty response to our request for an automated download."
|
151 |
+
return 1
|
152 |
+
fi
|
153 |
+
|
154 |
+
if echo "$iso_json" | grep -q "Sentinel marked this request as rejected."; then
|
155 |
+
error "Microsoft blocked the automated download request based on your IP address."
|
156 |
+
return 1
|
157 |
+
fi
|
158 |
+
|
159 |
+
if echo "$iso_json" | grep -q "We are unable to complete your request at this time."; then
|
160 |
+
error "Microsoft blocked the automated download request based on your IP address."
|
161 |
+
return 1
|
162 |
+
fi
|
163 |
+
|
164 |
+
{ iso_download_link=$(echo "$iso_json" | jq --argjson TYPE "$download_type" -r '.ProductDownloadOptions[] | select(.DownloadType==$TYPE).Uri') 2>/dev/null; rc=$?; } || :
|
165 |
+
|
166 |
+
if [ -z "$iso_download_link" ] || [[ "${iso_download_link,,}" == "null" ]] || (( rc != 0 )); then
|
167 |
+
error "Microsoft servers gave us no download link to our request for an automated download!"
|
168 |
+
info "Response: $iso_json"
|
169 |
+
return 1
|
170 |
+
fi
|
171 |
+
|
172 |
+
MIDO_URL="$iso_download_link"
|
173 |
+
return 0
|
174 |
+
}
|
175 |
+
|
176 |
+
download_windows_eval() {
|
177 |
+
|
178 |
+
local id="$1"
|
179 |
+
local lang="$2"
|
180 |
+
local desc="$3"
|
181 |
+
local filter=""
|
182 |
+
local culture=""
|
183 |
+
local language=""
|
184 |
+
local user_agent=""
|
185 |
+
local enterprise_type=""
|
186 |
+
local windows_version=""
|
187 |
+
|
188 |
+
case "${id,,}" in
|
189 |
+
"win11${PLATFORM,,}-enterprise-eval" )
|
190 |
+
enterprise_type="enterprise"
|
191 |
+
windows_version="windows-11-enterprise" ;;
|
192 |
+
"win11${PLATFORM,,}-enterprise-iot-eval" )
|
193 |
+
enterprise_type="iot"
|
194 |
+
windows_version="windows-11-iot-enterprise-ltsc-eval" ;;
|
195 |
+
"win11${PLATFORM,,}-enterprise-ltsc-eval" )
|
196 |
+
enterprise_type="iot"
|
197 |
+
windows_version="windows-11-iot-enterprise-ltsc-eval" ;;
|
198 |
+
"win10${PLATFORM,,}-enterprise-eval" )
|
199 |
+
enterprise_type="enterprise"
|
200 |
+
windows_version="windows-10-enterprise" ;;
|
201 |
+
"win10${PLATFORM,,}-enterprise-ltsc-eval" )
|
202 |
+
enterprise_type="ltsc"
|
203 |
+
windows_version="windows-10-enterprise" ;;
|
204 |
+
"win2025-eval" )
|
205 |
+
enterprise_type="server"
|
206 |
+
windows_version="windows-server-2025" ;;
|
207 |
+
"win2022-eval" )
|
208 |
+
enterprise_type="server"
|
209 |
+
windows_version="windows-server-2022" ;;
|
210 |
+
"win2019-eval" )
|
211 |
+
enterprise_type="server"
|
212 |
+
windows_version="windows-server-2019" ;;
|
213 |
+
"win2016-eval" )
|
214 |
+
enterprise_type="server"
|
215 |
+
windows_version="windows-server-2016" ;;
|
216 |
+
"win2012r2-eval" )
|
217 |
+
enterprise_type="server"
|
218 |
+
windows_version="windows-server-2012-r2" ;;
|
219 |
+
* )
|
220 |
+
error "Invalid VERSION specified, value \"$id\" is not recognized!" && return 1 ;;
|
221 |
+
esac
|
222 |
+
|
223 |
+
user_agent=$(get_agent)
|
224 |
+
culture=$(getLanguage "$lang" "culture")
|
225 |
+
|
226 |
+
local country="${culture#*-}"
|
227 |
+
local iso_download_page_html=""
|
228 |
+
local url="https://www.microsoft.com/en-us/evalcenter/download-$windows_version"
|
229 |
+
|
230 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "Parsing download page: ${url}"
|
231 |
+
iso_download_page_html=$(curl --silent --max-time 30 --user-agent "$user_agent" --location --max-filesize 1M --fail --proto =https --tlsv1.2 --http1.1 -- "$url") || {
|
232 |
+
handle_curl_error $?
|
233 |
+
return $?
|
234 |
+
}
|
235 |
+
|
236 |
+
if ! [ "$iso_download_page_html" ]; then
|
237 |
+
# This should only happen if there's been some change to where this download page is located
|
238 |
+
error "Windows server download page gave us an empty response"
|
239 |
+
return 1
|
240 |
+
fi
|
241 |
+
|
242 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "Getting download link.."
|
243 |
+
|
244 |
+
if [[ "$enterprise_type" == "iot" ]]; then
|
245 |
+
filter="https://go.microsoft.com/fwlink/?linkid=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${culture,,}&country=${country^^}"
|
246 |
+
else
|
247 |
+
filter="https://go.microsoft.com/fwlink/p/?LinkID=[0-9]\+&clcid=0x[0-9a-z]\+&culture=${culture,,}&country=${country^^}"
|
248 |
+
fi
|
249 |
+
|
250 |
+
iso_download_links=$(echo "$iso_download_page_html" | grep -io "$filter") || {
|
251 |
+
# This should only happen if there's been some change to the download endpoint web address
|
252 |
+
if [[ "${lang,,}" == "en" ]] || [[ "${lang,,}" == "en-"* ]]; then
|
253 |
+
error "Windows server download page gave us no download link!"
|
254 |
+
else
|
255 |
+
language=$(getLanguage "$lang" "desc")
|
256 |
+
error "No download in the $language language available for $desc!"
|
257 |
+
fi
|
258 |
+
return 1
|
259 |
+
}
|
260 |
+
|
261 |
+
case "$enterprise_type" in
|
262 |
+
"enterprise" )
|
263 |
+
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1)
|
264 |
+
;;
|
265 |
+
"iot" )
|
266 |
+
if [[ "${PLATFORM,,}" == "x64" ]]; then
|
267 |
+
iso_download_link=$(echo "$iso_download_links" | head -n 1)
|
268 |
+
fi
|
269 |
+
if [[ "${PLATFORM,,}" == "arm64" ]]; then
|
270 |
+
iso_download_link=$(echo "$iso_download_links" | head -n 2 | tail -n 1)
|
271 |
+
fi
|
272 |
+
;;
|
273 |
+
"ltsc" )
|
274 |
+
iso_download_link=$(echo "$iso_download_links" | head -n 4 | tail -n 1)
|
275 |
+
;;
|
276 |
+
"server" )
|
277 |
+
iso_download_link=$(echo "$iso_download_links" | head -n 1)
|
278 |
+
;;
|
279 |
+
* )
|
280 |
+
error "Invalid type specified, value \"$enterprise_type\" is not recognized!" && return 1 ;;
|
281 |
+
esac
|
282 |
+
|
283 |
+
[[ "$DEBUG" == [Yy1]* ]] && echo "Found download link: $iso_download_link"
|
284 |
+
|
285 |
+
# Follow redirect so proceeding log message is useful
|
286 |
+
# This is a request we make that Fido doesn't
|
287 |
+
|
288 |
+
iso_download_link=$(curl --silent --max-time 30 --user-agent "$user_agent" --location --output /dev/null --silent --write-out "%{url_effective}" --head --fail --proto =https --tlsv1.2 --http1.1 -- "$iso_download_link") || {
|
289 |
+
# This should only happen if the Microsoft servers are down
|
290 |
+
handle_curl_error $?
|
291 |
+
return $?
|
292 |
+
}
|
293 |
+
|
294 |
+
MIDO_URL="$iso_download_link"
|
295 |
+
return 0
|
296 |
+
}
|
297 |
+
|
298 |
+
getWindows() {
|
299 |
+
|
300 |
+
local version="$1"
|
301 |
+
local lang="$2"
|
302 |
+
local desc="$3"
|
303 |
+
|
304 |
+
local language edition
|
305 |
+
language=$(getLanguage "$lang" "desc")
|
306 |
+
edition=$(printEdition "$version" "$desc")
|
307 |
+
|
308 |
+
local msg="Requesting $desc from the Microsoft servers..."
|
309 |
+
info "$msg" && html "$msg"
|
310 |
+
|
311 |
+
case "${version,,}" in
|
312 |
+
"win2008r2" | "win81${PLATFORM,,}-enterprise"* | "win11${PLATFORM,,}-enterprise-iot"* | "win11${PLATFORM,,}-enterprise-ltsc"* )
|
313 |
+
if [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-"* ]]; then
|
314 |
+
error "No download in the $language language available for $edition!"
|
315 |
+
MIDO_URL="" && return 1
|
316 |
+
fi ;;
|
317 |
+
esac
|
318 |
+
|
319 |
+
case "${version,,}" in
|
320 |
+
"win11${PLATFORM,,}" ) ;;
|
321 |
+
"win11${PLATFORM,,}-enterprise-iot"* ) ;;
|
322 |
+
"win11${PLATFORM,,}-enterprise-ltsc"* ) ;;
|
323 |
+
* )
|
324 |
+
if [[ "${PLATFORM,,}" != "x64" ]]; then
|
325 |
+
error "No download for the ${PLATFORM^^} platform available for $edition!"
|
326 |
+
MIDO_URL="" && return 1
|
327 |
+
fi ;;
|
328 |
+
esac
|
329 |
+
|
330 |
+
case "${version,,}" in
|
331 |
+
"win10${PLATFORM,,}" | "win11${PLATFORM,,}" )
|
332 |
+
download_windows "$version" "$lang" "$edition" && return 0
|
333 |
+
;;
|
334 |
+
"win11${PLATFORM,,}-enterprise"* | "win10${PLATFORM,,}-enterprise"* )
|
335 |
+
download_windows_eval "$version" "$lang" "$edition" && return 0
|
336 |
+
;;
|
337 |
+
"win2025-eval" | "win2022-eval" | "win2019-eval" | "win2016-eval" | "win2012r2-eval" )
|
338 |
+
download_windows_eval "$version" "$lang" "$edition" && return 0
|
339 |
+
;;
|
340 |
+
"win81${PLATFORM,,}-enterprise"* | "win2008r2" )
|
341 |
+
;;
|
342 |
+
* ) error "Invalid VERSION specified, value \"$version\" is not recognized!" ;;
|
343 |
+
esac
|
344 |
+
|
345 |
+
if [[ "${PLATFORM,,}" != "x64" ]]; then
|
346 |
+
MIDO_URL=""
|
347 |
+
return 1
|
348 |
+
fi
|
349 |
+
|
350 |
+
if [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-"* ]]; then
|
351 |
+
MIDO_URL=""
|
352 |
+
return 1
|
353 |
+
fi
|
354 |
+
|
355 |
+
case "${version,,}" in
|
356 |
+
"win81${PLATFORM,,}-enterprise"* )
|
357 |
+
MIDO_URL="https://download.microsoft.com/download/B/9/9/B999286E-0A47-406D-8B3D-5B5AD7373A4A/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_ENTERPRISE_EVAL_EN-US-IR3_CENA_X64FREE_EN-US_DV9.ISO"
|
358 |
+
return 0
|
359 |
+
;;
|
360 |
+
"win11${PLATFORM,,}-enterprise-iot"* | "win11${PLATFORM,,}-enterprise-ltsc"* )
|
361 |
+
MIDO_URL="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26100.1.240331-1435.ge_release_CLIENT_IOT_LTSC_EVAL_x64FRE_en-us.iso"
|
362 |
+
return 0
|
363 |
+
;;
|
364 |
+
"win2025-eval" )
|
365 |
+
MIDO_URL="https://software-static.download.prss.microsoft.com/dbazure/888969d5-f34g-4e03-ac9d-1f9786c66749/26100.1.240331-1435.ge_release_SERVER_EVAL_x64FRE_en-us.iso"
|
366 |
+
return 0
|
367 |
+
;;
|
368 |
+
"win2022-eval" )
|
369 |
+
MIDO_URL="https://software-static.download.prss.microsoft.com/sg/download/888969d5-f34g-4e03-ac9d-1f9786c66749/SERVER_EVAL_x64FRE_en-us.iso"
|
370 |
+
return 0
|
371 |
+
;;
|
372 |
+
"win2019-eval" )
|
373 |
+
MIDO_URL="https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso"
|
374 |
+
return 0
|
375 |
+
;;
|
376 |
+
"win2016-eval" )
|
377 |
+
MIDO_URL="https://software-download.microsoft.com/download/pr/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO"
|
378 |
+
return 0
|
379 |
+
;;
|
380 |
+
"win2012r2-eval" )
|
381 |
+
MIDO_URL="https://download.microsoft.com/download/6/2/A/62A76ABB-9990-4EFC-A4FE-C7D698DAEB96/9600.17050.WINBLUE_REFRESH.140317-1640_X64FRE_SERVER_EVAL_EN-US-IR3_SSS_X64FREE_EN-US_DV9.ISO"
|
382 |
+
return 0
|
383 |
+
;;
|
384 |
+
"win2008r2" )
|
385 |
+
MIDO_URL="https://download.microsoft.com/download/4/1/D/41DEA7E0-B30D-4012-A1E3-F24DC03BA1BB/7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso"
|
386 |
+
return 0
|
387 |
+
;;
|
388 |
+
esac
|
389 |
+
|
390 |
+
MIDO_URL=""
|
391 |
+
return 1
|
392 |
+
}
|
393 |
+
|
394 |
+
getCatalog() {
|
395 |
+
|
396 |
+
local id="$1"
|
397 |
+
local ret="$2"
|
398 |
+
local url=""
|
399 |
+
local name=""
|
400 |
+
local edition=""
|
401 |
+
|
402 |
+
case "${id,,}" in
|
403 |
+
"win11${PLATFORM,,}" )
|
404 |
+
edition="Professional"
|
405 |
+
name="Windows 11 Pro"
|
406 |
+
url="https://go.microsoft.com/fwlink?linkid=2156292" ;;
|
407 |
+
"win10${PLATFORM,,}" )
|
408 |
+
edition="Professional"
|
409 |
+
name="Windows 10 Pro"
|
410 |
+
url="https://go.microsoft.com/fwlink/?LinkId=841361" ;;
|
411 |
+
"win11${PLATFORM,,}-enterprise" | "win11${PLATFORM,,}-enterprise-eval")
|
412 |
+
edition="Enterprise"
|
413 |
+
name="Windows 11 Enterprise"
|
414 |
+
url="https://go.microsoft.com/fwlink?linkid=2156292" ;;
|
415 |
+
"win10${PLATFORM,,}-enterprise" | "win10${PLATFORM,,}-enterprise-eval" )
|
416 |
+
edition="Enterprise"
|
417 |
+
name="Windows 10 Enterprise"
|
418 |
+
url="https://go.microsoft.com/fwlink/?LinkId=841361" ;;
|
419 |
+
esac
|
420 |
+
|
421 |
+
case "${ret,,}" in
|
422 |
+
"url" ) echo "$url" ;;
|
423 |
+
"name" ) echo "$name" ;;
|
424 |
+
"edition" ) echo "$edition" ;;
|
425 |
+
*) echo "";;
|
426 |
+
esac
|
427 |
+
|
428 |
+
return 0
|
429 |
+
}
|
430 |
+
|
431 |
+
getESD() {
|
432 |
+
|
433 |
+
local dir="$1"
|
434 |
+
local version="$2"
|
435 |
+
local lang="$3"
|
436 |
+
local desc="$4"
|
437 |
+
local culture
|
438 |
+
local language
|
439 |
+
local editionName
|
440 |
+
local winCatalog size
|
441 |
+
|
442 |
+
culture=$(getLanguage "$lang" "culture")
|
443 |
+
winCatalog=$(getCatalog "$version" "url")
|
444 |
+
editionName=$(getCatalog "$version" "edition")
|
445 |
+
|
446 |
+
if [ -z "$winCatalog" ] || [ -z "$editionName" ]; then
|
447 |
+
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
448 |
+
fi
|
449 |
+
|
450 |
+
local msg="Downloading product information from Microsoft server..."
|
451 |
+
info "$msg" && html "$msg"
|
452 |
+
|
453 |
+
rm -rf "$dir"
|
454 |
+
mkdir -p "$dir"
|
455 |
+
|
456 |
+
local wFile="catalog.cab"
|
457 |
+
local xFile="products.xml"
|
458 |
+
local eFile="esd_edition.xml"
|
459 |
+
local fFile="products_filter.xml"
|
460 |
+
|
461 |
+
{ wget "$winCatalog" -O "$dir/$wFile" -q --timeout=30 --no-http-keep-alive; rc=$?; } || :
|
462 |
+
|
463 |
+
msg="Failed to download $winCatalog"
|
464 |
+
(( rc == 3 )) && error "$msg , cannot write file (disk full?)" && return 1
|
465 |
+
(( rc == 4 )) && error "$msg , network failure!" && return 1
|
466 |
+
(( rc == 8 )) && error "$msg , server issued an error response!" && return 1
|
467 |
+
(( rc != 0 )) && error "$msg , reason: $rc" && return 1
|
468 |
+
|
469 |
+
cd "$dir"
|
470 |
+
|
471 |
+
if ! cabextract "$wFile" > /dev/null; then
|
472 |
+
cd /run
|
473 |
+
error "Failed to extract $wFile!" && return 1
|
474 |
+
fi
|
475 |
+
|
476 |
+
cd /run
|
477 |
+
|
478 |
+
if [ ! -s "$dir/$xFile" ]; then
|
479 |
+
error "Failed to find $xFile in $wFile!" && return 1
|
480 |
+
fi
|
481 |
+
|
482 |
+
local edQuery='//File[Architecture="'${PLATFORM}'"][Edition="'${editionName}'"]'
|
483 |
+
|
484 |
+
echo -e '<Catalog>' > "$dir/$fFile"
|
485 |
+
xmllint --nonet --xpath "${edQuery}" "$dir/$xFile" >> "$dir/$fFile" 2>/dev/null
|
486 |
+
echo -e '</Catalog>'>> "$dir/$fFile"
|
487 |
+
|
488 |
+
xmllint --nonet --xpath "//File[LanguageCode=\"${culture,,}\"]" "$dir/$fFile" >"$dir/$eFile"
|
489 |
+
|
490 |
+
size=$(stat -c%s "$dir/$eFile")
|
491 |
+
if ((size<20)); then
|
492 |
+
desc=$(printEdition "$version" "$desc")
|
493 |
+
language=$(getLanguage "$lang" "desc")
|
494 |
+
error "No download in the $language language available for $desc!" && return 1
|
495 |
+
fi
|
496 |
+
|
497 |
+
local tag="FilePath"
|
498 |
+
ESD=$(xmllint --nonet --xpath "//$tag" "$dir/$eFile" | sed -E -e "s/<[\/]?$tag>//g")
|
499 |
+
|
500 |
+
if [ -z "$ESD" ]; then
|
501 |
+
error "Failed to find ESD URL in $eFile!" && return 1
|
502 |
+
fi
|
503 |
+
|
504 |
+
tag="Sha1"
|
505 |
+
ESD_SUM=$(xmllint --nonet --xpath "//$tag" "$dir/$eFile" | sed -E -e "s/<[\/]?$tag>//g")
|
506 |
+
tag="Size"
|
507 |
+
ESD_SIZE=$(xmllint --nonet --xpath "//$tag" "$dir/$eFile" | sed -E -e "s/<[\/]?$tag>//g")
|
508 |
+
|
509 |
+
rm -rf "$dir"
|
510 |
+
return 0
|
511 |
+
}
|
512 |
+
|
513 |
+
verifyFile() {
|
514 |
+
|
515 |
+
local iso="$1"
|
516 |
+
local size="$2"
|
517 |
+
local total="$3"
|
518 |
+
local check="$4"
|
519 |
+
|
520 |
+
if [ -n "$size" ] && [[ "$total" != "$size" ]] && [[ "$size" != "0" ]]; then
|
521 |
+
warn "The downloaded file has an unexpected size: $total bytes, while expected value was: $size bytes. Please report this at $SUPPORT/issues"
|
522 |
+
fi
|
523 |
+
|
524 |
+
local hash=""
|
525 |
+
local algo="SHA256"
|
526 |
+
|
527 |
+
[ -z "$check" ] && return 0
|
528 |
+
[[ "$VERIFY" != [Yy1]* ]] && return 0
|
529 |
+
[[ "${#check}" == "40" ]] && algo="SHA1"
|
530 |
+
|
531 |
+
local msg="Verifying downloaded ISO..."
|
532 |
+
info "$msg" && html "$msg"
|
533 |
+
|
534 |
+
if [[ "${algo,,}" != "sha256" ]]; then
|
535 |
+
hash=$(sha1sum "$iso" | cut -f1 -d' ')
|
536 |
+
else
|
537 |
+
hash=$(sha256sum "$iso" | cut -f1 -d' ')
|
538 |
+
fi
|
539 |
+
|
540 |
+
if [[ "$hash" == "$check" ]]; then
|
541 |
+
info "Succesfully verified ISO!" && return 0
|
542 |
+
fi
|
543 |
+
|
544 |
+
error "The downloaded file has an invalid $algo checksum: $hash , while expected value was: $check. Please report this at $SUPPORT/issues"
|
545 |
+
return 1
|
546 |
+
}
|
547 |
+
|
548 |
+
downloadFile() {
|
549 |
+
|
550 |
+
local iso="$1"
|
551 |
+
local url="$2"
|
552 |
+
local sum="$3"
|
553 |
+
local size="$4"
|
554 |
+
local lang="$5"
|
555 |
+
local desc="$6"
|
556 |
+
local rc total progress domain dots space folder
|
557 |
+
|
558 |
+
rm -f "$iso"
|
559 |
+
|
560 |
+
if [ -n "$size" ] && [[ "$size" != "0" ]]; then
|
561 |
+
folder=$(dirname -- "$iso")
|
562 |
+
space=$(df --output=avail -B 1 "$folder" | tail -n 1)
|
563 |
+
(( size > space )) && error "Not enough free space left to download file!" && return 1
|
564 |
+
fi
|
565 |
+
|
566 |
+
# Check if running with interactive TTY or redirected to docker log
|
567 |
+
if [ -t 1 ]; then
|
568 |
+
progress="--progress=bar:noscroll"
|
569 |
+
else
|
570 |
+
progress="--progress=dot:giga"
|
571 |
+
fi
|
572 |
+
|
573 |
+
local msg="Downloading $desc"
|
574 |
+
html "$msg..."
|
575 |
+
|
576 |
+
domain=$(echo "$url" | awk -F/ '{print $3}')
|
577 |
+
dots=$(echo "$domain" | tr -cd '.' | wc -c)
|
578 |
+
(( dots > 1 )) && domain=$(expr "$domain" : '.*\.\(.*\..*\)')
|
579 |
+
|
580 |
+
if [ -n "$domain" ] && [[ "${domain,,}" != *"microsoft.com" ]]; then
|
581 |
+
msg="Downloading $desc from $domain"
|
582 |
+
fi
|
583 |
+
|
584 |
+
info "$msg..."
|
585 |
+
/run/progress.sh "$iso" "$size" "$msg ([P])..." &
|
586 |
+
|
587 |
+
{ wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --show-progress "$progress"; rc=$?; } || :
|
588 |
+
|
589 |
+
fKill "progress.sh"
|
590 |
+
|
591 |
+
if (( rc == 0 )) && [ -f "$iso" ]; then
|
592 |
+
total=$(stat -c%s "$iso")
|
593 |
+
if [ "$total" -lt 100000000 ]; then
|
594 |
+
error "Invalid download link: $url (is only $total bytes?). Please report this at $SUPPORT/issues." && return 1
|
595 |
+
fi
|
596 |
+
verifyFile "$iso" "$size" "$total" "$sum" || return 1
|
597 |
+
html "Download finished successfully..." && return 0
|
598 |
+
fi
|
599 |
+
|
600 |
+
msg="Failed to download $url"
|
601 |
+
(( rc == 3 )) && error "$msg , cannot write file (disk full?)" && return 1
|
602 |
+
(( rc == 4 )) && error "$msg , network failure!" && return 1
|
603 |
+
(( rc == 8 )) && error "$msg , server issued an error response!" && return 1
|
604 |
+
|
605 |
+
error "$msg , reason: $rc"
|
606 |
+
return 1
|
607 |
+
}
|
608 |
+
|
609 |
+
downloadImage() {
|
610 |
+
|
611 |
+
local iso="$1"
|
612 |
+
local version="$2"
|
613 |
+
local lang="$3"
|
614 |
+
local delay=5
|
615 |
+
local tried="n"
|
616 |
+
local success="n"
|
617 |
+
local url sum size base desc language
|
618 |
+
local msg="Will retry after $delay seconds..."
|
619 |
+
|
620 |
+
if [[ "${version,,}" == "http"* ]]; then
|
621 |
+
base=$(basename "$iso")
|
622 |
+
desc=$(fromFile "$base")
|
623 |
+
downloadFile "$iso" "$version" "" "" "" "$desc" && return 0
|
624 |
+
info "$msg" && html "$msg" && sleep "$delay"
|
625 |
+
downloadFile "$iso" "$version" "" "" "" "$desc" && return 0
|
626 |
+
rm -f "$iso"
|
627 |
+
return 1
|
628 |
+
fi
|
629 |
+
|
630 |
+
if ! validVersion "$version" "en"; then
|
631 |
+
error "Invalid VERSION specified, value \"$version\" is not recognized!" && return 1
|
632 |
+
fi
|
633 |
+
|
634 |
+
desc=$(printVersion "$version" "")
|
635 |
+
|
636 |
+
if [[ "${lang,,}" != "en" ]] && [[ "${lang,,}" != "en-"* ]]; then
|
637 |
+
language=$(getLanguage "$lang" "desc")
|
638 |
+
if ! validVersion "$version" "$lang"; then
|
639 |
+
desc=$(printEdition "$version" "$desc")
|
640 |
+
error "The $language language version of $desc is not available, please switch to English." && return 1
|
641 |
+
fi
|
642 |
+
desc+=" in $language"
|
643 |
+
fi
|
644 |
+
|
645 |
+
if isMido "$version" "$lang"; then
|
646 |
+
|
647 |
+
tried="y"
|
648 |
+
success="n"
|
649 |
+
|
650 |
+
if getWindows "$version" "$lang" "$desc"; then
|
651 |
+
success="y"
|
652 |
+
else
|
653 |
+
info "$msg" && html "$msg" && sleep "$delay"
|
654 |
+
getWindows "$version" "$lang" "$desc" && success="y"
|
655 |
+
fi
|
656 |
+
|
657 |
+
if [[ "$success" == "y" ]]; then
|
658 |
+
size=$(getMido "$version" "$lang" "size" )
|
659 |
+
sum=$(getMido "$version" "$lang" "sum")
|
660 |
+
downloadFile "$iso" "$MIDO_URL" "$sum" "$size" "$lang" "$desc" && return 0
|
661 |
+
info "$msg" && html "$msg" && sleep "$delay"
|
662 |
+
downloadFile "$iso" "$MIDO_URL" "$sum" "$size" "$lang" "$desc" && return 0
|
663 |
+
rm -f "$iso"
|
664 |
+
fi
|
665 |
+
fi
|
666 |
+
|
667 |
+
switchEdition "$version"
|
668 |
+
|
669 |
+
if isESD "$version" "$lang"; then
|
670 |
+
|
671 |
+
if [[ "$tried" != "n" ]]; then
|
672 |
+
info "Failed to download $desc, will try a diferent method now..."
|
673 |
+
fi
|
674 |
+
|
675 |
+
tried="y"
|
676 |
+
success="n"
|
677 |
+
|
678 |
+
if getESD "$TMP/esd" "$version" "$lang" "$desc"; then
|
679 |
+
success="y"
|
680 |
+
else
|
681 |
+
info "$msg" && html "$msg" && sleep "$delay"
|
682 |
+
getESD "$TMP/esd" "$version" "$lang" "$desc" && success="y"
|
683 |
+
fi
|
684 |
+
|
685 |
+
if [[ "$success" == "y" ]]; then
|
686 |
+
ISO="${ISO%.*}.esd"
|
687 |
+
downloadFile "$ISO" "$ESD" "$ESD_SUM" "$ESD_SIZE" "$lang" "$desc" && return 0
|
688 |
+
info "$msg" && html "$msg" && sleep "$delay"
|
689 |
+
downloadFile "$ISO" "$ESD" "$ESD_SUM" "$ESD_SIZE" "$lang" "$desc" && return 0
|
690 |
+
rm -f "$ISO"
|
691 |
+
ISO="$iso"
|
692 |
+
fi
|
693 |
+
|
694 |
+
fi
|
695 |
+
|
696 |
+
for ((i=1;i<=MIRRORS;i++)); do
|
697 |
+
|
698 |
+
url=$(getLink "$i" "$version" "$lang")
|
699 |
+
|
700 |
+
if [ -n "$url" ]; then
|
701 |
+
if [[ "$tried" != "n" ]]; then
|
702 |
+
info "Failed to download $desc, will try another mirror now..."
|
703 |
+
fi
|
704 |
+
tried="y"
|
705 |
+
size=$(getSize "$i" "$version" "$lang")
|
706 |
+
sum=$(getHash "$i" "$version" "$lang")
|
707 |
+
downloadFile "$iso" "$url" "$sum" "$size" "$lang" "$desc" && return 0
|
708 |
+
info "$msg" && html "$msg" && sleep "$delay"
|
709 |
+
downloadFile "$iso" "$url" "$sum" "$size" "$lang" "$desc" && return 0
|
710 |
+
rm -f "$iso"
|
711 |
+
fi
|
712 |
+
|
713 |
+
done
|
714 |
+
|
715 |
+
return 1
|
716 |
+
}
|
717 |
+
|
718 |
+
return 0
|
src/power.sh
ADDED
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
set -Eeuo pipefail
|
3 |
+
|
4 |
+
# Configure QEMU for graceful shutdown
|
5 |
+
|
6 |
+
QEMU_TERM=""
|
7 |
+
QEMU_PORT=7100
|
8 |
+
QEMU_TIMEOUT=110
|
9 |
+
QEMU_DIR="/run/shm"
|
10 |
+
QEMU_PID="$QEMU_DIR/qemu.pid"
|
11 |
+
QEMU_PTY="$QEMU_DIR/qemu.pty"
|
12 |
+
QEMU_LOG="$QEMU_DIR/qemu.log"
|
13 |
+
QEMU_OUT="$QEMU_DIR/qemu.out"
|
14 |
+
QEMU_END="$QEMU_DIR/qemu.end"
|
15 |
+
|
16 |
+
rm -f "$QEMU_DIR/qemu.*"
|
17 |
+
touch "$QEMU_LOG"
|
18 |
+
|
19 |
+
_trap() {
|
20 |
+
func="$1" ; shift
|
21 |
+
for sig ; do
|
22 |
+
trap "$func $sig" "$sig"
|
23 |
+
done
|
24 |
+
}
|
25 |
+
|
26 |
+
boot() {
|
27 |
+
|
28 |
+
[ -f "$QEMU_END" ] && return 0
|
29 |
+
|
30 |
+
if [ -s "$QEMU_PTY" ]; then
|
31 |
+
if [ "$(stat -c%s "$QEMU_PTY")" -gt 7 ]; then
|
32 |
+
local fail=""
|
33 |
+
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
|
34 |
+
grep -Fq "No bootable device." "$QEMU_PTY" && fail="y"
|
35 |
+
grep -Fq "BOOTMGR is missing" "$QEMU_PTY" && fail="y"
|
36 |
+
fi
|
37 |
+
if [ -z "$fail" ]; then
|
38 |
+
info "Windows started succesfully, visit http://localhost:8006/ to view the screen..."
|
39 |
+
return 0
|
40 |
+
fi
|
41 |
+
fi
|
42 |
+
fi
|
43 |
+
|
44 |
+
error "Timeout while waiting for QEMU to boot the machine!"
|
45 |
+
|
46 |
+
local pid
|
47 |
+
pid=$(<"$QEMU_PID")
|
48 |
+
{ kill -15 "$pid" || true; } 2>/dev/null
|
49 |
+
|
50 |
+
return 0
|
51 |
+
}
|
52 |
+
|
53 |
+
ready() {
|
54 |
+
|
55 |
+
[ -f "$STORAGE/windows.boot" ] && return 0
|
56 |
+
[ ! -s "$QEMU_PTY" ] && return 1
|
57 |
+
|
58 |
+
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
|
59 |
+
local last
|
60 |
+
local bios="Booting from Hard"
|
61 |
+
last=$(grep "^Booting.*" "$QEMU_PTY" | tail -1)
|
62 |
+
[[ "${last,,}" != "${bios,,}"* ]] && return 1
|
63 |
+
grep -Fq "No bootable device." "$QEMU_PTY" && return 1
|
64 |
+
grep -Fq "BOOTMGR is missing" "$QEMU_PTY" && return 1
|
65 |
+
return 0
|
66 |
+
fi
|
67 |
+
|
68 |
+
local line="\"Windows Boot Manager\""
|
69 |
+
grep -Fq "$line" "$QEMU_PTY" && return 0
|
70 |
+
|
71 |
+
return 1
|
72 |
+
}
|
73 |
+
|
74 |
+
finish() {
|
75 |
+
|
76 |
+
local pid
|
77 |
+
local reason=$1
|
78 |
+
|
79 |
+
touch "$QEMU_END"
|
80 |
+
|
81 |
+
if [ -s "$QEMU_PID" ]; then
|
82 |
+
|
83 |
+
pid=$(<"$QEMU_PID")
|
84 |
+
error "Forcefully terminating Windows, reason: $reason..."
|
85 |
+
{ kill -15 "$pid" || true; } 2>/dev/null
|
86 |
+
|
87 |
+
while isAlive "$pid"; do
|
88 |
+
sleep 1
|
89 |
+
# Workaround for zombie pid
|
90 |
+
[ ! -s "$QEMU_PID" ] && break
|
91 |
+
done
|
92 |
+
fi
|
93 |
+
|
94 |
+
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$BOOT" ]; then
|
95 |
+
# Remove CD-ROM ISO after install
|
96 |
+
if ready; then
|
97 |
+
touch "$STORAGE/windows.boot"
|
98 |
+
if [[ "$REMOVE" != [Nn]* ]]; then
|
99 |
+
rm -f "$BOOT" 2>/dev/null || true
|
100 |
+
fi
|
101 |
+
fi
|
102 |
+
fi
|
103 |
+
|
104 |
+
pid="/var/run/tpm.pid"
|
105 |
+
[ -s "$pid" ] && pKill "$(<"$pid")"
|
106 |
+
|
107 |
+
pid="/var/run/wsdd.pid"
|
108 |
+
[ -s "$pid" ] && pKill "$(<"$pid")"
|
109 |
+
|
110 |
+
fKill "smbd"
|
111 |
+
|
112 |
+
closeNetwork
|
113 |
+
|
114 |
+
sleep 0.5
|
115 |
+
echo "❯ Shutdown completed!"
|
116 |
+
|
117 |
+
exit "$reason"
|
118 |
+
}
|
119 |
+
|
120 |
+
terminal() {
|
121 |
+
|
122 |
+
local dev=""
|
123 |
+
|
124 |
+
if [ -s "$QEMU_OUT" ]; then
|
125 |
+
|
126 |
+
local msg
|
127 |
+
msg=$(<"$QEMU_OUT")
|
128 |
+
|
129 |
+
if [ -n "$msg" ]; then
|
130 |
+
|
131 |
+
if [[ "${msg,,}" != "char"* || "$msg" != *"serial0)" ]]; then
|
132 |
+
echo "$msg"
|
133 |
+
fi
|
134 |
+
|
135 |
+
dev="${msg#*/dev/p}"
|
136 |
+
dev="/dev/p${dev%% *}"
|
137 |
+
|
138 |
+
fi
|
139 |
+
fi
|
140 |
+
|
141 |
+
if [ ! -c "$dev" ]; then
|
142 |
+
dev=$(echo 'info chardev' | nc -q 1 -w 1 localhost "$QEMU_PORT" | tr -d '\000')
|
143 |
+
dev="${dev#*serial0}"
|
144 |
+
dev="${dev#*pty:}"
|
145 |
+
dev="${dev%%$'\n'*}"
|
146 |
+
dev="${dev%%$'\r'*}"
|
147 |
+
fi
|
148 |
+
|
149 |
+
if [ ! -c "$dev" ]; then
|
150 |
+
error "Device '$dev' not found!"
|
151 |
+
finish 34 && return 34
|
152 |
+
fi
|
153 |
+
|
154 |
+
QEMU_TERM="$dev"
|
155 |
+
return 0
|
156 |
+
}
|
157 |
+
|
158 |
+
_graceful_shutdown() {
|
159 |
+
|
160 |
+
local code=$?
|
161 |
+
|
162 |
+
set +e
|
163 |
+
|
164 |
+
if [ -f "$QEMU_END" ]; then
|
165 |
+
info "Received $1 while already shutting down..."
|
166 |
+
return
|
167 |
+
fi
|
168 |
+
|
169 |
+
touch "$QEMU_END"
|
170 |
+
info "Received $1, sending ACPI shutdown signal..."
|
171 |
+
|
172 |
+
if [ ! -s "$QEMU_PID" ]; then
|
173 |
+
error "QEMU PID file does not exist?"
|
174 |
+
finish "$code" && return "$code"
|
175 |
+
fi
|
176 |
+
|
177 |
+
local pid=""
|
178 |
+
pid=$(<"$QEMU_PID")
|
179 |
+
|
180 |
+
if ! isAlive "$pid"; then
|
181 |
+
error "QEMU process does not exist?"
|
182 |
+
finish "$code" && return "$code"
|
183 |
+
fi
|
184 |
+
|
185 |
+
if ! ready; then
|
186 |
+
info "Cannot send ACPI signal during Windows setup, aborting..."
|
187 |
+
finish "$code" && return "$code"
|
188 |
+
fi
|
189 |
+
|
190 |
+
# Send ACPI shutdown signal
|
191 |
+
echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_PORT}" > /dev/null
|
192 |
+
|
193 |
+
local cnt=0
|
194 |
+
while [ "$cnt" -lt "$QEMU_TIMEOUT" ]; do
|
195 |
+
|
196 |
+
sleep 1
|
197 |
+
cnt=$((cnt+1))
|
198 |
+
|
199 |
+
! isAlive "$pid" && break
|
200 |
+
# Workaround for zombie pid
|
201 |
+
[ ! -s "$QEMU_PID" ] && break
|
202 |
+
|
203 |
+
info "Waiting for Windows to shutdown... ($cnt/$QEMU_TIMEOUT)"
|
204 |
+
|
205 |
+
# Send ACPI shutdown signal
|
206 |
+
echo 'system_powerdown' | nc -q 1 -w 1 localhost "${QEMU_PORT}" > /dev/null
|
207 |
+
|
208 |
+
done
|
209 |
+
|
210 |
+
if [ "$cnt" -ge "$QEMU_TIMEOUT" ]; then
|
211 |
+
error "Shutdown timeout reached, aborting..."
|
212 |
+
fi
|
213 |
+
|
214 |
+
finish "$code" && return "$code"
|
215 |
+
}
|
216 |
+
|
217 |
+
SERIAL="pty"
|
218 |
+
MONITOR="telnet:localhost:$QEMU_PORT,server,nowait,nodelay"
|
219 |
+
MONITOR+=" -daemonize -D $QEMU_LOG -pidfile $QEMU_PID"
|
220 |
+
|
221 |
+
_trap _graceful_shutdown SIGTERM SIGHUP SIGINT SIGABRT SIGQUIT
|
222 |
+
|
223 |
+
return 0
|
src/samba.sh
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
set -Eeuo pipefail
|
3 |
+
|
4 |
+
: "${SAMBA:="Y"}"
|
5 |
+
|
6 |
+
[[ "$SAMBA" == [Nn]* ]] && return 0
|
7 |
+
[[ "$NETWORK" == [Nn]* ]] && return 0
|
8 |
+
|
9 |
+
hostname="host.lan"
|
10 |
+
interface="dockerbridge"
|
11 |
+
|
12 |
+
if [[ "$DHCP" == [Yy1]* ]]; then
|
13 |
+
hostname="$IP"
|
14 |
+
interface="$VM_NET_DEV"
|
15 |
+
fi
|
16 |
+
|
17 |
+
addShare() {
|
18 |
+
local dir="$1"
|
19 |
+
local name="$2"
|
20 |
+
local comment="$3"
|
21 |
+
|
22 |
+
mkdir -p "$dir" || return 1
|
23 |
+
|
24 |
+
if [ -z "$(ls -A "$dir")" ]; then
|
25 |
+
|
26 |
+
chmod 777 "$dir"
|
27 |
+
|
28 |
+
{ echo "--------------------------------------------------------"
|
29 |
+
echo " $APP for Docker v$(</run/version)..."
|
30 |
+
echo " For support visit $SUPPORT"
|
31 |
+
echo "--------------------------------------------------------"
|
32 |
+
echo ""
|
33 |
+
echo "Using this folder you can share files with the host machine."
|
34 |
+
echo ""
|
35 |
+
echo "To change its location, include the following bind mount in your compose file:"
|
36 |
+
echo ""
|
37 |
+
echo " volumes:"
|
38 |
+
echo " - \"/home/example:/${name,,}\""
|
39 |
+
echo ""
|
40 |
+
echo "Or in your run command:"
|
41 |
+
echo ""
|
42 |
+
echo " -v \"/home/example:/${name,,}\""
|
43 |
+
echo ""
|
44 |
+
echo "Replace the example path /home/example with the desired shared folder."
|
45 |
+
echo ""
|
46 |
+
} | unix2dos > "$dir/readme.txt"
|
47 |
+
|
48 |
+
fi
|
49 |
+
|
50 |
+
{ echo ""
|
51 |
+
echo "[$name]"
|
52 |
+
echo " path = $dir"
|
53 |
+
echo " comment = $comment"
|
54 |
+
echo " writable = yes"
|
55 |
+
echo " guest ok = yes"
|
56 |
+
echo " guest only = yes"
|
57 |
+
echo " force user = root"
|
58 |
+
echo " force group = root"
|
59 |
+
} >> "/etc/samba/smb.conf"
|
60 |
+
|
61 |
+
return 0
|
62 |
+
}
|
63 |
+
|
64 |
+
{ echo "[global]"
|
65 |
+
echo " server string = Dockur"
|
66 |
+
echo " netbios name = $hostname"
|
67 |
+
echo " workgroup = WORKGROUP"
|
68 |
+
echo " interfaces = $interface"
|
69 |
+
echo " bind interfaces only = yes"
|
70 |
+
echo " security = user"
|
71 |
+
echo " guest account = nobody"
|
72 |
+
echo " map to guest = Bad User"
|
73 |
+
echo " server min protocol = NT1"
|
74 |
+
echo ""
|
75 |
+
echo " # disable printing services"
|
76 |
+
echo " load printers = no"
|
77 |
+
echo " printing = bsd"
|
78 |
+
echo " printcap name = /dev/null"
|
79 |
+
echo " disable spoolss = yes"
|
80 |
+
} > "/etc/samba/smb.conf"
|
81 |
+
|
82 |
+
share="/data"
|
83 |
+
[ ! -d "$share" ] && [ -d "$STORAGE/data" ] && share="$STORAGE/data"
|
84 |
+
[ ! -d "$share" ] && [ -d "/shared" ] && share="/shared"
|
85 |
+
[ ! -d "$share" ] && [ -d "$STORAGE/shared" ] && share="$STORAGE/shared"
|
86 |
+
|
87 |
+
addShare "$share" "Data" "Shared" || error "Failed to create shared folder!"
|
88 |
+
|
89 |
+
[ -d "/data2" ] && addShare "/data2" "Data2" "Shared"
|
90 |
+
[ -d "/data3" ] && addShare "/data3" "Data3" "Shared"
|
91 |
+
|
92 |
+
if ! smbd; then
|
93 |
+
error "Samba daemon failed to start!"
|
94 |
+
smbd -i --debug-stdout || true
|
95 |
+
fi
|
96 |
+
|
97 |
+
if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
|
98 |
+
# Enable NetBIOS on Windows 7 and lower
|
99 |
+
if ! nmbd; then
|
100 |
+
error "NetBIOS daemon failed to start!"
|
101 |
+
nmbd -i --debug-stdout || true
|
102 |
+
fi
|
103 |
+
else
|
104 |
+
# Enable Web Service Discovery on Vista and up
|
105 |
+
wsdd -i "$interface" -p -n "$hostname" &
|
106 |
+
echo "$!" > /var/run/wsdd.pid
|
107 |
+
fi
|
108 |
+
|
109 |
+
return 0
|