win2012r2-eval.xml 17 KB

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