win10x64.xml 14 KB

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