New user/default user language VS. Service/System account language


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 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

My Computers

System One System Two

  • OS
    Windows 11 Pro - Windows 7 HP 64 - Lubuntu
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom build
    CPU
    i5 6600K - 800MHz to 4400MHz
    Motherboard
    GA-Z170-HD3P
    Memory
    4+4G GSkill DDR4 3000
    Graphics Card(s)
    IG - Intel 530
    Monitor(s) Displays
    Samsung 226BW
    Screen Resolution
    1680x1050
    Hard Drives
    (1) -1 SM951 – 128GB M.2 AHCI PCIe SSD drive for Win 11
    (2) -1 WD SATA 3 - 1T for Data
    (3) -1 WD SATA 3 - 1T for backup
    (4) -1 BX500 SSD - 128G for Windows 7 and Lubuntu
    PSU
    Thermaltake 450W TR2 gold
    Keyboard
    Old and good Chicony mechanical keyboard
    Mouse
    Logitech mX performance - 9 buttons (had to disable some)
    Internet Speed
    500 Mb/s
    Browser
    Firefox 64
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Asus Q550LF
    CPU
    i7-4500U 800- 3000MHz
    Motherboard
    Asus Q550LF
    Memory
    (4+4)G DDR3 1600
    Graphics card(s)
    IG intel 4400 + NVIDIA GeForce GT 745M
    Sound Card
    Realtek
    Monitor(s) Displays
    LG Display LP156WF4-SPH1
    Screen Resolution
    1920 x 1080
    Hard Drives
    BX500 120G SSD for Windows and programs
    & 1T HDD for data
    Internet Speed
    500 Mb/s
    Browser
    Firefox 64
Back
Top Bottom