Share via

How to fix error code Ox8007002 - Ox20007 during an update for Win 11?

Howard DuBois 20 Reputation points
2026-04-01T19:01:58.2166667+00:00

When I update to Win 11 24H2, I always get this error Ox8007002 - Ox20007. I understand that this means that one or more device drivers are either ,missing / corrupted, but I don't know which one (s) so I can update them manually.

Windows for home | Windows 11 | Install and upgrade

Answer accepted by question author
  1. Sin-D 9,180 Reputation points Microsoft External Staff Moderator
    2026-04-04T02:13:11.14+00:00

    Hi Howard DuBois,

    I understand how frustrating it can be to repeatedly hit 0x8007002 – 0x20007 when trying to upgrade to Windows 11 24H2, especially when the message suggests a driver issue but doesn’t clearly point to which one. Have you already tried the Q&A Assist suggestions? In addition, please try the following.

    Step 1: Use Microsoft SetupDiag to pinpoint the driver

    This is the most direct way to identify which driver or component causes the failure.

    1. Download SetupDiag (Microsoft tool): SetupDiag
    2. Run SetupDiag.exe.
    3. When it finishes, open SetupDiagResults.log.
    4. Check the Failure Details section for a specific driver, INF file, or device name.

    Step 2: If SetupDiag points to a specific driver/device

    Once identified, do one of the following (depending on the device):

    • Download the latest Windows 11–compatible driver directly from the PC or hardware manufacturer
    • Temporarily uninstall the device driver from “Device Manager” (if it’s non‑essential), then retry the update

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".    

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


3 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. David-M 109.6K Reputation points Independent Advisor
    2026-04-01T19:37:13.8+00:00

    Hi. I'm David, and I'm happy to help you.


    Please share the log files "Setupact.log" and "Setuperr.log" stored in the following folders.

    C:\$Windows.~BT\Sources\Panther

    C:\$Windows.~BT\Sources\Rollback

    Copy the files or folders to your desktop or another easily accessible folder and store them in a ZIP file. Then, upload the ZIP file to the cloud (OneDrive) and choose it to get the link.

    Post the link to the ZIP file here so I can have a look.


    Looking forward to your reply.

    0 comments No comments

  3. Q&A Assist
    2026-04-01T19:02:17.7333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Error 0x80070002 during a Windows 11 feature update generally indicates missing or corrupted update files or drivers. Use the built‑in update and upgrade troubleshooting steps to identify and correct the issue rather than trying to guess a specific driver.

    Follow these steps in order:

    1. Run the Windows Update troubleshooter
      • Select Start > Settings > System.
      • Select Troubleshoot > Other troubleshooters.
      • Locate Windows Update and select Run.
      • Follow the on‑screen instructions and then try the 24H2 update again.
    2. Check disk space
      • Ensure there is enough free space:
        • At least 16 GB free for a 32‑bit OS upgrade.
        • At least 20 GB free for a 64‑bit OS upgrade.
      • If space is low, free space using the guidance in Free up drive space in Windows, then retry the update.
    3. Remove external and nonessential items
      • Unplug nonessential hardware: printers, scanners, USB drives, external disks, docking stations, etc.
      • Try the upgrade again with only keyboard, mouse, and display connected.
    4. Uninstall non‑Microsoft antivirus and nonessential software
      • Non‑Microsoft antivirus and outdated applications can block upgrades.
      • To remove antivirus or old apps:
        • Open Control Panel > Programs > Programs and Features.
        • Select the program and choose Uninstall, then confirm.
      • Use Windows Defender/Windows Security for protection during the upgrade.
    5. Check for and install driver and Windows updates
      • For Windows 11:
        • Select Start > type settings > open Settings.
        • Go to Windows Update and select Check for updates.
        • Install all available updates (including driver updates) and restart if required.
      • This helps ensure device drivers (video, printer, mouse, keyboard, etc.) are current.
    6. Check Device Manager for driver problems
      • In the taskbar search box, type device manager and open Device Manager.
      • Look for any device with a yellow exclamation mark.
      • For each such device:
        • Right‑click the device and select Update driver to search for a newer driver, or
        • Select Uninstall if the device or driver is clearly problematic, then restart so Windows can reinstall a clean driver.
    7. Repair disk and system files These steps require administrator permissions. a. Repair hard‑drive errors
      • Open Command Prompt as administrator.
      • Run:
             chkdsk /f C:
        
      • Approve running at next restart if prompted, then restart and let the check complete.
      b. Repair Windows image and system files
      • Open Command Prompt as administrator.
      • Run:
             DISM.exe /Online /Cleanup-image /Restorehealth
        
      • After DISM completes, restart and try the 24H2 update again.
    8. Perform a clean boot and retry the upgrade
      • Perform a clean boot so only essential Microsoft services run. See How to perform a clean boot in Windows.
      • After the clean boot, run Windows Update or the feature update again.

    If the error persists after these steps, collect the latest Windows setup logs (for example from C:\$WINDOWS.~BT\Sources\Panther) and use them when contacting support, as they can show exactly which driver or component is failing.


    References:

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.