SCCM Language Pack Deployment

maksoy 31 Reputation points

I'm currently building Windows Server(s) 2019 via SCCM Task Sequence and everything is great my issue is integrating the en-Gb language pack.

I have a task that injects the language pack after the operating system deployment but I get an error code of 2, which indicates that the file is not found.

I'm using DISM in image mode to deploy the language pack and this is my syntax

dism.exe /Image:"%OSDTargetSystemDrive%" /ScratchDir:%OSDTargetSystemDrive%\Windows\Temp /Add-Package /PackagePath:".\"

I've also tried

dism.exe /Image:"%OSDTargetSystemDrive%" /ScratchDir:%OSDTargetSystemDrive%\Windows\Temp /Add-Package /PackagePath:""

Both are failing, is their anything I'm missing?

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
922 questions
0 comments No comments
{count} votes

Accepted answer
  1. Simon Ren-MSFT 31,366 Reputation points Microsoft Vendor


    Thank you very much all your reply and sharing. We're glad that the question is solved now. It may help others who have similar issue. Here's a short summary for the problem.

    SCCM Language Pack installation failed with exit code 2.

    Remove the double quotes to correct the syntax error. The correct command is:
    DISM.exe /image:%OSDTargetSystemDrive%\ /ScratchDir:%OSDTargetSystemDrive%\windows\TEMP /Add-Package /

    It's appreciated that you could click "Accept Answer" to your answer and upvote it, this will help other users to search for useful information more quickly. Thanks again for your time!

    Best regards,

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. maksoy 31 Reputation points

    I fixed the issue. It was a syntax error in the command

    The correct command is as follows: DISM.exe /image:%OSDTargetSystemDrive%\ /ScratchDir:%OSDTargetSystemDrive%\windows\TEMP /Add-Package /

    2 people found this answer helpful.
    0 comments No comments

  2. Simon Ren-MSFT 31,366 Reputation points Microsoft Vendor


    Thank you for coming Microsoft MECM Q&A forum.

    1.May we know what version of SCCM you are using? Please help examine the smsts.log on the target system to see if there is any further information, refer to:
    SCCM: How to copy SMSTS.log when a Task Sequence fails

    2.We can try to deploy the en-Gb language pack as an application, refer to:
    How to deploy a Windows language pack as an application in Configuration Manager

    3.For more detailed steps about using task sequence to deploy language pack, refer to:
    Language Packs, Language Experience Packs, Language Interface Packs
    Windows 10 – SCCM Language Pack Integration

    Thanks for your time.

    Best regards,
    If the response is helpful, please click "Accept Answer" and upvote it.

  3. maksoy 31 Reputation points

    Any update on this????