Multiple keyboard layouts for windows 10

TIMECOP79 0 Reputation points
2024-01-22T21:41:22.17+00:00

Hi,

On my Windows 10 22h2 MDT deployment, I want to have by default two keyboard layouts for all users on a machine. I found many solutions on the net (PowerShell script, local GPO, regs, variables ), integrating one by one into my task sequence, but at the end of the installation, it does work. Thank you for helping me."

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,505 questions
Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
797 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
858 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. XinGuo-MSFT 12,396 Reputation points
    2024-01-23T02:56:45.0266667+00:00

    Hi,

    To set up multiple keyboard layouts in PowerShell, you can use the following command:

    Set-WinUserLanguageList en-US, sv, ru -Force
    

    This command sets up three languages: English (United States), Swedish, and Russian. However, this command sets the default keyboard layout for every language. If you need a different layout for Russian, you can use the following code:

    $rusLang = New-WinUserLanguageList ru
    $rusLang[0].InputMethodTips.Clear()
    $rusLang[0].InputMethodTips.Add('0419:A0000419') # required layout
    Set-WinUserLanguageList en-US, sv, $rusLang
    

    This code creates a new language list for Russian, clears the input method tips, and adds the required layout. Then, it sets up three languages: English (United States), Swedish, and the newly created Russian language list.

    I hope this helps!


  2. Wesley Li 2,245 Reputation points
    2024-01-24T06:34:45.4866667+00:00

    Hello, You can also try run regedit Locate to the registry key HKEY_USERS.DEFAULT\Keyboard Layout\Preload You will see your two keyboard layout listed, you can make changes and reboot for your change to take effect. Also, on Time & language > Typing > Advanced keyboard settings, you can select a keyboard as the default. Here are also some MDT deployment documents for your reference: Get started with the Microsoft Deployment Toolkit (MDT) (Windows 10) - Windows Deployment | Microsoft Learn

    0 comments No comments