How To Repair Windows 11

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Using SFC command prompt tool

System File Checker (SFC) and Deployment Image Servicing and


Management (DISM) are two command-line tools that are more
commonly used by the IT techs in corporations to service Windows
machines. 

If this is the first time you’ve heard about these tools, then there’s
nothing to worry about, as these are generally considered power
tools and not a lot of people know about them.

Let’s start with SFC first and see how you can repair Windows 11.

SFC can be used to scan and verify protected files (Windows Files).
If it finds that a file has been damaged and cannot be verified, it
attempts to restore a fresh copy from the below folder in your PC.

C:\Windows

Here’s how you can give this option a try.

Click the ‘Start’ button, type in “command prompt”, and make sure
to run the app as Administrator, as highlighted below.
Once in Command Prompt, type in the following command or simply
copy and paste it. Then hit ‘Enter’.

sfc /scannow

The above command starts a scan instantly, which roughly takes a


few minutes for a complete check.
If the scan finds that all your files are in good shape, it’ll be shown
as below.
But if there are some damaged Windows files on your PC, SFC
should be able to fix them with a fresh copy.

Using DISM command prompt tool


DISM is another command-line tool that is far more powerful than
SFC. It can work with multiple types of Windows 11 images in
both .wim and .esd formats, manage drivers before deploying
images to PCs and so much more.

Let’s take a look at how you can use DISM to repair Windows 11.

Open Command Prompt as Administrator using the steps we just


mentioned for SFC.

Then paste the below command to scan your Windows 11


installation for errors and press Enter.

Dism /Online /Cleanup-Image /ScanHealth

You should see something like this.


Once finished, the tool should report its findings. Here’s how our
screen looks like.

Then run this command to see if any issues were detected and how
repairable your problem is.
Dism /Online /Cleanup-Image /CheckHealth

As our PC was working fine, the above command reported zero


issues. Yours may be different.

If DISM reported issues with your PC, the next command you
should run is mentioned below. Paste it and hit ‘Enter’.

DISM /Online /Cleanup-Image /RestoreHealth

The above command will request valid copies of corrupted files from
Windows Update. Here’s how the command looks in action.
And here’s how it looks once it’s done processing.

All you need to do is reboot your PC.

If you consider yourself someone who understands command-line


tools and their parameters, and would like to know more about SFC
and DISM along with the range of parameters that can be used with
them, here’s the complete documentation about SFC, and here’s
the complete reference for DISM. Feast on the information!

Tip: If your Windows 11 processes crash often, restart a few


seconds later and show an alert with a bunch of numbers and
alphabets (aka error codes), we highly recommend putting them in
a search engine like Google and understanding what they mean.
This method of troubleshooting is extremely effective against
specific errors and problems, and can often prove to be a lifesaver.

You might also like