mirror of
				https://github.com/dockur/windows.git
				synced 2025-10-27 19:35:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			245 lines
		
	
	
	
		
			11 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			245 lines
		
	
	
	
		
			11 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
 | |
|   <settings pass="windowsPE">
 | |
|     <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <SetupUILanguage>
 | |
|         <UILanguage>en-US</UILanguage>
 | |
|       </SetupUILanguage>
 | |
|       <InputLocale>0409:00000409</InputLocale>
 | |
|       <SystemLocale>en-US</SystemLocale>
 | |
|       <UILanguage>en-US</UILanguage>
 | |
|       <UILanguageFallback>en-US</UILanguageFallback>
 | |
|       <UserLocale>en-US</UserLocale>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <DiskConfiguration>
 | |
|         <Disk wcm:action="add">
 | |
|           <DiskID>0</DiskID>
 | |
|           <WillWipeDisk>true</WillWipeDisk>
 | |
|           <CreatePartitions>
 | |
|             <!-- Windows RE Tools partition -->
 | |
|             <CreatePartition wcm:action="add">
 | |
|               <Order>1</Order>
 | |
|               <Type>Primary</Type>
 | |
|               <Size>300</Size>
 | |
|             </CreatePartition>
 | |
|             <!-- System partition (ESP) -->
 | |
|             <CreatePartition wcm:action="add">
 | |
|               <Order>2</Order>
 | |
|               <Type>EFI</Type>
 | |
|               <Size>100</Size>
 | |
|             </CreatePartition>
 | |
|             <!-- Microsoft reserved partition (MSR) -->
 | |
|             <CreatePartition wcm:action="add">
 | |
|               <Order>3</Order>
 | |
|               <Type>MSR</Type>
 | |
|               <Size>128</Size>
 | |
|             </CreatePartition>
 | |
|             <!-- Windows partition -->
 | |
|             <CreatePartition wcm:action="add">
 | |
|               <Order>4</Order>
 | |
|               <Type>Primary</Type>
 | |
|               <Extend>true</Extend>
 | |
|             </CreatePartition>
 | |
|           </CreatePartitions>
 | |
|           <ModifyPartitions>
 | |
|             <!-- Windows RE Tools partition -->
 | |
|             <ModifyPartition wcm:action="add">
 | |
|               <Order>1</Order>
 | |
|               <PartitionID>1</PartitionID>
 | |
|               <Label>WINRE</Label>
 | |
|               <Format>NTFS</Format>
 | |
|               <TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
 | |
|             </ModifyPartition>
 | |
|             <!-- System partition (ESP) -->
 | |
|             <ModifyPartition wcm:action="add">
 | |
|               <Order>2</Order>
 | |
|               <PartitionID>2</PartitionID>
 | |
|               <Label>System</Label>
 | |
|               <Format>FAT32</Format>
 | |
|             </ModifyPartition>
 | |
|             <!-- MSR partition does not need to be modified -->
 | |
|             <ModifyPartition wcm:action="add">
 | |
|               <Order>3</Order>
 | |
|               <PartitionID>3</PartitionID>
 | |
|             </ModifyPartition>
 | |
|             <!-- Windows partition -->
 | |
|             <ModifyPartition wcm:action="add">
 | |
|               <Order>4</Order>
 | |
|               <PartitionID>4</PartitionID>
 | |
|               <Label>Windows</Label>
 | |
|               <Letter>C</Letter>
 | |
|               <Format>NTFS</Format>
 | |
|             </ModifyPartition>
 | |
|           </ModifyPartitions>
 | |
|         </Disk>
 | |
|       </DiskConfiguration>
 | |
|       <ImageInstall>
 | |
|         <OSImage>
 | |
|           <InstallFrom>
 | |
|             <MetaData wcm:action="add">
 | |
|               <Key>/IMAGE/NAME</Key>
 | |
|               <Value>Windows Server 2016 SERVERSTANDARD</Value>
 | |
|             </MetaData>
 | |
|           </InstallFrom>
 | |
|           <InstallTo>
 | |
|             <DiskID>0</DiskID>
 | |
|             <PartitionID>4</PartitionID>
 | |
|           </InstallTo>
 | |
|           <WillShowUI>OnError</WillShowUI>
 | |
|           <InstallToAvailablePartition>false</InstallToAvailablePartition>
 | |
|         </OSImage>
 | |
|       </ImageInstall>
 | |
|       <UserData>
 | |
|         <AcceptEula>true</AcceptEula>
 | |
|         <FullName>Docker</FullName>
 | |
|         <Organization>Organization</Organization>
 | |
|         <ProductKey/>
 | |
|       </UserData>
 | |
|       <EnableFirewall>false</EnableFirewall>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <DriverPaths>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="1">
 | |
|           <Path>D:\viostor\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="2">
 | |
|           <Path>D:\NetKVM\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="3">
 | |
|           <Path>D:\Balloon\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="4">
 | |
|           <Path>D:\pvpanic\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="5">
 | |
|           <Path>D:\qemupciserial\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="6">
 | |
