Open %WinDir%\Logs\SetupDiag\SetupDiagResults.xml and copy the final failure entry, error code, phase, and operation; error 0x80070002 and the 73% point alone do not identify the component that blocked Setup.
Microsoft does not currently list “0x80070002 at 73%” as a general Windows 11 26H2 known issue, and 26H2 is available to eligible devices. This therefore needs diagnosis from the local setup logs rather than repeating Windows Update resets, DISM, SFC, or the troubleshooter you already completed.^1^
1. Preserve and inspect the existing results
Before another attempt, back up personal files and preserve the current logs. In an administrator Command Prompt, run:
mkdir "%USERPROFILE%\Desktop\UpgradeLogs"
xcopy "C:\Windows\Logs\SetupDiag" "%USERPROFILE%\Desktop\UpgradeLogs\SetupDiag\" /E /I /H
xcopy "C:\$Windows.~BT\Sources\Panther" "%USERPROFILE%\Desktop\UpgradeLogs\Panther\" /E /I /H
xcopy "C:\$Windows.~BT\Sources\Rollback" "%USERPROFILE%\Desktop\UpgradeLogs\Rollback\" /E /I /H
A missing source folder is acceptable; it means that folder was not retained.
Then open:
C:\Windows\Logs\SetupDiag\SetupDiagResults.xml
Windows Setup runs SetupDiag automatically after a failed upgrade. If it reports several failures, Microsoft notes that the last failure is normally the fatal one.^2^
Post these fields, removing the computer name or other identifying information:
Error:
Extended error:
ProfileName:
Last Phase:
Last Operation:
FailureData / LogErrorLine:
Named driver, INF file, service, or application:
Also inspect setuperr.log first and setupact.log second in the preserved Panther/Rollback folders. These are Windows Setup’s high-level error and detailed activity logs.^3^
2. If no usable SetupDiag result exists
Download the latest SetupDiag using the download link on Microsoft’s SetupDiag page, save it to Downloads, and run it from an administrator Command Prompt:
cd /d "%USERPROFILE%\Downloads"
SetupDiag.exe /Output:"%USERPROFILE%\Desktop\SetupDiagResults.log" /Verbose
notepad "%USERPROFILE%\Desktop\SetupDiagResults.log"
SetupDiag examines the existing setup logs and may identify the failed phase, operation, driver, or application.^2^
If the result names SAFE_OS, INSTALL_DRIVERS, DRVMIG, or an .inf file
- SAFE_OS is the temporary upgrade environment.
- DRVMIG means driver migration.
- An INF package contains a device driver’s installation information.
Identify the published package name before removing anything:
pnputil /enum-drivers > "%USERPROFILE%\Desktop\drivers.txt"
notepad "%USERPROFILE%\Desktop\drivers.txt"
Find the block whose Original Name exactly matches the INF named in the log, then note its Published Name, such as oem42.inf.
Back up third-party drivers first:
mkdir C:\DriverBackup
DISM /online /export-driver /destination:C:\DriverBackup
Only after an exact match, remove that package:
pnputil /delete-driver oemNN.inf /uninstall /force
Replace oemNN.inf only with the confirmed Published Name. Removing the wrong package can disable hardware; do not guess. Similar 23H2 upgrade failures were resolved only after logs identified a specific smart-card or Realtek card-reader driver.^4^ ^5^
If the result names security, update-blocking, or encryption software
Follow that vendor’s documented upgrade-preparation procedure first. Update or disable it only when the log identifies its service/filter; uninstall only if updating or disabling is insufficient.
Disabling antivirus reduces protection—confirm Microsoft Defender becomes active, and re-enable or reinstall protection immediately after the upgrade. For encryption software, preserve recovery keys and a verified backup; do not decrypt or remove encryption unless the logs specifically identify it as the blocker.
If the result names disk-space calculation or a partition
Do not resize, format, or delete partitions yet. Collect the diagnostic layout:
diskpart
list disk
list volume
list partition
exit
This output does not prove that partition layout is responsible. Share it together with SetupDiag and Panther logs with Microsoft Support or a qualified technician before making partition changes.
References
- Windows 11, version 26H2 known issues and notifications | Microsoft Learn
- SetupDiag
- Deployment Troubleshooting and Log Files
- windows 11 24h2 install failed 0x800700002 - 0x20007 The installation failed in the SAFE_OS phase with an error during INSTALL_DRIVEERS operation - Microsoft Q&A
- We couldn't update Windows 11 23H2 to 24H2 - error 0x80070002 - 0x20007 - Microsoft Q&A