Windows 10 in-place repair hangs at “Making sure you’re ready to install”; DISM 0x800f081f and SFC won’t run

aidan collins 0 Reputation points
2026-11-20T20:59:00.72+00:00

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:

  • DISM /RestoreHealth repeatedly returns 0x800f081f (“The source files could not be found”); CheckHealth says the component store is repairable.
  • DISM using the mounted ISO as its source also failed. The ISO’s 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.”
  • The setup logs include 0x800702A9 (“Failed to preserve setup logs”) and a driver scan 0x80070002 (“Failed to add service”).
  • Both drives reported “OK” in the checks I ran.

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?

Windows for home | Windows 10 | Install and upgrade
0 comments No comments

2 answers

Sort by: Most helpful
  1. Ramesh 184.6K Reputation points Volunteer Moderator
    2026-11-21T04:28:51.3833333+00:00

    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
    

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-20T21:00:33.37+00:00

    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.

    1. Preserve the current evidence

    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
    

    2. Collect the decisive logs

    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:

    • Complete Results.log from SetupDiag.
    • SetupDiag’s matched rule, phase, last operation, error, and failure data.
    • The final 100–200 lines of setupact.log and setuperr.log.
    • The matching timestamp section from setupapi.dev.log.
    • The end of CBS.log covering the latest DISM/SFC attempt.
    • The DISM command used, including the exact /Source syntax.
    • A screenshot of Disk Management showing all partitions and disks.
    • A screenshot of Setup’s Choose what to keep page.

    Remove account names and other personal paths before posting.

    3. Check the system disk offline

    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^

    4. Retry only after addressing the logged blocker

    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:

    1. Create fresh Windows 10 22H2 installation media matching Pro, architecture, and installed language.
    2. Start Windows normally and open setup.exe from that media—do not boot from it.
    3. Select Change what to keep.
    4. Verify Keep personal files and apps is available and selected.
    5. Proceed only when the final confirmation explicitly says that personal files and apps will be kept.^7^

    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

    1. SetupDiag | Microsoft Learn
    2. Log files and resolving upgrade errors | Microsoft Learn
    3. SetupAPI Device Installation Log Entries
    4. Fix Windows Update corruptions and installation failures
    5. Windows 10 upgrade quick fixes
    6. Configure a Windows Repair Source
    7. Reinstall Windows with the installation media | Microsoft Support
    8. Windows upgrade paths
    9. Windows 10, version 20H2 end of servicing
    10. Windows 10 reaching end of support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.