Download preferred language via PowerShell

DPFY 116 Reputation points
2022-04-21T13:04:06.643+00:00

I have a number of Windows 10 20H2 computers that have a preferred language set to en-IE, but because the language pack is not downloaded the Windows Display language is set to the default of en-US. If I set the WinHTTP proxy and download the en-IE pack manually then I can set the display language, but I'm looking to do this via group policy and/or a PowerShell script.

Are there any commands to force a download of the language pack via PowerShell? Or is there any way to do this via GPO?

195150-lang.jpg

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,611 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,576 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Luis Rodriguez 6,216 Reputation points Microsoft Employee
    2022-04-21T19:48:29.48+00:00

    Hello @DPFY , welcome to Microsoft Q&A Platform.

    According to the article below it should be possible, can you have a look?:
    https://social.technet.microsoft.com/Forums/en-US/17467cb9-d6e8-4753-8d28-91eeeca8dca1/addlanguage-pack-with-powershell?forum=win10itprosetup

    I hope this helps!

    ----------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  2. DPFY 116 Reputation points
    2022-04-22T09:07:09.193+00:00

    That won't work because the newer builds of Windows 10 don't use CAB files anymore and even if they did there is no CAB for en-IE.

    0 comments No comments

  3. Limitless Technology 39,726 Reputation points
    2022-04-25T03:19:20.57+00:00

    Hello @DPFY

    Yes you can programmatically configure the package installation through DISM command. In this case, you will need to download the .CAB file that contains the language pack, store it in a shared location for the domain computers, such as SYSVOL and then configure a Run Once script as:

    DISM /Online /Add-Package /PackagePath:\UNCFQDN\SYSVOL\LP\lp_xxxxxxxx.cab

    Once the process is finished the language pack would be added and the environment respond correctly with the change.

    Hope this helps with your query,

    --------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  4. DPFY 116 Reputation points
    2022-04-25T12:00:25.667+00:00

    It's almost like you didn't look at my last reply...so again...that won't work because the newer builds of Windows 10 don't use CAB files anymore and even if they did there is no CAB for en-IE.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.