I am curious as to how does one remove a keyboard layout in Windows 10 Professional using PowerShell?
Asked
Active
Viewed 1.0k times
4
Ramhound
- 41,734
- 35
- 103
- 130
Vlastimil Burián
- 3,887
- 11
- 41
- 65
-
@Ramhound See my answer for the easy approach :) – DavidPostill Feb 21 '18 at 17:10
1 Answers
4
How does one remove a keyboard layout in Windows 10 Pro using PowerShell?
You can use Set-WinUserLanguageList.
Sometimes I need to type in German or in Russian. Often enough – every week I type something. Meanwhile, it bugs me to find the right layout every time.
And since I now prefer PowerShell to cmd.exe, I had a thought – I should add these layouts as I need them. So, now I have two files:
addDe.ps1:
$1 = Get-WinUserLanguageList $1.Add('de-DE') Set-WinUserLanguageList $1 -ForceremDe.ps1:
$1 = Get-WinUserLanguageList $1.RemoveAll( { $args[0].LanguageTag -clike 'de*' } ) Set-WinUserLanguageList $1 -Force
Source Adding/removing keyboard layouts with PowerShell
Further Reading
DavidPostill
- 153,128
- 77
- 353
- 394
-
2If I understand correctly, this trick removes *both* the preferred display language and the associated keyboard layouts/IMEs, correct? – Kal May 31 '18 at 01:56