Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Using Install-language during AutoPilot Windows 11 insider

Posted on May 20, 2022May 20, 2022 by Jörgen Nilsson

At the session I presented with Michael Niehaus on customizing Windows 11 at MMS 2022 in Minneapolis we talked about the new PowerShell support for installing Language packs and set system language which are included in the Windows 11 Insider build 22257. During the session we got the question if it works together with AutoPilot so of course I had to test it out.

The new PowerShell support in Windows 11 adds the following new commands.
Install-Language
Get-InstalledLanguage
Set-SystemPreferredUILanguage
Get-SystemPreferredUILanguage
Uninstall-Language

The new commands makes it easy to install language and manage language settings which is great! The language pack files needed are downloaded automatically when the command runs.

Install-language sample

Get installed languages

get-installedLanguage

What about AutoPilot then?

I just made a simple test, with a Script in Intune to see if it works and fulfills the purpose of installing the language pack during AutoPilot. I made a simple script that install Swedish Language and sets Swedish as the default language on the computer. Imported the script in Intune and deployed it.

Install-language -language sv-se 
Set-SystemPreferredUILanguage -language sv-se 

PowerShell script

It works, my test-machines are in Swedish. When first logged in when ESP completes the language of the computer is Swedish as we would expect it to be.

First sign in

But when running the get-installedLanguage it shows some interesting result showing that Swedish is installed but without any features. Also tested running Install-Language using Win32App instead of using a script and the result is the same.

Installed language features is missing

I have tested this on Build 2261 and 22579 and the result is the same. My conclusion is, yes it works and as far as I can see it in Windows everything looks ok but checking the output it indicates that not all features could be installed.
If I make the Win32app available and run it through Company Portal it works just fine and the Get-InstalledLanguage module returns the correct feature pack installed as well. So that works!
I will continue testing this with later builds and update the post when and if there are any news.

  • Get-InstalledLangauge
  • Install-Langauge
  • Langauge Packs Powershell
  • Windows 11
  • 5 thoughts on “Using Install-language during AutoPilot Windows 11 insider”

    1. Martin says:
      September 27, 2022 at 2:28 pm

      Hi,

      do you know if this new PS commands would be also made available with W10? I’m currently using Michael’s Branding script to set the language but the only cab file i found was from 2019. The way Oliver provides need a user session and will not work during OOBE. Other alternatives i could’nt find.

      greetings
      Martin

      Reply
      1. Jörgen Nilsson says:
        October 3, 2022 at 2:13 pm

        Hi,
        I have not seen anything about it yet at least.
        Regards,
        Jörgen

        Reply
    2. Kaya says:
      October 13, 2022 at 4:47 pm

      Hello Jörgen
      Thanks for your Blog and iam testing this solution.
      I just have a question about assignment, should it be assigned to a device or to a user?

      Thanks and kind regards

      Reply
      1. Jörgen Nilsson says:
        November 4, 2022 at 4:33 pm

        I have deployed it to device when I use it

        Reply
    3. Julio González says:
      November 14, 2022 at 8:20 am

      Hi Martin. I just tested those cmdlets in a W10 21H1 and they are there and work. Hope that it helps you.

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
    All code is provided "AS-IS" with no warranties.

    Recent Posts

    • PowerShell script to keep Personal Teams away in Windows 11
    • Windows 11 Multi-App kiosk – a first look
    • Playing around with Driver Updates in Intune
    • MMUGSE – Summer Meetup 8th of June 2023
    • PS Script to Update Boot images with CU-CVE-2023-24932

    ©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
    This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    Non-necessary
    Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
    SAVE & ACCEPT