win81x64-enterprise-eval.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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. <UserLocale>en-US</UserLocale>
  12. </component>
  13. <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  14. <DiskConfiguration>
  15. <Disk wcm:action="add">
  16. <DiskID>0</DiskID>
  17. <WillWipeDisk>true</WillWipeDisk>
  18. <CreatePartitions>
  19. <!-- System partition (ESP) -->
  20. <CreatePartition wcm:action="add">
  21. <Order>1</Order>
  22. <Type>EFI</Type>
  23. <Size>128</Size>
  24. </CreatePartition>
  25. <!-- Microsoft reserved partition (MSR) -->
  26. <CreatePartition wcm:action="add">
  27. <Order>2</Order>
  28. <Type>MSR</Type>
  29. <Size>128</Size>
  30. </CreatePartition>
  31. <!-- Windows partition -->
  32. <CreatePartition wcm:action="add">
  33. <Order>3</Order>
  34. <Type>Primary</Type>
  35. <Extend>true</Extend>
  36. </CreatePartition>
  37. </CreatePartitions>
  38. <ModifyPartitions>
  39. <!-- System partition (ESP) -->
  40. <ModifyPartition wcm:action="add">
  41. <Order>1</Order>
  42. <PartitionID>1</PartitionID>
  43. <Label>System</Label>
  44. <Format>FAT32</Format>
  45. </ModifyPartition>
  46. <!-- MSR partition does not need to be modified -->
  47. <ModifyPartition wcm:action="add">
  48. <Order>2</Order>
  49. <PartitionID>2</PartitionID>
  50. </ModifyPartition>
  51. <!-- Windows partition -->
  52. <ModifyPartition wcm:action="add">
  53. <Order>3</Order>
  54. <PartitionID>3</PartitionID>
  55. <Label>Windows</Label>
  56. <Letter>C</Letter>
  57. <Format>NTFS</Format>
  58. </ModifyPartition>
  59. </ModifyPartitions>
  60. </Disk>
  61. </DiskConfiguration>
  62. <ImageInstall>
  63. <OSImage>
  64. <InstallTo>
  65. <DiskID>0</DiskID>
  66. <PartitionID>3</PartitionID>
  67. </InstallTo>
  68. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  69. </OSImage>
  70. </ImageInstall>
  71. <DynamicUpdate>
  72. <Enable>true</Enable>
  73. <WillShowUI>Never</WillShowUI>
  74. </DynamicUpdate>
  75. <UpgradeData>
  76. <Upgrade>false</Upgrade>
  77. <WillShowUI>Never</WillShowUI>
  78. </UpgradeData>
  79. <UserData>
  80. <AcceptEula>true</AcceptEula>
  81. <FullName>Docker</FullName>
  82. <Organization>Windows for Docker</Organization>
  83. </UserData>
  84. <EnableFirewall>false</EnableFirewall>
  85. <Diagnostics>
  86. <OptIn>false</OptIn>
  87. </Diagnostics>
  88. </component>
  89. </settings>
  90. <settings pass="offlineServicing">
  91. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  92. <EnableLUA>false</EnableLUA>
  93. </component>
  94. </settings>
  95. <settings pass="generalize">
  96. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  97. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  98. </component>
  99. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  100. <SkipRearm>1</SkipRearm>
  101. </component>
  102. </settings>
  103. <settings pass="specialize">
  104. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  105. <SkipAutoActivation>true</SkipAutoActivation>
  106. </component>
  107. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  108. <ComputerName>*</ComputerName>
  109. <OEMInformation>
  110. <Manufacturer>Dockur</Manufacturer>
  111. <Model>Windows for Docker</Model>
  112. </OEMInformation>
  113. <OEMName>Windows for Docker</OEMName>
  114. </component>
  115. <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  116. <DisableWER>1</DisableWER>
  117. </component>
  118. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  119. <DisableAccelerators>true</DisableAccelerators>
  120. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  121. <Home_Page>https://google.com</Home_Page>
  122. <Help_Page>about:blank</Help_Page>
  123. </component>
  124. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  125. <DisableAccelerators>true</DisableAccelerators>
  126. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  127. <Home_Page>https://google.com</Home_Page>
  128. <Help_Page>about:blank</Help_Page>
  129. </component>
  130. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  131. <CEIPEnabled>0</CEIPEnabled>
  132. </component>
  133. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  134. <DisableSR>1</DisableSR>
  135. </component>
  136. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  137. <InputLocale>0409:00000409</InputLocale>
  138. <SystemLocale>en-US</SystemLocale>
  139. <UILanguage>en-US</UILanguage>
  140. <UserLocale>en-US</UserLocale>
  141. </component>
  142. <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  143. <RunSynchronous>
  144. <RunSynchronousCommand wcm:action="add">
  145. <Order>1</Order>
  146. <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
  147. <Description>Set Network Location to Home</Description>
  148. </RunSynchronousCommand>
  149. </RunSynchronous>
  150. </component>
  151. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  152. <fDenyTSConnections>false</fDenyTSConnections>
  153. </component>
  154. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  155. <UserAuthentication>0</UserAuthentication>
  156. </component>
  157. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  158. <FirewallGroups>
  159. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  160. <Active>true</Active>
  161. <Profile>all</Profile>
  162. <Group>@FirewallAPI.dll,-28752</Group>
  163. </FirewallGroup>
  164. </FirewallGroups>
  165. </component>
  166. </settings>
  167. <settings pass="oobeSystem">
  168. <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  169. <PreventDeviceEncryption>true</PreventDeviceEncryption>
  170. </component>
  171. <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  172. <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
  173. </component>
  174. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  175. <UserAccounts>
  176. <LocalAccounts>
  177. <LocalAccount wcm:action="add">
  178. <Name>Docker</Name>
  179. <Group>Administrators</Group>
  180. <Password>
  181. <Value />
  182. <PlainText>true</PlainText>
  183. </Password>
  184. </LocalAccount>
  185. </LocalAccounts>
  186. <AdministratorPassword>
  187. <Value>password</Value>
  188. <PlainText>true</PlainText>
  189. </AdministratorPassword>
  190. </UserAccounts>
  191. <AutoLogon>
  192. <Username>Docker</Username>
  193. <Enabled>true</Enabled>
  194. <LogonCount>65432</LogonCount>
  195. <Password>
  196. <Value />
  197. <PlainText>true</PlainText>
  198. </Password>
  199. </AutoLogon>
  200. <Display>
  201. <ColorDepth>32</ColorDepth>
  202. <HorizontalResolution>1920</HorizontalResolution>
  203. <VerticalResolution>1080</VerticalResolution>
  204. </Display>
  205. <OOBE>
  206. <HideEULAPage>true</HideEULAPage>
  207. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  208. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  209. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  210. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  211. <NetworkLocation>Home</NetworkLocation>
  212. <ProtectYourPC>3</ProtectYourPC>
  213. <SkipUserOOBE>true</SkipUserOOBE>
  214. <SkipMachineOOBE>true</SkipMachineOOBE>
  215. </OOBE>
  216. <RegisteredOrganization>Dockur</RegisteredOrganization>
  217. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  218. <FirstLogonCommands>
  219. <SynchronousCommand wcm:action="add">
  220. <Order>1</Order>
  221. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
  222. <Description>Allow guest access to network shares</Description>
  223. </SynchronousCommand>
  224. <SynchronousCommand wcm:action="add">
  225. <Order>3</Order>
  226. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
  227. <Description>Enable option for passwordless sign-in</Description>
  228. </SynchronousCommand>
  229. <SynchronousCommand wcm:action="add">
  230. <Order>4</Order>
  231. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  232. <Description>Password Never Expires</Description>
  233. </SynchronousCommand>
  234. <SynchronousCommand wcm:action="add">
  235. <Order>5</Order>
  236. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  237. <Description>Disable Hibernation</Description>
  238. </SynchronousCommand>
  239. <SynchronousCommand wcm:action="add">
  240. <Order>6</Order>
  241. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  242. <Description>Disable monitor blanking</Description>
  243. </SynchronousCommand>
  244. <SynchronousCommand wcm:action="add">
  245. <Order>7</Order>
  246. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  247. <Description>Disable first-run experience in Edge</Description>
  248. </SynchronousCommand>
  249. <SynchronousCommand wcm:action="add">
  250. <Order>8</Order>
  251. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  252. <Description>Show file extensions in Explorer</Description>
  253. </SynchronousCommand>
  254. <SynchronousCommand wcm:action="add">
  255. <Order>9</Order>
  256. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
  257. <Description>Zero Hibernation File</Description>
  258. </SynchronousCommand>
  259. <SynchronousCommand wcm:action="add">
  260. <Order>10</Order>
  261. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
  262. <Description>Disable Hibernation</Description>
  263. </SynchronousCommand>
  264. <SynchronousCommand wcm:action="add">
  265. <Order>11</Order>
  266. <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
  267. <Description>Disable Sleep</Description>
  268. </SynchronousCommand>
  269. <SynchronousCommand wcm:action="add">
  270. <Order>12</Order>
  271. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
  272. <Description>Enable RemoteAPP to launch unlisted programs</Description>
  273. </SynchronousCommand>
  274. <SynchronousCommand wcm:action="add">
  275. <Order>13</Order>
  276. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
  277. <Description>Turn off Windows Update auto download</Description>
  278. </SynchronousCommand>
  279. <SynchronousCommand wcm:action="add">
  280. <Order>14</Order>
  281. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
  282. <Description>Enable Network Discovery</Description>
  283. </SynchronousCommand>
  284. <SynchronousCommand wcm:action="add">
  285. <Order>15</Order>
  286. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
  287. <Description>Enable File Sharing</Description>
  288. </SynchronousCommand>
  289. <SynchronousCommand wcm:action="add">
  290. <Order>16</Order>
  291. <CommandLine>cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts</CommandLine>
  292. <Description>Add entry in hosts file</Description>
  293. </SynchronousCommand>
  294. <SynchronousCommand wcm:action="add">
  295. <Order>17</Order>
  296. <CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
  297. <Description>Execute custom script from the OEM folder if exists</Description>
  298. </SynchronousCommand>
  299. </FirstLogonCommands>
  300. </component>
  301. </settings>
  302. </unattend>