Hi,
Anyone use policies for config languages and keyboard layout?
Worklet ou scrypt for this?
Thx for help.
This discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on SlackHi,
Anyone use policies for config languages and keyboard layout?
Worklet ou scrypt for this?
Thx for help.
This discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on SlackSorry, for automox on Windows 10 pro.
Hey,
Hi,
Thx
Here is one for Windows 10
# Set Language
$language = "en-US" # Change this to the language code you want to set
Set-WinUILanguageOverride -Language $language
# Set Keyboard Layout
$keyboardLayout = "00000409" # Change this to the keyboard layout code you want to set
Set-WinUserLanguageList -LanguageList ("$language") -Force
Set-WinUserLanguageList -LanguageList "$language" -KeyboardList "$keyboardLayout" -Force
# Log off and log back on to apply changes
Write-Host "Changes applied. Logging off to apply the changes..."
shutdown.exe /l /f
Here is one for Windows 11.
# Define language and keyboard layout codes
$languageCode = "en-US" # Change this to your desired language code
$keyboardLayout = "00000409" # Change this to your desired keyboard layout code
# Set language and keyboard layout
Set-WinSystemLocale -SystemLocale $languageCode
Set-WinUserLanguageList -LanguageList $languageCode
Set-WinUILanguageOverride -Language $languageCode
Set-WinKeyboardLayout -List $keyboardLayout
Set-WinUserLanguageList -LanguageList $languageCode -Force
# Restart required services for changes to take effect
Restart-Service -Name "WinRM" -Force
Restart-Computer -Force
Posted by IceCream. Replies by Anonymous, slammert.