Impossible to install the updates via Windows Updates (Erreur 0x80070002)

Pascal 1 Reputation point
2022-04-23T17:30:51.92+00:00

I got these errors when trying to install updates using Windows Updates :
Mise à jour de fonctionnalité vers Windows 10, version 1903 - Erreur 0x80070002
2020-10 Microsoft Edge Update pour Windows 10 Version 1809 pour les systèmes basés sur x64 (KB4584227) - Erreur 0x80070002
2022-01 Mise à jour pour Windows 10 Version 1809 sur systèmes x64 (KB4023057) - Erreur 0x80070002

I run this command (sfc /scannow) and I got these errors :
2022-04-23 18:09:31, Info CBS Failed to open package file: \?\C:\WINDOWS\Servicing\Packages\Package_for_KB4487038~31bf3856ad364e35~amd64~~10.0.1.0.mum [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Info CBS Failed to read in xml content [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Error CBS Failed to parse package manifest: \?\C:\WINDOWS\Servicing\Packages\Package_for_KB4487038~31bf3856ad364e35~amd64~~10.0.1.0.mum [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Info CBS Failed to initialize internal package [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Info CBS Failed to create package. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Error CBS Failed to internally open package. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Info CBS Failed to create open package. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2022-04-23 18:09:31, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x80070002]

I aslo launched this command (DISM.exe /Online /Cleanup-image /Restorehealth) and I got these errors :
C:\WINDOWS\system32>DISM.exe /Online /Cleanup-image /Restorehealth
Outil Gestion et maintenance des images de déploiement
Version : 10.0.17763.771
Version de l’image : 10.0.17763.914
Erreur : 2
Le fichier spécifié est introuvable.
Le fichier journal DISM se trouve à l’emplacement C:\WINDOWS\Logs\DISM\dism.log

2022-04-23 19:03:26, Info DISM DISM Package Manager: PID=11164 TID=8372 Processing the top level command token(cleanup-image). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2022-04-23 19:03:26, Info DISM DISM Package Manager: PID=11164 TID=8372 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2022-04-23 19:03:26, Info DISM DISM Package Manager: PID=11164 TID=8372 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2022-04-23 19:03:26, Info DISM DISM Package Manager: PID=11164 TID=8372 CBS session options=0x40100! - CDISMPackageManager::Internal_Finalize
2022-04-23 19:21:48, Info DISM DISM Package Manager: PID=11164 TID=3972 Error in operation: (null) (CBS HRESULT=0x80070002) - CCbsConUIHandler::Error
2022-04-23 19:21:48, Error DISM DISM Package Manager: PID=11164 TID=8372 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070002)
2022-04-23 19:21:48, Error DISM DISM Package Manager: PID=11164 TID=8372 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x80070002)
2022-04-23 19:21:48, Error DISM DISM Package Manager: PID=11164 TID=8372 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x80070002)
2022-04-23 19:21:48, Error DISM DISM Package Manager: PID=11164 TID=8372 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)
2022-04-23 19:21:48, Info DISM DISM Package Manager: PID=11164 TID=8372 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2022-04-23 19:21:48, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070002

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Docs 15,846 Reputation points
    2022-04-24T00:42:00.22+00:00

    1) List and uninstall any of these installed non-Microsoft software:

    a) antivirus
    b) firewall
    c) drive encryption

    2) Download and install on the desktop: Windows 10 iso or Media Creation Tool (MCT)

    https://www.tenforums.com/tutorials/9230-download-windows-10-iso-file.html

    https://www.microsoft.com/en-us/software-download/windows10

    3) Place the computer into clean boot:
    https://www.tenforums.com/tutorials/41804-perform-clean-boot-windows-10-troubleshoot-software-conflicts.html

    4) Perform an in place upgrade repair while in clean boot:

    https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html

    5) If there is a failure to upgrade then run setupdiag and post a share link of all generated files into this thread:

    https://learn.microsoft.com/en-us/windows/deployment/upgrade/setupdiag

    0 comments No comments

  2. Limitless Technology 39,931 Reputation points
    2022-04-26T11:06:10.503+00:00

    Hi there,

    The error 0x80070002 indicates your computer failed to install the latest updates. This problem also occurs when some files in the update are missing or the Windows Update database on the computer is inconsistent with the database instructions in the update.

    You can try to delete the installation files or rename the installation folder to solve the problem.
    Before we modify the files or folder, you may need to stop the Windows Update service. Otherwise, the files or folders are open in programs and you can’t modify them.

    The below thread discusses the same issue and you can try out some troubleshooting steps from this and see if that helps you to sort the Issue.

    How do I fix error code 0x80070002? https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-fix-error-code-0x80070002/b2790e69-fac1-4487-934f-10c91c2b9beb


    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.