How to Run the System File Checker (SFC) in Windows?

Last updated on January 25th, 2025 at 4:47 am

Introduction

Many kinds of issues can cause defects in the systems files within computers. In some situations, a wrong move can cause damage to specific system files, like deleting the folder containing the file, which is important for system performance. Other events can affect system files, like forced shutdowns or malware attacks. A sudden power outage can turn off systems during ongoing operations, and that, too, can cause functional problems.

To combat such issues, you can utilize an online multi-functional tool like Avast Premium Security to keep your system safe from external and sometimes internal attacks. However, using native solutions like the System File Checker is also useful. This post will discuss how to run the SFC protocols safely and correctly on Windows PC.

What is System File Checker?

The System File Checker or SFC is a built-in utility of Windows for fixing system conditions because of the corruption of system files or random software crashes.

If the solution is not automatically possible, users must carry out some manual steps to handle the anomalies.It is possible to run this through the native computer system or opt for recovery media for a non-bootable Windows system.

Ways to Run the System File Checker on Windows

Different methods are available for running the SFC on Windows 10 or other Windows versions. It is important to follow the steps for the processes carefully to avoid errors.

Method 1: Repair Windows Directly from SFC

Repairing the Windows 10 system through the System File Checker is not complex and works through the Command Prompt.

In Windows 10, 11, and 8/8.1 versions, the process involves the following steps to access the SFC tool.

How to do this?

Step 1: Click the Start button.

Step 2: In the dialog box, type Command Prompt.

Step 3: Right-click on the app option that comes up in the search. Then, pick “Run as Administrator” from the options.

Step 4: Insert the next command and hit the Enter button on the keyboard:

sfc/scannow

sfc scannow command

Step 5: Multiple command results can come up. Confirm the one that is relevant to your system:

  • “Windows Resource Protection did not find any integrity violations.”
  • “Windows Resource Protection found corrupt files but was unable to fix some of them.”
  • “Windows Resource Protection found corrupt files and successfully repaired them.”
  • “Windows Resource Protection could not perform the requested operation.”

Step 6: The System File Checker Windows 10 command-line tool will take time to detect, scan, and fix the issues in the system files.

You can manually run separate steps to fix the issue depending on the command results mentioned.

Fix 1: Resolve issues if no integrity violation occurs.

In this case, the system files are in working condition, so users do not have to target system files. However, there are other underlying problems causing system issues.

Fix 2: Resolve corrupted files available that were not all solved by the SFC tool.

After regular processing of the System File Checker on Windows to find and fix the issues, sometimes the corrupt system files do not resolve. In these cases, you must manually handle steps to fix them by replacing corrupt files with functional system files from another Windows system with the same version.

How to do this?

Step 1: Access the log file as you navigate through the following route: %WinDir%\Logs\CBS\CBS.log

The log file will open within the Notepad app.

Step 2: All the recent scan results will appear in a list. Scroll through them to the latest scan and search for files that cannot repair information beside them.

scan results

Step 3: Run the System File Checker command on the available source for safe import:

sfc/scannow

Step 4:  Run the next commands one by one in the Command Prompt window to allow the corrupt file’s copy-paste rights:

takeown /f filepath\filename

icacls filepath\filename /grant administrators:f

Step 5: Then, put the working system file in the place of the damaged file and restart the device. Use Avast Free Antivirus to run a full scan on the device for malware as an additional precaution after rebooting.

Fix 3: Check SFC repair details if the corrupted system files are found and fixed.

In this context, you do not have to do many steps. However, view the “%WinDir%\Logs\CBS\CBS.log” file to see the repair details for the system file. Then, restart the Windows PC and see if the problem still exists. The steps to check the log file are only possible during the online scan through Command Prompt on Windows 10 devices.

How to do this?

Step 1: Go to the Start menu and type “Command Prompt” in the search box. Right-click on the first app option and choose Run as Administrator.

Step 2: Insert the next command and hit the Enter button:

 findstr /c:”[SR]” %windir%\Logs\CBS\CBS.log > C:\sfclogs.txt”

insert the next command

Step 3: Click the Win + E keys on the keyboard to access File Explorer.

Step 4: From the left-hand side panel, choose This PC > Devices and Drives.

Step 5: Access the Local Disk Drive, typically the (C:) Drive.  

Step 6: Search for and then double-click on the sfclogs.txt file. The log file will then open in the default text editor app showing all scanned data from system files.

Fix 4: Do extra steps if Windows Resource Protection fails to complete the operation request.

If the Windows Resource Protection utility fails to handle the requested operation, you have to carry out specific steps to boot the PC and do the scan. You must boot up the system in Safe Mode with the basic utilities and drivers available.

Then, access the Command Prompt window and run SFC scanning again. Then, follow the steps mentioned in fixes 1-3 to resolve the problem in your system.

Method 2: Run System File Checker via Windows Recovery Media

Another method users can try is to access the Windows Recovery Media and run the SFC command line through that. You have to create a bootable installation disk for this process.

How to do this?

Step 1: Prepare an installation disk for Windows using a recovery tool for your system.

