win2008r2.xml 15 KB

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