Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Redmond desk5 min

How to Fix Corrupted Files in Windows 11: A Step-by-Step Guide

Use DISM before SFC to repair protected Windows 11 system files. Learn how to interpret scan results and when to use System Restore, WinRE, or Windows File Recovery.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For corrupted Windows system files, repair the Windows image with DISM first, then scan protected files with System File Checker (SFC). These tools do not restore a deleted document or necessarily fix a damaged file used by one app. Identify which kind of problem you have before choosing a repair.

Identify what kind of file problem you have

DISM and SFC repair Windows components and protected system files. They are appropriate when Windows features malfunction, system errors appear, or instability may be caused by missing or corrupted system files. They are not a general-purpose repair for every document or application file that will not open. Microsoft describes SFC as scanning protected system files and replacing corrupted files with a cached copy in Use the System File Checker tool to repair missing or corrupted system files.

As an Amazon Associate I earn from qualifying purchases.

  • Windows is unstable or a Windows feature is failing: use the DISM and SFC steps below.
  • A personal file is missing because it was deleted: check the Recycle Bin and backups, then consider Windows File Recovery.
  • A personal file exists but one app cannot open it: DISM and SFC may not address the file; use the app’s repair or recovery options, or restore a known-good copy.
  • Windows will not start or problems persist after system-file repair: choose a Windows recovery option based on whether you can sign in and the option’s effect on files and apps.

Prepare before running repairs

  • Install available Windows updates and restart before scanning, as Microsoft recommends for its SFC workflow.
  • Back up important personal files before attempting recovery or reinstall actions that could affect data.
  • If you use an encrypted device and need Windows Recovery Environment (WinRE), make sure you can access its BitLocker recovery key.

Repair protected Windows files with DISM and SFC

1. Open Command Prompt as an administrator

  1. Type command prompt in taskbar search.
  2. Right-click Command Prompt and select Run as administrator.
  3. Approve the permission prompt.

2. Repair the Windows image with DISM

Enter this command and press Enter:

DISM.exe /Online /Cleanup-image /Restorehealth

Wait for DISM to finish and report The operation completed successfully. DISM supplies files required for the subsequent SFC repair and normally obtains them through Windows Update. If Windows Update is unavailable or broken, a repair source may be needed; use Microsoft’s instructions for choosing a valid source rather than assuming a particular source path exists on your PC.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

3. Scan protected files with SFC

After DISM succeeds, enter:

sfc /scannow

Leave the Command Prompt open until verification reaches 100%. Interpret the final message rather than treating every result as a successful repair:

#1 Best Overall
Data Recovery software compatible with Windows 11, 10, 8.1, 7 – recover deleted and lost files – rescue deleted images, photos, audios, videos, documents and more
  • Data recovery software for retrieving lost files
  • Easily recover documents, audios, videos, photos, images and e-mails
  • Rescue the data deleted from your recycling bin
  • Prepare yourself in case of a virus attack
  • Program compatible with Windows 11, 10, 8.1, 7
  • Windows Resource Protection did not find any integrity violations: SFC did not find missing or corrupted protected system files.
  • Windows Resource Protection found corrupt files and successfully repaired them: SFC repaired the files it found. Restart and check whether the original Windows problem is resolved.
  • Windows Resource Protection found corrupt files but was unable to fix some of them: review the SFC details below. Avoid manually replacing protected system files unless following an appropriate Microsoft procedure.
  • Windows Resource Protection could not perform the requested operation: Microsoft’s detailed guidance suggests trying the scan in Safe Mode and checking for the PendingDeletes and PendingRenames folders under %WinDir%WinSxSTemp.

4. Review SFC details when needed

To extract SFC entries from the CBS log, run:

findstr /c:"[SR]" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfcdetails.txt"

Open sfcdetails.txt on the Desktop and check timestamps: the extracted log can contain entries from earlier SFC scans as well as the most recent one.

Choose a recovery option if the issue continues

