Back up the irreplaceable data and repair the file system first, then reinstall Windows only through a path that explicitly shows Keep personal files and apps; cancel Setup if that option remains unavailable.
1. Protect the data before further repairs
Because System Restore reported possible drive corruption, avoid more servicing and AppX commands until the important files are copied elsewhere. Microsoft recommends backing up before reinstalling Windows.^1^
With Explorer unavailable, connect an external drive and use an elevated Command Prompt. Replace E: with that drive’s letter and add any other profile folders that matter:
mkdir E:\EmergencyBackup
robocopy "%USERPROFILE%\Desktop" "E:\EmergencyBackup\Desktop" /E /COPY:DAT /R:1 /W:1 /XJ
robocopy "%USERPROFILE%\Documents" "E:\EmergencyBackup\Documents" /E /COPY:DAT /R:1 /W:1 /XJ
robocopy "%USERPROFILE%\Downloads" "E:\EmergencyBackup\Downloads" /E /COPY:DAT /R:1 /W:1 /XJ
robocopy "%APPDATA%" "E:\EmergencyBackup\AppData-Roaming" /E /COPY:DAT /R:1 /W:1 /XJ
Also copy game saves and CurseForge profiles not already covered by %APPDATA%. Installed Steam games may be reusable later, but they are not a substitute for backing up saves and configuration.
2. Repair the logical file system
From Task Manager → Run new task, enter cmd, select Create this task with administrative privileges, and run:
chkdsk C: /f
Accept scheduling at restart, then reboot. Microsoft documents chkdsk /f C: for repairing drive errors.^2^
/f repairs logical file-system errors; it is not a complete hardware-health test. If CHKDSK reports bad sectors, repeated I/O errors, or cannot complete, stop repair-install attempts and run the SSD/HDD manufacturer’s diagnostic. A failing drive should be replaced or imaged before a write-heavy Windows reinstall.
3. Try the current-version repair reinstall
If Settings still opens, use:
Settings → System → Recovery → Fix problems using Windows Update → Reinstall now
This reinstalls the same Windows version, repairs system files and components, and preserves apps, files, and settings.^3^
Keep the PC connected to power and the internet. If this option is absent or fails because Windows Update itself is too damaged, proceed to installation media.
4. Determine why the ISO would not preserve apps
The previous Setup attempt found the app-preserving migration path unavailable. Do not choose Keep personal files only—that removes installed applications.^1^
First record the current installation details:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type" /C:"System Locale"
powershell -NoProfile -Command "Get-WinSystemLocale"
winver
Match the media to:
- Edition shown under Settings → System → About.
- Architecture shown as System Type—typically x64, but use Arm64 media on an Arm-based PC.
- System UI language. Windows 11 Setup requires matching media language for an app-preserving automated upgrade.^4^
- A supported same-or-newer Windows version/build and compatible servicing channel. Check Settings → Windows Update → Windows Insider Program to determine whether this is an Insider build; ordinary public media may not provide a compatible app-preserving path for a newer or different channel.
Also review the newest files under:
-
C:\$WINDOWS.~BT\Sources\Panther\CompatData*.xml
- Any
*_APPRAISER_HumanReadable.xml on C:
Search for BlockingType="Hard", BlockMigration="True", or DT_ANY_FMC_BlockingApplication=True. These identify applications, drivers, or leftover files blocking migration.^5^
You can also mount matching media and run a scan without installing:
X:\setup.exe /auto upgrade /noreboot /eula accept /compat scanonly /compat ignorewarning
Replace X: with the mounted media drive. Exit code 0xC1900210 means no compatibility concern was found; 0xC1900208 indicates a compatibility blocker, while 0xC1900204 means the requested keep/migration choice is unavailable.^4^
5. Run the app-preserving repair install
After resolving any reported mismatch or blocker:
- Obtain matching Windows media, using another working PC if necessary.
- Start the damaged Windows normally—do not boot from the USB.
- Mount the ISO without Explorer:
Mount-DiskImage -ImagePath "D:\Windows11.iso"
- From Task Manager’s Run new task, run
X:\setup.exe.
- At Change what to keep, select Keep personal files and apps.
- Verify the Ready to install page still says it will keep personal files and apps, then install.
Starting setup.exe from within Windows permits the app-preserving option; booting installation media performs a fresh installation that removes apps and data.^6^
If third-party security software is reported as a blocker, temporarily uninstall it—not merely disable it—after confirming that its installer and license information are available.^2^
Last resort
Do not use Reset this PC → Keep my files for this goal: it preserves user data but removes user-installed applications.^7^ If matching media still cannot offer Keep personal files and apps, preserve the backup and obtain Microsoft or OEM support before choosing a reset or clean installation.
References
- Reinstall Windows with the installation media | Microsoft Support
- [Windows 11](https://support.microsoft.com/windows/deployment/updates-lifecycle/troubleshoot-problems-updating-windows#repair-hard-drive-errors)
- Fix issues by reinstalling the current version of Windows | Microsoft Support
- Windows Setup Command-Line Options
- Use Windows Setup compatibility scan logs to identify blocking issues
- Ways to install Windows 11 | Microsoft Support
- Push-button reset