[SOLVED] Windows 11 24H2 Update Installation Error - 0x80070002 - 0x20007

Anonymous
2024-12-04T19:42:12+00:00

Edit: I have solved the issue myself, please see my comment below for your reference.

Error message:

We've set your PC back to the way it was right before you started installing Windows 11.

0x80070002 - 0x20007

The installation failed in the SAFE_OS phase with an error during INSTALL_DRIVERS operation

Details:

I’m currently on Windows 11 23H2, trying to update to the latest 24H2. I first tried to use the normal Windows updates function (twice) with no luck. Each time it just rolls back to 23H2 (my current version) with tons of unused system files on my C: drive which I had to manually remove. I’ve also tried many troubleshooting methods (manual ISO installation, using an installation media, clearing Windows update caches under system distribution folder) None have worked. According to the posts from people who encountered the same issue, this seems to be an issue with one of the driver preventing the update. However I cannot locate which driver was causing the issue nor knowing how to have them removed.

Any help would be greatly appreciated!

Windows for home | Windows 11 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2024-12-05T21:47:09+00:00

I actually managed to fix the issue following the steps mentioned in another community post:

https://techcommunity.microsoft.com/discussions/windowsinsiderprogram/windows-11-installation-error/2795055

Please refer to “youaremine”’s response.

In my case, the driver which caused the issue was realtek_service.ini. I later deleted it from the system and the 24H2 update finally got installed. I was worried it would cause audio issues but in fact, everything works perfectly fine. My guess is this driver is obsolete and its functions are completely replaced by another driver, and the system somehow kept it until I encountered the error with the Windows update.

Still, thank you for your response!

Was this answer helpful?

4 people found this answer helpful.
0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-03-30T21:18:48+00:00

    "Each time it just rolls back to 23H2 (my current version) with tons of unused system files on my C: drive which I had to manually remove."

    Where are the files on the C drive that you had to manually remove? Thanks.

    The key file is located here: C:$WINDOWS.~BT\Sources\Panther\setupact.log

    Run Note in administrator mode. In this Note open (File-Open) the file (setupact.log). At the end of the text, you will find the name of the bad driver.

    How to search the driver in the computer:

    win+S, cmd, run as administrator

    type and enter: pnputil /enum-drivers

    You will find the driver name in the list.

    How to delete:

    pnputil /delete-driver [Published name - xxx.inf] /uninstall /force

    Restart your computer.

    After that, you can use Microsoft's "Windows11 Setup Assistant". (This is how I was able to solve it after months.)

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Ramesh 181K Reputation points Volunteer Moderator
    2024-12-05T07:38:50+00:00

    Please share 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.


    (How-To: Share OneDrive files and folders - Microsoft Support)

    https://support.microsoft.com/en-us/office/share-onedrive-files-and-folders-9fcc2f7d-de0c-4cec-93b0-a82024800c07

    OneDrive sharing options - screenshot: https://imgur.com/a/vZyxpY9

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-02-27T21:42:41+00:00

    Wish I had a cure for this issue! I have the same situation and have grown tired and frustrated from trying all the suggestions.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-02-16T14:46:02+00:00

    "Each time it just rolls back to 23H2 (my current version) with tons of unused system files on my C: drive which I had to manually remove."

    Where are the files on the C drive that you had to manually remove? Thanks.

    Was this answer helpful?

    0 comments No comments