This repository contains scripts to remove the "English (United Kingdom)" keyboard layout programmatically and to create a scheduled job that will do that automatically on Windows startup.
It exists due to the annoying Windows bug that keeps adding the en-GB
language layout without it being in the "Language & region > Language" settings.
- United Kingdom keyboard (language) is added automatically
- Can't remove unneeded keyboard layouts - no such setting anywhere
- How to delete a keyboard layout in Windows 10
These scripts were only tested on Windows 11.
This method is recommended for anyone who isn't comfortable running any shell commands or wants a user interface. It doesn't require any specific knowledge or tools
If you're looking for one line commands, see the "How to use - Shell" section.
- Download the repository.
- Right-click on scripts/remove-language.ps1 file and select the "Run with PowerShell" option.
- The keyboard layout should be gone.
Before installing the scheduled job, it's recommended to try it running once to see if it fixes the problem.
This job will create a process at the startup to remove the language. It may result in a cmd.exe
window appearing for a short time. If that's something you want to avoid, consider trying other solutions, or finding another way to make the scheduled job work.
- Download the repository.
- Right-click on scripts/job/install-startup-job.ps1 file and select the "Run with PowerShell" option.
- When it asks you for elevated privileges, press "Yes". You can check the code it wants to run by looking inside the file you right-clicked.
- The scheduled job should be installed now. To verify everything works, restart the computer and see if "English (United Kingdom)" layout is gone.
- Download the repository.
- Right-click on scripts/job/uninstall-startup-job.ps1 file and select the "Run with PowerShell" option.
- When it asks you for elevated privileges, press "Yes". You can check the code it wants to run by looking inside the file you right-clicked.
- The scheduled job should be uninstalled now. You can check the "Task Scheduler" to verify this.