win11x64.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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. <UserData>
  86. <ProductKey>
  87. <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
  88. </ProductKey>
  89. <AcceptEula>true</AcceptEula>
  90. </UserData>
  91. <EnableFirewall>false</EnableFirewall>
  92. <RunSynchronous>
  93. <RunSynchronousCommand wcm:action="add">
  94. <Order>1</Order>
  95. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
  96. </RunSynchronousCommand>
  97. <RunSynchronousCommand wcm:action="add">
  98. <Order>2</Order>
  99. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
  100. </RunSynchronousCommand>
  101. <RunSynchronousCommand wcm:action="add">
  102. <Order>3</Order>
  103. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
  104. </RunSynchronousCommand>
  105. <RunSynchronousCommand wcm:action="add">
  106. <Order>4</Order>
  107. <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
  108. </RunSynchronousCommand>
  109. </RunSynchronous>
  110. </component>
  111. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  112. <DriverPaths>
  113. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  114. <Path>D:\viostor\w11\amd64</Path>
  115. </PathAndCredentials>
  116. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  117. <Path>D:\NetKVM\w11\amd64</Path>
  118. </PathAndCredentials>
  119. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  120. <Path>D:\Balloon\w11\amd64</Path>
  121. </PathAndCredentials>
  122. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  123. <Path>D:\pvpanic\w11\amd64</Path>
  124. </PathAndCredentials>
  125. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  126. <Path>D:\qemupciserial\w11\amd64</Path>
  127. </PathAndCredentials>
  128. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  129. <Path>D:\qxldod\w11\amd64</Path>
  130. </PathAndCredentials>
  131. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  132. <Path>D:\vioinput\w11\amd64</Path>
  133. </PathAndCredentials>
  134. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  135. <Path>D:\viorng\w11\amd64</Path>
  136. </PathAndCredentials>
  137. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  138. <Path>D:\vioscsi\w11\amd64</Path>
  139. </PathAndCredentials>
  140. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  141. <Path>D:\vioserial\w11\amd64</Path>
  142. </PathAndCredentials>
  143. </DriverPaths>
  144. </component>
  145. </settings>
  146. <settings pass="offlineServicing">
  147. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  148. <EnableLUA>false</EnableLUA>
  149. </component>
  150. </settings>
  151. <settings pass="generalize"/>
  152. <settings pass="specialize">
  153. <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  154. <RunSynchronous>
  155. <RunSynchronousCommand wcm:action="add">
  156. <Order>1</Order>
  157. <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
  158. </RunSynchronousCommand>
  159. <RunSynchronousCommand wcm:action="add">
  160. <Order>2</Order>
  161. <Path>netsh.exe advfirewall firewall set rule group="Remote Desktop" new enable=Yes</Path>
  162. </RunSynchronousCommand>
  163. <RunSynchronousCommand wcm:action="add">
  164. <Order>3</Order>
  165. <Path>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</Path>
  166. </RunSynchronousCommand>
  167. <RunSynchronousCommand wcm:action="add">
  168. <Order>4</Order>
  169. <Path>fsutil.exe behavior set disableLastAccess 1</Path>
  170. </RunSynchronousCommand>
  171. <RunSynchronousCommand wcm:action="add">
  172. <Order>5</Order>
  173. <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
  174. </RunSynchronousCommand>
  175. <RunSynchronousCommand wcm:action="add">
  176. <Order>6</Order>
  177. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
  178. </RunSynchronousCommand>
  179. <RunSynchronousCommand wcm:action="add">
  180. <Order>7</Order>
  181. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
  182. </RunSynchronousCommand>
  183. <RunSynchronousCommand wcm:action="add">
  184. <Order>8</Order>
  185. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  186. </RunSynchronousCommand>
  187. <RunSynchronousCommand wcm:action="add">
  188. <Order>9</Order>
  189. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  190. </RunSynchronousCommand>
  191. <RunSynchronousCommand wcm:action="add">
  192. <Order>10</Order>
  193. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
  194. </RunSynchronousCommand>
  195. <RunSynchronousCommand wcm:action="add">
  196. <Order>11</Order>
  197. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  198. </RunSynchronousCommand>
  199. <RunSynchronousCommand wcm:action="add">
  200. <Order>12</Order>
  201. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
  202. </RunSynchronousCommand>
  203. <RunSynchronousCommand wcm:action="add">
  204. <Order>13</Order>
  205. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
  206. </RunSynchronousCommand>
  207. <RunSynchronousCommand wcm:action="add">
  208. <Order>14</Order>
  209. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
  210. </RunSynchronousCommand>
  211. <RunSynchronousCommand wcm:action="add">
  212. <Order>15</Order>
  213. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
  214. </RunSynchronousCommand>
  215. <RunSynchronousCommand wcm:action="add">
  216. <Order>16</Order>
  217. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
  218. </RunSynchronousCommand>
  219. <RunSynchronousCommand wcm:action="add">
  220. <Order>17</Order>
  221. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
  222. </RunSynchronousCommand>
  223. <RunSynchronousCommand wcm:action="add">
  224. <Order>18</Order>
  225. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
  226. </RunSynchronousCommand>
  227. <RunSynchronousCommand wcm:action="add">
  228. <Order>19</Order>
  229. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
  230. </RunSynchronousCommand>
  231. <RunSynchronousCommand wcm:action="add">
  232. <Order>20</Order>
  233. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
  234. </RunSynchronousCommand>
  235. <RunSynchronousCommand wcm:action="add">
  236. <Order>21</Order>
  237. <Path>reg.exe unload "HKU\mount"</Path>
  238. </RunSynchronousCommand>
  239. <RunSynchronousCommand wcm:action="add">
  240. <Order>22</Order>
  241. <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 0 /f</Path>
  242. </RunSynchronousCommand>
  243. </RunSynchronous>
  244. </component>
  245. </settings>
  246. <settings pass="auditSystem"/>
  247. <settings pass="auditUser"/>
  248. <settings pass="oobeSystem">
  249. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  250. <InputLocale>0409:00000409</InputLocale>
  251. <SystemLocale>en-US</SystemLocale>
  252. <UILanguage>en-US</UILanguage>
  253. <UserLocale>en-US</UserLocale>
  254. </component>
  255. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  256. <UserAccounts>
  257. <LocalAccounts>
  258. <LocalAccount wcm:action="add">
  259. <Name>Docker</Name>
  260. <Group>Administrators</Group>
  261. <Password>
  262. <Value/>
  263. <PlainText>true</PlainText>
  264. </Password>
  265. </LocalAccount>
  266. </LocalAccounts>
  267. <AdministratorPassword>
  268. <Value>password</Value>
  269. <PlainText>true</PlainText>
  270. </AdministratorPassword>
  271. </UserAccounts>
  272. <AutoLogon>
  273. <Username>Docker</Username>
  274. <Enabled>true</Enabled>
  275. <LogonCount>1</LogonCount>
  276. <Password>
  277. <Value/>
  278. <PlainText>true</PlainText>
  279. </Password>
  280. </AutoLogon>
  281. <OOBE>
  282. <ProtectYourPC>3</ProtectYourPC>
  283. <HideEULAPage>true</HideEULAPage>
  284. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  285. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  286. </OOBE>
  287. <FirstLogonCommands>
  288. <SynchronousCommand wcm:action="add">
  289. <Order>1</Order>
  290. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
  291. <Description>Set AutoLogonCount to 0</Description>
  292. </SynchronousCommand>
  293. <SynchronousCommand wcm:action="add">
  294. <Order>2</Order>
  295. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  296. <Description>Allow RDP login with blank password</Description>
  297. </SynchronousCommand>
  298. <SynchronousCommand wcm:action="add">
  299. <Order>3</Order>
  300. <CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
  301. </SynchronousCommand>
  302. <SynchronousCommand wcm:action="add">
  303. <Order>4</Order>
  304. <CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
  305. </SynchronousCommand>
  306. <SynchronousCommand wcm:action="add">
  307. <Order>5</Order>
  308. <RequiresUserInput>false</RequiresUserInput>
  309. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  310. <Description>Password Never Expires</Description>
  311. </SynchronousCommand>
  312. <SynchronousCommand wcm:action="add">
  313. <Order>6</Order>
  314. <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
  315. <Description>Install VirtIO drivers</Description>
  316. </SynchronousCommand>
  317. </FirstLogonCommands>
  318. </component>
  319. </settings>
  320. </unattend>