windows-itpro-docs/windows/client-management/mdm/Language-pack-management-csp.md
Diana Hanson a8a6c1e53d
Pencil edit
indent note more
2021-06-28 09:45:44 -06:00

2.9 KiB
Raw Blame History

title, description, ms.reviewer, manager, ms.author, ms.topic, ms.prod, ms.technology, author, ms.date
title description ms.reviewer manager ms.author ms.topic ms.prod ms.technology author ms.date
Language Pack Management CSP Language Pack Management CSP allows a direct way to provision language packs remotely in Windows 10. dansimp v-nsatapathy article w10 windows nimishasatapathy 06/22/2021

Language Pack Management CSP

The Language Pack Management CSP allows a direct way to provision language packs remotely in Windows 10 and Windows 10 X. A separate CSP exists to allow provisioning of "optional FODs" (Handwriting recognition, Text-to-speech, and so on) associated with a language. MDMs like Intune can use management commands remotely to devices to configure language related settings.

  1. Enumerate installed languages with GET command on the "InstalledLanguages" node

    GET./Device/Vendor/MSFT/LanguagePackManagement/InstalledLanguages GET./Device/Vendor/MSFT/LanguagePackManagement/InstalledLanguages/zh-CN/Providers GET./Device/Vendor/MSFT/LanguagePackManagement/InstalledLanguages/ja-JP/Providers

    The nodes under InstalledLanguages are the language tags of the installed languages. The providers node under language tag is the bit map representation of either "language pack (feature)" or LXPs.

    • Indicates the language pack installed is a System Language Pack (non-LXP)
    • Indicates that the LXP is installed.
    • Indicates that both are installed.
  2. Install language pack features with the EXECUTE command on the StartInstall node of the language. For example,

    ADD./Device/Vendor/MSFT/LanguagePackManagement/Install/fr-FR/ EXECUTE./Device/Vendor/MSFT/LanguagePackManagement/Install/fr-FR/StartInstallation

    The installation is an asynchronous operation. You can query the Status node by using the following commands:

    GET./Device/Vendor/MSFT/LanguagePackManagement/Install/fr-FR/Status GET./Device/Vendor/MSFT/LanguagePackManagement/Install/fr-FR/ErrorCode

    Status: 0 not started; 1 in process; 2 succeeded; 3 failed. ErrorCode is a HRESULT that could help diagnosis if the installation failed.

    Note

    If IT admin has NOT set the policy of blocking cleanup of unused language packs, this command will fail.

  3. Delete installed Language with the DELETE command on the installed language tag. The delete command is a fire and forget operation. The deletion will run in background. IT admin can query the installed language later and resend the command if needed.

    DELETE./Device/Vendor/MSFT/LanguagePackManagement/InstalledLanguages/zh-CN(Delete command)

  4. Get/Set System Preferred UI Language with GET or REPLACE command on the "SystemPreferredUILanguages" Node

    ./Device/Vendor/MSFT/LanguagePackManagement/LanguageSettings/SystemPreferredUILanguages