|           <Path>D:\qxldod\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="7">
 | |
|           <Path>D:\vioinput\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="8">
 | |
|           <Path>D:\viorng\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="9">
 | |
|           <Path>D:\vioscsi\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|         <PathAndCredentials wcm:action="add" wcm:keyValue="10">
 | |
|           <Path>D:\vioserial\2k16\amd64</Path>
 | |
|         </PathAndCredentials>
 | |
|       </DriverPaths>
 | |
|     </component>
 | |
|   </settings>
 | |
|   <settings pass="offlineServicing">
 | |
|     <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <EnableLUA>false</EnableLUA>
 | |
|     </component>
 | |
|   </settings>
 | |
|   <settings pass="generalize">
 | |
|     <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <SkipRearm>1</SkipRearm>
 | |
|     </component>
 | |
|   </settings>
 | |
|   <settings pass="specialize">
 | |
|     <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <InputLocale>0409:00000409</InputLocale>
 | |
|       <SystemLocale>en-US</SystemLocale>
 | |
|       <UILanguage>en-US</UILanguage>
 | |
|       <UILanguageFallback>en-US</UILanguageFallback>
 | |
|       <UserLocale>en-US</UserLocale>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <SkipAutoActivation>true</SkipAutoActivation>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <CEIPEnabled>0</CEIPEnabled>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-OutOfBoxExperience" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <fDenyTSConnections>false</fDenyTSConnections>
 | |
|     </component>
 | |
|     <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <UserAuthentication>0</UserAuthentication>
 | |
|     </component>
 | |
|     <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <FirewallGroups>
 | |
|         <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
 | |
|           <Active>true</Active>
 | |
|           <Group>Remote Desktop</Group>
 | |
|           <Profile>all</Profile>
 | |
|         </FirewallGroup>
 | |
|       </FirewallGroups>
 | |
|     </component>
 | |
|   </settings>
 | |
|   <settings pass="oobeSystem">
 | |
|     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
 | |
|       <UserAccounts>
 | |
|         <LocalAccounts>
 | |
|           <LocalAccount wcm:action="add">
 | |
|             <Name>Docker</Name>
 | |
|             <Group>Administrators</Group>
 | |
|             <Password>
 | |
|               <Value/>
 | |
|               <PlainText>true</PlainText>
 | |
|             </Password>
 | |
|           </LocalAccount>
 | |
|         </LocalAccounts>
 | |
|         <AdministratorPassword>
 | |
|           <Value>password</Value>
 | |
|           <PlainText>true</PlainText>
 | |
|         </AdministratorPassword>
 | |
|       </UserAccounts>
 | |
|       <AutoLogon>
 | |
|         <Username>Docker</Username>
 | |
|         <Enabled>true</Enabled>
 | |
|         <LogonCount>1</LogonCount>
 | |
|         <Password>
 | |
|           <Value/>
 | |
|           <PlainText>true</PlainText>
 | |
|         </Password>
 | |
|       </AutoLogon>
 | |
|       <OOBE>
 | |
|         <HideEULAPage>true</HideEULAPage>
 | |
|         <HideLocalAccountScreen>true</HideLocalAccountScreen>
 | |
|         <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
 | |
|         <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
 | |
|         <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
 | |
|         <NetworkLocation>Home</NetworkLocation>
 | |
|         <ProtectYourPC>1</ProtectYourPC>
 | |
|         <SkipMachineOOBE>true</SkipMachineOOBE>
 | |
|         <SkipUserOOBE>true</SkipUserOOBE>
 | |
|       </OOBE>
 | |
|       <FirstLogonCommands>
 | |
|         <SynchronousCommand wcm:action="add">
 | |
|           <Order>1</Order>
 | |
|           <CommandLine>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v AutoLogonCount /t REG_DWORD /d 0 /f</CommandLine>
 | |
|           <Description>Set AutoLogonCount to 0</Description>
 | |
|         </SynchronousCommand>
 | |
|         <SynchronousCommand wcm:action="add">
 | |
|           <Order>2</Order>
 | |
|           <CommandLine>reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0 /f</CommandLine>
 | |
|           <Description>Allow RDP login with blank password</Description>
 | |
|         </SynchronousCommand>
 | |
|         <SynchronousCommand wcm:action="add">
 | |
|           <Order>3</Order>
 | |
|           <RequiresUserInput>false</RequiresUserInput>
 | |
|           <CommandLine>cmd /C wmic useraccount where name="Docker" set PasswordExpires=false</CommandLine>
 | |
|           <Description>Password Never Expires</Description>
 | |
|         </SynchronousCommand>
 | |
|         <SynchronousCommand wcm:action="add">
 | |
|           <Order>4</Order>
 | |
|           <CommandLine>msiexec /i E:\virtio-win-gt-x64.msi /qb!</CommandLine>
 | |
|           <Description>Install VirtIO drivers</Description>
 | |
|         </SynchronousCommand>
 | |
|       </FirstLogonCommands>
 | |
|     </component>
 | |
|   </settings>
 | |
| </unattend>
 | 
