Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
Redmond desk4 min

How to Run DISM and SFC to Repair Protected Windows Files

Use DISM before SFC /scannow to check protected Windows files, interpret the scan result, and review the CBS log when files cannot be repaired.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To check and repair protected Windows system files, run DISM first and then sfc /scannow from an administrator Command Prompt. SFC can replace certain corrupted protected files with cached copies; it is not a general fix for every Windows error or hardware problem.

Run DISM before SFC

Microsoft’s repair workflow for Windows 10 and Windows 11 uses DISM to prepare the repair source before System File Checker scans protected files. Sign in with an administrator account, and keep the Command Prompt open until each command finishes.

As an Amazon Associate I earn from qualifying purchases.

  1. Open Start, type Command Prompt, then choose Run as administrator. Approve the User Account Control prompt if it appears.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  2. At the elevated prompt, enter this command and press Enter:

    #1 Best Overall
    Sale
    Tech-Shop-pro Compatible with install Key Included USB For Windows 11 pro Email Delivery in 2 Hours (Check Buyer/Seller Message after purchase send me a messge ) Fast and easy Free Technical Support.
    • Video Link to instructions and Free support VIA Amazon
    • Great Support fast responce
    • 15 plus years of experiance
    • Key is included
    • Delivery via Amazon messsges within 2 hours please send us a messge a soon as you buy so we can send it to you with in the time frame
    DISM.exe /Online /Cleanup-image /Restorehealth

    Wait for DISM to complete. It normally uses Windows Update to obtain the files needed for repair.

  3. After DISM completes successfully, run:

    sfc /scannow
  4. Leave the window open until verification reaches 100%, then read the final Windows Resource Protection message.

Microsoft says SFC scans protected system files and replaces corrupted ones with a cached copy. This applies to protected Windows files, not every application file, setting, or cause of system instability. See Microsoft’s System File Checker repair instructions.

Free tools Windows power users keep installed

One-click scans. No signup required.

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

Understand the SFC result

The final message determines what to do next. A completed scan does not necessarily mean Windows found a problem or repaired one.

Rank #2
Sale
Microsoft Windows 11 (USB)
  • Less chaos, more calm. The refreshed design of Windows 11 enables you to do what you want effortlessly.
  • Biometric logins. Encrypted authentication. And, of course, advanced antivirus defenses. Everything you need, plus more, to protect you against the latest cyberthreats.
  • Make the most of your screen space with snap layouts, desktops, and seamless redocking.
  • Widgets makes staying up-to-date with the content you love and the news you care about, simple.
  • Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar. (1)

Find which files SFC could not repair

Microsoft records SFC details in %windir%LogsCBSCBS.log. To extract the System File Checker entries into a text file on your desktop, run this command from an elevated Command Prompt:

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

Open sfcdetails.txt and compare the timestamps with the scan you just ran. The log can include records from earlier SFC runs, so do not assume every entry refers to the latest scan. Microsoft documents the log and extraction steps in its SFC troubleshooting guidance.

If files remain unrepaired, use the log to identify the issue and follow Microsoft’s recovery guidance. Avoid downloading replacement DLLs or other system files from unrelated websites: a file must match the Windows installation, and an arbitrary copy can introduce further problems.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

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

If DISM cannot get repair files from Windows Update

When the Windows Update client is unavailable or broken, Microsoft documents using a suitable alternate Windows repair source, such as a running Windows installation or a Windows side-by-side folder on network share or removable media. The source must be valid for the Windows image being repaired.

Rank #4
Recovery and Repair USB Drive for Windows 11, 64-bit, Install-Restore-Recover Boot Media - Instructions Included
  • COMPATIBILITY: Designed for both Windows 11 Professional and Home editions, this 16GB USB drive provides essential system recovery and repair tools
  • FUNCTIONALITY: Helps resolve common issues like slow performance, Windows not loading, black screens, or blue screens through repair and recovery options
  • BOOT SUPPORT: UEFI-compliant drive ensures proper system booting across various computer makes and models with 64-bit architecture
  • COMPLETE PACKAGE: Includes detailed instructions for system recovery, repair procedures, and proper boot setup for different computer configurations
  • RECOVERY FEATURES: Offers multiple recovery options including system repair, fresh installation, system restore, and data recovery tools for Windows 11

Microsoft’s example is:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

Replace C:RepairSourceWindows with the actual path to a suitable repair source; it is an example path, not a folder every PC has. The /Source option specifies where DISM should look for repair files, while /LimitAccess prevents DISM from using Windows Update. This is a conditional recovery route, not part of the ordinary SFC scan. See Microsoft’s documentation on repairing a Windows image.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose another SFC mode only for a specific need

sfc /scannow is the normal whole-system scan and repair command. Microsoft’s command reference also lists narrower options for targeted troubleshooting and offline recovery:

Option What it does When it fits
/verifyonly Scans protected files without attempting repairs. When you want to check integrity without changing files.
/scanfile=<file> Scans a specified file and attempts repair. When troubleshooting one known file.
/verifyfile=<file> Checks a specified file without attempting repair. When you want to verify one file without changes.
/offwindir and /offbootdir Identify an offline Windows installation and its boot directory. When Windows is not booted normally and you are working in a recovery environment.

These commands have specific syntax and require administrator privileges. Consult Microsoft’s SFC command reference before using them, especially for offline repair.

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

What SFC can and cannot fix

SFC checks Windows-protected system files and can try to restore corrupted copies from the component store. DISM addresses Windows image and component-store repair and is placed first in Microsoft’s support workflow because it can provide files SFC needs.

Neither command is a universal troubleshooting tool. If the scan reports no integrity violations, or the original problem persists after repairs, investigate other possible causes rather than repeatedly treating SFC as a fix for unrelated faults.

Quick Recap

SaleBestseller No. 1
SaleBestseller No. 2
Microsoft Windows 11 (USB)
Microsoft Windows 11 (USB)
Make the most of your screen space with snap layouts, desktops, and seamless redocking.; FPP is boxed product that ships with USB for installation
$128.99
Bestseller No. 3

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
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

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.