win2012r2.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  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. <UILanguageFallback>en-US</UILanguageFallback>
  12. <UserLocale>en-US</UserLocale>
  13. </component>
  14. <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  15. <DiskConfiguration>
  16. <Disk wcm:action="add">
  17. <DiskID>0</DiskID>
  18. <WillWipeDisk>true</WillWipeDisk>
  19. <CreatePartitions>
  20. <!-- System partition (ESP) -->
  21. <CreatePartition wcm:action="add">
  22. <Order>1</Order>
  23. <Type>EFI</Type>
  24. <Size>128</Size>
  25. </CreatePartition>
  26. <!-- Microsoft reserved partition (MSR) -->
  27. <CreatePartition wcm:action="add">
  28. <Order>2</Order>
  29. <Type>MSR</Type>
  30. <Size>128</Size>
  31. </CreatePartition>
  32. <!-- Windows partition -->
  33. <CreatePartition wcm:action="add">
  34. <Order>3</Order>
  35. <Type>Primary</Type>
  36. <Extend>true</Extend>
  37. </CreatePartition>
  38. </CreatePartitions>
  39. <ModifyPartitions>
  40. <!-- System partition (ESP) -->
  41. <ModifyPartition wcm:action="add">
  42. <Order>1</Order>
  43. <PartitionID>1</PartitionID>
  44. <Label>System</Label>
  45. <Format>FAT32</Format>
  46. </ModifyPartition>
  47. <!-- MSR partition does not need to be modified -->
  48. <ModifyPartition wcm:action="add">
  49. <Order>2</Order>
  50. <PartitionID>2</PartitionID>
  51. </ModifyPartition>
  52. <!-- Windows partition -->
  53. <ModifyPartition wcm:action="add">
  54. <Order>3</Order>
  55. <PartitionID>3</PartitionID>
  56. <Label>Windows</Label>
  57. <Letter>C</Letter>
  58. <Format>NTFS</Format>
  59. </ModifyPartition>
  60. </ModifyPartitions>
  61. </Disk>
  62. </DiskConfiguration>
  63. <ImageInstall>
  64. <OSImage>
  65. <InstallFrom>
  66. <MetaData wcm:action="add">
  67. <Key>/image/index</Key>
  68. <Value>2</Value>
  69. </MetaData>
  70. </InstallFrom>
  71. <InstallTo>
  72. <DiskID>0</DiskID>
  73. <PartitionID>3</PartitionID>
  74. </InstallTo>
  75. <WillShowUI>OnError</WillShowUI>
  76. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  77. </OSImage>
  78. </ImageInstall>
  79. <DynamicUpdate>
  80. <Enable>true</Enable>
  81. <WillShowUI>Never</WillShowUI>
  82. </DynamicUpdate>
  83. <UpgradeData>
  84. <Upgrade>false</Upgrade>
  85. <WillShowUI>Never</WillShowUI>
  86. </UpgradeData>
  87. <UserData>
  88. <AcceptEula>true</AcceptEula>
  89. <FullName>Docker</FullName>
  90. <Organization>Windows for Docker</Organization>
  91. <ProductKey>
  92. <Key>D2N9P-3P6X9-2R39C-7RTCD-MDVJX</Key>
  93. </ProductKey>
  94. </UserData>
  95. <EnableFirewall>false</EnableFirewall>
  96. <Diagnostics>
  97. <OptIn>false</OptIn>
  98. </Diagnostics>
  99. </component>
  100. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  101. <DriverPaths>
  102. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  103. <Path>D:\viostor\2k16\amd64</Path>
  104. </PathAndCredentials>
  105. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  106. <Path>D:\NetKVM\2k16\amd64</Path>
  107. </PathAndCredentials>
  108. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  109. <Path>D:\Balloon\2k16\amd64</Path>
  110. </PathAndCredentials>
  111. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  112. <Path>D:\pvpanic\2k16\amd64</Path>
  113. </PathAndCredentials>
  114. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  115. <Path>D:\qemupciserial\2k16\amd64</Path>
  116. </PathAndCredentials>
  117. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  118. <Path>D:\qxldod\2k16\amd64</Path>
  119. </PathAndCredentials>
  120. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  121. <Path>D:\vioinput\2k16\amd64</Path>
  122. </PathAndCredentials>
  123. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  124. <Path>D:\viorng\2k16\amd64</Path>
  125. </PathAndCredentials>
  126. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  127. <Path>D:\vioscsi\2k16\amd64</Path>
  128. </PathAndCredentials>
  129. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  130. <Path>D:\vioserial\2k16\amd64</Path>
  131. </PathAndCredentials>
  132. <PathAndCredentials wcm:action="add" wcm:keyValue="11">
  133. <Path>D:\viogpudo\2k16\amd64</Path>
  134. </PathAndCredentials>
  135. <PathAndCredentials wcm:action="add" wcm:keyValue="12">
  136. <Path>D:\sriov\2k16\amd64</Path>
  137. </PathAndCredentials>
  138. <PathAndCredentials wcm:action="add" wcm:keyValue="13">
  139. <Path>D:\viofs\2k16\amd64</Path>
  140. </PathAndCredentials>
  141. </DriverPaths>
  142. </component>
  143. </settings>
  144. <settings pass="offlineServicing">
  145. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  146. <EnableLUA>false</EnableLUA>
  147. </component>
  148. </settings>
  149. <settings pass="generalize">
  150. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  151. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  152. </component>
  153. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  154. <SkipRearm>1</SkipRearm>
  155. </component>
  156. </settings>
  157. <settings pass="specialize">
  158. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  159. <SkipAutoActivation>true</SkipAutoActivation>
  160. </component>
  161. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  162. <ComputerName>*</ComputerName>
  163. <OEMInformation>
  164. <Manufacturer>Dockur</Manufacturer>
  165. <Model>Windows for Docker</Model>
  166. </OEMInformation>
  167. <OEMName>Windows for Docker</OEMName>
  168. </component>
  169. <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  170. <DisableWER>1</DisableWER>
  171. </component>
  172. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  173. <DisableAccelerators>true</DisableAccelerators>
  174. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  175. <Home_Page>https://google.com</Home_Page>
  176. <Help_Page>about:blank</Help_Page>
  177. </component>
  178. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  179. <DisableAccelerators>true</DisableAccelerators>
  180. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  181. <Home_Page>https://google.com</Home_Page>
  182. <Help_Page>about:blank</Help_Page>
  183. </component>
  184. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  185. <CEIPEnabled>0</CEIPEnabled>
  186. </component>
  187. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  188. <DisableSR>1</DisableSR>
  189. </component>
  190. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  191. <InputLocale>0409:00000409</InputLocale>
  192. <SystemLocale>en-US</SystemLocale>
  193. <UILanguage>en-US</UILanguage>
  194. <UILanguageFallback>en-US</UILanguageFallback>
  195. <UserLocale>en-US</UserLocale>
  196. </component>
  197. <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  198. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  199. </component>
  200. <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  201. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  202. </component>
  203. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  204. <fDenyTSConnections>false</fDenyTSConnections>
  205. </component>
  206. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  207. <UserAuthentication>0</UserAuthentication>
  208. </component>
  209. </settings>
  210. <settings pass="oobeSystem">
  211. <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  212. <PreventDeviceEncryption>true</PreventDeviceEncryption>
  213. </component>
  214. <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  215. <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
  216. </component>
  217. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  218. <UserAccounts>
  219. <LocalAccounts>
  220. <LocalAccount wcm:action="add">
  221. <Name>Docker</Name>
  222. <Group>Administrators</Group>
  223. <Password>
  224. <Value />
  225. <PlainText>true</PlainText>
  226. </Password>
  227. </LocalAccount>
  228. </LocalAccounts>
  229. <AdministratorPassword>
  230. <Value>password</Value>
  231. <PlainText>true</PlainText>
  232. </AdministratorPassword>
  233. </UserAccounts>
  234. <AutoLogon>
  235. <Username>Docker</Username>
  236. <Enabled>true</Enabled>
  237. <LogonCount>65432</LogonCount>
  238. <Password>
  239. <Value />
  240. <PlainText>true</PlainText>
  241. </Password>
  242. </AutoLogon>
  243. <OOBE>
  244. <HideEULAPage>true</HideEULAPage>
  245. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  246. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  247. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  248. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  249. <NetworkLocation>Other</NetworkLocation>
  250. <ProtectYourPC>3</ProtectYourPC>
  251. <SkipUserOOBE>true</SkipUserOOBE>
  252. <SkipMachineOOBE>true</SkipMachineOOBE>
  253. </OOBE>
  254. <RegisteredOrganization>Dockur</RegisteredOrganization>
  255. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  256. <FirstLogonCommands>
  257. <SynchronousCommand wcm:action="add">
  258. <Order>1</Order>
  259. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
  260. <Description>Allow guest access to network shares</Description>
  261. </SynchronousCommand>
  262. <SynchronousCommand wcm:action="add">
  263. <Order>2</Order>
  264. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  265. <Description>Allow RDP login with blank password</Description>
  266. </SynchronousCommand>
  267. <SynchronousCommand wcm:action="add">
  268. <Order>3</Order>
  269. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
  270. <Description>Enable option for passwordless sign-in</Description>
  271. </SynchronousCommand>
  272. <SynchronousCommand wcm:action="add">
  273. <Order>4</Order>
  274. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  275. <Description>Password Never Expires</Description>
  276. </SynchronousCommand>
  277. <SynchronousCommand wcm:action="add">
  278. <Order>5</Order>
  279. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  280. <Description>Disable Hibernation</Description>
  281. </SynchronousCommand>
  282. <SynchronousCommand wcm:action="add">
  283. <Order>6</Order>
  284. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  285. <Description>Disable monitor blanking</Description>
  286. </SynchronousCommand>
  287. <SynchronousCommand wcm:action="add">
  288. <Order>7</Order>
  289. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
  290. <Description>Disable Network Discovery popup</Description>
  291. </SynchronousCommand>
  292. <SynchronousCommand wcm:action="add">
  293. <Order>8</Order>
  294. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
  295. <Description>Disable Network Discovery popup</Description>
  296. </SynchronousCommand>
  297. <SynchronousCommand wcm:action="add">
  298. <Order>9</Order>
  299. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  300. <Description>Disable first-run experience in Edge</Description>
  301. </SynchronousCommand>
  302. <SynchronousCommand wcm:action="add">
  303. <Order>10</Order>
  304. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  305. <Description>Show file extensions in Explorer</Description>
  306. </SynchronousCommand>
  307. <SynchronousCommand wcm:action="add">
  308. <Order>11</Order>
  309. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
  310. <Description>Zero Hibernation File</Description>
  311. </SynchronousCommand>
  312. <SynchronousCommand wcm:action="add">
  313. <Order>12</Order>
  314. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
  315. <Description>Disable Hibernation</Description>
  316. </SynchronousCommand>
  317. <SynchronousCommand wcm:action="add">
  318. <Order>13</Order>
  319. <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
  320. <Description>Disable Sleep</Description>
  321. </SynchronousCommand>
  322. <SynchronousCommand wcm:action="add">
  323. <Order>14</Order>
  324. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
  325. <Description>Enable RemoteAPP to launch unlisted programs</Description>
  326. </SynchronousCommand>
  327. <SynchronousCommand wcm:action="add">
  328. <Order>15</Order>
  329. <CommandLine>powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "NetDIS.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)"</CommandLine>
  330. <Description>Enable Network Discovery</Description>
  331. </SynchronousCommand>
  332. <SynchronousCommand wcm:action="add">
  333. <Order>16</Order>
  334. <CommandLine>powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "FPS-.*" | Select-Object DisplayGroup -Unique | % DisplayGroup)"</CommandLine>
  335. <Description>Enable File Sharing</Description>
  336. </SynchronousCommand>
  337. <SynchronousCommand wcm:action="add">
  338. <Order>17</Order>
  339. <CommandLine>powershell -ExecutionPolicy ByPass -Command "Enable-NetFirewallRule -DisplayGroup @(Get-NetFirewallRule | Where-Object Name -Match "RemoteDesktop-[^I].*" | Select-Object DisplayGroup -Unique | % DisplayGroup)"</CommandLine>
  340. <Description>Add RDP in firewall</Description>
  341. </SynchronousCommand>
  342. <SynchronousCommand wcm:action="add">
  343. <Order>18</Order>
  344. <CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
  345. <Description>Execute custom script from the OEM folder if exists</Description>
  346. </SynchronousCommand>
  347. </FirstLogonCommands>
  348. </component>
  349. </settings>
  350. </unattend>