win2016-eval.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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. <!-- Windows RE Tools partition -->
  21. <CreatePartition wcm:action="add">
  22. <Order>1</Order>
  23. <Type>Primary</Type>
  24. <Size>300</Size>
  25. </CreatePartition>
  26. <!-- System partition (ESP) -->
  27. <CreatePartition wcm:action="add">
  28. <Order>2</Order>
  29. <Type>EFI</Type>
  30. <Size>100</Size>
  31. </CreatePartition>
  32. <!-- Microsoft reserved partition (MSR) -->
  33. <CreatePartition wcm:action="add">
  34. <Order>3</Order>
  35. <Type>MSR</Type>
  36. <Size>128</Size>
  37. </CreatePartition>
  38. <!-- Windows partition -->
  39. <CreatePartition wcm:action="add">
  40. <Order>4</Order>
  41. <Type>Primary</Type>
  42. <Extend>true</Extend>
  43. </CreatePartition>
  44. </CreatePartitions>
  45. <ModifyPartitions>
  46. <!-- Windows RE Tools partition -->
  47. <ModifyPartition wcm:action="add">
  48. <Order>1</Order>
  49. <PartitionID>1</PartitionID>
  50. <Label>WINRE</Label>
  51. <Format>NTFS</Format>
  52. <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
  53. </ModifyPartition>
  54. <!-- System partition (ESP) -->
  55. <ModifyPartition wcm:action="add">
  56. <Order>2</Order>
  57. <PartitionID>2</PartitionID>
  58. <Label>System</Label>
  59. <Format>FAT32</Format>
  60. </ModifyPartition>
  61. <!-- MSR partition does not need to be modified -->
  62. <ModifyPartition wcm:action="add">
  63. <Order>3</Order>
  64. <PartitionID>3</PartitionID>
  65. </ModifyPartition>
  66. <!-- Windows partition -->
  67. <ModifyPartition wcm:action="add">
  68. <Order>4</Order>
  69. <PartitionID>4</PartitionID>
  70. <Label>Windows</Label>
  71. <Letter>C</Letter>
  72. <Format>NTFS</Format>
  73. </ModifyPartition>
  74. </ModifyPartitions>
  75. </Disk>
  76. </DiskConfiguration>
  77. <ImageInstall>
  78. <OSImage>
  79. <InstallFrom>
  80. <MetaData wcm:action="add">
  81. <Key>/IMAGE/NAME</Key>
  82. <Value>Windows Server 2016 SERVERSTANDARD</Value>
  83. </MetaData>
  84. </InstallFrom>
  85. <InstallTo>
  86. <DiskID>0</DiskID>
  87. <PartitionID>4</PartitionID>
  88. </InstallTo>
  89. <WillShowUI>OnError</WillShowUI>
  90. <InstallToAvailablePartition>false</InstallToAvailablePartition>
  91. </OSImage>
  92. </ImageInstall>
  93. <UserData>
  94. <AcceptEula>true</AcceptEula>
  95. <FullName>Docker</FullName>
  96. <Organization>Organization</Organization>
  97. <ProductKey/>
  98. </UserData>
  99. <EnableFirewall>false</EnableFirewall>
  100. </component>
  101. <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  102. <DriverPaths>
  103. <PathAndCredentials wcm:action="add" wcm:keyValue="1">
  104. <Path>D:\viostor\2k16\amd64</Path>
  105. </PathAndCredentials>
  106. <PathAndCredentials wcm:action="add" wcm:keyValue="2">
  107. <Path>D:\NetKVM\2k16\amd64</Path>
  108. </PathAndCredentials>
  109. <PathAndCredentials wcm:action="add" wcm:keyValue="3">
  110. <Path>D:\Balloon\2k16\amd64</Path>
  111. </PathAndCredentials>
  112. <PathAndCredentials wcm:action="add" wcm:keyValue="4">
  113. <Path>D:\pvpanic\2k16\amd64</Path>
  114. </PathAndCredentials>
  115. <PathAndCredentials wcm:action="add" wcm:keyValue="5">
  116. <Path>D:\qemupciserial\2k16\amd64</Path>
  117. </PathAndCredentials>
  118. <PathAndCredentials wcm:action="add" wcm:keyValue="6">
  119. <Path>D:\qxldod\2k16\amd64</Path>
  120. </PathAndCredentials>
  121. <PathAndCredentials wcm:action="add" wcm:keyValue="7">
  122. <Path>D:\vioinput\2k16\amd64</Path>
  123. </PathAndCredentials>
  124. <PathAndCredentials wcm:action="add" wcm:keyValue="8">
  125. <Path>D:\viorng\2k16\amd64</Path>
  126. </PathAndCredentials>
  127. <PathAndCredentials wcm:action="add" wcm:keyValue="9">
  128. <Path>D:\vioscsi\2k16\amd64</Path>
  129. </PathAndCredentials>
  130. <PathAndCredentials wcm:action="add" wcm:keyValue="10">
  131. <Path>D:\vioserial\2k16\amd64</Path>
  132. </PathAndCredentials>
  133. </DriverPaths>
  134. </component>
  135. </settings>
  136. <settings pass="offlineServicing">
  137. <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  138. <EnableLUA>false</EnableLUA>
  139. </component>
  140. </settings>
  141. <settings pass="generalize">
  142. <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  143. <SkipRearm>1</SkipRearm>
  144. </component>
  145. </settings>
  146. <settings pass="specialize">
  147. <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  148. <InputLocale>0409:00000409</InputLocale>
  149. <SystemLocale>en-US</SystemLocale>
  150. <UILanguage>en-US</UILanguage>
  151. <UILanguageFallback>en-US</UILanguageFallback>
  152. <UserLocale>en-US</UserLocale>
  153. </component>
  154. <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  155. <SkipAutoActivation>true</SkipAutoActivation>
  156. </component>
  157. <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  158. <CEIPEnabled>0</CEIPEnabled>
  159. </component>
  160. <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  161. <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
  162. </component>
  163. <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  164. <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
  165. </component>
  166. <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  167. <fDenyTSConnections>false</fDenyTSConnections>
  168. </component>
  169. <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  170. <UserAuthentication>0</UserAuthentication>
  171. </component>
  172. <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  173. <FirewallGroups>
  174. <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
  175. <Active>true</Active>
  176. <Group>Remote Desktop</Group>
  177. <Profile>all</Profile>
  178. </FirewallGroup>
  179. </FirewallGroups>
  180. </component>
  181. </settings>
  182. <settings pass="oobeSystem">
  183. <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  184. <UserAccounts>
  185. <LocalAccounts>
  186. <LocalAccount wcm:action="add">
  187. <Name>Docker</Name>
  188. <Group>Administrators</Group>
  189. <Password>
  190. <Value/>
  191. <PlainText>true</PlainText>
  192. </Password>
  193. </LocalAccount>
  194. </LocalAccounts>
  195. <AdministratorPassword>
  196. <Value>password</Value>
  197. <PlainText>true</PlainText>
  198. </AdministratorPassword>
  199. </UserAccounts>
  200. <AutoLogon>
  201. <Username>Docker</Username>
  202. <Enabled>true</Enabled>
  203. <LogonCount>1</LogonCount>
  204. <Password>
  205. <Value/>
  206. <PlainText>true</PlainText>
  207. </Password>
  208. </AutoLogon>
  209. <OOBE>
  210. <HideEULAPage>true</HideEULAPage>
  211. <HideLocalAccountScreen>true</HideLocalAccountScreen>
  212. <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
  213. <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
  214. <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
  215. <NetworkLocation>Home</NetworkLocation>
  216. <ProtectYourPC>1</ProtectYourPC>
  217. <SkipMachineOOBE>true</SkipMachineOOBE>
  218. <SkipUserOOBE>true</SkipUserOOBE>
  219. </OOBE>
  220. <FirstLogonCommands>
  221. <SynchronousCommand wcm:action="add">
  222. <Order>1</Order>
  223. <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
  224. <Description>Set AutoLogonCount to 0</Description>
  225. </SynchronousCommand>
  226. <SynchronousCommand wcm:action="add">
  227. <Order>2</Order>
  228. <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
  229. <Description>Allow RDP login with blank password</Description>
  230. </SynchronousCommand>
  231. <SynchronousCommand wcm:action="add">
  232. <Order>3</Order>
  233. <RequiresUserInput>false</RequiresUserInput>
  234. <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
  235. <Description>Password Never Expires</Description>
  236. </SynchronousCommand>
  237. <SynchronousCommand wcm:action="add">
  238. <Order>4</Order>
  239. <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
  240. <Description>Install VirtIO drivers</Description>
  241. </SynchronousCommand>
  242. </FirstLogonCommands>
  243. </component>
  244. </settings>
  245. </unattend>