Home » Computer Guides » Windows Guides » How To Use DISM.Exe

How To Use DISM.Exe

DISM.exe is a tool built into Windows that you use to repair your Windows system image. It uses an Internet connection to compare the files in the component store on your PC with those on Microsoft’s servers. Any missing or corrupt files will be downloaded and replaced with working copies.

DISM (which stands for Deployment Image Servicing & Management) will generally be used in conjunction with the How To Use System File Checker (SFC).

How To Use DISM.Exe.

You can only use DISM from an elevated Command Prompt.

Left click on the Start button and then type “cmd”. Right click on Command Prompt (app). Then left click “Run As Administrator”.

You’ll need to click Yes on the UAC pop up that appears.

Launching Command Prompt as Administrator in Windows 10.
Launching Command Prompt as an Administrator in Windows 10.
Launching Command Prompt as Administrator in Windows 11.
Launching Command Prompt as an Administrator in Windows 11.

DISM.exe /Online /Cleanup-image /Restorehealth

The DISM tool comes with many options that you’d specify by use of switches (sometimes called modifiers) which change or define what the tool should do.

Most Internet guides will quote three switches and suggest that you use them in order. They are

  1. /CheckHealth – This switch instructs DISM to scan the Windows image for corruption and missing files.
  2. /Scanhealth – A more intensive scan
  3. /Restorehealth – Scan and fix any problems that it finds.

However, for troubleshooting your home computer, or repairing the Windows image so that you can get SFC to work properly there doesn’t seem much point in simply scanning without repairing. So I recommend that generally you simply go with the 3rd option straight away.

When the Command Prompt window has opened, type

DISM.exe /Online /Cleanup-image /Restorehealth

Then press the Enter key on your keyboard.

How to use DISM.exe
Type DISM.exe /Online /Cleanup-image /Restorehealth

After hitting the Enter key, DISM will start scanning and repairing your Windows image files.

How long this will take varies between individual computers and setups.

Unlike the System File Checker tool, DISM will need to access the Internet in order to compare and download any files that it needs.

DISM.exe is running in a Command Prompt window.
It’s working, so far so good.

It Might Seem To Freeze.

It’s also quite common for it to pause or seem to “freeze” somewhere between 40% & 70%. So be patient and allow it to finish.

When writing this article, the computer I was using to demonstrate froze at 62.3%. It stayed there for several minutes and then suddenly shot up to 100%.

When it’s finished, you should get a message saying “The restore operation completed successfully”.

That should mean that your Windows image is now back to where it’s supposed to be and you can try running SFC again.

DISM showing 100% completed.
All done.
A simple notebook.

How To Use DISM.exe

  • Launch Command Prompt as Administrator
  • Type DISM.exe /Online /Cleanup-image /Restorehealth
  • Hit The Enter key on your keyboard.
How to enable the F8 key for Safe Mode.
Troubleshooting Windows 10 & 11.

F8 Key For Safe Mode.

When you’re having problems with either Windows 10 or 11, it would be rather handy if you could boot straight into Safe Mode.
Well you still can with a simply registry tweak

Scroll to Top