win11x64.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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="offlineServicing"/>
  4. <settings pass="windowsPE">
  5. <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  6. <SetupUILanguage>
  7. <UILanguage>en-US</UILanguage>
  8. </SetupUILanguage>
  9. <InputLocale>0409:00000409</InputLocale>
  10. <SystemLocale>en-US</SystemLocale>
  11. <UILanguage>en-US</UILanguage>
  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. <!-- Windows RE Tools partition -->
  21. <CreatePartition wcm:action="add">
  22. <Order>1</Order>
  23. <Type>Primary</Type>
  24. <Size>300</Size>
  25. </CreatePartition>
  26. <!-- System partition (ESP) -->
  27. <CreatePartition wcm:action="add">
  28. <Order>2</Order>
  29. <Type>EFI</Type>
  30. <Size>100</Size>
  31. </CreatePartition>
  32. <!-- Microsoft reserved partition (MSR) -->
  33. <CreatePartition wcm:action="add">
  34. <Order>3</Order>
  35. <Type>MSR</Type>
  36. <Size>128</Size>
  37. </CreatePartition>
  38. <!-- Windows partition -->
  39. <CreatePartition wcm:action="add">
  40. <Order>4</Order>
  41. <Type>Primary</Type>
  42. <Extend>true</Extend>
  43. </CreatePartition>
  44. </CreatePartitions>
  45. <ModifyPartitions>
  46. <!-- Windows RE Tools partition -->
  47. <ModifyPartition wcm:action="add">
  48. <Order>1</Order>
  49. <PartitionID>1</PartitionID>
  50. <Label>WINRE</Label>
  51. <Format>NTFS</Format>
  52. <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
  53. </ModifyPartition>
  54. <!-- System partition (ESP) -->
  55. <ModifyPartition wcm:action="add">
  56. <Order>2</Order>
  57. <PartitionID>2</PartitionID>
  58. <Label>System</Label>
  59. <Format>FAT32</Format>
  60. </ModifyPartition>
  61. <!-- MSR partition does not need to be modified -->
  62. <ModifyPartition wcm:action="add">
  63. <Order>3</Order>
  64. <PartitionID>3</PartitionID>
  65. </ModifyPartition>
  66. <!-- Windows partition -->
  67. <ModifyPartition wcm:action="add">
  68. <Order>4</Order>
  69. <PartitionID>4</PartitionID>
  70. <Label>Windows</Label>
  71. <Letter>C</Letter>
  72. <Format>NTFS</Format>
  73. </ModifyPartition>
  74. </ModifyPartitions>
  75. </Disk>
  76. </DiskConfiguration>
  77. <ImageInstall>
  78. <OSImage>
  79. <InstallTo>
  80. <DiskID>0</DiskID>
  81. <PartitionID>4</PartitionID>
  82. </InstallTo>
  83. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  84. </OSImage>
  85. </ImageInstall>
  86. <UserData>
  87. <ProductKey>
  88. <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
  89. </ProductKey>
  90. <AcceptEula>true</AcceptEula>
  91. </UserData>
  92. <EnableFirewall>false</EnableFirewall>
  93. </component>
  94. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  95. <DriverPaths>
  96. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  97. <Path>D:\viostor\w11\amd64</Path>
  98. </PathAndCredentials>
  99. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  100. <Path>D:\NetKVM\w11\amd64</Path>
  101. </PathAndCredentials>
  102. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  103. <Path>D:\Balloon\w11\amd64</Path>
  104. </PathAndCredentials>
  105. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  106. <Path>D:\pvpanic\w11\amd64</Path>
  107. </PathAndCredentials>
  108. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  109. <Path>D:\qemupciserial\w11\amd64</Path>
  110. </PathAndCredentials>
  111. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  112. <Path>D:\qxldod\w11\amd64</Path>
  113. </PathAndCredentials>
  114. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  115. <Path>D:\vioinput\w11\amd64</Path>
  116. </PathAndCredentials>
  117. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  118. <Path>D:\viorng\w11\amd64</Path>
  119. </PathAndCredentials>
  120. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  121. <Path>D:\vioscsi\w11\amd64</Path>
  122. </PathAndCredentials>
  123. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  124. <Path>D:\vioserial\w11\amd64</Path>
  125. </PathAndCredentials>
  126. </DriverPaths>
  127. </component>
  128. </settings>
  129. <settings pass="generalize"/>
  130. <settings pass="specialize">
  131. <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  132. <RunSynchronous>
  133. <RunSynchronousCommand wcm:action="add">
  134. <Order>1</Order>
  135. <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
  136. </RunSynchronousCommand>
  137. <RunSynchronousCommand wcm:action="add">
  138. <Order>2</Order>
  139. <Path>netsh.exe advfirewall firewall set rule group="Remote Desktop" new enable=Yes</Path>
  140. </RunSynchronousCommand>
  141. <RunSynchronousCommand wcm:action="add">
  142. <Order>3</Order>
  143. <Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</Path>
  144. </RunSynchronousCommand>
  145. <RunSynchronousCommand wcm:action="add">
  146. <Order>4</Order>
  147. <Path>fsutil.exe behavior set disableLastAccess 1</Path>
  148. </RunSynchronousCommand>
  149. <RunSynchronousCommand wcm:action="add">
  150. <Order>5</Order>
  151. <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
  152. </RunSynchronousCommand>
  153. <RunSynchronousCommand wcm:action="add">
  154. <Order>6</Order>
  155. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
  156. </RunSynchronousCommand>
  157. <RunSynchronousCommand wcm:action="add">
  158. <Order>7</Order>
  159. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
  160. </RunSynchronousCommand>
  161. <RunSynchronousCommand wcm:action="add">
  162. <Order>8</Order>
  163. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  164. </RunSynchronousCommand>
  165. <RunSynchronousCommand wcm:action="add">
  166. <Order>9</Order>
  167. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  168. </RunSynchronousCommand>
  169. <RunSynchronousCommand wcm:action="add">
  170. <Order>10</Order>
  171. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
  172. </RunSynchronousCommand>
  173. <RunSynchronousCommand wcm:action="add">
  174. <Order>11</Order>
  175. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  176. </RunSynchronousCommand>
  177. <RunSynchronousCommand wcm:action="add">
  178. <Order>12</Order>
  179. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
  180. </RunSynchronousCommand>
  181. <RunSynchronousCommand wcm:action="add">
  182. <Order>13</Order>
  183. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
  184. </RunSynchronousCommand>
  185. <RunSynchronousCommand wcm:action="add">
  186. <Order>14</Order>
  187. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
  188. </RunSynchronousCommand>
  189. <RunSynchronousCommand wcm:action="add">
  190. <Order>15</Order>
  191. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
  192. </RunSynchronousCommand>
  193. <RunSynchronousCommand wcm:action="add">
  194. <Order>16</Order>
  195. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
  196. </RunSynchronousCommand>
  197. <RunSynchronousCommand wcm:action="add">
  198. <Order>17</Order>
  199. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
  200. </RunSynchronousCommand>
  201. <RunSynchronousCommand wcm:action="add">
  202. <Order>18</Order>
  203. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
  204. </RunSynchronousCommand>
  205. <RunSynchronousCommand wcm:action="add">
  206. <Order>19</Order>
  207. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
  208. </RunSynchronousCommand>
  209. <RunSynchronousCommand wcm:action="add">
  210. <Order>20</Order>
  211. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
  212. </RunSynchronousCommand>
  213. <RunSynchronousCommand wcm:action="add">
  214. <Order>21</Order>
  215. <Path>reg.exe unload "HKU\mount"</Path>
  216. </RunSynchronousCommand>
  217. <RunSynchronousCommand wcm:action="add">
  218. <Order>22</Order>
  219. <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f</Path>
  220. </RunSynchronousCommand>
  221. </RunSynchronous>
  222. </component>
  223. </settings>
  224. <settings pass="auditSystem"/>
  225. <settings pass="auditUser"/>
  226. <settings pass="oobeSystem">
  227. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  228. <InputLocale>0409:00000409</InputLocale>
  229. <SystemLocale>en-US</SystemLocale>
  230. <UILanguage>en-US</UILanguage>
  231. <UserLocale>en-US</UserLocale>
  232. </component>
  233. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  234. <UserAccounts>
  235. <LocalAccounts>
  236. <LocalAccount wcm:action="add">
  237. <Name>Docker</Name>
  238. <Group>Administrators</Group>
  239. <Password>
  240. <Value/>
  241. <PlainText>true</PlainText>
  242. </Password>
  243. </LocalAccount>
  244. </LocalAccounts>
  245. <AdministratorPassword>
  246. <Value>password</Value>
  247. <PlainText>true</PlainText>
  248. </AdministratorPassword>
  249. </UserAccounts>
  250. <AutoLogon>
  251. <Username>Docker</Username>
  252. <Enabled>true</Enabled>
  253. <LogonCount>1</LogonCount>
  254. <Password>
  255. <Value/>
  256. <PlainText>true</PlainText>
  257. </Password>
  258. </AutoLogon>
  259. <OOBE>
  260. <ProtectYourPC>3</ProtectYourPC>
  261. <HideEULAPage>true</HideEULAPage>
  262. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  263. </OOBE>
  264. <FirstLogonCommands>
  265. <SynchronousCommand wcm:action="add">
  266. <Order>1</Order>
  267. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
  268. </SynchronousCommand>
  269. <SynchronousCommand wcm:action="add">
  270. <Order>2</Order>
  271. <RequiresUserInput>false</RequiresUserInput>
  272. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  273. <Description>Password Never Expires</Description>
  274. </SynchronousCommand>
  275. <SynchronousCommand wcm:action="add">
  276. <Order>3</Order>
  277. <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
  278. <Description>Install VirtIO drivers</Description>
  279. </SynchronousCommand>
  280. </FirstLogonCommands>
  281. </component>
  282. </settings>
  283. </unattend>