mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Create a known local user account for Windows. Closes #312
Username: Quickemu Password: quickemu
This commit is contained in:
		
							parent
							
								
									4e836b78fe
								
							
						
					
					
						commit
						ab2e7e5300
					
				
					 1 changed files with 41 additions and 5 deletions
				
			
		
							
								
								
									
										46
									
								
								quickget
									
										
									
									
									
								
							
							
						
						
									
										46
									
								
								quickget
									
										
									
									
									
								
							|  | @ -1448,6 +1448,9 @@ function unattended_windows() { | ||||||
|        https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/ |        https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/ | ||||||
|   --> |   --> | ||||||
|   <settings pass="offlineServicing"> |   <settings pass="offlineServicing"> | ||||||
|  |     <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|  |       <EnableLUA>false</EnableLUA> | ||||||
|  |     </component> | ||||||
|     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|       <ComputerName>*</ComputerName> |       <ComputerName>*</ComputerName> | ||||||
|     </component> |     </component> | ||||||
|  | @ -1457,6 +1460,9 @@ function unattended_windows() { | ||||||
|     <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> |     <component name="Microsoft-Windows-PnPSysprep" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> | ||||||
|       <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> |       <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls> | ||||||
|     </component> |     </component> | ||||||
|  |     <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|  |       <SkipRearm>1</SkipRearm> | ||||||
|  |     </component> | ||||||
|   </settings> |   </settings> | ||||||
| 
 | 
 | ||||||
|   <settings pass="specialize"> |   <settings pass="specialize"> | ||||||
|  | @ -1474,6 +1480,7 @@ function unattended_windows() { | ||||||
|         <SupportURL>https://github.com/quickemu-project/quickemu/issues</SupportURL> |         <SupportURL>https://github.com/quickemu-project/quickemu/issues</SupportURL> | ||||||
|       </OEMInformation> |       </OEMInformation> | ||||||
|       <OEMName>Quickemu Project</OEMName> |       <OEMName>Quickemu Project</OEMName> | ||||||
|  |       <ProductKey>W269N-WFGWX-YVC9B-4J6C9-T83GX</ProductKey> | ||||||
|     </component> |     </component> | ||||||
|     <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |     <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|       <CEIPEnabled>0</CEIPEnabled> |       <CEIPEnabled>0</CEIPEnabled> | ||||||
|  | @ -1584,8 +1591,11 @@ function unattended_windows() { | ||||||
|       </UpgradeData> |       </UpgradeData> | ||||||
|       <UserData> |       <UserData> | ||||||
|         <AcceptEula>true</AcceptEula> |         <AcceptEula>true</AcceptEula> | ||||||
|  |         <FullName>Quickemu</FullName> | ||||||
|  |         <Organization>Quickemu Project</Organization> | ||||||
|  |         <!-- https://docs.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys --> | ||||||
|         <ProductKey> |         <ProductKey> | ||||||
|           <Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key> |           <Key>W269N-WFGWX-YVC9B-4J6C9-T83GX</Key> | ||||||
|           <WillShowUI>Never</WillShowUI> |           <WillShowUI>Never</WillShowUI> | ||||||
|         </ProductKey> |         </ProductKey> | ||||||
|       </UserData> |       </UserData> | ||||||
|  | @ -1640,19 +1650,45 @@ function unattended_windows() { | ||||||
| 
 | 
 | ||||||
|   <settings pass="oobeSystem"> |   <settings pass="oobeSystem"> | ||||||
|     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|  |       <AutoLogon> | ||||||
|  |         <Password> | ||||||
|  |           <Value>quickemu</Value> | ||||||
|  |           <PlainText>true</PlainText> | ||||||
|  |         </Password> | ||||||
|  |         <Enabled>true</Enabled> | ||||||
|  |         <Username>Quickemu</Username> | ||||||
|  |       </AutoLogon> | ||||||
|  |       <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> | ||||||
|       <OOBE> |       <OOBE> | ||||||
|         <HideEULAPage>true</HideEULAPage> |         <HideEULAPage>true</HideEULAPage> | ||||||
|         <HideLocalAccountScreen>false</HideLocalAccountScreen> |         <HideLocalAccountScreen>true</HideLocalAccountScreen> | ||||||
|         <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> |         <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen> | ||||||
|         <HideOnlineAccountScreens>false</HideOnlineAccountScreens> |         <HideOnlineAccountScreens>true</HideOnlineAccountScreens> | ||||||
|         <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> |         <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> | ||||||
|  |         <NetworkLocation>Home</NetworkLocation> | ||||||
|         <ProtectYourPC>3</ProtectYourPC> |         <ProtectYourPC>3</ProtectYourPC> | ||||||
|         <SkipUserOOBE>false</SkipUserOOBE> |         <SkipUserOOBE>true</SkipUserOOBE> | ||||||
|         <SkipMachineOOBE>false</SkipMachineOOBE> |         <SkipMachineOOBE>true</SkipMachineOOBE> | ||||||
|         <VMModeOptimizations> |         <VMModeOptimizations> | ||||||
|           <SkipWinREInitialization>true</SkipWinREInitialization> |           <SkipWinREInitialization>true</SkipWinREInitialization> | ||||||
|         </VMModeOptimizations> |         </VMModeOptimizations> | ||||||
|       </OOBE> |       </OOBE> | ||||||
|  |       <UserAccounts> | ||||||
|  |         <LocalAccounts> | ||||||
|  |           <LocalAccount wcm:action="add"> | ||||||
|  |             <Password> | ||||||
|  |               <Value>quickemu</Value> | ||||||
|  |               <PlainText>true</PlainText> | ||||||
|  |             </Password> | ||||||
|  |             <Description>Quickemu</Description> | ||||||
|  |             <DisplayName>Quickemu</DisplayName> | ||||||
|  |             <Group>Administrators</Group> | ||||||
|  |             <Name>Quickemu</Name> | ||||||
|  |           </LocalAccount> | ||||||
|  |         </LocalAccounts> | ||||||
|  |       </UserAccounts> | ||||||
|  |       <RegisteredOrganization>Quickemu Project</RegisteredOrganization> | ||||||
|  |       <RegisteredOwner>Quickemu</RegisteredOwner> | ||||||
|       <FirstLogonCommands> |       <FirstLogonCommands> | ||||||
|         <SynchronousCommand wcm:action="add"> |         <SynchronousCommand wcm:action="add"> | ||||||
|           <CommandLine>msiexec /i E:\guest-agent\qemu-ga-x86_64.msi /quiet /passive /qn</CommandLine> |           <CommandLine>msiexec /i E:\guest-agent\qemu-ga-x86_64.msi /quiet /passive /qn</CommandLine> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue