win2016-eval.xml 17 KB

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