DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon 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 desk11 min

How to Fix Corrupted System Files on Windows 10 with DISM and SFC

Use Microsoft’s supported order—DISM first, SFC second—to repair corrupted Windows 10 system files. This guide explains command paths, repair-source errors, CBS.log analysis, Safe Mode, CHKDSK, System Restore, Reset this PC, and Windows 10’s post-October 2025 support status.

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.

Run DISM first and SFC second from an elevated Command Prompt. DISM repairs the Windows component store that SFC uses as its source; SFC then scans protected system files and replaces damaged copies when a good cached copy is available. Install pending updates and restart first, then run DISM.exe /Online /Cleanup-image /Restorehealth, wait for a successful completion message, and run sfc /scannow until verification reaches 100 percent. These tools normally preserve your personal files. If they cannot complete, use the matching repair source, inspect the CBS log, try Safe Mode, and only then consider System Restore or Reset this PC.

What corrupted system files mean

Windows system files are protected components used by the operating system, built-in services, drivers, and many applications. A file can become damaged after an interrupted update, an unexpected shutdown, a failing storage device, incompatible software, or a previous repair that did not finish. Typical symptoms include repeated crashes, services that will not start, broken Windows features, update failures, unexplained error messages, or a computer that reaches the desktop but behaves erratically.

As an Amazon Associate I earn from qualifying purchases.

Corruption does not automatically mean malware, and a single damaged file does not prove that the entire installation is unusable. DISM and System File Checker (SFC) are Microsoft’s built-in repair tools. They work on the Windows installation currently running and are safer than downloading an individual DLL from an unknown website. Do not replace a system file with a random internet copy: the file must match your Windows version, edition, architecture, and servicing level.

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

Before you start

  • Back up important files. DISM and SFC are designed to repair Windows components, but a current backup protects you if the underlying drive is failing or you later need a reset.
  • Connect to reliable power. A repair that is interrupted during servicing can leave Windows in a worse state, especially on a laptop running on a nearly empty battery.
  • Install pending updates. Open Settings > Update & Security > Windows Update, select Check for updates, install available updates, and restart if Windows requests it.
  • Have administrator access. Both commands require an elevated Command Prompt. A standard user account may be asked for administrator credentials.
  • Record encryption information. If the device uses BitLocker, make sure you can access its recovery key before changing recovery settings or using Reset this PC.
  • Close ordinary applications. The scan can take time and may use substantial disk activity. Do not close the Command Prompt while a command is running.

Run DISM, then SFC

1. Open an elevated Command Prompt

  1. Open the Start menu and type Command Prompt.
  2. Right-click Command Prompt and choose Run as administrator.
  3. Select Yes at the User Account Control prompt. The title bar should say Administrator: Command Prompt.

Use Command Prompt rather than an ordinary, non-elevated window. If the prompt opens at a path such as C:UsersYourName>, that is normal; the commands work regardless of the current folder.

2. Repair the component store with DISM

At the administrator prompt, enter:

DISM.exe /Online /Cleanup-image /Restorehealth

/Online targets the Windows installation that is currently running. /Cleanup-image selects component-store servicing, and /Restorehealth checks that store and repairs corruption. By default, DISM attempts to obtain replacement components through Windows Update, so the process can take several minutes or longer on a slow connection or a heavily damaged installation.

Progress can appear to pause at a percentage for an extended period. Do not close the window solely because the percentage has not changed. Wait for a completion message such as The restore operation completed successfully and an error code of 0x0. If DISM reports that it cannot find source files, use the alternate-source procedure below instead of repeatedly running the same command.

3. Scan protected files with SFC

After DISM completes successfully, run:

sfc /scannow

SFC verifies all protected system files and replaces corrupted files with a cached copy when one is available. Microsoft describes the command this way: “The sfc /scannow command will scan all protected system files and replace corrupted files with a cached copy of the system file.” Keep the window open until verification reaches 100 percent. Stopping the process early can leave the scan incomplete and makes its result less useful.

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

Restart Windows after SFC finishes, even if the result says that no violations were found. A restart allows repaired services and files to load cleanly. Then reproduce the original symptom to check whether it has changed.

When DISM cannot find repair files

DISM normally uses Windows Update as its repair source. If Windows Update is unavailable, the component store is too damaged, or the device is managed by a policy that blocks the service, provide a known-good Windows source. Microsoft documents sources that can come from a running installation, a Windows side-by-side folder, a network share, or removable installation media.

For example:

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

Replace C:RepairSourceWindows with the actual path to the Windows folder that contains the matching component files. /LimitAccess tells DISM not to contact Windows Update and to use the source you specified.

The source must correspond to the installed Windows 10 edition, build, language, architecture, and servicing level closely enough for the required component. A source from an unrelated release can produce another error or install an incompatible file. Verify the source before running the command; Microsoft’s instructions do not require a particular retail USB brand or model. If you mounted installation media, note its drive letter in File Explorer and use the path that actually contains the source files.

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

