win2022.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  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. <Key>VDYBN-27WPP-V4HQT-9VMD4-VMK7H</Key>
  93. </ProductKey>
  94. </UserData>
  95. <EnableFirewall>false</EnableFirewall>
  96. <Diagnostics>
  97. <OptIn>false</OptIn>
  98. </Diagnostics>
  99. </component>
  100. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  101. <DriverPaths>
  102. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  103. <Path>D:\viostor\2k22\amd64</Path>
  104. </PathAndCredentials>
  105. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  106. <Path>D:\NetKVM\2k22\amd64</Path>
  107. </PathAndCredentials>
  108. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  109. <Path>D:\Balloon\2k22\amd64</Path>
  110. </PathAndCredentials>
  111. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  112. <Path>D:\pvpanic\2k22\amd64</Path>
  113. </PathAndCredentials>
  114. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  115. <Path>D:\qemupciserial\2k22\amd64</Path>
  116. </PathAndCredentials>
  117. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  118. <Path>D:\qxldod\2k22\amd64</Path>
  119. </PathAndCredentials>
  120. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  121. <Path>D:\vioinput\2k22\amd64</Path>
  122. </PathAndCredentials>
  123. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  124. <Path>D:\viorng\2k22\amd64</Path>
  125. </PathAndCredentials>
  126. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  127. <Path>D:\vioscsi\2k22\amd64</Path>
  128. </PathAndCredentials>
  129. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  130. <Path>D:\vioserial\2k22\amd64</Path>
  131. </PathAndCredentials>
  132. <PathAndCredentials wcm:action="add" wcm:keyValue="11">
  133. <Path>D:\viogpudo\2k22\amd64</Path>
  134. </PathAndCredentials>
  135. <PathAndCredentials wcm:action="add" wcm:keyValue="12">
  136. <Path>D:\sriov\2k22\amd64</Path>
  137. </PathAndCredentials>
  138. <PathAndCredentials wcm:action="add" wcm:keyValue="13">
  139. <Path>D:\viofs\2k22\amd64</Path>
  140. </PathAndCredentials>
  141. </DriverPaths>
  142. </component>
  143. </settings>
  144. <settings pass="offlineServicing">
  145. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  146. <EnableLUA>false</EnableLUA>
  147. </component>
  148. </settings>
  149. <settings pass="generalize">
  150. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  151. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  152. </component>
  153. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  154. <SkipRearm>1</SkipRearm>
  155. </component>
  156. </settings>
  157. <settings pass="specialize">
  158. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  159. <SkipAutoActivation>true</SkipAutoActivation>
  160. </component>
  161. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  162. <ComputerName>*</ComputerName>
  163. <OEMInformation>
  164. <Manufacturer>Dockur</Manufacturer>
  165. <Model>Windows for Docker</Model>
  166. <SupportHours>24/7</SupportHours>
  167. <SupportPhone />
  168. <SupportProvider>Dockur</SupportProvider>
  169. <SupportURL>https://github.com/dockur/windows/issues</SupportURL>
  170. </OEMInformation>
  171. <OEMName>Windows for Docker</OEMName>
  172. </component>
  173. <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  174. <DisableWER>1</DisableWER>
  175. </component>
  176. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  177. <DisableAccelerators>true</DisableAccelerators>
  178. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  179. <Home_Page>https://google.com</Home_Page>
  180. <Help_Page>about:blank</Help_Page>
  181. </component>
  182. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  183. <DisableAccelerators>true</DisableAccelerators>
  184. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  185. <Home_Page>https://google.com</Home_Page>
  186. <Help_Page>about:blank</Help_Page>
  187. </component>
  188. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  189. <CEIPEnabled>0</CEIPEnabled>
  190. </component>
  191. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  192. <DisableSR>1</DisableSR>
  193. </component>
  194. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  195. <InputLocale>0409:00000409</InputLocale>
  196. <SystemLocale>en-US</SystemLocale>
  197. <UILanguage>en-US</UILanguage>
  198. <UILanguageFallback>en-US</UILanguageFallback>
  199. <UserLocale>en-US</UserLocale>
  200. </component>
  201. <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  202. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  203. </component>
  204. <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  205. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  206. </component>
  207. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  208. <fDenyTSConnections>false</fDenyTSConnections>
  209. </component>
  210. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  211. <UserAuthentication>0</UserAuthentication>
  212. </component>
  213. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  214. <FirewallGroups>
  215. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  216. <Active>true</Active>
  217. <Profile>all</Profile>
  218. <Group>@FirewallAPI.dll,-28752</Group>
  219. </FirewallGroup>
  220. </FirewallGroups>
  221. </component>
  222. </settings>
  223. <settings pass="oobeSystem">
  224. <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  225. <PreventDeviceEncryption>true</PreventDeviceEncryption>
  226. </component>
  227. <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  228. <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
  229. </component>
  230. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  231. <UserAccounts>
  232. <LocalAccounts>
  233. <LocalAccount wcm:action="add">
  234. <Name>Docker</Name>
  235. <Group>Administrators</Group>
  236. <Password>
  237. <Value />
  238. <PlainText>true</PlainText>
  239. </Password>
  240. </LocalAccount>
  241. </LocalAccounts>
  242. <AdministratorPassword>
  243. <Value>password</Value>
  244. <PlainText>true</PlainText>
  245. </AdministratorPassword>
  246. </UserAccounts>
  247. <AutoLogon>
  248. <Username>Docker</Username>
  249. <Enabled>true</Enabled>
  250. <LogonCount>65432</LogonCount>
  251. <Password>
  252. <Value />
  253. <PlainText>true</PlainText>
  254. </Password>
  255. </AutoLogon>
  256. <Display>
  257. <ColorDepth>32</ColorDepth>
  258. <HorizontalResolution>1920</HorizontalResolution>
  259. <VerticalResolution>1080</VerticalResolution>
  260. </Display>
  261. <OOBE>
  262. <HideEULAPage>true</HideEULAPage>
  263. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  264. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  265. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  266. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  267. <NetworkLocation>Home</NetworkLocation>
  268. <ProtectYourPC>3</ProtectYourPC>
  269. <SkipUserOOBE>true</SkipUserOOBE>
  270. <SkipMachineOOBE>true</SkipMachineOOBE>
  271. </OOBE>
  272. <RegisteredOrganization>Dockur</RegisteredOrganization>
  273. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  274. <FirstLogonCommands>
  275. <SynchronousCommand wcm:action="add">
  276. <Order>1</Order>
  277. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
  278. <Description>Allow guest access to network shares</Description>
  279. </SynchronousCommand>
  280. <SynchronousCommand wcm:action="add">
  281. <Order>2</Order>
  282. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  283. <Description>Allow RDP login with blank password</Description>
  284. </SynchronousCommand>
  285. <SynchronousCommand wcm:action="add">
  286. <Order>3</Order>
  287. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
  288. <Description>Enable option for passwordless sign-in</Description>
  289. </SynchronousCommand>
  290. <SynchronousCommand wcm:action="add">
  291. <Order>4</Order>
  292. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  293. <Description>Password Never Expires</Description>
  294. </SynchronousCommand>
  295. <SynchronousCommand wcm:action="add">
  296. <Order>5</Order>
  297. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  298. <Description>Disable Hibernation</Description>
  299. </SynchronousCommand>
  300. <SynchronousCommand wcm:action="add">
  301. <Order>6</Order>
  302. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  303. <Description>Disable monitor blanking</Description>
  304. </SynchronousCommand>
  305. <SynchronousCommand wcm:action="add">
  306. <Order>7</Order>
  307. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
  308. <Description>Disable Network Discovery popup</Description>
  309. </SynchronousCommand>
  310. <SynchronousCommand wcm:action="add">
  311. <Order>8</Order>
  312. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
  313. <Description>Disable Network Discovery popup</Description>
  314. </SynchronousCommand>
  315. <SynchronousCommand wcm:action="add">
  316. <Order>9</Order>
  317. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  318. <Description>Disable first-run experience in Edge</Description>
  319. </SynchronousCommand>
  320. <SynchronousCommand wcm:action="add">
  321. <Order>10</Order>
  322. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  323. <Description>Show file extensions in Explorer</Description>
  324. </SynchronousCommand>
  325. <SynchronousCommand wcm:action="add">
  326. <Order>11</Order>
  327. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
  328. <Description>Zero Hibernation File</Description>
  329. </SynchronousCommand>
  330. <SynchronousCommand wcm:action="add">
  331. <Order>12</Order>
  332. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
  333. <Description>Disable Hibernation</Description>
  334. </SynchronousCommand>
  335. <SynchronousCommand wcm:action="add">
  336. <Order>13</Order>
  337. <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
  338. <Description>Disable Sleep</Description>
  339. </SynchronousCommand>
  340. <SynchronousCommand wcm:action="add">
  341. <Order>14</Order>
  342. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
  343. <Description>Enable RemoteAPP to launch unlisted programs</Description>
  344. </SynchronousCommand>
  345. <SynchronousCommand wcm:action="add">
  346. <Order>15</Order>
  347. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Cortana" /v "IsAvailable" /t REG_DWORD /d 0 /f</CommandLine>
  348. <Description>Disable Cortana</Description>
  349. </SynchronousCommand>
  350. <SynchronousCommand wcm:action="add">
  351. <Order>16</Order>
  352. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "SearchboxTaskbarMode" /t REG_DWORD /d 0 /f</CommandLine>
  353. <Description>Remove Search from the Taskbar</Description>
  354. </SynchronousCommand>
  355. <SynchronousCommand wcm:action="add">
  356. <Order>17</Order>
  357. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
  358. <Description>Remove Task View from the Taskbar</Description>
  359. </SynchronousCommand>
  360. <SynchronousCommand wcm:action="add">
  361. <Order>18</Order>
  362. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
  363. <Description>Remove Widgets from the Taskbar</Description>
  364. </SynchronousCommand>
  365. <SynchronousCommand wcm:action="add">
  366. <Order>19</Order>
  367. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
  368. <Description>Remove Chat from the Taskbar</Description>
  369. </SynchronousCommand>
  370. <SynchronousCommand wcm:action="add">
  371. <Order>20</Order>
  372. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
  373. <Description>Turn off Windows Update auto download</Description>
  374. </SynchronousCommand>
  375. <SynchronousCommand wcm:action="add">
  376. <Order>21</Order>
  377. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
  378. <Description>Enable Network Discovery</Description>
  379. </SynchronousCommand>
  380. <SynchronousCommand wcm:action="add">
  381. <Order>22</Order>
  382. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
  383. <Description>Enable File Sharing</Description>
  384. </SynchronousCommand>
  385. <SynchronousCommand wcm:action="add">
  386. <Order>23</Order>
  387. <CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
  388. <Description>Execute custom script from the OEM folder if exists</Description>
  389. </SynchronousCommand>
  390. </FirstLogonCommands>
  391. </component>
  392. </settings>
  393. </unattend>