win2019.xml 17 KB

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