When the alternate command finishes successfully, run sfc /scannow again. DISM repairs the source SFC relies on; running SFC before repairing that source can leave some files unrepaired.

Rank #3
Sale
HP 2020 15.6" Touchscreen Laptop Computer/ 10th Gen Intel Quard-Core i5 1035G1 up to 3.6GHz/ 12GB DDR4 RAM/ 256GB PCIe SSD/ 802.11ac WiFi/Bluetooth 4.2/ USB 3.1 Type-C/HDMI/Silver/Windows 10 Home
  • 10th Generation Intel Core i5-1035G1 processor
  • 12GB system memory for full-power multitasking
  • 256GB Solid State Drive
  • 15.6" Micro-edge touchscreen display

Read the exact SFC result

SFC ends with one of several important messages. The wording determines what to do next.

SFC message Meaning Next action
Windows Resource Protection did not find any integrity violations. SFC found no missing or corrupted protected system files. Restart and investigate another cause, such as a faulty application, driver, profile, or disk. Do not keep rerunning SFC without a new symptom.
Windows Resource Protection found corrupt files and successfully repaired them. SFC detected protected-file corruption and replaced the affected copies. Restart Windows and test the original problem. Keep the log if the symptom returns.
Windows Resource Protection found corrupt files but was unable to fix some of them. Some files remain damaged, or SFC could not obtain a suitable replacement. Extract the relevant CBS log entries, review the dates, repair DISM’s source if necessary, and consider Safe Mode, manual replacement, System Restore, or Reset this PC.
Windows Resource Protection could not perform the requested operation. The scan could not complete. A pending operation, locked file, service problem, or file-system issue may be involved. Try SFC in Safe Mode and verify the PendingDeletes and PendingRenames folders described below.

Find which files SFC could not repair

The full SFC report is written to %windir%LogsCBSCBS.log, but that file also contains information from other servicing operations. To extract entries marked by SFC, open an elevated Command Prompt and run:

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

Open sfcdetails.txt on the desktop. It can contain entries from multiple SFC runs, so use the date and time on each entry to identify the latest failure. Look for the path and name of each file that could not be repaired, then compare that information with the problem you are seeing. Do not treat an old entry as proof that the current run failed.

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

If SFC cannot complete in normal Windows

Try Safe Mode

Safe Mode starts Windows with a minimal set of drivers and services, reducing the chance that a third-party process locks a protected file.

Rank #4
Dell Latitude 7480 Laptop 14 - Intel Core i7 6th Gen - i7-6600U - 3.4Ghz - 256GB SSD - 16GB RAM - 1920x1080 FHD - Windows 10 Pro (Renewed)
  • Latitude 7480 Laptop 14"
  • Intel Core i7 6th Gen i7-6600U -Core Processor 2.6GHz (3.4GHz With Turbo Boost)
  • 256 GB SSD Hard Drive & 16GB Memory
  • 1920x1080 FHD resolution Non-Touch with Webcam and an integrated graphics chip
  • Wireless Wifi & Bluetooth
  1. Open Settings > Update & Security > Recovery.
  2. Under Advanced startup, select Restart now. You can also hold Shift while selecting Restart from the Start menu.
  3. Choose Troubleshoot > Advanced options > Startup Settings > Restart.
  4. When the options appear, press the key for Enable Safe Mode (or Enable Safe Mode with Networking if you specifically need network access).
  5. Open an administrator Command Prompt in Safe Mode and run sfc /scannow again.

If SFC still reports that it could not perform the operation, check whether these folders exist:

%WinDir%WinSxSTempPendingDeletes
%WinDir%WinSxSTempPendingRenames

They are used for queued servicing actions. Missing folders, unusual permissions, or a backlog of pending operations can prevent the scan from completing. Do not delete their contents simply to make the error disappear; review the CBS log and restart first. If Windows repeatedly returns to the same pending state, use System Restore or Reset this PC rather than guessing at registry or component-store changes.

Replace an individual file only as a last resort

Microsoft documents an advanced procedure for a file that remains unrepaired after DISM, SFC, Safe Mode, and log review. It involves taking ownership, granting administrators access, and copying a known-good file. This is not a general-purpose repair method: replacing the wrong file or using a mismatched version can prevent Windows from starting.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Identify the exact file and its full path in sfcdetails.txt.
  2. Obtain the replacement from a matching Windows installation or matching repair source. The Windows version, build, edition, language, and architecture must correspond to the affected installation.
  3. Back up the existing file before changing it. Give the backup a different extension or name so it cannot be loaded accidentally.
  4. In an elevated Command Prompt, adapt the following commands to the actual file path:
takeown /f C:WindowsSystem32filename.dll
icacls C:WindowsSystem32filename.dll /grant administrators:F
copy C:RepairSourceWindowsSystem32filename.dll C:WindowsSystem32filename.dll

The example uses filename.dll only as a stand-in for the specific file identified in your log. Do not literally copy a file with that name unless it is the file SFC reported. After copying, run DISM and SFC again, restart, and confirm that the original symptom is gone. If you cannot verify the source and version, skip manual replacement and use a recovery option instead.

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

