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
- 41 Getting started
- 25 Read before posting
- 8 Meet and greet
- 238 General
- 64 News and announcements
- 1 Swag
- 1 Roadmap updates
- 79 Resources
- 12 Knowledge Base
- 16 Webinars
- 1 Shared Script Library
- 2 Blog
- 19 Pro Tips
- 27 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 140 Remote Monitoring and Management
- 84 Remote Monitoring
- 27 Patch Management
- 105 Professional Services Automation
- 64 Helpdesk
- 17 Billing
- 21 Reporting
- 37 Integrations & add-ons
- 20 Integrations
- 10 Add-ons
- 103 Scripting and automations
- 61 Scripts
- 30 Automations