top of page
Search

7 Steps to Recover Corrupted System Files on Your Laptop

6 days ago
8 min read

Last Updated: November 14, 2026

Quick Summary

To recover corrupted system files on a laptop, open Command Prompt as administrator and run sfc /scannow to repair protected Windows files. If SFC cannot fix everything, run the DISM RestoreHealth command, then rerun SFC and check the disk with chkdsk.

  • Back up important files and keep the laptop plugged in before starting repairs.

  • Run Command Prompt as administrator, then enter sfc /scannow to scan system files.

  • If SFC cannot fix some files, run DISM RestoreHealth, which downloads clean files from Windows Update.

  • Run chkdsk C: /f /r to check the drive for errors if problems persist.

  • If Windows will not start, use offline SFC and DISM against the correct Windows drive letter.

Laptop still crashing after the fixes?

PhoneProbs diagnoses laptop software and hardware problems and gives a quote before any work starts.

Table of Contents

What Corrupted System Files Are and How to Spot Them

Corrupted system files are core Windows files that have been damaged, altered, or deleted. Windows relies on these files to start, run apps, and manage hardware. When one goes bad, you may see strange errors or a slow, unstable laptop. Fix slow laptop running Windows with proven steps for startup apps, disk space, and drivers.

Common signs include blue screens, apps that crash for no clear reason, and error messages that mention a missing or damaged file. Discover the most common laptop software issues and how to diagnose them. Some users also notice that Windows Update keeps failing. Many of these problems trace back to the same root cause.

Corruption often comes from a sudden power loss, a failed update, malware, or a failing hard drive. The fix is usually built into Windows, so you do not need to buy new software.

Keep in mind that corrupted files and failing hardware can look alike. A dying drive can cause file errors too. If the repair steps below do not help, the drive itself may be the problem.

Before You Start: Laptop Precautions and Backups

Repairs are safer when you prepare first. Take a few minutes to protect your data.

  • Back up your important files to an external drive or cloud storage

  • Plug the laptop into its charger so it does not die mid-repair

  • Close all open programs and save your work

  • Write down any error messages you see, word for word

Watch out: Do not turn off the laptop during a scan or repair. Interrupting these tools can create new file damage.

Step 1: Open an Elevated Command Prompt

Windows repair tools need administrator rights. Open Command Prompt as an administrator:

  1. Click the Start button and type cmd

  2. Right-click Command Prompt in the results

  3. Choose Run as administrator

  4. Click Yes if Windows asks for permission

The window title should say "Administrator." If it does not, close it and try again.

Step 2: Run SFC /scannow and Read the Results

The System File Checker (SFC) scans your protected system files and replaces damaged or missing copies from a cached repair source stored on the laptop (Use the System File Checker tool to repair missing or corrupted system files). In the administrator window, type this command and press Enter:

Hands typing a command into a laptop to repair corrupted system files via the Windows Command Prompt.

sfc /scannow

The scan can take a while. Leave the window open and do not launch other programs while it works. When it finishes, SFC prints one of a small set of messages, and each one points to a different next action:

  • Windows Resource Protection did not find any integrity violations: No protected system files are damaged. If problems persist, the cause is likely outside the system file set, so move on to the disk check in Step 4 and review recently installed drivers or updates.

  • Windows Resource Protection found corrupt files and successfully repaired them: SFC replaced the damaged files. Restart the laptop, then retest the original problem. Details are written to the CBS log at C:\Windows\Logs\CBS\CBS.log if you need to confirm what changed.

  • Windows Resource Protection found corrupt files but was unable to fix some of them: The repair source SFC draws from is itself damaged, or the files are locked. Go to Step 3 and run DISM, then rerun SFC.

  • Windows Resource Protection could not perform the requested operation: The scan was blocked, often by another servicing operation, a pending update, or insufficient free space. Restart the laptop, confirm at least a few gigabytes of free space on the Windows drive, and run sfc /scannow again before assuming the files are unrepairable.

  • Windows Resource Protection could not start the repair service: The Windows Modules Installer service is disabled or stuck. Open Services, set Windows Modules Installer to Manual, start it, and rerun the scan.

A verification-only pass is also useful. Running sfc /verifyonly checks files without repairing them, which is handy when you want to confirm a repair held after a restart. If SFC reports the same corruption on back-to-back scans after a successful DISM run, treat that as a signal of recurring damage rather than a one-time glitch and check the drive in Step 4.

Watch out: Do not close the Command Prompt window or restart the laptop while SFC is mid-scan, because an interrupted repair can leave files in a partially replaced state.

The System File Checker reports a small set of messages, and each one points to a different next action.

SFC message

What it means

Next action

No integrity violations found

No protected system files are damaged

Run the disk check in Step 4

Corrupt files repaired

SFC replaced the damaged files

Restart and retest the problem

Corrupt files found, some not fixed

The repair source or locked files are damaged

Run DISM in Step 3, then rerun SFC

Could not perform the operation

Scan was blocked, often by a pending update or low space

Restart, free space, and rerun SFC

