How to Repair Windows 11 Without Losing Your Files

Share
A Windows 11 laptop sits open on a desk.

If Windows 11 is crashing, freezing, or showing system errors, start with built-in repairs that can fix damaged system files and boot problems without wiping your personal files. In most cases, `SFC`, `DISM`, `Startup Repair`, or an in-place repair install can get Windows working again. Only move to a reset if those repairs fail or Windows is too broken to finish them.

What’s actually broken in Windows 11?

The symptom usually points to the kind of repair you need.

Windows 11 is crashing, freezing, showing system errors, restarting in a loop, black-screening during boot, or letting one account behave strangely while others still work.
Symptom

If Windows still opens but crashes, freezes, or shows odd app and system errors, you’re often dealing with damaged system files, a broken Windows image, or update-related corruption. If the PC restarts in a loop, shows a black screen, or never reaches the desktop, the problem is more likely in startup files, boot configuration, or disk health. If the desktop loads but your account acts strange, files are missing from one profile only, or settings reset unexpectedly, the issue may be limited to a user profile rather than Windows itself.

A few common patterns help narrow it down:

  • Slow but usable Windows: often repairable with SFC, DISM, and update fixes.
  • Windows boots after several tries: startup repair or boot repair may help.
  • Errors right after an update: Windows Update components or the update itself may be damaged.
  • One account is broken but others work: the profile may be corrupted, not the whole OS.

If you can still reach the desktop, that’s good news. It usually means you can fix the machine without reinstalling everything. If you cannot get past the login screen or into the desktop at all, skip ahead to the startup repair section.

A Windows 11 laptop displays a blue error screen.

When these fixes are the right ones

These repairs are the right first move when Windows 11 is still partly working. They fit cases like random crashes, broken built-in apps, some blue screens, update failures, and system error messages that point to missing or corrupt files. They also make sense if Windows starts normally but behaves badly enough that you want to fix it before it gets worse.

Use the safer built-in tools first if:

  • You can still sign in to Windows.
  • Your personal files are still visible.
  • The problem started after an update, power loss, or forced shutdown.
  • The PC is unstable, but not completely dead.

You need recovery media or a reinstall sooner if:

  • Windows will not boot far enough to open recovery tools.
  • Startup Repair fails every time and you still cannot load the desktop.
  • The disk is making clicking noises or showing clear signs of hardware failure.
  • You suspect malware that keeps coming back after cleaning.

You’ll need administrator rights for SFC, DISM, and Windows Update repair commands. A restart is usually part of the process, and a backup is smart before you start. If the machine is barely usable, copy out your files first, then move to repairs.

Back up the files you care about first

If Windows still opens, make a quick backup before you touch anything else. Protect your documents, photos, desktop files, and any work files you would hate to lose if the machine gets worse during repair.

The simplest option is File Explorer. Copy your important folders to an external drive, USB drive, or another internal drive if you have one. If the desktop is unstable, copy only the most important folders first: Documents, Desktop, Pictures, Downloads, and any app-specific folders that hold work files.

If you use OneDrive and sync is working, check that the files are actually uploaded before proceeding. Files that show a cloud or syncing icon may not be fully safe yet. If you can open OneDrive, let it finish syncing, then confirm the files appear online or on another device.

If Windows is still responsive but slow, keep the backup simple:

  • Copy personal files first, not programs.
  • Use a different drive from the one Windows is installed on.
  • Avoid moving files if you can copy them instead.
  • If you see an error while copying one file, skip it for now and keep going.

This backup step matters most before a repair install or reset. Those methods are designed to keep files in many cases, but a backup gives you room to recover if something unexpected happens.

Run SFC to repair damaged Windows files

SFC is the safest repair to try first because it checks protected Windows files and replaces damaged copies with known-good versions. Run it from an elevated Command Prompt so it has permission to make changes.

  1. Open the Start menu, type cmd, then choose Run as administrator.
  2. Approve the prompt if Windows asks for permission.
  3. Run the command below.
