win2016.xml 19 KB

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