win2008r2-eval.xml 15 KB

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