win81x64-enterprise.xml 17 KB

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