TROUBLESHOOTING NOTE

Windows Setup Upgrade Fails with Error 0x8007007F

What to do first

If you encounter 0x8007007F during the targeted upgrade path, complete any pending updates and reboot and retry Windows Setup.

Affected products and symptoms

Product
Windows
Versions and conditions
Upgrade from Windows 10 1809/21H2/22H2 to Windows 11 22H2/23H2, and some upgrade paths from Windows Server 2016/2019 to Server 2019/2022
Error codes and identifiers
0x8007007F

Symptoms

  • Upgrading using Windows Setup > Upgrade displays error 0x8007007F and the process fails

Causes and conditions

Occurred in certain client and server upgrade paths after 2025-08-12. Microsoft's public information does not indicate a technical cause.

Before you start

  • Record the error screen, source/destination Windows version, and time of occurrence.
  • Back up important files and ensure AC power and sufficient free space
  • Remove unnecessary USB storage, docks, and additional disks

Precautions

  • Avoid power outages
  • Do not use outdated ISOs that do not apply to the target version

Tools and official pages used in this guide

Windows troubleshooting sequence: Match route; Update source to latest version; establish basic conditions; Retry Setup once; Preserve recurrence information
Procedure overview created by FaultNote. Read the precautions and full instructions before changing settings. Read the full steps

Step-by-step instructions

  1. 01

    Match route

    #

    Check whether Windows Setup issued 0x8007007F from Windows 10 1809/21H2/22H2 to Windows 11 22H2/23H2 or the corresponding Server route.

    Open winver with Win+R and record the source version, OS build, and full code of the Setup screen. Distinguish this from a standard Windows Update failure.

    Check before continuing

    Verification: Check whether Windows Setup issued 0x8007007F from Windows 10 1809/21H2/22H2 to Windows 11 22H2/23H2 or the corresponding Server route. Open winver with Win+R and record the source version, OS build, and full code of the Setup screen. Distinguish this from a standard Windows Update failure.

  2. 02

    Update source to latest version

    #

    Check for updates in [Settings] > [Windows Update] and apply the suggested updates. Complete the normal reboot until Restart Required disappears.

    Restart after updating and open Windows Update again. Do not run Setup and update at the same time until it is [Up to date] or approved by the administrator.

    Check before continuing

    Verdict: Check for updates in [Settings] > [Windows Update] and apply the suggested ones. Complete the normal reboot until Restart Required disappears. Restart after updating and open Windows Update again. Do not run Setup and update at the same time until it is [Up to date] or approved by the administrator.

  3. 03

    establish basic conditions

    #

    Check free space on the system drive, stable power supply, and internet connection. Do not stop security products without permission, and follow the administrator's distribution route for organizational PCs.

    Check the free space on the Windows drive using [PC] in Explorer, and connect it to AC power. Choose the same language, edition, and architecture for official media.

    Check before continuing

    Verdict: Check free space on the system drive, stable power supply, and internet connection. Do not stop security products without permission, and follow the administrator's distribution route for organizational PCs. Check the free space on the Windows drive using [PC] in Explorer, and connect it to AC power. Choose the same language, edition, and architecture for official media.

  4. 04

    Retry Setup once

    #

    Rerun Upgrade from the same official installation media or administrator-provided setup. Microsoft advises that this issue will usually be resolved by retrying.

    Start setup.exe normally without changing it to compatibility mode. Confirm your personal file and app selections with [Change what to keep], and if they are not what you intended, press [Back] to cancel.

    Check before continuing

    Verdict: Rerun Upgrade from the same official installation media or administrator-provided Setup. Microsoft advises that this issue will usually be resolved by retrying. Start setup.exe normally without changing it to compatibility mode. Confirm your personal file and app selections with [Change what to keep], and if they are not what you intended, press [Back] to cancel.

  5. 05

    Preserve recurrence information

    #

    If the same code appears, do not retry repeatedly, but record the time in Windows Update > Update history, Setup screen, and Panther log.

    If it happens again, do not delete setupact.log and setuperr.log in C:\$WINDOWS.~BT\Sources\Panther, and pass them along with the failure time to the administrator. Do not switch to a clean installation.

    Check before continuing

    Verdict: If the same code appears, do not retry repeatedly, but record the time in Windows Update > Update history, Setup screen, and Panther log. If it happens again, do not delete setupact.log and setuperr.log in C:\$WINDOWS.~BT\Sources\Panther, and pass them along with the failure time to the administrator. Do not switch to a clean installation.

Check the result

  • Setup passes compatibility checks and completes the upgrade
  • After restarting, you can check the intended Windows version with winver

If the problem continues

  • If it happens again, pass the setup log and route to the administrator or Microsoft Support.
  • If the code has changed to a different code, follow the official guidance for that code.

Fix status

Resolved — Microsoft says it has been resolved as of 2025-08-15, and it is not expected to occur on devices upgraded after that. Public page history resolved on 2025-08-18 18:59 PT.

Frequently asked questions

How many times do you want to retry?

Retry once after preparing the required conditions. If it is the same 0x8007007F, proceed to log investigation.

Will my personal files remain?

Check the Setup "What to carry over" screen. Backups are essential.

Official sources and dates

Source publication or resolution date: 2025-08-18. Sources checked: 2026-09-05. The check date is not the date the problem first occurred. Interface labels can vary between versions and display languages.

Related troubleshooting guides

← Search English guides