Changing language in Windows in PS
RunningHome
Member Posts: 13 ✭
in Scripts
Hello Guys,
Been working on this for a couple of days but it is not working…
Tried all the forum and the GDP i could think of but it is either not working or not doing everything.
We mostly receive English computers but need to put them all in French, Canada.
In setting it takes 1 minutes but it would be nice to do in automation.
Here is the need (Win 11 pro)
Add language
Set as Windows default
Disable Excution policy to run the script Set-ExecutionPolicy ByPass -Scope LocalMachi Install language and set it for all user Install-Language fr-CA -CopyToSettings Set WinUserLanguageList as a variable $lang = Get-WinUserLanguageList Clear the WinUserLanguageList $lang.Clear() Add language to the language list $lang.add(“fr-CA “ ) Remove whatever input method is present $lang[0].InputMethodTips.Clear() Add this keyboard as keyboard language $lang[0].InputMethodTips.Add('0C0C:00001009') Set this language list as default Set-WinUserLanguageList $lang -Force Make region settings independent of OS language Set-WinCultureFromLanguageListOptOut -OptOut $True Set region to this Country Set-Culture fr-CA Set the location to this location Set-WinHomeLocation -GeoId 0x27 Set non-unicode legacy software to use this language as default Set-WinSystemLocale -SystemLocale fr-CA Restart-Computer -Force
0
Comments
-
hi, use dism, hope this helps!
1
Topics
- All Topics
- 40 Getting started
- 24 Read before posting
- 8 Meet and greet
- 233 General
- 63 News and announcements
- 1 Swag
- 1 Roadmap updates
- 76 Resources
- 12 Knowledge Base
- 14 Webinars
- 1 Shared Script Library
- 2 Blog
- 19 Pro Tips
- 26 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 132 Remote Monitoring and Management
- 82 Remote Monitoring
- 25 Patch Management
- 103 Professional Services Automation
- 64 Helpdesk
- 17 Billing
- 19 Reporting
- 35 Integrations & add-ons
- 20 Integrations
- 10 Add-ons
- 102 Scripting and automations
- 61 Scripts
- 29 Automations