win11x64-enterprise-eval.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  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. <Disk wcm:action="add">
  16. <DiskID>0</DiskID>
  17. <WillWipeDisk>true</WillWipeDisk>
  18. <CreatePartitions>
  19. <!-- System partition (ESP) -->
  20. <CreatePartition wcm:action="add">
  21. <Order>1</Order>
  22. <Type>EFI</Type>
  23. <Size>128</Size>
  24. </CreatePartition>
  25. <!-- Microsoft reserved partition (MSR) -->
  26. <CreatePartition wcm:action="add">
  27. <Order>2</Order>
  28. <Type>MSR</Type>
  29. <Size>128</Size>
  30. </CreatePartition>
  31. <!-- Windows partition -->
  32. <CreatePartition wcm:action="add">
  33. <Order>3</Order>
  34. <Type>Primary</Type>
  35. <Extend>true</Extend>
  36. </CreatePartition>
  37. </CreatePartitions>
  38. <ModifyPartitions>
  39. <!-- System partition (ESP) -->
  40. <ModifyPartition wcm:action="add">
  41. <Order>1</Order>
  42. <PartitionID>1</PartitionID>
  43. <Label>System</Label>
  44. <Format>FAT32</Format>
  45. </ModifyPartition>
  46. <!-- MSR partition does not need to be modified -->
  47. <ModifyPartition wcm:action="add">
  48. <Order>2</Order>
  49. <PartitionID>2</PartitionID>
  50. </ModifyPartition>
  51. <!-- Windows partition -->
  52. <ModifyPartition wcm:action="add">
  53. <Order>3</Order>
  54. <PartitionID>3</PartitionID>
  55. <Label>Windows</Label>
  56. <Letter>C</Letter>
  57. <Format>NTFS</Format>
  58. </ModifyPartition>
  59. </ModifyPartitions>
  60. </Disk>
  61. </DiskConfiguration>
  62. <ImageInstall>
  63. <OSImage>
  64. <InstallTo>
  65. <DiskID>0</DiskID>
  66. <PartitionID>3</PartitionID>
  67. </InstallTo>
  68. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  69. </OSImage>
  70. </ImageInstall>
  71. <DynamicUpdate>
  72. <Enable>true</Enable>
  73. <WillShowUI>Never</WillShowUI>
  74. </DynamicUpdate>
  75. <UpgradeData>
  76. <Upgrade>false</Upgrade>
  77. <WillShowUI>Never</WillShowUI>
  78. </UpgradeData>
  79. <UserData>
  80. <AcceptEula>true</AcceptEula>
  81. <FullName>Docker</FullName>
  82. <Organization>Windows for Docker</Organization>
  83. </UserData>
  84. <EnableFirewall>false</EnableFirewall>
  85. <Diagnostics>
  86. <OptIn>false</OptIn>
  87. </Diagnostics>
  88. <RunSynchronous>
  89. <RunSynchronousCommand wcm:action="add">
  90. <Order>1</Order>
  91. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f</Path>
  92. </RunSynchronousCommand>
  93. <RunSynchronousCommand wcm:action="add">
  94. <Order>2</Order>
  95. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f</Path>
  96. </RunSynchronousCommand>
  97. <RunSynchronousCommand wcm:action="add">
  98. <Order>3</Order>
  99. <Path>reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f</Path>
  100. </RunSynchronousCommand>
  101. <RunSynchronousCommand wcm:action="add">
  102. <Order>4</Order>
  103. <Path>reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f</Path>
  104. </RunSynchronousCommand>
  105. </RunSynchronous>
  106. </component>
  107. </settings>
  108. <settings pass="offlineServicing">
  109. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  110. <EnableLUA>false</EnableLUA>
  111. </component>
  112. </settings>
  113. <settings pass="generalize">
  114. <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  115. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  116. </component>
  117. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  118. <SkipRearm>1</SkipRearm>
  119. </component>
  120. </settings>
  121. <settings pass="specialize">
  122. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  123. <SkipAutoActivation>true</SkipAutoActivation>
  124. </component>
  125. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  126. <ComputerName>*</ComputerName>
  127. <OEMInformation>
  128. <Manufacturer>Dockur</Manufacturer>
  129. <Model>Windows for Docker</Model>
  130. <SupportHours>24/7</SupportHours>
  131. <SupportPhone />
  132. <SupportProvider>Dockur</SupportProvider>
  133. <SupportURL>https://github.com/dockur/windows/issues</SupportURL>
  134. </OEMInformation>
  135. <OEMName>Windows for Docker</OEMName>
  136. </component>
  137. <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  138. <DisableWER>1</DisableWER>
  139. </component>
  140. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  141. <DisableAccelerators>true</DisableAccelerators>
  142. <DisableFirstRunWizard>true</DisableFirstRunWizard>
  143. <Home_Page>https://google.com</Home_Page>
  144. <Help_Page>about:blank</Help_Page>
  145. </component>
  146. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" 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-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  153. <CEIPEnabled>0</CEIPEnabled>
  154. </component>
  155. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  156. <DisableSR>1</DisableSR>
  157. </component>
  158. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  159. <InputLocale>0409:00000409</InputLocale>
  160. <SystemLocale>en-US</SystemLocale>
  161. <UILanguage>en-US</UILanguage>
  162. <UserLocale>en-US</UserLocale>
  163. </component>
  164. <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  165. <RunSynchronous>
  166. <RunSynchronousCommand wcm:action="add">
  167. <Order>1</Order>
  168. <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE" /v BypassNRO /t REG_DWORD /d 1 /f</Path>
  169. </RunSynchronousCommand>
  170. <RunSynchronousCommand wcm:action="add">
  171. <Order>2</Order>
  172. <Path>reg.exe load "HKU\mount" "C:\Users\Default\NTUSER.DAT"</Path>
  173. </RunSynchronousCommand>
  174. <RunSynchronousCommand wcm:action="add">
  175. <Order>3</Order>
  176. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "ContentDeliveryAllowed" /t REG_DWORD /d 0 /f</Path>
  177. </RunSynchronousCommand>
  178. <RunSynchronousCommand wcm:action="add">
  179. <Order>4</Order>
  180. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "FeatureManagementEnabled" /t REG_DWORD /d 0 /f</Path>
  181. </RunSynchronousCommand>
  182. <RunSynchronousCommand wcm:action="add">
  183. <Order>5</Order>
  184. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "OEMPreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  185. </RunSynchronousCommand>
  186. <RunSynchronousCommand wcm:action="add">
  187. <Order>6</Order>
  188. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  189. </RunSynchronousCommand>
  190. <RunSynchronousCommand wcm:action="add">
  191. <Order>7</Order>
  192. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "PreInstalledAppsEverEnabled" /t REG_DWORD /d 0 /f</Path>
  193. </RunSynchronousCommand>
  194. <RunSynchronousCommand wcm:action="add">
  195. <Order>8</Order>
  196. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SilentInstalledAppsEnabled" /t REG_DWORD /d 0 /f</Path>
  197. </RunSynchronousCommand>
  198. <RunSynchronousCommand wcm:action="add">
  199. <Order>9</Order>
  200. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SoftLandingEnabled" /t REG_DWORD /d 0 /f</Path>
  201. </RunSynchronousCommand>
  202. <RunSynchronousCommand wcm:action="add">
  203. <Order>10</Order>
  204. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContentEnabled" /t REG_DWORD /d 0 /f</Path>
  205. </RunSynchronousCommand>
  206. <RunSynchronousCommand wcm:action="add">
  207. <Order>11</Order>
  208. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-310093Enabled" /t REG_DWORD /d 0 /f</Path>
  209. </RunSynchronousCommand>
  210. <RunSynchronousCommand wcm:action="add">
  211. <Order>12</Order>
  212. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338387Enabled" /t REG_DWORD /d 0 /f</Path>
  213. </RunSynchronousCommand>
  214. <RunSynchronousCommand wcm:action="add">
  215. <Order>13</Order>
  216. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338388Enabled" /t REG_DWORD /d 0 /f</Path>
  217. </RunSynchronousCommand>
  218. <RunSynchronousCommand wcm:action="add">
  219. <Order>14</Order>
  220. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338389Enabled" /t REG_DWORD /d 0 /f</Path>
  221. </RunSynchronousCommand>
  222. <RunSynchronousCommand wcm:action="add">
  223. <Order>15</Order>
  224. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-338393Enabled" /t REG_DWORD /d 0 /f</Path>
  225. </RunSynchronousCommand>
  226. <RunSynchronousCommand wcm:action="add">
  227. <Order>16</Order>
  228. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SubscribedContent-353698Enabled" /t REG_DWORD /d 0 /f</Path>
  229. </RunSynchronousCommand>
  230. <RunSynchronousCommand wcm:action="add">
  231. <Order>17</Order>
  232. <Path>reg.exe add "HKU\mount\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v "SystemPaneSuggestionsEnabled" /t REG_DWORD /d 0 /f</Path>
  233. </RunSynchronousCommand>
  234. <RunSynchronousCommand wcm:action="add">
  235. <Order>18</Order>
  236. <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
  237. </RunSynchronousCommand>
  238. <RunSynchronousCommand wcm:action="add">
  239. <Order>19</Order>
  240. <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
  241. </RunSynchronousCommand>
  242. <RunSynchronousCommand wcm:action="add">
  243. <Order>20</Order>
  244. <Path>reg.exe add "HKU\mount\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
  245. </RunSynchronousCommand>
  246. <RunSynchronousCommand wcm:action="add">
  247. <Order>21</Order>
  248. <Path>reg.exe unload "HKU\mount"</Path>
  249. </RunSynchronousCommand>
  250. <RunSynchronousCommand wcm:action="add">
  251. <Order>22</Order>
  252. <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableCloudOptimizedContent" /t REG_DWORD /d 1 /f</Path>
  253. </RunSynchronousCommand>
  254. <RunSynchronousCommand wcm:action="add">
  255. <Order>23</Order>
  256. <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableWindowsConsumerFeatures" /t REG_DWORD /d 1 /f</Path>
  257. </RunSynchronousCommand>
  258. <RunSynchronousCommand wcm:action="add">
  259. <Order>24</Order>
  260. <Path>reg.exe add "HKLM\Software\Policies\Microsoft\Windows\CloudContent" /v "DisableConsumerAccountStateContent" /t REG_DWORD /d 1 /f</Path>
  261. </RunSynchronousCommand>
  262. <RunSynchronousCommand wcm:action="add">
  263. <Order>25</Order>
  264. <Path>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 1 /f</Path>
  265. <Description>Set Network Location to Home</Description>
  266. </RunSynchronousCommand>
  267. <RunSynchronousCommand wcm:action="add">
  268. <Order>26</Order>
  269. <Path>pnputil -i -a C:\Windows\Drivers\viogpudo\viogpudo.inf</Path>
  270. <Description>Install VirtIO display driver</Description>
  271. </RunSynchronousCommand>
  272. </RunSynchronous>
  273. </component>
  274. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  275. <fDenyTSConnections>false</fDenyTSConnections>
  276. </component>
  277. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  278. <UserAuthentication>0</UserAuthentication>
  279. </component>
  280. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  281. <FirewallGroups>
  282. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  283. <Active>true</Active>
  284. <Profile>all</Profile>
  285. <Group>@FirewallAPI.dll,-28752</Group>
  286. </FirewallGroup>
  287. </FirewallGroups>
  288. </component>
  289. </settings>
  290. <settings pass="auditSystem" />
  291. <settings pass="auditUser" />
  292. <settings pass="oobeSystem">
  293. <component name="Microsoft-Windows-SecureStartup-FilterDriver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  294. <PreventDeviceEncryption>true</PreventDeviceEncryption>
  295. </component>
  296. <component name="Microsoft-Windows-EnhancedStorage-Adm" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  297. <TCGSecurityActivationDisabled>1</TCGSecurityActivationDisabled>
  298. </component>
  299. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  300. <UserAccounts>
  301. <LocalAccounts>
  302. <LocalAccount wcm:action="add">
  303. <Name>Docker</Name>
  304. <Group>Administrators</Group>
  305. <Password>
  306. <Value />
  307. <PlainText>true</PlainText>
  308. </Password>
  309. </LocalAccount>
  310. </LocalAccounts>
  311. <AdministratorPassword>
  312. <Value>password</Value>
  313. <PlainText>true</PlainText>
  314. </AdministratorPassword>
  315. </UserAccounts>
  316. <AutoLogon>
  317. <Username>Docker</Username>
  318. <Enabled>true</Enabled>
  319. <LogonCount>65432</LogonCount>
  320. <Password>
  321. <Value />
  322. <PlainText>true</PlainText>
  323. </Password>
  324. </AutoLogon>
  325. <Display>
  326. <ColorDepth>32</ColorDepth>
  327. <HorizontalResolution>1920</HorizontalResolution>
  328. <VerticalResolution>1080</VerticalResolution>
  329. </Display>
  330. <OOBE>
  331. <HideEULAPage>true</HideEULAPage>
  332. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  333. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  334. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  335. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  336. <NetworkLocation>Home</NetworkLocation>
  337. <ProtectYourPC>3</ProtectYourPC>
  338. <SkipUserOOBE>true</SkipUserOOBE>
  339. <SkipMachineOOBE>true</SkipMachineOOBE>
  340. </OOBE>
  341. <RegisteredOrganization>Dockur</RegisteredOrganization>
  342. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  343. <FirstLogonCommands>
  344. <SynchronousCommand wcm:action="add">
  345. <Order>1</Order>
  346. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
  347. <Description>Allow guest access to network shares</Description>
  348. </SynchronousCommand>
  349. <SynchronousCommand wcm:action="add">
  350. <Order>2</Order>
  351. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "RequireSecuritySignature" /t REG_DWORD /d 0 /f</CommandLine>
  352. <Description>Disable SMB signing requirement</Description>
  353. </SynchronousCommand>
  354. <SynchronousCommand wcm:action="add">
  355. <Order>4</Order>
  356. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v "DevicePasswordLessBuildVersion" /t REG_DWORD /d 0 /f</CommandLine>
  357. <Description>Enable option for passwordless sign-in</Description>
  358. </SynchronousCommand>
  359. <SynchronousCommand wcm:action="add">
  360. <Order>5</Order>
  361. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  362. <Description>Password Never Expires</Description>
  363. </SynchronousCommand>
  364. <SynchronousCommand wcm:action="add">
  365. <Order>6</Order>
  366. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  367. <Description>Disable Hibernation</Description>
  368. </SynchronousCommand>
  369. <SynchronousCommand wcm:action="add">
  370. <Order>7</Order>
  371. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  372. <Description>Disable monitor blanking</Description>
  373. </SynchronousCommand>
  374. <SynchronousCommand wcm:action="add">
  375. <Order>8</Order>
  376. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  377. <Description>Disable first-run experience in Edge</Description>
  378. </SynchronousCommand>
  379. <SynchronousCommand wcm:action="add">
  380. <Order>9</Order>
  381. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  382. <Description>Show file extensions in Explorer</Description>
  383. </SynchronousCommand>
  384. <SynchronousCommand wcm:action="add">
  385. <Order>10</Order>
  386. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
  387. <Description>Zero Hibernation File</Description>
  388. </SynchronousCommand>
  389. <SynchronousCommand wcm:action="add">
  390. <Order>11</Order>
  391. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
  392. <Description>Disable Hibernation</Description>
  393. </SynchronousCommand>
  394. <SynchronousCommand wcm:action="add">
  395. <Order>12</Order>
  396. <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
  397. <Description>Disable Sleep</Description>
  398. </SynchronousCommand>
  399. <SynchronousCommand wcm:action="add">
  400. <Order>13</Order>
  401. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
  402. <Description>Enable RemoteAPP to launch unlisted programs</Description>
  403. </SynchronousCommand>
  404. <SynchronousCommand wcm:action="add">
  405. <Order>14</Order>
  406. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowTaskViewButton" /t REG_DWORD /d 0 /f</CommandLine>
  407. <Description>Remove Task View from the Taskbar</Description>
  408. </SynchronousCommand>
  409. <SynchronousCommand wcm:action="add">
  410. <Order>15</Order>
  411. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d 0 /f</CommandLine>
  412. <Description>Remove Widgets from the Taskbar</Description>
  413. </SynchronousCommand>
  414. <SynchronousCommand wcm:action="add">
  415. <Order>16</Order>
  416. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarMn" /t REG_DWORD /d 0 /f</CommandLine>
  417. <Description>Remove Chat from the Taskbar</Description>
  418. </SynchronousCommand>
  419. <SynchronousCommand wcm:action="add">
  420. <Order>17</Order>
  421. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v "NoAutoUpdate" /t REG_DWORD /d 1 /f</CommandLine>
  422. <Description>Turn off Windows Update auto download</Description>
  423. </SynchronousCommand>
  424. <SynchronousCommand wcm:action="add">
  425. <Order>18</Order>
  426. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
  427. <Description>Enable Network Discovery</Description>
  428. </SynchronousCommand>
  429. <SynchronousCommand wcm:action="add">
  430. <Order>19</Order>
  431. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
  432. <Description>Enable File Sharing</Description>
  433. </SynchronousCommand>
  434. <SynchronousCommand wcm:action="add">
  435. <Order>20</Order>
  436. <CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f</CommandLine>
  437. <Description>Disable unsupported hardware notifications</Description>
  438. </SynchronousCommand>
  439. <SynchronousCommand wcm:action="add">
  440. <Order>21</Order>
  441. <CommandLine>reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f</CommandLine>
  442. <Description>Disable unsupported hardware notifications</Description>
  443. </SynchronousCommand>
  444. <SynchronousCommand wcm:action="add">
  445. <Order>22</Order>
  446. <CommandLine>cmd /C rd /q C:\Windows.old</CommandLine>
  447. <Description>Remove empty Windows.old folder</Description>
  448. </SynchronousCommand>
  449. <SynchronousCommand wcm:action="add">
  450. <Order>23</Order>
  451. <CommandLine>cmd /C echo 20.20.20.1 host.lan >> %WINDIR%\system32\drivers\etc\hosts</CommandLine>
  452. <Description>Add entry in hosts file</Description>
  453. </SynchronousCommand>
  454. <SynchronousCommand wcm:action="add">
  455. <Order>24</Order>
  456. <CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
  457. <Description>Execute custom script from the OEM folder if exists</Description>
  458. </SynchronousCommand>
  459. </FirstLogonCommands>
  460. </component>
  461. </settings>
  462. </unattend>