DISM Error - Adding package Windows8.1-KB2919355-x64.msu

PS D:\Slipstreaming\oscdimg> dism /image:d:\Slipstreaming\2012mount /Add-Package /PackagePath:D:\test\

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.16384

Processing 1 of 1 - D:\test\Windows8.1-KB2919355-x64.msu: An error occurred applying the Unattend.xml file from the .msu
 package.
For more information, review the log file.
 Error: 0x800f0823

Error: 0x800f0823

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
PS D:\Slipstreaming\oscdimg>

Below are snippets from the DISM error log.

2015-05-20 16:26:52, Info                  CBS    Failed to find a matching version for servicing stack: d:\Slipstreaming\2012mount\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.16384_none_fa1dc1539b4180d8\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2015-05-20 16:26:52, Info                  CBS    Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]

2015-05-20 16:27:21, Info                  CBS    Not able to add file to extract: update.ses [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2015-05-20 16:27:21, Error                 CBS    Package "Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14" requires Servicing Stack v6.3.9600.17021 but current Servicing Stack is v6.3.9600.16384. [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
2015-05-20 16:27:21, Info                  CBS    Failed to initialize internal package [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
2015-05-20 16:27:22, Error                 CBS    Failed to create internal package [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed opening package. - CDISMPackageManager::Internal_CreatePackageByPath(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to get the underlying CBS package. - CDISMPackageManager::OpenPackageByPath(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 The specified package cannot be added to this Windows Image due to a version mismatch. - GetCbsErrorMsg
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to open package at location [C:\Users\nsous91\AppData\Local\Temp\2\EE1E98F4-4822-443A-B5CC-007AC309ED97\Windows8.1-KB2919355-x64.CAB]. - CPackageManagerUnattendHandler::Internal_InstallPackageFromSource(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to install package from source [0] - trying next source location. hr = [0x800F0823] - CPackageManagerUnattendHandler::Internal_UnattendInstallPackage
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to Install the package [Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14]. - CPackageManagerUnattendHandler::Internal_UnattendInstallPackage(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Package failed to install [Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14]. - CPackageManagerUnattendHandler::Internal_UnattendProcessPackage(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to process package at node <package[0]>. - CPackageManagerUnattendHandler::Apply(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to Apply the unattend. - CDISMPackageManager::Apply(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Unattend Manager: PID=3280 TID=2176 Error applying unattend for provider: DISM Package Manager - CUnattendManager::Apply(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed applying the unattend file from the MSU package. - CMsuPackage::ApplyMsuUnattend(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed to apply the MSU unattend file to the image. - CMsuPackage::Install(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM Package Manager: PID=3280 TID=2176 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0823)
2015-05-20 16:27:22, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0823

  • Edited by nsousa1 Wednesday, May 20, 2015 9:40 PM
May 20th, 2015 9:33pm

This can happen if the servicing stack of Windows is not updated.

The error in the DISM.log lies here :  CBS    Failed to find a matching version for servicing stack: d:\Slipstreaming\2012mount\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.16384_none_fa1dc1539b4180d8\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]

You can look more into C:\Windows\Logs\CBS\CBS.log.

For KB2919355 , it is mandatory to update the Windows Servicing Stack, Try installing # https://support.microsoft.com/en-us/kb/2919442

When you install this update (2919355) from Windows Update, updates 2932046, 2937592, 2938439, 2934018, and 2959977 are included in the installation

Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 9:54am

I am having a lot of issues with using DISM. Below are the commands that I am using to add KB2919355 and all dependent updates (taken from here: https://technet.microsoft.com/en-us/library/dn622020.aspx?f=255&MSPPError=-2147217396).

dism /Mount-Wim /wimfile:D:\Slipstreaming\Server2012ISO\sources\install.wim /index:2 /MountDir:D:\Slipstreaming\2012Mount

Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2919442-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2919355-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2932046-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2934018-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2937592-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2937592-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2938439-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2959977-x64.msu /Image:D:\Slipstreaming\2012Mount\

dism /Commit-Wim /MountDir:D:\Slipstreaming\2012Mount

dism /Unmount-Wim /MountDir:D:\Slipstreaming\2012Mount /commit

.\oscdimg -n -m -bD:\Slipstreaming\Server2012ISO\boot\etfsboot.com D:\Slipstreaming\Server2012ISO D:\Slipstreaming\Win2012-R2-Slipstream.iso

There are no issues reported adding these windows updates to the base install.wim file. However, when I spin up a VM with this newly created ISO, I get the error below. I've searched around for this error, but nothing that I've tried will fix the issue.

http://s22.postimg.org/q07136jc1/slipstream_error.png

Is there an issue with OSCDIMG, maybe? What does everyone else use for creating ISO files?

  • Edited by nsousa1 Friday, May 22, 2015 1:25 PM
May 22nd, 2015 1:24pm

No, the issue is not resolved. These are the commands that I ran:

dism /Mount-Wim /wimfile:D:\Slipstreaming\Server2012ISO\sources\install.wim /index:2 /MountDir:D:\Slipstreaming\2012Mount

Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2919442-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2919355-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2932046-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2934018-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2937592-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2937592-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2938439-x64.msu /Image:D:\Slipstreaming\2012Mount\
Dism /Add-Package /PackagePath:D:\Slipstreaming\2012U1\Windows8.1-KB2959977-x64.msu /Image:D:\Slipstreaming\2012Mount\

Dism /Commit-Image /MountDir:D:\Slipstreaming\2012Mount

dism /Unmount-Wim /MountDir:D:\Slipstreaming\2012Mount /commit

.\oscdimg -n -m -bD:\Slipstreaming\Server2012ISO\boot\etfsboot.com D:\Slipstreaming\Server2012ISO D:\Slipstreaming\Win2012-R2-Slipstream.iso

I still get the same error after running the installation.

Free Windows Admin Tool Kit Click here and download it now
May 25th, 2015 2:32pm

Hi,

Based on the error message, the cause of this issue may be it didnt meet the requirement to install this hotfix. Based on our knowledge, to apply this update, you must have the following update installed on Windows RT 8.1, Windows 8.1, or Windows Server 2012 R2: 2919442 (https://support.microsoft.com/kb/2919442/ ) A servicing stack update is available for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2: March 2014

2015-05-20 16:27:21, Error                 CBS    Package "Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14" requires Servicing Stack v6.3.9600.17021 but current Servicing Stack is v6.3.9600.16384. [HRESULT = 0x800f0823 - CBS_E_NEW_SERVICING_STACK_REQUIRED]

So please add the package of KB2919442 firstly. After installing KB2919442, please install KB2919355 again and test how the issue goes.

If there are any concerns, feel free to let me know.

June 4th, 2015 9:49pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics