sodcalculator

10 Tech How-To

How to Repair Windows 10: Step-by-Step Guide

Guide 10-19909 · Updated · Step by step

Windows 10 can slow down, freeze, or fail to boot due to corrupted system files, faulty updates, or driver issues. This guide walks you through built-in repair tools—from quick fixes like System File Checker to advanced options like Startup Repair and Reset—so you can get your PC running again without reinstalling everything.

What You’ll Need

  • A Windows 10 PC that can at least power on (for most steps).
  • Administrator access (you’ll need to log in as admin or provide admin credentials).
  • Optional: A USB drive (8 GB or larger) with Windows 10 installation media, if your PC won’t boot.
  • Optional: Another working computer to create the installation media.

Step-by-Step

Part 1: Start with Built-in Troubleshooters

  1. Run the Windows Update troubleshooter: Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters. Select Windows Update and click Run the troubleshooter. Follow the prompts to fix update-related issues.
  2. Run the System File Checker (SFC): Open Command Prompt as administrator (right-click Start, select Command Prompt (Admin) or Windows PowerShell (Admin)). Type sfc /scannow and press Enter. Wait for the scan to complete—this can take 15-30 minutes. It will repair corrupted system files automatically.
  3. Run DISM to fix system image corruption: If SFC finds issues it can’t fix, run DISM /Online /Cleanup-Image /RestoreHealth in the same admin Command Prompt. This repairs the Windows image itself. After it finishes, run sfc /scannow again.

Part 2: Repair Boot Problems

  1. Access Advanced Startup: If Windows won’t boot normally, restart your PC and press the power button repeatedly (or hold Shift while clicking Restart) to enter the recovery environment. If that fails, use a Windows 10 installation USB: boot from it, select your language, then click Repair your computer.
  2. Run Startup Repair: In the recovery environment, go to Troubleshoot > Advanced options > Startup Repair. Select your operating system and wait. This tool automatically fixes common boot issues like missing or corrupted boot files.
  3. Use Command Prompt for manual boot fixes: If Startup Repair doesn’t work, go to Troubleshoot > Advanced options > Command Prompt. Then run these commands one by one, pressing Enter after each:
    • bootrec /fixmbr
    • bootrec /fixboot
    • bootrec /rebuildbcd

    If /fixboot gives an “Access denied” error, run bootrec /fixboot after typing diskpart, then list volume, identify your system drive (usually C:), type exit, and try again.

Part 3: Use System Restore and Reset

  1. System Restore: If your PC was working recently, try restoring to an earlier point. In the recovery environment, go to Troubleshoot > Advanced options   System Restore. Choose a restore point before the problem started and follow the prompts. This won’t affect your personal files.
  2. Reset This PC: If nothing else works, reset Windows. Go to Settings > Update & Security > Recovery (or in recovery environment, Troubleshoot > Reset this PC). Choose Keep my files to remove apps and settings but keep personal files, or Remove everything for a clean slate. Follow the on-screen instructions—this will reinstall Windows 10.

Part 4: Reinstall Windows 10 (Last Resort)

  1. Create installation media: On a working PC, go to Microsoft’s software download page, download the Media Creation Tool, and create a USB drive or ISO file.
  2. Boot from the USB: Insert the USB into the problematic PC, restart, and boot from the USB (you may need to press a key like F12 or Esc to choose boot device). Follow the installer, choose Custom install, and select your system drive. If you want to keep files, you can do an in-place upgrade by running the setup from within Windows instead.

Common Mistakes

  • Skipping DISM: Running SFC alone often fails if the system image is corrupted. Always run DISM before SFC if you suspect deep corruption.
  • Using the wrong command prompt: Some repair commands require admin privileges. If you get “Access denied,” you’re not in an elevated prompt.
  • Not backing up: Before any repair that could remove data (like Reset), back up important files to an external drive—even if you choose “Keep my files.”
  • Interrupting the scan: Let SFC and DISM run to completion. Closing the window early can cause more corruption.

Tips

  • Create a restore point before major changes: Go to Control Panel > System > System Protection and enable protection for your system drive.
  • Keep Windows updated: Regular updates fix bugs and security holes that can cause instability.
  • Use a clean boot to isolate issues: Type msconfig in Run, go to Services, check Hide all Microsoft services, click Disable all, then restart. If the problem goes away, re-enable services one by one to find the culprit.
  • Run chkdsk to check disk health: In admin Command Prompt, type chkdsk /f /r and restart to scan for bad sectors.

Troubleshooting

  • Startup Repair fails: If it says it can’t fix the problem, try the manual bootrec commands. If those fail, your boot configuration may be damaged—consider using the installation media to do a repair install (run setup.exe from within Windows).
  • SFC finds files it can’t fix: This usually means the system image is corrupt. Run DISM first, then SFC again. If DISM fails, try using a Windows 10 ISO as the source: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\path\to\install.wim /LimitAccess.
  • Reset This PC doesn’t work: If you get an error during reset, try using the Media Creation Tool to do a clean install. You’ll lose apps but can keep files if you choose “Upgrade” and select “Keep personal files and apps” (though this may not work if the system is too broken).
  • PC still won’t boot after all repairs: This could be a hardware issue (RAM, hard drive, motherboard). Test your RAM with Windows Memory Diagnostic (type mdsched.exe in Run) and check your hard drive’s SMART status using tools like CrystalDiskInfo.

Frequently Asked Questions

Will System File Checker delete my files?

No, SFC only scans and repairs system files. It does not touch your personal data, documents, or installed programs.

How long does sfc /scannow take?

It typically takes 15-30 minutes, but can take longer on older or heavily used drives. Let it run uninterrupted.

Can I repair Windows 10 without a USB drive?

Yes, many repairs can be done from within Windows (SFC, DISM, Settings > Recovery). For boot issues, you can access Advanced Startup by holding Shift while clicking Restart. If that fails, you’ll need installation media.

What’s the difference between Reset and Refresh?

In Windows 10, “Reset this PC” offers two options: “Keep my files” (removes apps/settings, keeps personal files) and “Remove everything” (full wipe). The old “Refresh” option was removed; it’s now part of Reset with “Keep my files.”

Will a repair install keep my programs?

An in-place upgrade (running setup.exe from within Windows) keeps your programs, files, and settings. It’s the least destructive repair option, but it requires a working Windows installation.

Why does Startup Repair say it can’t fix the problem?

Startup Repair handles common boot issues but not all. If it fails, try bootrec commands, then System Restore, then Reset. If all fail, you may have hardware issues or a severely corrupted system that needs a clean install.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →