Skip to content

Commit 4318e65

Browse files
committed
only hardcode US keyboard, let image default control locale
Previous fix set SystemLocale/UILanguage/UserLocale=en-GB explicitly, which pins the autounattend.xml to a specific image variant. Drop those and keep only InputLocale=0409:00000409 in all three passes (windowsPE/specialize/oobeSystem). Also remove SetupUILanguage/ UILanguage from the windowsPE InternationalCore component. Result: US keyboard is forced regardless of image, and every other locale (SystemLocale, UILanguage, UserLocale) inherits from whatever the ISO ships with. Same autounattend.xml now works for English International, English (US), or any other edition without edits.
1 parent 3b0d8bc commit 4318e65

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

autounattend.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
<unattend xmlns="urn:schemas-microsoft-com:unattend">
33
<settings pass="windowsPE">
44
<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">
5-
<SetupUILanguage><UILanguage>en-GB</UILanguage></SetupUILanguage>
65
<InputLocale>0409:00000409</InputLocale>
7-
<UILanguage>en-GB</UILanguage>
8-
<SystemLocale>en-GB</SystemLocale>
9-
<UserLocale>en-GB</UserLocale>
106
</component>
117
<component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">
128
<DriverPaths>
@@ -55,18 +51,12 @@
5551
</component>
5652
<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">
5753
<InputLocale>0409:00000409</InputLocale>
58-
<SystemLocale>en-GB</SystemLocale>
59-
<UILanguage>en-GB</UILanguage>
60-
<UserLocale>en-GB</UserLocale>
6154
</component>
6255
</settings>
6356
<settings pass="oobeSystem">
64-
<!-- V11: Force locale in oobeSystem to skip OOBE country/keyboard screens (Win11 25H2) -->
57+
<!-- V11: Force US keyboard in oobeSystem; locale untouched so image default is used -->
6558
<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">
6659
<InputLocale>0409:00000409</InputLocale>
67-
<SystemLocale>en-GB</SystemLocale>
68-
<UILanguage>en-GB</UILanguage>
69-
<UserLocale>en-GB</UserLocale>
7060
</component>
7161
<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">
7262
<OOBE><HideEULAPage>true</HideEULAPage><HideOnlineAccountScreens>true</HideOnlineAccountScreens><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE><ProtectYourPC>3</ProtectYourPC></OOBE>

0 commit comments

Comments
 (0)