mkmaddin
New member
- Local time
- 3:19 PM
- Posts
- 5
- OS
- W10, W11, Debian 12, MacOS 15, Ubuntu 22.04.5 LTS
hey,
I am trying to set the default language for new users on my system during setupcomplete.cmd from en-us to de-de via command line.
Equivalent to manual option of changing current user display language to de-de; then intl.cpl -> Administrative -> Copy Settings.. -> checkbox for "new user accounts"
The typical way would be after installation of the language pack to fire powershell
Unfortunately this changes not only the language applied for new users, but additionally for local system & service accounts such as welcome screen.
What I additionally tried was to create a corresponding configuration xml (see below) and call it via
But this does not seem to work as expected.
I additionally tried to
But unfortunately newly created users are still en-US.
Any ideas how to get this solved?
I am trying to set the default language for new users on my system during setupcomplete.cmd from en-us to de-de via command line.
Equivalent to manual option of changing current user display language to de-de; then intl.cpl -> Administrative -> Copy Settings.. -> checkbox for "new user accounts"
The typical way would be after installation of the language pack to fire powershell
Set-SystemprefferdUILanguage de-de
.Unfortunately this changes not only the language applied for new users, but additionally for local system & service accounts such as welcome screen.
What I additionally tried was to create a corresponding configuration xml (see below) and call it via
control.exe intl.cpl,,/f:"%~dp0config.xml"
But this does not seem to work as expected.
Code:
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<gs:UserList>
<gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="false"/>
</gs:UserList>
<gs:LocationPreferences>
<gs:GeoID Value="94"/>
</gs:LocationPreferences>
<gs:MUILanguagePreferences>
<gs:MUILanguage Value="de-DE"/>
<gs:MUIFallback Value="en-US"/>
</gs:MUILanguagePreferences>
<gs:SystemLocale Name="de-DE"/>
<gs:InputPreferences>
<gs:InputLanguageID Action="add" ID="0407:00000407" Default="true"/>
<gs:InputLanguageID Action="remove" ID="0409:00000409"/>
</gs:InputPreferences>
<gs:UserLocale>
<gs:Locale Name="de-DE" SetAsCurrent="true" ResetAllSettings="false">
</gs:Locale>
</gs:UserLocale>
</gs:GlobalizationServices>
I additionally tried to
Code:
reg.exe load HKU\DEFAULTUSER %SYSTEMDRIVE%\Users\Default\NTUser.dat
reg.exe add "HKU\DEFAULTUSER\Control Panel\International\User Profile\de-DE" /v "0407:00000407" /t REG_DWORD /d 1
reg.exe add "HKU\DEFAULTUSER\Control Panel\International\User Profile" /v Languages /t REG_MULTI_SZ /d de-DE
reg.exe unload HKU\DEFAULTUSER
But unfortunately newly created users are still en-US.
Any ideas how to get this solved?
- Windows Build/Version
- 10.0.26100
My Computer
System One
-
- OS
- W10, W11, Debian 12, MacOS 15, Ubuntu 22.04.5 LTS