Check for file-system or drive errors

Some symptoms that look like Windows-file corruption are actually volume errors or a failing drive. Microsoft’s update-troubleshooting guidance includes:

chkdsk /f C:

Run it from an elevated Command Prompt. Because the system volume is in use, Windows may ask whether to schedule the check for the next restart; type Y and restart. CHKDSK checks and fixes file-system errors on the volume. It is not a substitute for DISM or SFC component repair, and repeated errors, disappearing files, clicking noises, or SMART warnings indicate that you should copy important data and evaluate the drive before attempting more repairs.

Use System Restore when a recent change caused the problem

System Restore rolls system files, registry settings, drivers, and installed programs back to an earlier restore point. It is useful when corruption began after a driver installation, application installation, update, or settings change. A restore point is designed to leave personal files such as documents and photos unaffected, but programs and drivers installed after that point can be removed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. In Windows, open the Start menu, type Recovery, and open Recovery.
  2. Select Open System Restore, choose a restore point dated before the problem, and select Scan for affected programs if available.
  3. Confirm the restore point and allow Windows to restart. Do not interrupt the process.

If Windows will not boot normally, enter Windows Recovery Environment by using Shift + Restart or by allowing Windows to display its recovery options after failed starts. Choose Troubleshoot > Advanced options > System Restore. You need an available restore point and, on some encrypted devices, the BitLocker recovery key.

Reset Windows when repair and restore are not enough

Reset this PC reinstalls Windows 10. It is broader and more disruptive than DISM, SFC, or System Restore. Windows 10 offers two data choices and two reinstall sources:

Choice What it does What to plan for
Keep my files Reinstalls Windows while retaining personal files in the user profile. Applications and many settings are removed, so collect installers, license information, and configuration details first.
Remove everything Reinstalls Windows and removes personal files, applications, and settings. Use only after a verified backup or when you intentionally want a clean start.
Cloud download Downloads a fresh Windows image. Requires a reliable internet connection and sufficient time and data allowance.
Local reinstall Uses files already on the device. Can fail if the local recovery files are themselves damaged.
  1. Open Settings > Update & Security > Recovery.
  2. Under Reset this PC, select Get started.
  3. Choose Keep my files or Remove everything.
  4. Choose Cloud download or Local reinstall, review the list of removed applications, and confirm.
  5. Keep the computer connected to power and do not force a shutdown while Windows reinstalls.

Back up important data before starting, even when you choose Keep my files. Confirm that you can retrieve the BitLocker recovery key if encryption is enabled. Reset may take substantially longer than command-line repair and will require you to reinstall software and reapply settings.

Choose the least disruptive recovery option

Method Primary target Personal files Apps and settings Prerequisite Typical disruption
DISM followed by SFC Component store and protected system files Normally preserved Normally preserved Administrator access; DISM may need Windows Update or matching media Lowest; restart after completion
System Restore Broader system state at a restore point Designed to remain Programs, drivers, and settings added after the point can roll back An applicable restore point Moderate; restart and rollback
Reset this PC — Keep my files Complete Windows reinstallation Retained, but still back up first Apps and many settings removed Backup planning and possibly a BitLocker key High; reinstall and reconfigure software
Reset this PC — Remove everything Complete Windows reinstallation with data removal Removed Removed Verified backup if anything must be kept Highest

Verify the repair and avoid repeating the failure

  • Restart once DISM and SFC finish, then test the application or Windows feature that originally failed.
  • Run SFC again only when a new symptom or a repair result justifies it; repeated scans do not repair a hardware fault.
  • Keep the CBS details file and any DISM error code if you need to escalate the problem.
  • Check free storage and drive health if corruption returns quickly. Recurring corruption can indicate a failing volume, unstable memory, or interrupted power rather than a one-time damaged file.
  • Install compatible Windows updates and device drivers, and avoid forcing a shutdown while updates are installing.
  • Maintain a separate backup of personal files. System Restore and Keep my files are not substitutes for a backup.

Windows 10 support status

Microsoft states that after October 14, 2025, it no longer provides free software updates from Windows Update, technical assistance, or security fixes for Windows 10 under its standard support policy. A repaired Windows 10 installation can remain usable, but the end of standard support means that fixing today’s corruption does not restore ongoing security coverage. Plan a supported upgrade or another long-term operating-system strategy after the immediate repair.

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

As an optional shortcut after the manual steps, Outbyte PC Repair can address more than 100 common Windows issues where possible, including broken system elements, invalid redirects, and shared DLL files; it also offers settings tweaks, temporary and cache cleanup, privacy tools, vulnerability checks, a real-time boost, a file shredder, and an app-crash log. It runs on Windows 11, 10, 8, and 7, with a category-based free trial of at least two days followed by a paid subscription. It complements an antivirus rather than replacing one; results vary, and no tool repairs every crash.

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.