win10x64-iot.xml 23 KB

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