Since 2016 · 50,000+ customers · ★ 5.0 on Google Live chatWhatsAppTelegramOpen a ticket
Get started
Windows Server

How to Change the Keyboard Layout with PowerShell (Windows Server)

Change the keyboard layout with PowerShell guide by 99RDP

On a server you often need to switch the keyboard layout from the command line: on Server Core, in automation scripts, or when a VPS image comes with the wrong layout. Windows manages layouts per user through the language list. This guide shows how to view, add, switch and remove keyboard layouts with PowerShell, and how to apply them to the welcome screen and new users. It works on Windows Server 2016 to 2025 and Windows 10/11.

Quick answer(switch to US English keyboard only):

$list = New-WinUserLanguageList en-US
Set-WinUserLanguageList $list -Force

Sign out and back in (or reconnect your RDP session) if the change doesn't appear right away.

Step 1: See the current layouts

Get-WinUserLanguageList

Each language shows its InputMethodTips, the keyboard layouts in the form LanguageID:LayoutID, for example 0409:00000409 (US) or 0809:00000809 (UK).

Steps to change the keyboard layout in PowerShell: read the list, add the layout, save with Set-WinUserLanguageList
Change layout from PowerShell

Step 2: Set a single layout

# UK English only
$list = New-WinUserLanguageList en-GB
Set-WinUserLanguageList $list -Force

This replaces your whole language list with one language and its default keyboard.

Step 3: Add a second layout and keep the first

$list = Get-WinUserLanguageList
$list.Add("de-DE")                       # add German
Set-WinUserLanguageList $list -Force

Switch between layouts with Win+Space (or Alt+Shift).

Step 4: Use a different layout for the same language

To type English with a different keyboard, such as US English with the US-International layout, change the input method tip:

$list = New-WinUserLanguageList en-US
$list[0].InputMethodTips.Clear()
$list[0].InputMethodTips.Add('0409:00020409')   # United States-International
Set-WinUserLanguageList $list -Force

Common layout IDs: 00000409 US, 00020409 US-International, 00000809 UK, 00000407 German, 0000040C French, 00004009 India English, 00010439 Hindi Traditional.

How a keyboard InputMethodTip code is built: language ID and keyboard layout ID
Reading an InputMethodTip

Step 5: Set the default input method

Set-WinDefaultInputMethodOverride -InputTip "0409:00000409"

Step 6: Remove a layout

$list = Get-WinUserLanguageList
$list.RemoveAll({ param($l) $l.LanguageTag -eq "de-DE" }) | Out-Null
Set-WinUserLanguageList $list -Force

Apply the layout to the welcome screen and new users

The commands above only change the current user. To copy your settings to the logon screen and to accounts created later:

  • Windows Server 2025 and Windows 11: run Copy-UserInternationalSettingsToSystem -WelcomeScreen $true -NewUser $true (if your version includes this cmdlet).
  • All versions (GUI): open intl.cpl → Administrative tab → Copy settings…, tick Welcome screen and system accounts and New user accounts.
Diagram of where a keyboard layout applies: your account, the welcome screen and new user accounts
Where the layout applies

Keyboard layout over Remote Desktop

In an RDP session, Windows uses the keyboard layout of your local computer by default, and the remote layout list only matters if the layouts differ. If keys are wrong in RDP, check the layout selected on both sides (the language indicator on the taskbar), and set the same layout in the remote session with the commands above.

Frequently asked questions

How do I change the keyboard layout with PowerShell?

Create a language list with New-WinUserLanguageList (for example en-US) and apply it with Set-WinUserLanguageList $list -Force.

How do I change the keyboard layout on Windows Server Core?

Use the same PowerShell cmdlets; they work on Server Core. Reconnect or sign out for the change to apply.

Why does my RDP session use the wrong keyboard layout?

The session normally follows your local layout. Make sure your local PC and the remote session use the same layout, and remove extra layouts you don't need.

How do I find a keyboard layout ID?

Run Get-WinUserLanguageList after adding the layout in Settings; the InputMethodTips value is the ID to use in scripts.

Minakshi, Server Administrator L1 at 99RDP
Written byMinakshiServer Administrator L1, 99RDP. Part of the team that runs our servers and answers support.
Keep reading

More Windows Server guides

All Windows Server guides

Need a server for this?

✓ Setup in minutes✓ Full admin access✓ 7-day refund on new services