win2016.xml 17 KB

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