win7x64.xml 14 KB

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