win11x64-iot.xml 25 KB

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