win81x64.xml 15 KB

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