Recovery choices target different problems and have different effects. Start with the least disruptive option that fits your situation; availability and exact labels can vary with Windows version and device configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Option What it targets Windows access and prerequisites Personal-file impact
DISM and SFC Windows image and protected system files Elevated Command Prompt; DISM normally uses Windows Update as its source Targets system components, not deleted personal files
System Restore System files, registry settings, and installed programs as of a restore point A suitable restore point; can be opened with rstrui.exe or from WinRE Microsoft says personal files are unaffected
Windows File Recovery Attempts to recover deleted files from local storage Microsoft Store app; different source and destination drives Copies recoverable files to a destination drive; success is not guaranteed
Reset or reinstall options Broader Windows installation or system-state problems Depends on the chosen option, Windows version, and whether Windows starts Check the specific option’s data effects and back up first

If Windows starts but is still behaving unexpectedly

Consider Windows’ available recovery options in increasing order of disruption. Depending on the Windows release and the problem, these may include a troubleshooter, reinstalling the current Windows version through Windows Update recovery, uninstalling a recent update, System Restore, or Reset this PC. Microsoft’s page for reinstalling the current Windows version through Windows Update applies to Windows 11 version 22H2 or later; see Fix issues by reinstalling the current version of Windows for availability and steps. Check the data impact of the particular option before proceeding.

Use System Restore for a recent system change

If the trouble began after an app, driver, or settings change and a restore point is available, System Restore may roll system files, registry settings, and installed programs back to that point. It does not affect personal files. Start it by running rstrui.exe, or access it from WinRE. Learn more in Microsoft’s System Restore guidance.

If Windows will not start

WinRE offers troubleshooting tools and may start automatically after repeated startup failures. Depending on what is available, access it from recovery settings or Windows installation media, then select the relevant Troubleshoot and Advanced options path. Have the BitLocker recovery key available if the device is encrypted. Microsoft explains the available routes in Windows Recovery Environment.

Rank #2
5-in-1 Win Repair & Reinstall Bootable USB Flash Drive – Fix, Recover, or Reinstall Windows 11 (amd64 + arm64) / 10/7 - Includes PE Tools, Driver Pack, Antivirus, Data Recovery & Password Reset
  • Dual USB-A & USB-C Bootable Drive – compatible with nearly all Windows PCs, laptops, and tablets (UEFI & Legacy BIOS). Works with Surface devices and all major brands.
  • Fully Customizable USB – easily Add, Replace, or Upgrade any compatible bootable ISO app, installer, or utility (clear step-by-step instructions included).
  • Complete Windows Repair Toolkit – includes tools to remove viruses, reset passwords, recover lost files, and fix boot errors like BOOTMGR or NTLDR missing.
  • Reinstall or Upgrade Windows – perform a clean reinstall of Windows 7 (32bit and 64bit), 10, or 11 (amd64 + arm64) to restore performance and stability. (Windows license not included.). Includes Full Driver Pack – ensures hardware compatibility after installation. Automatically detects and installs drivers for most PCs.
  • Premium Hardware & Reliable Support – built with high-quality flash chips for speed and longevity. TECH STORE ON provides responsive customer support within 24 hours.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Recover a deleted personal file

Do not keep running system-file repairs in an attempt to retrieve a deleted document. First check the Recycle Bin and any backup you use. If the file is not there, Windows File Recovery is a Microsoft Store command-line app that attempts to recover deleted files from local internal, external, or USB storage. It does not support cloud storage or network file shares. Minimize computer use after deletion because new writes can overwrite storage space containing recoverable data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows File Recovery requires different source and destination drives. Its command pattern is:

winfr source-drive: destination-drive: [/mode] [/switches]

For example, a documents-folder recovery attempt can use:

Winfr C: E: /regular /n Users<username>Documents

Replace <username> with the relevant account name and use the mode and filters suited to the file system and recovery target. Consult Microsoft’s current Windows File Recovery instructions for supported modes and examples. Recovery is an attempt, not a guarantee.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.