If
Expected result: Windows returns to the sign-in screen and then your usual desktop. Installed desktop applications should remain present, and Windows Update may need time to finish post-installation updates.
Warning: Back up personal files first and make sure you have the BitLocker recovery key before continuing. Although Keep my files is designed to retain files in user folders, it removes installed applications, application settings, and many customized system settings. Make a list of software and license information you will need afterward.
If the PC is managed by an organization, ask IT for the approved repair source rather than changing update or policy settings yourself. If DISM still cannot repair the component store, move to the repair-install procedure, which supplies a complete Windows reinstall path.
If it says Windows RE is disabled, attempt:
Restart and try Reset again. If it remains unavailable, use matching Windows installation media for an in-place repair if Windows starts, or use installation media to access recovery tools or perform a clean installation after backing up data.
If recovery tools fail or the device cannot reach the Windows desktop, create Windows installation media on another computer. Boot the affected PC from it only after backing up data where possible. A booted-media clean installation removes apps, settings, and files, so use it as the final software recovery path—not as a substitute for the in-place repair.
sfc /scannow still reports that it found corrupt files but could not fix some of them, repair Windows in place before considering a reset. On supported Windows 11 installations, first use Fix problems using Windows Update when it is available; it reinstalls the current Windows version while preserving installed apps, personal files, and settings. On Windows 10, or when that option is unavailable or fails, run a repair install from matching Windows installation media from inside the running Windows desktop and choose Keep personal files and apps. Use Reset this PC only if an in-place repair does not resolve the corruption or Windows is too unstable to complete one. This guide applies to Windows 11 and Windows 10; note that Windows 10 reached end of support on October 14, 2025, so a repaired Windows 10 PC should be upgraded to Windows 11 if its hardware supports it.
Prerequisites and compatibility
Before starting:- Sign in with an administrator account.
- Connect a laptop to AC power. Do not attempt a reinstall or reset on battery power alone.
- Save open work and disconnect nonessential external drives, docks, printers, and USB storage. Leave a wired network adapter connected if you use one.
- Back up irreplaceable files to external storage or cloud storage, even when using a method that says it keeps files.
- Record or locate your BitLocker recovery key if device encryption or BitLocker is enabled. A recovery operation can request it, especially when Windows Recovery Environment is used.
- Confirm your Windows edition: select Start > Settings > System > About in Windows 11, or Start > Settings > System > About in Windows 10. Under Windows specifications, note the edition—such as Home, Pro, or Enterprise—and the installed version.
- Ensure adequate free space on the Windows drive. Aim for at least 25 GB free before an in-place repair; more is preferable.
- If the corruption appeared after a failed update, first install pending updates if Windows Update still works.
Primary procedure: repair the component store, then run SFC again
A repair install is appropriate when this step cannot repair the system, but run it first because it is faster and may avoid reinstalling Windows.- Open an elevated Command Prompt:
- Select Start, type
cmd. - Right-click Command Prompt and choose Run as administrator.
- Select Yes at the User Account Control prompt.
- Select Start, type
- Run DISM:
DISM.exe /Online /Cleanup-Image /RestoreHealth
Leave the window open until it finishes. It can appear stalled at certain percentages for several minutes. Do not close the window or restart during the scan.
Expected result:The restore operation completed successfully. - Restart the PC:
- Select Start > Power > Restart.
- Open another elevated Command Prompt and run:
sfc /scannow
Expected result:Windows Resource Protection did not find any integrity violations. - If SFC still reports corruption it could not repair, continue to the applicable Windows repair-install procedure below. Do not repeatedly run SFC without changing the repair source; repeated scans generally produce the same result.
Windows 11: use “Fix problems using Windows Update” first
This is the least disruptive repair-install method when it appears in Settings. It reinstalls the same Windows 11 version, repairs system files and components, and keeps apps, files, and settings.- Connect the PC to reliable internet and AC power.
- Open Start > Settings > System > Recovery.
- Under Recovery options, look for Fix problems using Windows Update.
- Select Reinstall now.
- In the confirmation window, choose whether Windows may restart automatically 15 minutes after completion.
- Select OK to begin.
Windows opens the Windows Update page and downloads a repair version of the last successfully installed operating-system update. Keep the PC powered and online through the download and installation. - Restart when prompted, or manually select Start > Power > Restart after the reinstall completes if you did not permit an automatic restart.
- Sign in normally and proceed to Verification of success.
Windows 10 or Windows 11: repair install using installation media
Use this method when Windows 11’s Windows Update repair option is missing or unsuccessful, or when repairing Windows 10. It reinstalls Windows over the existing installation while retaining apps, user accounts, personal data, and settings—provided you startsetup.exe while signed in to Windows and select the correct retention choice.1. Obtain matching installation media
- Use Microsoft’s Windows download page on the affected PC if possible.
- Download the installation media or ISO for the same major Windows release:
- For Windows 11, use Windows 11 media.
- For Windows 10, use Windows 10 media.
- Select the same installation language as the existing Windows installation. A language mismatch can prevent Keep personal files and apps from appearing.
- Ensure the edition matches your license. Windows Home must be repaired with Windows Home-capable media, and Windows Pro with Windows Pro-capable media. Standard Microsoft multi-edition consumer media normally handles Home and Pro automatically.
- Prefer downloading an ISO if Windows starts normally:
- Right-click the downloaded ISO file.
- Select Mount.
- A new DVD drive appears in File Explorer.
2. Start the repair from inside Windows
- While signed in to the affected Windows desktop, open File Explorer.
- Open the mounted ISO drive or the USB installation-media drive.
- From the root of that drive, double-click setup.exe.
- Select Yes at the User Account Control prompt.
- If Setup asks whether to download updates, choose Download updates, drivers and optional features when the internet connection is reliable. If repeated setup failures are tied to downloading updates, choose Not right now and install updates after the repair.
- Accept the license terms.
- At Ready to install, select Change what to keep.
- Select Keep personal files and apps, then select Next.
Warning: Do not select Keep nothing or proceed with a setup screen that says files, apps, and settings will be deleted unless you intend to wipe the PC. If Keep personal files and apps is unavailable, cancel Setup rather than continuing. See the troubleshooting section for the usual causes. - Verify that the summary states Windows will be installed while personal files and apps are kept.
- Select Install.
Expected result: Windows returns to the sign-in screen and then your usual desktop. Installed desktop applications should remain present, and Windows Update may need time to finish post-installation updates.
Verification of success
After either repair-install method or a reset:- Restart the PC once more.
- Open Command Prompt as administrator and run:
sfc /scannow
The desired result is:
Windows Resource Protection did not find any integrity violations. - Run a component-store health check:
DISM.exe /Online /Cleanup-Image /CheckHealth
Expected result: Windows reports that no component-store corruption is detected. - Check updates:
- Windows 11: Start > Settings > Windows Update > Check for updates
- Windows 10: Start > Settings > Update & Security > Windows Update > Check for updates
- Confirm that the original symptom is resolved—for example, a Windows Update installation now completes, Settings opens normally, or the affected built-in feature starts without errors.
Alternate method: Reset this PC
Choose Reset when a repair install fails, Windows remains corrupted after the repair, or you do not need to retain installed programs. Keep my files preserves personal files but removes installed applications and resets settings. It is not equivalent to an in-place repair install.Warning: Back up personal files first and make sure you have the BitLocker recovery key before continuing. Although Keep my files is designed to retain files in user folders, it removes installed applications, application settings, and many customized system settings. Make a list of software and license information you will need afterward.
Windows 11 Reset path
- Select Start > Settings > System > Recovery.
- Under Recovery options, next to Reset this PC, select Reset PC.
- Choose Keep my files.
- Select Cloud download if system files may be corrupted or missing and your internet connection is reliable. Select Local reinstall only when bandwidth is limited and the local recovery files are likely intact.
- Review Additional settings, then select Next.
- Review the list of apps that will be removed. Save it if Windows offers the option.
- Select Reset.
Windows 10 Reset path
- Select Start > Settings > Update & Security > Recovery.
- Under Reset this PC, select Get started.
- Choose Keep my files.
- Choose Cloud download or Local reinstall.
- Review the summary and select Reset.
Troubleshooting and rollback/escalation
“Fix problems using Windows Update” is missing
Use the ISO or USB repair-install method. The Windows Update repair option is not available on all Windows 11 versions and can be hidden by work or school device management, Windows Server Update Services policies, Autopatch, or other organizational update controls. On a managed device, contact the organization’s IT administrator rather than attempting to bypass management policies.Setup does not offer “Keep personal files and apps”
Cancel the installation. Common causes are:- You booted from the USB instead of running
setup.exefrom within Windows. - The installation media language differs from the installed Windows display/install language.
- The media is older than the installed Windows feature version.
- The media is for the wrong architecture or incompatible edition.
- The existing installation is an Insider, Enterprise, Education, N, or Single Language edition requiring compatible media.
DISM fails because it cannot find repair files or cannot access Windows Update
First confirm internet access and temporarily disconnect any VPN or proxy that blocks Microsoft Update. Restart, then rerun:DISM.exe /Online /Cleanup-Image /RestoreHealthIf the PC is managed by an organization, ask IT for the approved repair source rather than changing update or policy settings yourself. If DISM still cannot repair the component store, move to the repair-install procedure, which supplies a complete Windows reinstall path.
Reset reports that the recovery environment cannot be found
Open an elevated Command Prompt and check Windows Recovery Environment status:reagentc /infoIf it says Windows RE is disabled, attempt:
reagentc /enableRestart and try Reset again. If it remains unavailable, use matching Windows installation media for an in-place repair if Windows starts, or use installation media to access recovery tools or perform a clean installation after backing up data.
The PC will not start well enough to run a repair install
From the sign-in screen, hold Shift while selecting Power > Restart. Then select Troubleshoot. Try Startup Repair first. If Windows still will not start, use Reset this PC > Keep my files if available and if you have the BitLocker recovery key.If recovery tools fail or the device cannot reach the Windows desktop, create Windows installation media on another computer. Boot the affected PC from it only after backing up data where possible. A booted-media clean installation removes apps, settings, and files, so use it as the final software recovery path—not as a substitute for the in-place repair.
Corruption returns after a successful repair
If SFC becomes clean after a repair install but later reports corruption again, investigate the underlying cause rather than resetting repeatedly:- Install current Windows and device-driver updates.
- Update or remove third-party antivirus, “system optimizer,” driver-cleaning, registry-cleaning, or shell-customization software.
- Check storage health using the drive manufacturer’s diagnostic tool.
- Run an offline malware scan with Microsoft Defender.
- If disk diagnostics report errors, back up immediately and replace the failing drive before reinstalling Windows again.
References
- Official source: support.microsoft.com
Reset your PC | Microsoft Support
Learn about the different reset options in Windows and how to reset your device.support.microsoft.com - Official source: support.microsoft.com
Recovery options in Windows | Microsoft Support
Learn about the recovery options in Windows. Find out how to reset your PC, go back to a previous version of Windows, or use media to reinstall Windows.support.microsoft.com - Official source: microsoft.com
Download Windows 11
www.microsoft.com
- Official source: download.microsoft.com
- Official source: download.microsoft.com
Windows 10 Upgrade Benefits for Customers with CSP Subscriptions
PDF documentdownload.microsoft.com
- Official source: microsoft.com