win2022-eval.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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. <!-- 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. <InstallFrom>
  80. <MetaData wcm:action="add">
  81. <Key>/IMAGE/NAME</Key>
  82. <Value>Windows Server 2022 SERVERSTANDARD</Value>
  83. </MetaData>
  84. </InstallFrom>
  85. <InstallTo>
  86. <DiskID>0</DiskID>
  87. <PartitionID>4</PartitionID>
  88. </InstallTo>
  89. <WillShowUI>OnError</WillShowUI>
  90. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  91. </OSImage>
  92. </ImageInstall>
  93. <DynamicUpdate>
  94. <Enable>true</Enable>
  95. <WillShowUI>Never</WillShowUI>
  96. </DynamicUpdate>
  97. <UpgradeData>
  98. <Upgrade>false</Upgrade>
  99. <WillShowUI>Never</WillShowUI>
  100. </UpgradeData>
  101. <UserData>
  102. <AcceptEula>true</AcceptEula>
  103. <FullName>Docker</FullName>
  104. <Organization>Windows for Docker</Organization>
  105. <ProductKey/>
  106. </UserData>
  107. <EnableFirewall>false</EnableFirewall>
  108. <Diagnostics>
  109. <OptIn>false</OptIn>
  110. </Diagnostics>
  111. </component>
  112. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  113. <DriverPaths>
  114. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  115. <Path>D:\viostor\2k22\amd64</Path>
  116. </PathAndCredentials>
  117. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  118. <Path>D:\NetKVM\2k22\amd64</Path>
  119. </PathAndCredentials>
  120. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  121. <Path>D:\Balloon\2k22\amd64</Path>
  122. </PathAndCredentials>
  123. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  124. <Path>D:\pvpanic\2k22\amd64</Path>
  125. </PathAndCredentials>
  126. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  127. <Path>D:\qemupciserial\2k22\amd64</Path>
  128. </PathAndCredentials>
  129. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  130. <Path>D:\qxldod\2k22\amd64</Path>
  131. </PathAndCredentials>
  132. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  133. <Path>D:\vioinput\2k22\amd64</Path>
  134. </PathAndCredentials>
  135. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  136. <Path>D:\viorng\2k22\amd64</Path>
  137. </PathAndCredentials>
  138. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  139. <Path>D:\vioscsi\2k22\amd64</Path>
  140. </PathAndCredentials>
  141. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  142. <Path>D:\vioserial\2k22\amd64</Path>
  143. </PathAndCredentials>
  144. </DriverPaths>
  145. </component>
  146. </settings>
  147. <settings pass="offlineServicing">
  148. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  149. <EnableLUA>false</EnableLUA>
  150. </component>
  151. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  152. <ComputerName>*</ComputerName>
  153. </component>
  154. </settings>
  155. <settings pass="generalize">
  156. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  157. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  158. </component>
  159. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  160. <SkipRearm>1</SkipRearm>
  161. </component>
  162. </settings>
  163. <settings pass="specialize">
  164. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  165. <SkipAutoActivation>true</SkipAutoActivation>
  166. </component>
  167. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  168. <ComputerName>*</ComputerName>
  169. <OEMInformation>
  170. <Manufacturer>Dockur</Manufacturer>
  171. <Model>Windows for Docker</Model>
  172. <SupportHours>24/7</SupportHours>
  173. <SupportPhone></SupportPhone>
  174. <SupportProvider>Dockur</SupportProvider>
  175. <SupportURL>https://github.com/dockur/windows/issues</SupportURL>
  176. </OEMInformation>
  177. <OEMName>Windows for Docker</OEMName>
  178. </component>
  179. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  180. <CEIPEnabled>0</CEIPEnabled>
  181. </component>
  182. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  183. <InputLocale>0409:00000409</InputLocale>
  184. <SystemLocale>en-US</SystemLocale>
  185. <UILanguage>en-US</UILanguage>
  186. <UILanguageFallback>en-US</UILanguageFallback>
  187. <UserLocale>en-US</UserLocale>
  188. </component>
  189. <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  190. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  191. </component>
  192. <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  193. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  194. </component>
  195. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  196. <fDenyTSConnections>false</fDenyTSConnections>
  197. </component>
  198. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  199. <UserAuthentication>0</UserAuthentication>
  200. </component>
  201. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  202. <FirewallGroups>
  203. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  204. <Active>true</Active>
  205. <Group>Remote Desktop</Group>
  206. <Profile>all</Profile>
  207. </FirewallGroup>
  208. </FirewallGroups>
  209. </component>
  210. </settings>
  211. <settings pass="oobeSystem">
  212. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  213. <UserAccounts>
  214. <LocalAccounts>
  215. <LocalAccount wcm:action="add">
  216. <Name>Docker</Name>
  217. <Group>Administrators</Group>
  218. <Password>
  219. <Value/>
  220. <PlainText>true</PlainText>
  221. </Password>
  222. </LocalAccount>
  223. </LocalAccounts>
  224. <AdministratorPassword>
  225. <Value>password</Value>
  226. <PlainText>true</PlainText>
  227. </AdministratorPassword>
  228. </UserAccounts>
  229. <AutoLogon>
  230. <Username>Docker</Username>
  231. <Enabled>true</Enabled>
  232. <LogonCount>1</LogonCount>
  233. <Password>
  234. <Value/>
  235. <PlainText>true</PlainText>
  236. </Password>
  237. </AutoLogon>
  238. <OOBE>
  239. <HideEULAPage>true</HideEULAPage>
  240. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  241. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  242. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  243. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  244. <NetworkLocation>Home</NetworkLocation>
  245. <ProtectYourPC>3</ProtectYourPC>
  246. <SkipUserOOBE>true</SkipUserOOBE>
  247. <SkipMachineOOBE>true</SkipMachineOOBE>
  248. <VMModeOptimizations>
  249. <SkipWinREInitialization>true</SkipWinREInitialization>
  250. </VMModeOptimizations>
  251. </OOBE>
  252. <RegisteredOrganization>Dockur</RegisteredOrganization>
  253. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  254. <FirstLogonCommands>
  255. <SynchronousCommand wcm:action="add">
  256. <Order>1</Order>
  257. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
  258. <Description>Set AutoLogonCount to 0</Description>
  259. </SynchronousCommand>
  260. <SynchronousCommand wcm:action="add">
  261. <Order>2</Order>
  262. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  263. <Description>Allow RDP login with blank password</Description>
  264. </SynchronousCommand>
  265. <SynchronousCommand wcm:action="add">
  266. <Order>3</Order>
  267. <RequiresUserInput>false</RequiresUserInput>
  268. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  269. <Description>Password Never Expires</Description>
  270. </SynchronousCommand>
  271. <SynchronousCommand wcm:action="add">
  272. <Order>4</Order>
  273. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  274. <Description>Disable Hibernation</Description>
  275. </SynchronousCommand>
  276. <SynchronousCommand wcm:action="add">
  277. <Order>5</Order>
  278. <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
  279. <Description>Install VirtIO drivers</Description>
  280. </SynchronousCommand>
  281. </FirstLogonCommands>
  282. </component>
  283. </settings>
  284. </unattend>