Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Powershell to install English-UK language pack and set as default Windows Server 2022

I am currently trying to install the en-GB language pack using PowerShell however this is proving to be rather difficult.

The Install-Language cmdlet only works for client versions of windows (i.e. Windows 10).

I can run Get-WinSystemLocale which runs without issue, but running Set-WinSystemLocale does not seem to do anything.

Is there a way to download and install the en-GB language pack programmatically?

like image 893
user182595 Avatar asked Oct 30 '25 02:10

user182595


1 Answers

This worked for me in Server 2022:

Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/p/?linkid=2195333 -OutFile c:\temp\lang.iso

Mount-DiskImage -ImagePath "C:\temp\lang.iso"

cmd /c lpksetup /i en-gb /p "D:\LanguagesAndOptionalFeatures\"

Set-WinUILanguageOverride -Language en-GB

You could of course store the language cab file somewhere reachable and modify to point to it directly.

The language pack on the ISO is: "LanguagesAndOptionalFeatures\Microsoft-Windows-Server-Language-Pack_x64_en-gb.cab"

like image 92
AnTu31 Avatar answered Oct 31 '25 16:10

AnTu31



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!