Could not start the repair service

Windows Modules Installer is disabled or stuck

Set it to Manual, start it, and rerun the scan

Step 3: Run the DISM RestoreHealth Command

DISM (Deployment Image Servicing and Management) repairs the Windows image that SFC uses as its reference (Use the System File Checker tool to repair missing or corrupted system files). Run it when SFC cannot fix some files.

In the same administrator window, type each command below, pressing Enter after each one:

DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /RestoreHealth

The RestoreHealth step downloads clean files from Windows Update, so it needs an internet connection. Let it finish.

Step 4: Rerun SFC, Check the Disk, and Restart

Once DISM completes, run SFC again:

sfc /scannow

If SFC still reports problems, check your drive for errors. Type this command and press Enter:

chkdsk C: /f /r

CHKDSK may ask to schedule the check on the next restart. Type Y and restart the laptop. The check can take a long time on large drives.

Restart the laptop after all steps are done. Then test the problem again. CHKDSK can help with file system errors, but it does not repair Windows system files the way SFC does.

When Windows Won't Start: Offline Repair and Next Steps for Windows 11

If Windows will not boot, the repair tools still work, but they must be pointed at the offline installation. The hard part is not the command, it is identifying the correct drive letter, because the recovery environment assigns letters differently than a running copy of Windows does.

Reach the recovery environment. From a powered-off laptop, turn it on and hold the power button for about five seconds as soon as the Windows logo appears, repeating two more times. On the third restart Windows should enter the Windows Recovery Environment (WinRE). If that does not work, use a Windows installation USB and choose Repair your computer instead of Install now.

Open the right command prompt. In WinRE, go to Troubleshoot, then Advanced options, then Command Prompt.

Find the Windows drive letter. In the command prompt, type diskpart, press Enter, then type list volume and press Enter. Look for the volume labeled with your Windows edition and note its letter, which is often not C: in recovery mode. Type exit to leave diskpart. Confirm the folder exists by typing dir D:\Windows (substituting the letter you found) and checking that the output lists folders such as System32.

Run offline SFC. Point SFC at the offline installation and its repair source:

sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows

Replace D: with the letter you confirmed. This scans the offline system files and repairs them from the offline repair store.

Run offline DISM if SFC cannot repair files. Mount the offline image and repair it:

DISM /Image:D:\ /Cleanup-Image /RestoreHealth /Source:D:\Windows\WinSxS

If the local source is also damaged, add /LimitAccess and point /Source at a mounted Windows installation USB that matches your build. DISM against an offline image can take a while, so be patient.

Check the disk before rebooting. Run chkdsk D: /f against the Windows volume to clear file system errors that can undo the repair. Then type exit and choose Continue to restart.

Use this rule of thumb:

  • Windows starts but acts strange: Run Steps 1 through 4.

  • Windows will not start: Use the offline SFC and DISM sequence above.

  • Errors return after every repair: The drive may be failing. Back up your data before running more scans.

Watch out: Do not guess the drive letter. Running offline SFC or DISM against the wrong volume, such as the recovery partition, can fail without a clear error and leave you thinking the files are unrepairable.

Booking Your Laptop Repair With PhoneProbs When Software Fixes Fail

If the steps above do not fix the problem, the cause may be hardware. PhoneProbs repairs laptops, computers, phones, and consoles. Many people also come to us with water damage or unwanted software issues. Compare cracked screen repair costs and DIY versus professional options before you book.

Book your repair today and get back to using your laptop.

Frequently Asked Questions

Should I run sfc or dism first?

Run DISM first when SFC reports it found corrupt files but could not fix them, or when SFC cannot run at all. DISM repairs the Windows component store that SFC uses as its source for replacement files. Running DISM with the RestoreHealth option first gives SFC a healthy source, so the usual order is DISM RestoreHealth, then SFC /scannow, then a restart. If SFC repairs everything on its first pass, you do not need DISM.

Can CHKDSK fix corrupted files?

CHKDSK can fix some file system errors, such as bad sector references and damaged directory entries, but it does not repair Windows system files directly. Run chkdsk C: /f from an elevated Command Prompt if SFC or DISM reports disk problems, or if files keep corrupting. If CHKDSK finds bad sectors, the drive itself may be failing, so back up your data before doing anything else.

What should I do if SFC cannot repair corrupted files?

If SFC reports that it found corrupt files but could not fix some of them, run the DISM RestoreHealth command, then run sfc /scannow again. If DISM also fails because it cannot reach Windows Update, point it at a Windows installation source using the /Source option. If errors persist after that, check your drive's health and consider a repair install or a professional diagnosis, since failing storage can cause repeated corruption.

Can I repair Windows system files without losing my personal files?

Yes. SFC and DISM replace damaged Windows system files and do not touch your documents, photos, or installed apps. Still, back up important data before any repair, because a failing drive or an interrupted repair can cause data loss. If repairs do not work, a Windows repair install keeps personal files in most cases, but a full reset deletes them, so choose the option carefully.

 
 
 

Comments


bottom of page