SCCM Language Pack Deployment

maksoy 31 Reputation points
2020-09-20T04:26:44.607+00:00

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:".\Microsoft-Windows-Server-Language-Pack_x64_en-gb.cab"

I've also tried

dism.exe /Image:"%OSDTargetSystemDrive%" /ScratchDir:%OSDTargetSystemDrive%\Windows\Temp /Add-Package /PackagePath:"Microsoft-Windows-Server-Language-Pack_x64_en-gb.cab"

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
    2020-09-22T10:32:03.763+00:00

    Hi,

    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.

    Problem/Symptom:
    SCCM Language Pack installation failed with exit code 2.

    Solution/Reason:
    Remove the double quotes to correct the syntax error. The correct command is:
    DISM.exe /image:%OSDTargetSystemDrive%\ /ScratchDir:%OSDTargetSystemDrive%\windows\TEMP /Add-Package /PackagePath:Microsoft-Windows-Server-Language-Pack_x64_en-gb.cab

    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,
    Simon

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. maksoy 31 Reputation points
    2020-09-22T09:10:00.637+00:00

    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 /PackagePath:Microsoft-Windows-Server-Language-Pack_x64_en-gb.cab

    2 people found this answer helpful.
    0 comments No comments

  2. Simon Ren-MSFT 31,366 Reputation points Microsoft Vendor
    2020-09-21T08:05:29.587+00:00

    Hi,

    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,
    Simon
    If the response is helpful, please click "Accept Answer" and upvote it.


  3. maksoy 31 Reputation points
    2020-09-22T07:16:42.737+00:00

    Any update on this????