Disable Czech QWERTZ and Programmer keyboards
Disable Czech Qwertz and Programmer (US) Keyboard
Sometimes when you connect to remote machine or some settings got disturbed Czech QWERTZ and Programmer keyboard appears in the list and it is a headache to switch between 4 keyboards. I use only two keyboards layouts (US English and Czech Qwerty).
I have created a power shell script which removes unnecessary Czech keyboard layouts and keeps only qwerty, no other languages are affected. It is working by deleting registry keys and is just 3 lines of code.
Powershell script
Remove-Item "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000405" -Recurse
Remove-Item "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00020405" -Recurse
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Keyboard Layout" -Name IgnoreRemoteKeyboardLayout -Value 1 -Type DWord
Download - http://s3.enigma14.eu/wiki/keyboards/keyboards-onlyqwerty.ps1
Before you run a script you have to enable Powershell in Windows
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
You can restore keyboards by importing them using these registry again - http://s3.enigma14.eu/wiki/keyboards/keyboards-restore.reg
NO WARRANTY PROVIDED!