question

maksoy-0523 avatar image
0 Votes"
maksoy-0523 asked SimonRenMSFT-3639 edited

SCCM Language Pack Deployment

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?

mem-cm-generalmem-cm-osd
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered SimonRenMSFT-3639 edited

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered maksoy-0523 commented

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.




· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for your response.

  1. The SMSTSLogs only give the error exit code 2. We are using Endpoint Configuration Manager version 2006

  2. We want to deploy the language pack via a Task Sequence only

  3. Have followed the links provided in fact I followed Language Packs, Language Experience Packs, Language Interface Packs, and it still fails.


0 Votes 0 ·
maksoy-0523 avatar image
0 Votes"
maksoy-0523 answered SimonRenMSFT-3639 edited

Any update on this????

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thanks for your reply.

  1. The exit code 2 means "The system cannot find the file specified." Please help check if the en-Gb language pack has been distributed to the DPs.

  2. To avoid any misunderstanding, if possible, please help post the original related error lines (Pay attention to hide private information).

Thanks for your time.

Best regards,
Simon

0 Votes 0 ·
maksoy-0523 avatar image
2 Votes"
maksoy-0523 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.