Step 2: Sync the USB-based installation disk into the PC and switch the computer ON.

Step 3: Tap on the F12 key on your keyboard until the One Time Boot Menu comes up.

Step 4: Choose the USB drive you inserted from the list and hit Enter. The PC will start loading with the installation disk.

Step 5: Choose the preferred language > Next.

Step 6: Click on the “Repair your computer” button.

Step 7: Tap the Troubleshoot option > Advanced Options > Command Prompt.

advanced options

Step 8: Run this command and hit the Enter button:

sfc /scannow /offbootdir=c:\ /offwindir=c:\windows

Step 9: The SFC tool will analyze the system files and conduct repairs if needed. The whole process can take a long time, depending on the computer settings. Finally, restart the device.

Conclusion

You can take steps to run the SFC scanner directly on your computer or use recovery media from another device if needed. The steps for different manual fixes can become complex to handle. So, follow the steps carefully and take technical assistance if needed.

Author Bio:

Dinesh Lakhwani

Dinesh Lakhwani, the entrepreneurial brain behind “TechCommuters,” achieved big things in the tech world. He started the company to make smart and user-friendly tech solutions. Thanks to his sharp thinking, focus on quality and the motto of never giving up, TechCommuters became a top player in the industry. His commitment to excellence has propelled the company to a leading position in the industry.

Popular Post

Recent Post

How to Update Wireless Network Driver in Windows 11 and 10

By TechCommuters / June 17, 2026

Your Wi-Fi keeps dropping. Pages load slowly. The connection feels unstable? Well, you are not alone. Most of the time, the problem is not with your internet plan. It is with your wireless network driver. A driver is a small piece of software that helps your computer talk to its hardware. When it gets outdated, […]

Common Windows 11 Problems and Solutions (2026 Version)

By TechCommuters / June 14, 2026

Windows 11 has become more polished over the years, but it is still not completely free from problems. Even after regular updates from Microsoft, many users continue to face issues like lagging performance, failed updates, audio troubles, random crashes, and network errors. Some problems appear after installing new features, while others develop gradually as the […]

Fortect Driver Updater Review: Features, Steps, Pros, and Cons.

By TechCommuters / June 10, 2026

A new PC usually feels quick and responsive. Applications open instantly, games run smoothly, and everything works as expected. As time passes, however, you may notice slower performance, system crashes, hardware glitches, or devices that stop working properly. While many people assume malware or low storage space is to blame, outdated drivers are often the […]

New Features Coming in Windows 11 This Year [2026]

By TechCommuters / June 8, 2026

Microsoft is always working to make Windows better. This year is no exception. The company has announced and rolled out several exciting updates for its users. These updates touch almost every part of the operating system. From the Start menu to system settings, changes are arriving fast. If you use Windows daily, you will want […]

Top 14 Duplicate Photo Finder and Remover For Windows [2026]

By TechCommuters / June 6, 2026

Introduction: Photos pile up fast. Well, yes! You take ten shots of the same moment. You download the same image twice. You back up your folder and forget you already did it. Before you know it, your storage is packed with copies. A good duplicate photo finder helps you take back that space without losing […]

Advanced System Settings on Windows 11: Complete Guide

By TechCommuters / June 3, 2026

Windows 11 is a powerful operating system. It comes with many features that most users never explore. One of the most useful areas is the System Properties panel. This is where you can control how your computer performs, starts up, and handles memory. Many users only change basic settings like wallpaper or display options. But […]

21 Advanced Windows Security Settings: Latest Updates

By TechCommuters / June 1, 2026

Introduction: Your computer holds a lot of important data. From personal photos to work files, everything sits on your Windows system. That is why protecting it properly matters more than ever. Windows security settings have come a long way. Microsoft keeps adding stronger layers of protection with every update. Most users never go beyond the […]

Security Upgrades of Microsoft Windows in This Decade [Complete Guide]

By TechCommuters / May 30, 2026

Introduction Microsoft has been working hard to make Windows safer every year. Cyberattacks are growing fast. Hackers are smarter now. They target millions of Windows users every single day. That is why Microsoft has added many powerful new security upgrades of Microsoft Windows since 2020. These upgrades protect your data, your identity, and your device […]

How To Link a Microsoft Account to a Digital License on Windows [2026]

By TechCommuters / May 28, 2026

Most people never think about Windows activation until it suddenly stops working. Something as simple as replacing hardware or reinstalling Windows can cause the system to lose its activated status. Linking your Microsoft account to your digital license beforehand helps prevent unnecessary trouble and makes activation recovery much easier later on. Many people using Windows […]

Monthly Round Up: All Big Incidents Happened for Windows Users in The Month of April 2026

By TechCommuters / May 26, 2026

Windows users had a turbulent April 2026. On April 14, Microsoft rolled out its scheduled Patch Tuesday security updates, a routine release meant to close vulnerabilities and resolve known issues. What followed was anything but routine. Rather than strengthening systems, the updates triggered a cascade of fresh problems across Windows 10, Windows 11, and Windows […]