sfc /scannow
Command Prompt
  1. Wait for the scan to finish, even if it seems slow.
  2. Read the result carefully.

Expected result: Windows should say that it found and repaired files, or that it found no integrity violations. If it says it repaired files, restart the PC and test it again.

If SFC says it found corrupt files but could not fix some of them, that usually means the Windows image behind those files is damaged too. In that case, move on to DISM before trying SFC again.

A Windows 11 laptop shows a Command Prompt window on the screen.

Use DISM when SFC can’t fix it

DISM repairs the Windows image that SFC depends on. If the component store is damaged, SFC may keep failing because it has nothing healthy to copy from. Run DISM from an elevated Command Prompt.

  1. Open cmd as administrator.
  2. Run the health check first.
DISM /Online /Cleanup-Image /CheckHealth
Command Prompt
  1. If it reports corruption, run the scan.
DISM /Online /Cleanup-Image /ScanHealth
Command Prompt
  1. If corruption is found, repair the image.
DISM /Online /Cleanup-Image /RestoreHealth
Command Prompt
  1. After DISM finishes, run SFC again.
sfc /scannow
Command Prompt

Expected result: DISM should complete without reporting unrecoverable errors, and the second SFC pass should usually finish cleanly or with repaired files. If DISM cannot complete because it cannot reach repair sources, the Windows installation media or a local install source may be needed, which is a sign to move toward an in-place repair install.

Try Startup Repair if Windows won’t boot

If Windows 11 will not load normally, use the recovery environment and try Startup Repair before anything more drastic. This is for PCs that are stuck restarting, black-screening during boot, or failing before the desktop appears.

  1. Force the PC into recovery by interrupting boot three times, or boot from Windows 11 installation media if you already have it.
  2. In the recovery menu, choose Troubleshoot.
  3. Choose Advanced options.
  4. Choose Startup Repair.
  5. Pick your Windows installation if prompted and let the tool finish.

Expected result: Windows should report that it repaired startup files or that it could not repair the PC automatically. If it succeeds, restart normally and see whether the desktop loads.

If Startup Repair fails repeatedly, the problem may be deeper than boot files. At that point, a repair install or a reset is usually a better next step than repeating the same boot repair again.

Repair Windows Update problems

A bad update can leave Windows 11 unstable even when the rest of the system looks fine. If the trouble started right after Patch Tuesday, a feature update, or a failed restart during updating, focus on Windows Update first.

Start with the built-in troubleshooter:

  1. Open Settings.
  2. Go to System > Troubleshoot > Other troubleshooters.
  3. Run Windows Update.
  4. Restart when it finishes.
Settings > System > Troubleshoot > Other troubleshooters > Windows Update
Settings path

If that does not help, you can reset update components from an elevated Command Prompt. This clears the download cache and restarts the services Windows Update depends on.

  1. Open cmd as administrator.
  2. Stop the update services.
net stop wuauserv
net stop bits
net stop cryptsvc
Command Prompt
  1. Rename the download cache folders.
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
ren %systemroot%\System32\catroot2 catroot2.old
Command Prompt
  1. Restart the services.
net start cryptsvc
net start bits
net start wuauserv
Command Prompt
  1. Check for updates again.

Expected result: Windows Update should start downloading normally again, or at least stop failing in the same way. If updates still fail after this, the system image may be damaged enough that an in-place repair install is the cleaner next step.

Do an in-place repair install when Windows still misbehaves

If SFC, DISM, and update repairs do not fix the problem, an in-place repair install is usually the best deeper fix. It reinstalls Windows 11 over itself while keeping your files, installed apps, and most settings, as long as you choose the right option and use matching installation media.

Use this when Windows still boots, but the system remains unstable, corrupt, or full of odd errors after the lighter repairs. It is often the best choice when you want to avoid a full reset.

  1. Download a Windows 11 ISO or prepare current Windows 11 installation media.
  2. Open the ISO or plug in the media while signed in to Windows.
  3. Run setup.exe from the media.
  4. Choose the option to keep personal files and apps when prompted.
  5. Let Setup finish and reboot as needed.

