win11x64.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. <?xml version="1.0"?>
  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. <!-- Windows RE Tools partition -->
  20. <CreatePartition wcm:action="add">
  21. <Order>1</Order>
  22. <Type>Primary</Type>
  23. <Size>300</Size>
  24. </CreatePartition>
  25. <!-- System partition (ESP) -->
  26. <CreatePartition wcm:action="add">
  27. <Order>2</Order>
  28. <Type>EFI</Type>
  29. <Size>100</Size>
  30. </CreatePartition>
  31. <!-- Microsoft reserved partition (MSR) -->
  32. <CreatePartition wcm:action="add">
  33. <Order>3</Order>
  34. <Type>MSR</Type>
  35. <Size>128</Size>
  36. </CreatePartition>
  37. <!-- Windows partition -->
  38. <CreatePartition wcm:action="add">
  39. <Order>4</Order>
  40. <Type>Primary</Type>
  41. <Extend>true</Extend>
  42. </CreatePartition>
  43. </CreatePartitions>
  44. <ModifyPartitions>
  45. <!-- Windows RE Tools partition -->
  46. <ModifyPartition wcm:action="add">
  47. <Order>1</Order>
  48. <PartitionID>1</PartitionID>
  49. <Label>WINRE</Label>
  50. <Format>NTFS</Format>
  51. <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
  52. </ModifyPartition>
  53. <!-- System partition (ESP) -->
  54. <ModifyPartition wcm:action="add">
  55. <Order>2</Order>
  56. <PartitionID>2</PartitionID>
  57. <Label>System</Label>
  58. <Format>FAT32</Format>
  59. </ModifyPartition>
  60. <!-- MSR partition does not need to be modified -->
  61. <ModifyPartition wcm:action="add">
  62. <Order>3</Order>
  63. <PartitionID>3</PartitionID>
  64. </ModifyPartition>
  65. <!-- Windows partition -->
  66. <ModifyPartition wcm:action="add">
  67. <Order>4</Order>
  68. <PartitionID>4</PartitionID>
  69. <Label>Windows</Label>
  70. <Letter>C</Letter>
  71. <Format>NTFS</Format>
  72. </ModifyPartition>
  73. </ModifyPartitions>
  74. </Disk>
  75. </DiskConfiguration>
  76. <ImageInstall>
  77. <OSImage>
  78. <InstallTo>
  79. <DiskID>0</DiskID>
  80. <PartitionID>4</PartitionID>
  81. </InstallTo>
  82. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  83. </OSImage>
  84. </ImageInstall>
  85. <DynamicUpdate>
  86. <Enable>true</Enable>
  87. <WillShowUI>Never</WillShowUI>
  88. </DynamicUpdate>
  89. <UpgradeData>
  90. <Upgrade>false</Upgrade>
  91. <WillShowUI>Never</WillShowUI>
  92. </UpgradeData>
  93. <UserData>
  94. <AcceptEula>true</AcceptEula>
  95. <FullName>Docker</FullName>
  96. <Organization>Windows for Docker</Organization>
  97. <ProductKey>
  98. <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
  99. </ProductKey>
  100. </UserData>
  101. <EnableFirewall>false</EnableFirewall>
  102. <Diagnostics>
  103. <OptIn>false</OptIn>
  104. </Diagnostics>
  105. <RunSynchronous>
  106. <RunSynchronousCommand wcm:action="add">
  107. <Order>1</Order>
  108. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
  109. </RunSynchronousCommand>
  110. <RunSynchronousCommand wcm:action="add">
  111. <Order>2</Order>
  112. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
  113. </RunSynchronousCommand>
  114. <RunSynchronousCommand wcm:action="add">
  115. <Order>3</Order>
  116. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
  117. </RunSynchronousCommand>
  118. <RunSynchronousCommand wcm:action="add">
  119. <Order>4</Order>
  120. <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
  121. </RunSynchronousCommand>
  122. </RunSynchronous>
  123. </component>
  124. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  125. <DriverPaths>
  126. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  127. <Path>D:\viostor\w11\amd64</Path>
  128. </PathAndCredentials>
  129. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  130. <Path>D:\NetKVM\w11\amd64</Path>
  131. </PathAndCredentials>
  132. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  133. <Path>D:\Balloon\w11\amd64</Path>
  134. </PathAndCredentials>
  135. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  136. <Path>D:\pvpanic\w11\amd64</Path>
  137. </PathAndCredentials>
  138. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  139. <Path>D:\qemupciserial\w11\amd64</Path>
  140. </PathAndCredentials>
  141. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  142. <Path>D:\qxldod\w11\amd64</Path>
  143. </PathAndCredentials>
  144. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  145. <Path>D:\vioinput\w11\amd64</Path>
  146. </PathAndCredentials>
  147. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  148. <Path>D:\viorng\w11\amd64</Path>
  149. </PathAndCredentials>
  150. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  151. <Path>D:\vioscsi\w11\amd64</Path>
  152. </PathAndCredentials>
  153. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  154. <Path>D:\vioserial\w11\amd64</Path>
  155. </PathAndCredentials>
  156. </DriverPaths>
  157. </component>
  158. </settings>
  159. <settings pass="offlineServicing">
  160. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  161. <EnableLUA>false</EnableLUA>
  162. </component>
  163. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  164. <ComputerName>*</ComputerName>
  165. </component>
  166. </settings>
  167. <settings pass="generalize">
  168. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  169. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  170. </component>
  171. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  172. <SkipRearm>1</SkipRearm>
  173. </component>
  174. </settings>
  175. <settings pass="specialize">
  176. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  177. <SkipAutoActivation>true</SkipAutoActivation>
  178. </component>
  179. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  180. <ComputerName>*</ComputerName>
  181. <OEMInformation>
  182. <Manufacturer>Dockur</Manufacturer>
  183. <Model>Windows for Docker</Model>
  184. <SupportHours>24/7</SupportHours>
  185. <SupportPhone></SupportPhone>
  186. <SupportProvider>Dockur</SupportProvider>
  187. <SupportURL>https://github.com/dockur/windows/issues</SupportURL>
  188. </OEMInformation>
  189. <OEMName>Windows for Docker</OEMName>
  190. </component>
  191. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  192. <CEIPEnabled>0</CEIPEnabled>
  193. </component>
  194. <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  195. <RunSynchronous>
  196. <RunSynchronousCommand wcm:action="add">
  197. <Order>1</Order>
  198. <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
  199. </RunSynchronousCommand>
  200. <RunSynchronousCommand wcm:action="add">
  201. <Order>2</Order>
  202. <Path>netsh.exe advfirewall firewall set rule group="Remote Desktop" new enable=Yes</Path>
  203. </RunSynchronousCommand>
  204. <RunSynchronousCommand wcm:action="add">
  205. <Order>3</Order>
  206. <Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</Path>
  207. </RunSynchronousCommand>
  208. <RunSynchronousCommand wcm:action="add">
  209. <Order>4</Order>
  210. <Path>fsutil.exe behavior set disableLastAccess 1</Path>
  211. </RunSynchronousCommand>
  212. <RunSynchronousCommand wcm:action="add">
  213. <Order>5</Order>
  214. <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
  215. </RunSynchronousCommand>
  216. <RunSynchronousCommand wcm:action="add">
  217. <Order>6</Order>
  218. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
  219. </RunSynchronousCommand>
  220. <RunSynchronousCommand wcm:action="add">
  221. <Order>7</Order>
  222. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
  223. </RunSynchronousCommand>
  224. <RunSynchronousCommand wcm:action="add">
  225. <Order>8</Order>
  226. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  227. </RunSynchronousCommand>
  228. <RunSynchronousCommand wcm:action="add">
  229. <Order>9</Order>
  230. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  231. </RunSynchronousCommand>
  232. <RunSynchronousCommand wcm:action="add">
  233. <Order>10</Order>
  234. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
  235. </RunSynchronousCommand>
  236. <RunSynchronousCommand wcm:action="add">
  237. <Order>11</Order>
  238. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  239. </RunSynchronousCommand>
  240. <RunSynchronousCommand wcm:action="add">
  241. <Order>12</Order>
  242. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
  243. </RunSynchronousCommand>
  244. <RunSynchronousCommand wcm:action="add">
  245. <Order>13</Order>
  246. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
  247. </RunSynchronousCommand>
  248. <RunSynchronousCommand wcm:action="add">
  249. <Order>14</Order>
  250. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
  251. </RunSynchronousCommand>
  252. <RunSynchronousCommand wcm:action="add">
  253. <Order>15</Order>
  254. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
  255. </RunSynchronousCommand>
  256. <RunSynchronousCommand wcm:action="add">
  257. <Order>16</Order>
  258. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
  259. </RunSynchronousCommand>
  260. <RunSynchronousCommand wcm:action="add">
  261. <Order>17</Order>
  262. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
  263. </RunSynchronousCommand>
  264. <RunSynchronousCommand wcm:action="add">
  265. <Order>18</Order>
  266. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
  267. </RunSynchronousCommand>
  268. <RunSynchronousCommand wcm:action="add">
  269. <Order>19</Order>
  270. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
  271. </RunSynchronousCommand>
  272. <RunSynchronousCommand wcm:action="add">
  273. <Order>20</Order>
  274. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
  275. </RunSynchronousCommand>
  276. <RunSynchronousCommand wcm:action="add">
  277. <Order>21</Order>
  278. <Path>reg.exe unload "HKU\mount"</Path>
  279. </RunSynchronousCommand>
  280. <RunSynchronousCommand wcm:action="add">
  281. <Order>22</Order>
  282. <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f</Path>
  283. </RunSynchronousCommand>
  284. </RunSynchronous>
  285. </component>
  286. </settings>
  287. <settings pass="auditSystem"/>
  288. <settings pass="auditUser"/>
  289. <settings pass="oobeSystem">
  290. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  291. <InputLocale>0409:00000409</InputLocale>
  292. <SystemLocale>en-US</SystemLocale>
  293. <UILanguage>en-US</UILanguage>
  294. <UserLocale>en-US</UserLocale>
  295. </component>
  296. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  297. <UserAccounts>
  298. <LocalAccounts>
  299. <LocalAccount wcm:action="add">
  300. <Name>Docker</Name>
  301. <Group>Administrators</Group>
  302. <Password>
  303. <Value/>
  304. <PlainText>true</PlainText>
  305. </Password>
  306. </LocalAccount>
  307. </LocalAccounts>
  308. <AdministratorPassword>
  309. <Value>password</Value>
  310. <PlainText>true</PlainText>
  311. </AdministratorPassword>
  312. </UserAccounts>
  313. <AutoLogon>
  314. <Username>Docker</Username>
  315. <Enabled>true</Enabled>
  316. <LogonCount>1</LogonCount>
  317. <Password>
  318. <Value/>
  319. <PlainText>true</PlainText>
  320. </Password>
  321. </AutoLogon>
  322. <OOBE>
  323. <HideEULAPage>true</HideEULAPage>
  324. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  325. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  326. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  327. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  328. <NetworkLocation>Home</NetworkLocation>
  329. <ProtectYourPC>3</ProtectYourPC>
  330. <SkipUserOOBE>true</SkipUserOOBE>
  331. <SkipMachineOOBE>true</SkipMachineOOBE>
  332. <VMModeOptimizations>
  333. <SkipWinREInitialization>true</SkipWinREInitialization>
  334. </VMModeOptimizations>
  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\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
  342. <Description>Set AutoLogonCount to 0</Description>
  343. </SynchronousCommand>
  344. <SynchronousCommand wcm:action="add">
  345. <Order>2</Order>
  346. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  347. <Description>Allow RDP login with blank password</Description>
  348. </SynchronousCommand>
  349. <SynchronousCommand wcm:action="add">
  350. <Order>3</Order>
  351. <CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
  352. </SynchronousCommand>
  353. <SynchronousCommand wcm:action="add">
  354. <Order>4</Order>
  355. <CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
  356. </SynchronousCommand>
  357. <SynchronousCommand wcm:action="add">
  358. <Order>5</Order>
  359. <RequiresUserInput>false</RequiresUserInput>
  360. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  361. <Description>Password Never Expires</Description>
  362. </SynchronousCommand>
  363. <SynchronousCommand wcm:action="add">
  364. <Order>6</Order>
  365. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  366. <Description>Disable Hibernation</Description>
  367. </SynchronousCommand>
  368. <SynchronousCommand wcm:action="add">
  369. <Order>7</Order>
  370. <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
  371. <Description>Install VirtIO drivers</Description>
  372. </SynchronousCommand>
  373. </FirstLogonCommands>
  374. </component>
  375. </settings>
  376. </unattend>