Have you ever had Windows 11 start acting strangely: programs freeze, strange errors appear, or the system slows down for no apparent reason? Often, the root of these problems lies in damaged system files. Fortunately, Windows itself has powerful but easy-to-use tools to “fix” itself.
The two main tools for this are SFC and DISM. Don't be intimidated by these acronyms. Essentially, they work like doctors for your operating system. One checks and repairs files on your computer, while the other “feeds” it with correct, healthy samples from a reliable source on the Internet.
The two Lenovo laptops mentioned above are completely different devices, but both deserve to be on this list.
Sometimes Windows 11 starts to glitch — it slows down, displays strange errors, or simply behaves erratically. Often the problem lies in damaged system files, and you can restore functionality using two built-in tools: SFC and DISM. They check the integrity of the system and automatically repair damaged files — without reinstalling Windows. Just run a few commands in the command prompt as an administrator, and the system will find and fix the problems itself. This is a quick and reliable way to get your computer back up and running without resorting to complicated methods.
Windows 11 Run the System File Checker (SFC.exe)
In Windows 11, run the command sfc /scannow you can do this from Windows Terminal, the classic command prompt, or PowerShell. Running the command will perform a scan and write the scan results to the CBS.LOG file.

How to run the SFC / SCANNOW command
- Launch a new applicationWindows Terminal as an administrator..
- Here, use your choice of “PowerShell” (Opens by default) or “Command Prompt”.
- Run the command:
SFC will check the integrity of system files.

Possible results:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
- Windows Resource Protection could not complete the operation you requested.
- If Windows Resource Protection found corrupt files but couldn't fix some of them, restart your computer and run the command again. Alternatively, try disable Fast Startup, restart Windows 11 and start the check again.
If this does not help, try restoring your Windows 11 computer to its original state using the application “Settings” → “Update Center” → “Advanced Options” → “Recovery”.

SFC view scan results from CBS.LOG file
After checking the system files in Windows, the SFC tool will add information to the catalog file: C:\Windows\Logs\CBS\CBS.log.Once you open the file, you can find out the details of the last scan.
To quickly open the CBS.LOG file
- Open Terminal and run the command.
Command prompt:

PowerShell:

All data related to the SFC scan will be added to the file “start” to download the required driver, click on the download button next to the corresponding version.
- Open it. This will help you view all damaged and recovered files.
Note: To the file “scansfc.txt” settings

Once you have determined which system file is corrupted and cannot be restored, use the detailed information in the file to locate the corrupted file, then you can manually replace the corrupted file with a guaranteed working copy.
Recovery using an offline SFC scan if Windows 11 does not boot
- Open the command prompt from the Windows 11 recovery environment.
- By following the relevant instructions at one of the following links.
- Enter another command:
In the output, identify the drive letter marked as the recovery partition, see the screenshot (the 520 MB disk size may vary in your case) and the letter of the system drive with Windows 11. Note the disk in the image“E:” — this is the recovery partition, and accordingly“D:” this is the system partition (the Windows 11 Recovery Environment assigned the letter (F:) to the disk, but if you boot into the operating system, the disk will have the letter“C:”).

- Enter the command below to exit:
- Enter a new command:
First, replace the drive letters with the letters you specified earlier. The Resource Protection program will scan and restore any damaged files it finds.

- Restart your computer and try to log into the operating system.
Restoring Windows 11 using the DISM tool
If the SFC tool cannot fix serious OS damage, you need to use DISM. To obtain the latest versions of DISM files, use Windows Update (an internet connection is required).
In addition to this, you can use a local (standalone) file install.wim orinstall.esd from the existing ISO image of the system or boot disk with Windows 11. Before doing so, you need to check the integrity of the so-called Windows component store.
To check the integrity of the Windows component store using DISM
- Open a new Windows terminal window as an administrator.
For the command line, enter:

If you are using PowerShell, run the command:

Three states of Windows component storage
- Healthy (Fixed)
- Repairable Section (Repairable)
- Non-repairable (Not repairable)
As you can see, SFC and DISM are not just a bunch of incomprehensible letters, but real lifesavers for your system. They work in tandem to check and repair system files from different angles. First, DISM tidies up the image itself, from which the system takes files for recovery, and then SFC repairs the files on your hard drive directly.
The main advantage of these tools is that they are built right into Windows. You don't need to download anything extra or be an advanced programmer. Just run the command prompt with administrator privileges and enter a few commands. It's like having a first aid kit for your computer at your fingertips.
If your computer starts acting strangely, slowing down, or displaying errors, don't panic and rush to reinstall Windows. Often, the problem lies in just one or two damaged files. Spend a few minutes checking with SFC and DISM. It may save you hours of setting up your system from scratch.
These tools are a reliable first step in solving many problems. Of course, they are not omnipotent and will not fix broken hardware or serious viruses, but in most cases, they do an excellent job with damaged system files. Give them a chance the next time your system crashes.









