Please share the following log files (zipped) on OneDrive or GoFile.io.
C:\$WINDOWS.~BT\Sources\Panther\setupact.log
C:\WINDOWS\Logs\CBS\CBS.log
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need help repairing Windows while keeping my personal files, installed apps, and games. My goal is to repair Windows 10 first, then upgrade to Windows 11. I do not want to wipe or reset the PC.
PC: Windows 10 Pro, version 20H2, build 19042.1052; Ryzen 5 3600; MSI B450 Tomahawk MAX; 16 GB RAM; GTX 1660 SUPER; Windows is on an SSD, with a 2 TB Seagate hard drive.
I ran Windows Setup from a mounted Windows 10 ISO while signed into Windows, using setup.exe. It repeatedly stopped at “Making sure you’re ready to install”—once for a few hours. SetupHost/SetupPrep showed 0% CPU and 0 disk activity, and the setup log stopped changing.
I tried disconnecting from the internet, choosing “Not right now” for updates, changing msconfig back to Normal startup, and restarting Setup as administrator. Those attempts still hung. I turned off Wi‑Fi and Microsoft Defender, same results.
Other repair attempts:
/RestoreHealth repeatedly returns 0x800f081f (“The source files could not be found”); CheckHealth says the component store is repairable.install.esd reports Windows 10 Pro, index 6, build 19041.3803.sfc /scannow says Windows Resource Protection could not start the repair service, even though TrustedInstaller was running.chkdsk C: /scan returned “Access is denied.”What should I do next to finish the repair safely while keeping my apps and files? Which logs or screenshots would help diagnose why Setup hangs?
Please share the following log files (zipped) on OneDrive or GoFile.io.
C:\$WINDOWS.~BT\Sources\Panther\setupact.log
C:\WINDOWS\Logs\CBS\CBS.log
AI answer
Run the latest SetupDiag against the failed Setup logs before another repair attempt; the existing 0x800702A9 and 0x80070002 entries alone do not identify which file, service, driver, or servicing operation is blocking Setup.
First, back up irreplaceable files to external storage. An in-place repair is designed to preserve data, but it is not a substitute for a backup.
Do not run Disk Cleanup or delete $WINDOWS.~BT yet, because that directory contains the failed attempt’s logs.
Create an elevated Command Prompt and run the latest SetupDiag from the folder where it was downloaded:
mkdir C:\SetupDiag
cd /d C:\SetupDiag
SetupDiag.exe /Output:C:\SetupDiag\Results.log /Verbose
SetupDiag examines the existing Setup logs and reports any matched rule, failure phase, and last operation. If several failures appear, the last failure is normally the fatal one.^1^
Also check the automatically generated result, if present:
C:\Windows\Logs\SetupDiag\SetupDiagResults.xml
Copy these files and folders before starting Setup again:
C:\$WINDOWS.~BT\Sources\Panther\setupact.log
C:\$WINDOWS.~BT\Sources\Panther\setuperr.log
C:\$WINDOWS.~BT\Sources\Panther\CompatData*.xml
C:\$WINDOWS.~BT\Sources\Panther\*_APPRAISER_HumanReadable.xml
C:\Windows\INF\setupapi.dev.log
C:\Windows\Logs\CBS\CBS.log
C:\Windows\Logs\CBS\CbsPersist_*.cab
C:\Windows\Logs\DISM\dism.log
setupact.log is the primary log for this pre-restart/down-level phase; setuperr.log provides its error summary. setupapi.dev.log is particularly relevant to the reported “Failed to add service” driver entry.^2^^3^
In setupact.log and setuperr.log, search upward from the end for:
0x80070002
0x800702A9
abort
abandoning
Failed to add service
Record approximately 30–50 lines before and after the last occurrence, including timestamps. Microsoft documents 0x80070002 as ERROR_FILE_NOT_FOUND and 0x800F081F as CBS_E_SOURCE_MISSING, but those definitions do not identify the missing object by themselves.^4^
The most useful material to post is:
Results.log from SetupDiag.setupact.log and setuperr.log.setupapi.dev.log.CBS.log covering the latest DISM/SFC attempt./Source syntax.Remove account names and other personal paths before posting.
Since chkdsk C: /scan returned Access Denied, schedule the documented offline repair check instead. This requires a restart and can take considerable time:
chkdsk C: /F
Answer Y, restart, and allow the check to finish before launching Setup.^5^
Do not repeat DISM with the same source. A DISM repair source must contain the needed language components and sufficiently current files; repair can fail when required files are absent from the source.^6^
After the logs identify and you remediate the missing file, driver service, compatibility block, or disk issue:
setup.exe from that media—do not boot from it.Windows supports upgrading a General Availability Channel release directly to a newer release while skipping intervening versions.^8^ Windows 10 20H2 Pro has been out of servicing since May 10, 2022, and Windows 10 itself reached end of support on October 14, 2025, so treat the repaired Windows 10 installation as an interim step before moving to Windows 11.^9^^10^
Avoid generic CBS registry imports, manually deleting servicing files, or changing TrustedInstaller registry entries without a log-specific diagnosis; those procedures are not established fixes for this failure and can make the installation unserviceable.
References