win81x64-enterprise.xml 15 KB

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