w10install/image/autounattend_UEFI_template.xml

168 lines
9.1 KiB
XML
Raw Normal View History

2020-12-19 12:28:35 +01:00
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
2020-12-19 22:06:59 +01:00
<servicing></servicing>
2020-12-19 12:28:35 +01:00
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
2021-03-21 00:08:41 +01:00
<UILanguage>en-US</UILanguage>
2020-12-19 12:28:35 +01:00
</SetupUILanguage>
2021-03-31 00:22:47 +02:00
<InputLocale>___MYLANG___</InputLocale>
<SystemLocale>___MYLANG___</SystemLocale>
2021-01-01 22:31:20 +01:00
<UILanguage>en-US</UILanguage>
2021-03-31 00:22:47 +02:00
<UserLocale>___MYLANG___</UserLocale>
2020-12-19 12:28:35 +01:00
</component>
<component name="Microsoft-Windows-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">
<DiskConfiguration>
2023-01-11 14:33:43 +01:00
<WillShowUI>OnError</WillShowUI>
2020-12-19 12:28:35 +01:00
<Disk wcm:action="add">
<CreatePartitions>
2023-01-11 13:04:25 +01:00
<!-- Recovery partition -->
<CreatePartition wcm:action="add">
<Order>1</Order>
<Type>Primary</Type>
2023-01-11 13:48:20 +01:00
<Size>512</Size>
2023-01-11 13:04:25 +01:00
</CreatePartition>
<!-- EFI system partition (ESP) -->
2020-12-19 12:28:35 +01:00
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>EFI</Type>
2023-01-11 13:12:00 +01:00
<Size>128</Size>
2020-12-19 12:28:35 +01:00
</CreatePartition>
2023-01-11 13:04:25 +01:00
<!-- Microsoft reserved partition (MSR) -->
2020-12-19 12:28:35 +01:00
<CreatePartition wcm:action="add">
2023-01-11 13:04:25 +01:00
<Order>3</Order>
<Type>MSR</Type>
2023-01-11 13:48:20 +01:00
<Size>128</Size>
2020-12-19 12:28:35 +01:00
</CreatePartition>
2023-01-11 13:04:25 +01:00
<!-- Windows partition -->
2020-12-19 12:28:35 +01:00
<CreatePartition wcm:action="add">
<Extend>true</Extend>
<Type>Primary</Type>
2023-01-11 13:48:20 +01:00
<Order>4</Order>
2020-12-19 12:28:35 +01:00
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
2023-01-11 13:04:25 +01:00
<!-- Recovery partition -->
2020-12-19 12:28:35 +01:00
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>1</PartitionID>
2023-01-11 13:48:20 +01:00
<Label>Recovery</Label>
2020-12-19 12:28:35 +01:00
<Format>NTFS</Format>
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
</ModifyPartition>
2023-01-11 13:04:25 +01:00
<!-- EFI system partition (ESP) -->
2020-12-19 12:28:35 +01:00
<ModifyPartition wcm:action="add">
<Order>2</Order>
<PartitionID>2</PartitionID>
<Label>System</Label>
<Format>FAT32</Format>
</ModifyPartition>
2023-01-11 13:04:25 +01:00
<!-- MSR partition does not need to be modified -->
<!-- Windows partition -->
2020-12-19 12:28:35 +01:00
<ModifyPartition wcm:action="add">
2023-01-11 13:04:25 +01:00
<Order>3</Order>
2020-12-19 12:28:35 +01:00
<PartitionID>4</PartitionID>
<Label>Windows</Label>
2023-01-11 13:48:20 +01:00
<Letter>C</Letter>
2020-12-19 12:28:35 +01:00
<Format>NTFS</Format>
</ModifyPartition>
</ModifyPartitions>
2023-01-11 14:33:43 +01:00
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
2020-12-19 12:28:35 +01:00
</Disk>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>4</PartitionID>
</InstallTo>
2020-12-21 15:46:30 +01:00
<WillShowUI>OnError</WillShowUI>
2020-12-19 12:28:35 +01:00
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key>VK7JG-NPHTM-C97JM-9MPGT-3V66T</Key>
</ProductKey>
<AcceptEula>true</AcceptEula>
<Organization>none</Organization>
</UserData>
</component>
</settings>
<settings pass="specialize">
<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">
<OEMInformation>
2020-12-19 22:06:59 +01:00
<Manufacturer>IBM PC</Manufacturer>
2021-01-01 22:31:20 +01:00
<Model>Windows</Model>
2020-12-19 12:28:35 +01:00
</OEMInformation>
<CopyProfile>true</CopyProfile>
<RegisteredOrganization>none</RegisteredOrganization>
<RegisteredOwner>none</RegisteredOwner>
<TimeZone>Central Europe Standard Time</TimeZone>
2020-12-22 21:10:54 +01:00
<ProductKey>VK7JG-NPHTM-C97JM-9MPGT-3V66T</ProductKey>
<ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
</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">
<CEIPEnabled>0</CEIPEnabled>
2020-12-19 12:28:35 +01:00
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
2021-03-31 00:22:47 +02:00
<InputLocale>___MYLANG___</InputLocale>
<SystemLocale>___MYLANG___</SystemLocale>
2021-01-01 22:31:20 +01:00
<UILanguage>en-US</UILanguage>
2021-03-31 00:22:47 +02:00
<UserLocale>___MYLANG___</UserLocale>
2020-12-19 12:28:35 +01:00
</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">
<OOBE>
<HideEULAPage>true</HideEULAPage>
2023-01-11 13:04:25 +01:00
<HideLocalAccountScreen>true</HideLocalAccountScreen>
2020-12-19 12:28:35 +01:00
<HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
2023-01-11 13:04:25 +01:00
<HideOnlineAccountScreens>true</HideOnlineAccountScreens>
2020-12-19 12:28:35 +01:00
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>___MYPASS___</Value>
<PlainText>true</PlainText>
2020-12-19 12:28:35 +01:00
</Password>
<DisplayName>___MYNAME___</DisplayName>
<Name>___MYUSER___</Name>
2020-12-19 12:28:35 +01:00
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
2020-12-19 22:06:59 +01:00
<AutoLogon>
<Password>
<Value>___MYPASS___</Value>
<PlainText>true</PlainText>
2020-12-19 22:06:59 +01:00
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>___MYUSER___</Username>
2020-12-19 22:06:59 +01:00
</AutoLogon>
2020-12-22 16:07:56 +01:00
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
2020-12-22 21:10:54 +01:00
<Description>Password Never Expires</Description>
<CommandLine>cmd /C wmic useraccount where name=&quot;___MYUSER___&quot; set PasswordExpires=false</CommandLine>
2020-12-22 21:10:54 +01:00
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
2020-12-25 22:24:09 +01:00
<Order>2</Order>
2020-12-25 20:08:46 +01:00
<Description>Initial Setup</Description>
2021-01-10 15:49:37 +01:00
<CommandLine>cmd /C c:\windows\setup\scripts\StartCustomSetup.cmd</CommandLine>
2020-12-23 14:46:12 +01:00
</SynchronousCommand>
2020-12-22 16:07:56 +01:00
</FirstLogonCommands>
2020-12-19 12:28:35 +01:00
</component>
</settings>
2020-12-22 21:10:54 +01:00
<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>
</settings>
2023-01-11 14:01:12 +01:00
<cpi:offlineImage cpi:source="wim:c:/temp/w10/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
2020-12-19 12:28:35 +01:00
</unattend>