Expected result: Windows should reinstall its core files while leaving your apps and data in place. If Setup does not offer the keep-files-and-apps choice, the media may not match your installed edition or version closely enough.

This is the right next step when you want a deeper repair without jumping straight to a reset. It is also the point where your earlier backup becomes very useful, because it gives you a fallback if the install does not go the way you expect.

Reset this PC only if the other repairs fail

A reset is the fallback when Windows is too damaged for an in-place repair or when you want a cleaner rebuild after all the safer fixes failed. There are two paths, and they do very different things.

Keep my files removes apps and restores Windows, but it tries to preserve your personal files in your user folders. Remove everything wipes personal files, apps, and settings, so it is the more destructive option and should only be used if you already have a backup or you are preparing the PC for a fresh start.

Use Keep my files first if you still want to save the current Windows installation. Choose Remove everything only after you have copied out what matters.

  1. Open Settings if you can still sign in.
  2. Go to System > Recovery.
  3. Select Reset this PC.
  4. Choose Keep my files first if you want the least destructive option.
  5. Read each prompt carefully before continuing.
Settings > System > Recovery > Reset this PC
Settings path

Expected result: Windows reinstalls itself and boots into a cleaner state. If Keep my files still does not solve the problem, the issue may be hardware-related or severe enough that a full reinstall is the only remaining software fix. Use Remove everything only after you have copied out what matters.

Check that Windows is healthy again

After any repair, check more than just whether it boots. Restart the PC a few times and make sure it gets back to the desktop without freezing or throwing the same error. Open the app or feature that was failing before and see whether the problem comes back during normal use.

A good repair should look like this:

  • Windows signs in normally.
  • The original crashes or freezes do not return during a basic restart.
  • SFC runs cleanly if you run it again.
  • Windows Update installs or checks for updates without the same failure.
  • Your files and apps open the way they did before.

If you used DISM or a repair install, run sfc /scannow again to confirm the system files are still healthy.

sfc /scannow
Command Prompt

Expected result: Windows should say that it found no integrity violations, or that it found and repaired files and then completed normally. That is a good sign the repair held.

If the same problem returns right away, stop repeating the same fix and look for a deeper cause. Corruption that comes back often points to failing storage, a bad driver, or a conflicting app rather than a one-time Windows file issue.

How to avoid breaking Windows 11 again

A few habits lower the odds of ending up in the same situation. Keep enough free disk space for updates to unpack and install properly. Don’t force the PC off during updates unless it has completely frozen for a long time and there’s no other choice. If Windows offers a restore point before a major driver, app, or registry change, create one first.

It also helps to pay attention to patterns. If crashes only happen after a specific app starts, update or remove that app. If they happen after sleep, a driver or firmware issue may be involved. If updates keep failing, fix the update path early instead of waiting for the system to get worse.

A simple maintenance routine goes a long way:

  • Keep Windows Update working and check it after repairs.
  • Leave room on the system drive.
  • Restart normally after major updates instead of delaying forever.
  • Back up files regularly, not only when something breaks.

That way, if Windows starts acting up again, you can spot the change quickly and fix it before corruption spreads.

Conclusion

If Windows still behaves badly after `SFC`, `DISM`, and Startup Repair, move to an in-place repair install before you consider a reset. If the problem comes back after that, check for a failing drive, a bad driver, or another hardware issue.

Frequently Asked Questions

Will repairing Windows 11 delete my files?

Not with `SFC`, `DISM`, Startup Repair, or a repair install that keeps files and apps. A reset may remove apps, and `Remove everything` will erase personal files too.

Should I run `SFC` or `DISM` first?

Run `SFC` first. If it cannot fix everything, run `DISM`, then run `SFC` again.

What if Windows 11 still crashes after a repair install?

That usually points to a driver, storage, memory, or other hardware problem rather than simple file corruption. Check whether the crashes happen in Safe Mode or after a specific driver or app loads.