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
- 42 Getting started
- 26 Read before posting
- 8 Meet and greet
- 257 General
- 71 News and announcements
- 2 Swag
- 1 Roadmap updates
- 83 Resources
- 12 Knowledge Base
- 17 Webinars
- 1 Shared Script Library
- 2 Blog
- 21 Pro Tips
- 28 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 142 Remote Monitoring and Management
- 85 Remote Monitoring
- 28 Patch Management
- 107 Professional Services Automation
- 65 Helpdesk
- 17 Billing
- 22 Reporting
- 41 Integrations & add-ons
- 22 Integrations
- 11 Add-ons
- 108 Scripting and automations
- 62 Scripts
- 32 Automations