Windows 11 stuck on 23H2 as every update attempts fails with error code 0x80070002 (usually followed by the specifier 0x20007)

Ludwig GUERIN 0 Reputation points
2026-11-29T16:22:23.82+00:00

It's been about a year since my laptop has been stuck on 23H2 unable to update to 24Hx then 25Hx, etc.

I've tried pretty much everything

  • DISM commands followed by SFC to check and restore image health
  • update every driver
  • reinstall Dell Support Assist and Intel Support Assist
  • perform an in-place upgrade by downloading the latest Windows 11 ISO and running the EXE inside
  • performing said in-place upgrade but with network connectivity turned off
  • repairing windows update through the settings screen (just does a regular update for some reason)

It's been driving me crazy trying to figure out what's wrong.

At first it seemed to failed due to a missing Sessions.back.xml (which is already a weird reason to fail), which I promptly created as a simple copy of the already present Sessions.xml

Now I'm finding several entries that could help in my CBS.log :

  • InternalOpenPackage failed for Package_for_KB3025096~31bf3856ad364e35~amd64~~6.4.1.0 [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
  • Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
  • Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
  • Failed to get the onesettings value for DISABLESCAVENGE. [HRESULT = 0x83750009 - Unknown Error]
  • Failed to get the onesettings value for DISABLEAUTODEEPSCAVENGE. [HRESULT = 0x83750009 - Unknown Error]
  • Failed reading PoqexecCmdline registry key [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
  • Failed to get poqexec cmdline from Components\Configuration. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
  • Failed to query registry value: TiAttemptedInitialization [HRESULT = 0x80070002 - ]
  • Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}GLOBALROOT/Device/HarddiskVolumeShadowCopy2/WINDOWS/System32/config/SOFTWARE, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
  • Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}GLOBALROOT/Device/HarddiskVolumeShadowCopy2/WINDOWS/System32/config/COMPONENTS, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]

I want/need to update my Windows version, but this is driving me nuts trying to find the root cause of a problem that is most likely not caused by myself.

What I have at my disposal:

  • My laptop
  • WindowsInstallationAssistant (as downloaded from the microsoft website)
  • MediaCreationTool (as downloaded from the microsoft website)
  • Windows11_Client_x64_fr-fr_26300_9457.iso (both the ISO file, downloaded from the microsoft website, and its "unzipped" contents in a folder
  • CBS.log with the latest failure logs (and repair attempts through DISM and SFC)
  • Both "regular" Powershell and Powershell 7
  • OORegEdit to make registry searches easier

System Info:

  • Windows 11 Family
  • Version 23H2 / 10.0.22631 Build 22631
  • OS Build 22631.6199
  • Windows Feature Pack 1000.22700.1108.0
  • 64 bits / x64 (so I believed that means AMD 64 bits)
  • Intel(R) Core(TM) i5-9300H
Windows for home | Windows 11 | Windows update
0 comments No comments

Answer accepted by question author
Ramesh 184.6K Reputation points Volunteer Moderator
2026-11-29T18:23:31.21+00:00

@Ludwig GUERIN

Please open Command Prompt admin and run these commands:

md C:\DrvStore

pnputil /export-driver * C:\DrvStore

rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN

dism /online /get-drivers /format:table >c:\drivers.txt

Copy the output of the 2nd command to a text file and upload the file. Also, upload c:\drivers.txt.


Note: The third commandline is case-sensitive. Copy the command and paste it into Command Prompt to avoid typo errors.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Horace Wiggins 625 Reputation points
    2026-11-29T16:59:57.8733333+00:00

    Was this answer helpful?


  2. Ramesh 184.6K Reputation points Volunteer Moderator
    2026-11-29T16:37:36.7966667+00:00

    Please share a zipped copy of the following setup log file on OneDrive (or any other host) and post the link here:

    C:\$WINDOWS.~BT\Sources\Panther\setupact.log
    

    Note: C:\$WINDOWS.~BT is a hidden folder. To access it, press Win + R, type C:\$WINDOWS.~BT and click OK.

    Was this answer helpful?


Your answer

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