win2016-eval.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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. <!-- Windows RE Tools partition -->
  21. <CreatePartition wcm:action="add">
  22. <Order>1</Order>
  23. <Type>Primary</Type>
  24. <Size>256</Size>
  25. </CreatePartition>
  26. <!-- System partition (ESP) -->
  27. <CreatePartition wcm:action="add">
  28. <Order>2</Order>
  29. <Type>EFI</Type>
  30. <Size>128</Size>
  31. </CreatePartition>
  32. <!-- Microsoft reserved partition (MSR) -->
  33. <CreatePartition wcm:action="add">
  34. <Order>3</Order>
  35. <Type>MSR</Type>
  36. <Size>128</Size>
  37. </CreatePartition>
  38. <!-- Windows partition -->
  39. <CreatePartition wcm:action="add">
  40. <Order>4</Order>
  41. <Type>Primary</Type>
  42. <Extend>true</Extend>
  43. </CreatePartition>
  44. </CreatePartitions>
  45. <ModifyPartitions>
  46. <!-- Windows RE Tools partition -->
  47. <ModifyPartition wcm:action="add">
  48. <Order>1</Order>
  49. <PartitionID>1</PartitionID>
  50. <Label>WINRE</Label>
  51. <Format>NTFS</Format>
  52. <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
  53. </ModifyPartition>
  54. <!-- System partition (ESP) -->
  55. <ModifyPartition wcm:action="add">
  56. <Order>2</Order>
  57. <PartitionID>2</PartitionID>
  58. <Label>System</Label>
  59. <Format>FAT32</Format>
  60. </ModifyPartition>
  61. <!-- MSR partition does not need to be modified -->
  62. <ModifyPartition wcm:action="add">
  63. <Order>3</Order>
  64. <PartitionID>3</PartitionID>
  65. </ModifyPartition>
  66. <!-- Windows partition -->
  67. <ModifyPartition wcm:action="add">
  68. <Order>4</Order>
  69. <PartitionID>4</PartitionID>
  70. <Label>Windows</Label>
  71. <Letter>C</Letter>
  72. <Format>NTFS</Format>
  73. </ModifyPartition>
  74. </ModifyPartitions>
  75. </Disk>
  76. </DiskConfiguration>
  77. <ImageInstall>
  78. <OSImage>
  79. <InstallFrom>
  80. <MetaData wcm:action="add">
  81. <Key>/IMAGE/NAME</Key>
  82. <Value>Windows Server 2016 SERVERSTANDARD</Value>
  83. </MetaData>
  84. </InstallFrom>
  85. <InstallTo>
  86. <DiskID>0</DiskID>
  87. <PartitionID>4</PartitionID>
  88. </InstallTo>
  89. <WillShowUI>OnError</WillShowUI>
  90. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  91. </OSImage>
  92. </ImageInstall>
  93. <DynamicUpdate>
  94. <Enable>true</Enable>
  95. <WillShowUI>Never</WillShowUI>
  96. </DynamicUpdate>
  97. <UpgradeData>
  98. <Upgrade>false</Upgrade>
  99. <WillShowUI>Never</WillShowUI>
  100. </UpgradeData>
  101. <UserData>
  102. <AcceptEula>true</AcceptEula>
  103. <FullName>Docker</FullName>
  104. <Organization>Windows for Docker</Organization>
  105. <ProductKey />
  106. </UserData>
  107. <EnableFirewall>false</EnableFirewall>
  108. <Diagnostics>
  109. <OptIn>false</OptIn>
  110. </Diagnostics>
  111. </component>
  112. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  113. <DriverPaths>
  114. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  115. <Path>D:\viostor\2k16\amd64</Path>
  116. </PathAndCredentials>
  117. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  118. <Path>D:\NetKVM\2k16\amd64</Path>
  119. </PathAndCredentials>
  120. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  121. <Path>D:\Balloon\2k16\amd64</Path>
  122. </PathAndCredentials>
  123. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  124. <Path>D:\pvpanic\2k16\amd64</Path>
  125. </PathAndCredentials>
  126. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  127. <Path>D:\qemupciserial\2k16\amd64</Path>
  128. </PathAndCredentials>
  129. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  130. <Path>D:\qxldod\2k16\amd64</Path>
  131. </PathAndCredentials>
  132. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  133. <Path>D:\vioinput\2k16\amd64</Path>
  134. </PathAndCredentials>
  135. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  136. <Path>D:\viorng\2k16\amd64</Path>
  137. </PathAndCredentials>
  138. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  139. <Path>D:\vioscsi\2k16\amd64</Path>
  140. </PathAndCredentials>
  141. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  142. <Path>D:\vioserial\2k16\amd64</Path>
  143. </PathAndCredentials>
  144. <PathAndCredentials wcm:action="add" wcm:keyValue="11">
  145. <Path>D:\viogpudo\2k16\amd64</Path>
  146. </PathAndCredentials>
  147. <PathAndCredentials wcm:action="add" wcm:keyValue="12">
  148. <Path>D:\sriov\2k16\amd64</Path>
  149. </PathAndCredentials>
  150. <PathAndCredentials wcm:action="add" wcm:keyValue="13">
  151. <Path>D:\viofs\2k16\amd64</Path>
  152. </PathAndCredentials>
  153. </DriverPaths>
  154. </component>
  155. </settings>
  156. <settings pass="offlineServicing">
  157. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  158. <EnableLUA>false</EnableLUA>
  159. </component>
  160. </settings>
  161. <settings pass="generalize">
  162. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  163. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  164. </component>
  165. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  166. <SkipRearm>1</SkipRearm>
  167. </component>
  168. </settings>
  169. <settings pass="specialize">
  170. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  171. <SkipAutoActivation>true</SkipAutoActivation>
  172. </component>
  173. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  174. <ComputerName>*</ComputerName>
  175. <OEMInformation>
  176. <Manufacturer>Dockur</Manufacturer>
  177. <Model>Windows for Docker</Model>
  178. </OEMInformation>
  179. <OEMName>Windows for Docker</OEMName>
  180. </component>
  181. <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  182. <DisableWER>1</DisableWER>
  183. </component>
  184. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  185. <DisableAccelerators>true</DisableAccelerators>
  186. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  187. <Home_Page>https://google.com</Home_Page>
  188. <Help_Page>about:blank</Help_Page>
  189. </component>
  190. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  191. <DisableAccelerators>true</DisableAccelerators>
  192. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  193. <Home_Page>https://google.com</Home_Page>
  194. <Help_Page>about:blank</Help_Page>
  195. </component>
  196. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  197. <CEIPEnabled>0</CEIPEnabled>
  198. </component>
  199. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  200. <DisableSR>1</DisableSR>
  201. </component>
  202. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  203. <InputLocale>0409:00000409</InputLocale>
  204. <SystemLocale>en-US</SystemLocale>
  205. <UILanguage>en-US</UILanguage>
  206. <UILanguageFallback>en-US</UILanguageFallback>
  207. <UserLocale>en-US</UserLocale>
  208. </component>
  209. <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  210. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  211. </component>
  212. <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  213. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  214. </component>
  215. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  216. <fDenyTSConnections>false</fDenyTSConnections>
  217. </component>
  218. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  219. <UserAuthentication>0</UserAuthentication>
  220. </component>
  221. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  222. <FirewallGroups>
  223. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  224. <Active>true</Active>
  225. <Group>Remote Desktop</Group>
  226. <Profile>all</Profile>
  227. </FirewallGroup>
  228. </FirewallGroups>
  229. </component>
  230. </settings>
  231. <settings pass="oobeSystem">
  232. <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  233. <PreventDeviceEncryption>true</PreventDeviceEncryption>
  234. </component>
  235. <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  236. <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
  237. </component>
  238. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  239. <UserAccounts>
  240. <LocalAccounts>
  241. <LocalAccount wcm:action="add">
  242. <Name>Docker</Name>
  243. <Group>Administrators</Group>
  244. <Password>
  245. <Value />
  246. <PlainText>true</PlainText>
  247. </Password>
  248. </LocalAccount>
  249. </LocalAccounts>
  250. <AdministratorPassword>
  251. <Value>password</Value>
  252. <PlainText>true</PlainText>
  253. </AdministratorPassword>
  254. </UserAccounts>
  255. <AutoLogon>
  256. <Username>Docker</Username>
  257. <Enabled>true</Enabled>
  258. <LogonCount>1</LogonCount>
  259. <Password>
  260. <Value />
  261. <PlainText>true</PlainText>
  262. </Password>
  263. </AutoLogon>
  264. <OOBE>
  265. <HideEULAPage>true</HideEULAPage>
  266. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  267. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  268. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  269. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  270. <NetworkLocation>Other</NetworkLocation>
  271. <ProtectYourPC>3</ProtectYourPC>
  272. <SkipUserOOBE>true</SkipUserOOBE>
  273. <SkipMachineOOBE>true</SkipMachineOOBE>
  274. </OOBE>
  275. <RegisteredOrganization>Dockur</RegisteredOrganization>
  276. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  277. <FirstLogonCommands>
  278. <SynchronousCommand wcm:action="add">
  279. <Order>1</Order>
  280. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
  281. <Description>Set AutoLogonCount to 0</Description>
  282. </SynchronousCommand>
  283. <SynchronousCommand wcm:action="add">
  284. <Order>2</Order>
  285. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  286. <Description>Allow RDP login with blank password</Description>
  287. </SynchronousCommand>
  288. <SynchronousCommand wcm:action="add">
  289. <Order>3</Order>
  290. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  291. <Description>Password Never Expires</Description>
  292. </SynchronousCommand>
  293. <SynchronousCommand wcm:action="add">
  294. <Order>4</Order>
  295. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  296. <Description>Disable Hibernation</Description>
  297. </SynchronousCommand>
  298. <SynchronousCommand wcm:action="add">
  299. <Order>5</Order>
  300. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  301. <Description>Disable monitor blanking</Description>
  302. </SynchronousCommand>
  303. <SynchronousCommand wcm:action="add">
  304. <Order>6</Order>
  305. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
  306. <Description>Disable Network Discovery popup</Description>
  307. </SynchronousCommand>
  308. <SynchronousCommand wcm:action="add">
  309. <Order>7</Order>
  310. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
  311. <Description>Disable Network Discovery popup</Description>
  312. </SynchronousCommand>
  313. <SynchronousCommand wcm:action="add">
  314. <Order>8</Order>
  315. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  316. <Description>Disable first-run experience in Edge</Description>
  317. </SynchronousCommand>
  318. <SynchronousCommand wcm:action="add">
  319. <Order>9</Order>
  320. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  321. <Description>Show file extensions in Explorer</Description>
  322. </SynchronousCommand>
  323. <SynchronousCommand wcm:action="add">
  324. <Order>10</Order>
  325. <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
  326. <Description>Install VirtIO drivers</Description>
  327. </SynchronousCommand>
  328. </FirstLogonCommands>
  329. </component>
  330. </settings>
  331. </unattend>