winvistax64.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
  3. <settings pass="windowsPE">
  4. <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  5. <SetupUILanguage>
  6. <UILanguage>en-US</UILanguage>
  7. </SetupUILanguage>
  8. <InputLocale>0409:00000409</InputLocale>
  9. <SystemLocale>en-US</SystemLocale>
  10. <UILanguage>en-US</UILanguage>
  11. <UserLocale>en-US</UserLocale>
  12. </component>
  13. <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  14. <DiskConfiguration>
  15. <WillShowUI>OnError</WillShowUI>
  16. <Disk wcm:action="add">
  17. <DiskID>0</DiskID>
  18. <WillWipeDisk>true</WillWipeDisk>
  19. <CreatePartitions>
  20. <CreatePartition wcm:action="add">
  21. <Order>1</Order>
  22. <Type>Primary</Type>
  23. <Extend>true</Extend>
  24. </CreatePartition>
  25. </CreatePartitions>
  26. <ModifyPartitions>
  27. <ModifyPartition wcm:action="add">
  28. <Active>true</Active>
  29. <Format>NTFS</Format>
  30. <Label>Windows</Label>
  31. <Letter>C</Letter>
  32. <Order>1</Order>
  33. <PartitionID>1</PartitionID>
  34. </ModifyPartition>
  35. </ModifyPartitions>
  36. </Disk>
  37. </DiskConfiguration>
  38. <ImageInstall>
  39. <OSImage>
  40. <InstallFrom>
  41. <MetaData wcm:action="add">
  42. <Value>Windows Vista BUSINESS</Value>
  43. <Key>/IMAGE/NAME</Key>
  44. </MetaData>
  45. </InstallFrom>
  46. <InstallTo>
  47. <DiskID>0</DiskID>
  48. <PartitionID>1</PartitionID>
  49. </InstallTo>
  50. <WillShowUI>OnError</WillShowUI>
  51. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  52. </OSImage>
  53. </ImageInstall>
  54. <UserData>
  55. <AcceptEula>true</AcceptEula>
  56. <FullName>Docker</FullName>
  57. <Organization>Windows for Docker</Organization>
  58. <ProductKey>
  59. <Key>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</Key>
  60. </ProductKey>
  61. </UserData>
  62. </component>
  63. </settings>
  64. <settings pass="generalize">
  65. <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  66. <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
  67. </component>
  68. <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  69. <SkipRearm>1</SkipRearm>
  70. </component>
  71. </settings>
  72. <settings pass="specialize">
  73. <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  74. <SkipAutoActivation>true</SkipAutoActivation>
  75. </component>
  76. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  77. <ComputerName>*</ComputerName>
  78. <ProductKey>4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</ProductKey>
  79. <TimeZone>Pacific Standard Time</TimeZone>
  80. <OEMInformation>
  81. <Manufacturer>Dockur</Manufacturer>
  82. <Model>Windows for Docker</Model>
  83. </OEMInformation>
  84. <RegisteredOrganization>Dockur</RegisteredOrganization>
  85. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  86. </component>
  87. <component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  88. <DisableSR>1</DisableSR>
  89. </component>
  90. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  91. <fDenyTSConnections>false</fDenyTSConnections>
  92. </component>
  93. <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  94. <RunSynchronous>
  95. <RunSynchronousCommand wcm:action="add">
  96. <Order>1</Order>
  97. <Path>C:\Windows\Drivers\Balloon\blnsvr.exe -i</Path>
  98. <Description>Install VirtIO Balloon service</Description>
  99. </RunSynchronousCommand>
  100. </RunSynchronous>
  101. </component>
  102. </settings>
  103. <settings pass="oobeSystem">
  104. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  105. <InputLocale>0409:00000409</InputLocale>
  106. <SystemLocale>en-US</SystemLocale>
  107. <UILanguage>en-US</UILanguage>
  108. <UserLocale>en-US</UserLocale>
  109. </component>
  110. <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  111. <Home_Page>about:blank</Home_Page>
  112. </component>
  113. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  114. <CEIPEnabled>0</CEIPEnabled>
  115. </component>
  116. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  117. <UserAccounts>
  118. <LocalAccounts>
  119. <LocalAccount wcm:action="add">
  120. <Name>Docker</Name>
  121. <Group>Administrators</Group>
  122. <Password>
  123. <Value />
  124. <PlainText>true</PlainText>
  125. </Password>
  126. </LocalAccount>
  127. </LocalAccounts>
  128. <AdministratorPassword>
  129. <Value>password</Value>
  130. <PlainText>true</PlainText>
  131. </AdministratorPassword>
  132. </UserAccounts>
  133. <AutoLogon>
  134. <Username>Docker</Username>
  135. <Enabled>true</Enabled>
  136. <LogonCount>65432</LogonCount>
  137. <Password>
  138. <Value />
  139. <PlainText>true</PlainText>
  140. </Password>
  141. </AutoLogon>
  142. <Display>
  143. <ColorDepth>32</ColorDepth>
  144. <HorizontalResolution>1920</HorizontalResolution>
  145. <VerticalResolution>1080</VerticalResolution>
  146. </Display>
  147. <OOBE>
  148. <HideEULAPage>true</HideEULAPage>
  149. <NetworkLocation>Home</NetworkLocation>
  150. <ProtectYourPC>3</ProtectYourPC>
  151. <SkipUserOOBE>true</SkipUserOOBE>
  152. <SkipMachineOOBE>false</SkipMachineOOBE>
  153. </OOBE>
  154. <RegisteredOrganization>Dockur</RegisteredOrganization>
  155. <RegisteredOwner>Windows for Docker</RegisteredOwner>
  156. <FirstLogonCommands>
  157. <SynchronousCommand wcm:action="add">
  158. <Order>1</Order>
  159. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f</CommandLine>
  160. <Description>Allow guest access to network shares</Description>
  161. </SynchronousCommand>
  162. <SynchronousCommand wcm:action="add">
  163. <Order>3</Order>
  164. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  165. <Description>Password Never Expires</Description>
  166. </SynchronousCommand>
  167. <SynchronousCommand wcm:action="add">
  168. <Order>4</Order>
  169. <CommandLine>cmd /C POWERCFG -H OFF</CommandLine>
  170. <Description>Disable Hibernation</Description>
  171. </SynchronousCommand>
  172. <SynchronousCommand wcm:action="add">
  173. <Order>5</Order>
  174. <CommandLine>cmd /C POWERCFG -X -monitor-timeout-ac 0</CommandLine>
  175. <Description>Disable monitor blanking</Description>
  176. </SynchronousCommand>
  177. <SynchronousCommand wcm:action="add">
  178. <Order>6</Order>
  179. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff" /f</CommandLine>
  180. <Description>Disable Network Discovery popup</Description>
  181. </SynchronousCommand>
  182. <SynchronousCommand wcm:action="add">
  183. <Order>7</Order>
  184. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NetworkLocationWizard" /v "HideWizard" /t REG_DWORD /d 1 /f</CommandLine>
  185. <Description>Disable Network Discovery popup</Description>
  186. </SynchronousCommand>
  187. <SynchronousCommand wcm:action="add">
  188. <Order>8</Order>
  189. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\NewNetworks" /v NetworkList /t REG_MULTI_SZ /d "" /f</CommandLine>
  190. <Description>Disable Network Discovery popup</Description>
  191. </SynchronousCommand>
  192. <SynchronousCommand wcm:action="add">
  193. <Order>9</Order>
  194. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v "HideFirstRunExperience" /t REG_DWORD /d 1 /f</CommandLine>
  195. <Description>Disable first-run experience in Edge</Description>
  196. </SynchronousCommand>
  197. <SynchronousCommand wcm:action="add">
  198. <Order>10</Order>
  199. <CommandLine>reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /f</CommandLine>
  200. <Description>Show file extensions in Explorer</Description>
  201. </SynchronousCommand>
  202. <SynchronousCommand wcm:action="add">
  203. <Order>11</Order>
  204. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateFileSizePercent" /t REG_DWORD /d 0 /f</CommandLine>
  205. <Description>Zero Hibernation File</Description>
  206. </SynchronousCommand>
  207. <SynchronousCommand wcm:action="add">
  208. <Order>12</Order>
  209. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Power" /v "HibernateEnabled" /t REG_DWORD /d 0 /f</CommandLine>
  210. <Description>Disable Hibernation</Description>
  211. </SynchronousCommand>
  212. <SynchronousCommand wcm:action="add">
  213. <Order>13</Order>
  214. <CommandLine>cmd /C POWERCFG -X -standby-timeout-ac 0</CommandLine>
  215. <Description>Disable Sleep</Description>
  216. </SynchronousCommand>
  217. <SynchronousCommand wcm:action="add">
  218. <Order>14</Order>
  219. <CommandLine>netsh.exe advfirewall firewall set rule group="@FirewallAPI.dll,-28752" new enable=Yes</CommandLine>
  220. <Description>Add RDP in firewall</Description>
  221. </SynchronousCommand>
  222. <SynchronousCommand wcm:action="add">
  223. <Order>15</Order>
  224. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f</CommandLine>
  225. <Description>Enable RDP</Description>
  226. </SynchronousCommand>
  227. <SynchronousCommand wcm:action="add">
  228. <Order>16</Order>
  229. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar" /v "TurnOffSidebar" /t REG_DWORD /d 1 /f</CommandLine>
  230. <Description>Turn off sidebar</Description>
  231. </SynchronousCommand>
  232. <SynchronousCommand wcm:action="add">
  233. <Order>17</Order>
  234. <CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v "ScreenSaveActive" /t REG_SZ /d 0 /f</CommandLine>
  235. <Description>Disable screensaver</Description>
  236. </SynchronousCommand>
  237. <SynchronousCommand wcm:action="add">
  238. <Order>18</Order>
  239. <CommandLine>reg.exe add "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\System32\scrnsavex.scr /f</CommandLine>
  240. <Description>Disable screensaver</Description>
  241. </SynchronousCommand>
  242. <SynchronousCommand wcm:action="add">
  243. <Order>19</Order>
  244. <CommandLine>reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "fAllowUnlistedRemotePrograms" /t REG_DWORD /d 1 /f</CommandLine>
  245. <Description>Enable RemoteApp to launch unlisted programs</Description>
  246. </SynchronousCommand>
  247. <SynchronousCommand wcm:action="add">
  248. <Order>20</Order>
  249. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList" /v "fDisabledAllowList" /t REG_DWORD /d 1 /f</CommandLine>
  250. <Description>Disable RemoteApp allowlist</Description>
  251. </SynchronousCommand>
  252. <SynchronousCommand wcm:action="add">
  253. <Order>21</Order>
  254. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-32752" new enable=Yes</CommandLine>
  255. <Description>Enable Network Discovery</Description>
  256. </SynchronousCommand>
  257. <SynchronousCommand wcm:action="add">
  258. <Order>22</Order>
  259. <CommandLine>netsh advfirewall firewall set rule group="@FirewallAPI.dll,-28502" new enable=Yes</CommandLine>
  260. <Description>Enable File Sharing</Description>
  261. </SynchronousCommand>
  262. <SynchronousCommand wcm:action="add">
  263. <Order>23</Order>
  264. <CommandLine>cmd /C mklink /d %userprofile%\Desktop\Shared \\host.lan\Data</CommandLine>
  265. <Description>Create desktop shortcut to shared folder</Description>
  266. </SynchronousCommand>
  267. <SynchronousCommand wcm:action="add">
  268. <Order>24</Order>
  269. <CommandLine>cmd /C if exist "C:\OEM\install.bat" start "Install" "cmd /C C:\OEM\install.bat"</CommandLine>
  270. <Description>Execute custom script from the OEM folder if exists</Description>
  271. </SynchronousCommand>
  272. </FirstLogonCommands>
  273. </component>
  274. </settings>
  275. </unattend>