Reset all keyboard layouts - Quick and simple

exprexs

Member
I wanted to create some simple powershell script which will fit any user on Windows 10/11, be it an Admin or not.
The idea is to reset all of your user keyboard layouts to the very first user keyboard layout you have in your account only.
No "Admin rights" nor restart is needed for it.

Open your powershell cmd as a regular user.
copy the following and Paste it to your powershell window.
The script will remove all layouts but the first one.
קוד:
$Layouts = (Get-WinUserLanguageList)[0]
Set-WinUserLanguageList -LanguageList $Layouts -Cf:$false -Force
#

Once you've run the script you can open your settings and add your other user keyboard layouts of choice.
 
נערך לאחרונה ב:

exprexs

Member
My Second Idea-
Assuming all you see in settings are you user keyboard layout of choice, the following script should remove all other user keyboard layouts.
קוד:
# Reassign Keyboard Layouts by Tags
$Layouts = Get-WinUserLanguageList
Set-WinUserLanguageList -LanguageList $Layouts -Cf:$false -Force
#
 
למעלה