1
0

win2022-eval.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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. <!-- System partition (ESP) -->
  21. <CreatePartition wcm:action="add">
  22. <Order>1</Order>
  23. <Type>EFI</Type>
  24. <Size>128</Size>
  25. </CreatePartition>
  26. <!-- Microsoft reserved partition (MSR) -->
  27. <CreatePartition wcm:action="add">
  28. <Order>2</Order>
  29. <Type>MSR</Type>
  30. <Size>128</Size>
  31. </CreatePartition>
  32. <!-- Windows partition -->
  33. <CreatePartition wcm:action="add">
  34. <Order>3</Order>
  35. <Type>Primary</Type>
  36. <Extend>true</Extend>
  37. </CreatePartition>
  38. </CreatePartitions>
  39. <ModifyPartitions>
  40. <!-- System partition (ESP) -->
  41. <ModifyPartition wcm:action="add">
  42. <Order>1</Order>
  43. <PartitionID>1</PartitionID>
  44. <Label>System</Label>
  45. <Format>FAT32</Format>
  46. </ModifyPartition>
  47. <!-- MSR partition does not need to be modified -->
  48. <ModifyPartition wcm:action="add">
  49. <Order>2</Order>
  50. <PartitionID>2</PartitionID>
  51. </ModifyPartition>
  52. <!-- Windows partition -->
  53. <ModifyPartition wcm:action="add">
  54. <Order>3</Order>
  55. <PartitionID>3</PartitionID>
  56. <Label>Windows</Label>
  57. <Letter>C</Letter>
  58. <Format>NTFS</Format>
  59. </ModifyPartition>
  60. </ModifyPartitions>
  61. </Disk>
  62. </DiskConfiguration>
  63. <ImageInstall>
  64. <OSImage>
  65. <InstallFrom>
  66. <MetaData wcm:action="add">
  67. <Key>/IMAGE/NAME</Key>
  68. <Value>Windows Server 2022 SERVERSTANDARD</Value>
  69. </MetaData>
  70. </InstallFrom>
  71. <InstallTo>
  72. <DiskID>0</DiskID>
  73. <PartitionID>3</PartitionID>
  74. </InstallTo>
  75. <WillShowUI>OnError</WillShowUI>
  76. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  77. </OSImage>
  78. </ImageInstall>
  79. <DynamicUpdate>
  80. <Enable>true</Enable>
  81. <WillShowUI>Never</WillShowUI>
  82. </DynamicUpdate>
  83. <UpgradeData>
  84. <Upgrade>false</Upgrade>
  85. <WillShowUI>Never</WillShowUI>
  86. </UpgradeData>
  87. <UserData>
  88. <AcceptEula>true</AcceptEula>
  89. <FullName>Docker</FullName>
  90. <Organization>Windows for Docker</Organization>
  91. <ProductKey />
  92. </UserData>
  93. <EnableFirewall>false</EnableFirewall>
  94. <Diagnostics>
  95. <OptIn>false</OptIn>
  96. </Diagnostics>
  97. </component>
  98. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  99. <DriverPaths>
  100. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  101. <Path>D:\viostor\2k22\amd64</Path>
  102. </PathAndCredentials>
  103. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  104. <Path>D:\NetKVM\2k22\amd64</Path>
  105. </PathAndCredentials>
  106. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  107. <Path>D:\Balloon\2k22\amd64</Path>
  108. </PathAndCredentials>
  109. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  110. <Path>D:\pvpanic\2k22\amd64</Path>
  111. </PathAndCredentials>
  112. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  113. <Path>D:\qemupciserial\2k22\amd64</Path>
  114. </PathAndCredentials>
  115. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  116. <Path>D:\qxldod\2k22\amd64</Path>
  117. </PathAndCredentials>
  118. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  119. <Path>D:\vioinput\2k22\amd64</Path>
  120. </PathAndCredentials>
  121. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  122. <Path>D:\viorng\2k22\amd64</Path>
  123. </PathAndCredentials>
  124. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  125. <Path>D:\vioscsi\2k22\amd64</Path>
  126. </PathAndCredentials>
  127. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  128. <Path>D:\vioserial\2k22\amd64</Path>
  129. </PathAndCredentials>
  130. <PathAndCredentials wcm:action="add" wcm:keyValue="11">
  131. <Path>D:\viogpudo\2k22\amd64</Path>
  132. </PathAndCredentials>
  133. <PathAndCredentials wcm:action="add" wcm:keyValue="12">
  134. <Path>D:\sriov\2k22\amd64</Path>
  135. </PathAndCredentials>
  136. <PathAndCredentials wcm:action="add" wcm:keyValue="13">
  137. <Path>D:\viofs\2k22\amd64</Path>
  138. </PathAndCredentials>
  139. </DriverPaths>
  140. </component>
  141. </settings>
  142. <settings pass="offlineServicing">
  143. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  144. <EnableLUA>false</EnableLUA>
  145. </component>
  146. </settings>
  147. <settings pass="generalize">
  148. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  149. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  150. </component>
  151. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  152. <SkipRearm>1</SkipRearm>
  153. </component>
  154. </settings>
  155. <settings pass="specialize">
  156. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  157. <SkipAutoActivation>true</SkipAutoActivation>
  158. </component>
  159. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  160. <ComputerName>*</ComputerName>
  161. <OEMInformation>
  162. <Manufacturer>Dockur</Manufacturer>
  163. <Model>Windows for Docker</Model>
  164. <SupportHours>24/7</SupportHours>
  165. <SupportPhone />
  166. <SupportProvider>Dockur</SupportProvider>
  167. <SupportURL>https://github.com/dockur/windows/issues</SupportURL>
  168. </OEMInformation>
  169. <OEMName>Windows for Docker</OEMName>
  170. </component>
  171. <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  172. <DisableWER>1</DisableWER>
  173. </component>
  174. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  175. <DisableAccelerators>true</DisableAccelerators>
  176. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  177. <Home_Page>https://google.com</Home_Page>
  178. <Help_Page>about:blank</Help_Page>
  179. </component>
  180. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  181. <DisableAccelerators>true</DisableAccelerators>
  182. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  183. <Home_Page>https://google.com</Home_Page>
  184. <Help_Page>about:blank</Help_Page>
  185. </component>
  186. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  187. <CEIPEnabled>0</CEIPEnabled>
  188. </component>
  189. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  190. <DisableSR>1</DisableSR>
  191. </component>
  192. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  193. <InputLocale>0409:00000409</InputLocale>
  194. <SystemLocale>en-US</SystemLocale>
  195. <UILanguage>en-US</UILanguage>
  196. <UILanguageFallback>en-US</UILanguageFallback>
  197. <UserLocale>en-US</UserLocale>
  198. </component>
  199. <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  200. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  201. </component>
  202. <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  203. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  204. </component>
  205. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  206. <fDenyTSConnections>false</fDenyTSConnections>
  207. </component>
  208. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  209. <UserAuthentication>0</UserAuthentication>
  210. </component>
  211. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  212. <FirewallGroups>
  213. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  214. <Active>true</Active>
  215. <Group>Remote Desktop</Group>
  216. <Profile>all</Profile>
  217. </FirewallGroup>
  218. </FirewallGroups>
  219. </component>
  220. </settings>
  221. <settings pass="oobeSystem">
  222. <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  223. <PreventDeviceEncryption>true</PreventDeviceEncryption>
  224. </component>
  225. <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  226. <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
  227. </component>
  228. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  229. <UserAccounts>
  230. <LocalAccounts>
  231. <LocalAccount wcm:action="add">
  232. <Name>Docker</Name>
  233. <Group>Administrators</Group>
  234. <Password>
  235. <Value />
  236. <PlainText>true</PlainText>
  237. </Password>
  238. </LocalAccount>
  239. </LocalAccounts>
  240. <AdministratorPassword>
  241. <Value>password</Value>
  242. <PlainText>true</PlainText>
  243. </AdministratorPassword>
  244. </UserAccounts>
  245. <AutoLogon>
  246. <Username>Docker</Username>
  247. <Enabled>true</Enabled>
  248. <LogonCount>65432</LogonCount>
  249. <Password>
  250. <Value />
  251. <PlainText>true</PlainText>
  252. </Password>
  253. </AutoLogon>
  254. <OOBE>
  255. <HideEULAPage>true</HideEULAPage>
  256. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  257. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  258. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  259. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  260. <NetworkLocation>Other</NetworkLocation>
  261. <ProtectYourPC>3</ProtectYourPC>
  262. <SkipUserOOBE>true</SkipUserOOBE>
  263. <SkipMachineOOBE>true</SkipMachineOOBE>
  264. </OOBE>
  265. <RegisteredOrganization>Dockur</RegisteredOrganization>
  266. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  267. <FirstLogonCommands>
  268. <SynchronousCommand wcm:action="add">
  269. <Order>1</Order>
  270. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
  271. <Description>Allow guest access to network shares</Description>
  272. </SynchronousCommand>
  273. <SynchronousCommand wcm:action="add">
  274. <Order>2</Order>
  275. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  276. <Description>Allow RDP login with blank password</Description>
  277. </SynchronousCommand>
  278. <SynchronousCommand wcm:action="add">
  279. <Order>3</Order>
  280. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
  281. <Description>Enable option for passwordless sign-in</Description>
  282. </SynchronousCommand>
  283. <SynchronousCommand wcm:action="add">
  284. <Order>4</Order>
  285. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  286. <Description>Password Never Expires</Description>
  287. </SynchronousCommand>
  288. <SynchronousCommand wcm:action="add">
  289. <Order>5</Order>
  290. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  291. <Description>Disable Hibernation</Description>
  292. </SynchronousCommand>
  293. <SynchronousCommand wcm:action="add">
  294. <Order>6</Order>
  295. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  296. <Description>Disable monitor blanking</Description>
  297. </SynchronousCommand>
  298. <SynchronousCommand wcm:action="add">
  299. <Order>7</Order>
  300. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
  301. <Description>Disable Network Discovery popup</Description>
  302. </SynchronousCommand>
  303. <SynchronousCommand wcm:action="add">
  304. <Order>8</Order>
  305. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
  306. <Description>Disable Network Discovery popup</Description>
  307. </SynchronousCommand>
  308. <SynchronousCommand wcm:action="add">
  309. <Order>9</Order>
  310. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  311. <Description>Disable first-run experience in Edge</Description>
  312. </SynchronousCommand>
  313. <SynchronousCommand wcm:action="add">
  314. <Order>10</Order>
  315. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  316. <Description>Show file extensions in Explorer</Description>
  317. </SynchronousCommand>
  318. <SynchronousCommand wcm:action="add">
  319. <Order>11</Order>
  320. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
  321. <Description>Zero Hibernation File</Description>
  322. </SynchronousCommand>
  323. <SynchronousCommand wcm:action="add">
  324. <Order>12</Order>
  325. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
  326. <Description>Disable Hibernation</Description>
  327. </SynchronousCommand>
  328. <SynchronousCommand wcm:action="add">
  329. <Order>13</Order>
  330. <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
  331. <Description>Disable Sleep</Description>
  332. </SynchronousCommand>
  333. <SynchronousCommand wcm:action="add">
  334. <Order>14</Order>
  335. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
  336. <Description>Enable RemoteAPP to launch unlisted programs</Description>
  337. </SynchronousCommand>
  338. <SynchronousCommand wcm:action="add">
  339. <Order>15</Order>
  340. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Cortana" /v "IsAvailable" /t REG_DWORD /d 0 /f</CommandLine>
  341. <Description>Disable Cortana</Description>
  342. </SynchronousCommand>
  343. <SynchronousCommand wcm:action="add">
  344. <Order>16</Order>
  345. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
  346. <Description>Remove Search from the Taskbar</Description>
  347. </SynchronousCommand>
  348. <SynchronousCommand wcm:action="add">
  349. <Order>17</Order>
  350. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
  351. <Description>Remove Task View from the Taskbar</Description>
  352. </SynchronousCommand>
  353. <SynchronousCommand wcm:action="add">
  354. <Order>18</Order>
  355. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
  356. <Description>Remove Widgets from the Taskbar</Description>
  357. </SynchronousCommand>
  358. <SynchronousCommand wcm:action="add">
  359. <Order>19</Order>
  360. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
  361. <Description>Remove Chat from the Taskbar</Description>
  362. </SynchronousCommand>
  363. <SynchronousCommand wcm:action="add">
  364. <Order>20</Order>
  365. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
  366. <Description>Turn off Windows Update auto download</Description>
  367. </SynchronousCommand>
  368. <SynchronousCommand wcm:action="add">
  369. <Order>21</Order>
  370. <CommandLine>netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes</CommandLine>
  371. <Description>Enable Network Discovery</Description>
  372. </SynchronousCommand>
  373. <SynchronousCommand wcm:action="add">
  374. <Order>22</Order>
  375. <CommandLine>netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes</CommandLine>
  376. <Description>Enable File Sharing</Description>
  377. </SynchronousCommand>
  378. </FirstLogonCommands>
  379. </component>
  380. </settings>
  381. </unattend>