win2008r2-eval.xml 15 KB

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