The Windows Update user interface simply gave the useless 80004005 error, but detailed information about the failure was available in c:\windows\logs\cbs\cbs.log:
2017-12-28 20:54:05, Error CBS Failed. Attempted to uninstall a version of a non-driver component that is not installed, version: 0X700061db15cfe, component: amd64_microsoft-windows-w..lient-aux.resources_31bf3856ad364e35_7.6.7601.23806_en-us_e79af1b12d6db6c9, owner: Package_835_for_KB4022719~31bf3856ad364e35~amd64~~6.1.1.6.4022719-2919_neutral_LDR [HRESULT = 0x80004005 - E_FAIL]
Each update is a package which refers to many other packages, like Package_835_for_KB4022719~31bf3856ad364e35~amd64~~6.1.1.6.4022719, and each of those packages refers to components, like 2919_neutral_LDR. If you're curious, you can unpack an update and look inside it. First unpack the .msu to get the CAB and then unpack the CAB. You probably must use Microsoft's expand.exe to unpack the CAB because it may use intra package delta (IPD) compression which is not supported by 7-Zip.
Inside the CAB you will find various .mum files, which correspond to the main package and those sub-packages. The logical thing to do would be to reinstall these problematic components. However, I don't see a way to install from a .mum file.
So, I ended up uninstalling the messed up update by editing its already installed .mum file, found in c:\windows\servicing\packages, as package_for_kb4022719_sp1~31bf3856ad364e35~amd64~~6.1.1.6.mum. (Note the absence of a number after "package" in the file name.) That directory is set up by default so only TrustedInstaller can write there. Not even SYSTEM can write there! So, I had to temporarily grant access to Administrators. The sections to remove are like this:
<update name="4022719-4117_neutral_PACKAGE">
<package integrate="hidden">
<assemblyIdentity name="Package_835_for_KB4022719" version="6.1.1.6" language="neutral" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" />
</package>
</update>
3 comments:
you are genius !!
i try to fix this problem for a year, and never found solution.
i have try chkdsk, sfcscan, checksur and even delete oem partition, fixboot, fixmbr, bootsect /nt60. none was fixed my problem.
then I start to take a look on CBS.log, search for keyword "Error" (case sensitive)
then I found string "CBS Failed. Attempted to uninstall a version of a non-driver component that is not installed"
and it lead to your website and fix my problem.
this case was able to use DISM.exe /Online /Remove-Package to uninstall update.
https://www.sysnative.com/forums/windows-update/25846-unable-install-any-security-monthly-quality-rollup-win-7-sp1-64-a.html
but on my case, it not successful. so i have to follow your instruction.
is there a way to force install or uninstall those problem update ?
will these work http://www.slr-corp.fr/2016/10/brute-force-installing-msu-package/ ?
Thank you.
in my case, i have to delete 2 section in .mum file
which is
Package_432_for_KB4012218 and
Package_462_for_KB4012218
the error is
2018-10-27 10:47:38, Error CBS Failed. Attempted to uninstall a version of a non-driver component that is not installed, version: 0X700061db15ca2, component: x86_microsoft-windows-w..client-ui.resources_31bf3856ad364e35_7.6.7601.23714_en-us_f29a2b238820702b, owner: Package_432_for_KB4012218~31bf3856ad364e35~x86~~6.1.1.3.4012218-1592_neutral_LDR [HRESULT = 0x80004005 - E_FAIL]
2018-10-27 12:10:02, Error CBS Failed. Attempted to uninstall a version of a non-driver component that is not installed, version: 0X700061db15ca2, component: x86_microsoft-windows-windowsupdateclient-ui_31bf3856ad364e35_7.6.7601.23714_none_097ada3c65dd0b94, owner: Package_462_for_KB4012218~31bf3856ad364e35~x86~~6.1.1.3.4012218-1703_neutral_LDR [HRESULT = 0x80004005 - E_FAIL]
in my case, this is the file that need to edit
c:\windows\servicing\packages, Package_for_KB4012218_SP1~31bf3856ad364e35~x86~~6.1.1.3.mum
Post a Comment