How to use DISM commands in Windows 10 [Full Guide]

by Ivan Jenic
Ivan Jenic
Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and... read more
Affiliate Disclosure
  • Windows 10 has quite a few tricks up its sleeve when it comes to fixing broken things and the DISM command is one of them.
  • If you're dealing with corruption, you can put the DISM repair function to good use.
  • You will see just how to use DISM and explore different DISM commands where other built-in tools such as SFC fail.
  • Of course, there is more than the DISM tool that serves the same purpose. A third-party BSoD fixer can work just as well.

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

Operating systems can break down, files can get corrupt, and sometimes it’s needed to fix and restore those files to their original state.

There are few built-in tools in Windows 10 that will scan and fix your files, and today we’re going to focus on the DSIM tool.

In today’s article, we’re going to answer what is DISM tool, how to use DISM, and what does the DISM command does among other related questions.

So without further ado, let’s get started.

Can I use DISM offline repair Windows 10?

  1. Connect Windows 10 installation media to your PC
  2. Press Windows key + X and choose Windows PowerShell (Admin).
  3. Run the following command: Get-WindowsImage -ImagePath "D:\sources\install.wim"
  4. Find the image index that matches your Windows edition. In our case it was ImageIndex = 6.
  5. Run one of these commands:

    DISM /online /cleanup-image /restorehealth /source:WIM:D:\sources\install.wim:6 /limitaccess
    DISM /online /cleanup-image /restorehealth /source:ESD:D:\sources\install.esd:6 /limitaccess

  6. Wait for the pocess to finish.

This is a useful little trick that you can use if DISM has failed on Windows, so we encourage you to try it. Many users also reported that this method helped them with DISM source files could not be found error.

What is the DISM tool and how do I use DISM?

When you start getting errors such as Blue Screen of Death (BSoD), it is a good sign that some of your Windows files might be corrupt and that they need fixing.

The same goes for when applications start crashing or certain Windows 10 features stop working.

As we said, there are built-in tools that can be used for this and one of them is SFC (System File Checker). This command scans your Windows and checks for corrupt files.

If any corrupt files are found, SFC will try to replace them. However, sometimes corrupt files can even affect SFC.

Whenever you are unable to perform an SFC scan, it’s time to call the cavalry. And this is where DISM comes into play.

Use alternative software

We did mention that there are 2 main built-in tools that can deal with corruption.

But you also have the possibility to call upon an even more powerful and accurate solution that requires no technical knowledge whatsoever.

As it turns out, you can perform a full scan of your system automatically, effortlessly, and without having to deal with any line of commands whatsoever.

The results will be just as good, to say the least. Thus, you will obtain an error-free, corruption-liberated system that will work like a charm for years to come.

Restoro repair

Restoro is powered by an online database that features the latest functional system files for Windows 10 PCs, allowing you to easily replace any elements that can cause a BSoD error.

This software can also help you by creating a restore point before starting the repairs, enabling you to easily restore the previous version of your system if something goes wrong.

This is how you can fix registry errors using Restoro:

  1. Download and install Restoro.
  2. Launch the application.
  3. Wait for the software to identify stability issues and possible corrupted files.
  4. Press Start Repair.
  5. Restart your PC for all the changes to take effect.

As soon as the fixing process is completed, your PC should work without problems, and you will not have to worry about BSoD errors or slow response times ever again.

Get Restoro

Disclaimer: This program needs to be upgraded from the free version in order to perform some specific actions.

What does the DISM command do?

DISM (Deployment Image & Servicing Management) is a tool used to fix component store corruption that prevents SFC from running properly.

Basically, if SFC is corrupt and doesn’t work for some reason, you can use DISM to restore it. To enable DISM, you just need to do the following:

  1. Open Command Prompt as administrator by right-clicking Command Prompt and choose Run as administrator.
  2. Type: DISM /Online /Cleanup-Image /RestoreHealthdism
  3. Press Enter to run the command.
  4. Wait for it to perform the scan, it can take about five to ten minutes, sometimes more.
  5. After DISM has finished its scan, restart your computer.
Note icon
If the progress bar gets stuck on 20 percent, don’t worry, that’s perfectly normal, you just need to be patient.

In addition, you can try the following method as well.

  1. Mount your Windows 10 .iso file by double-clicking it.
  2. Open Command Prompt or PowerShell as administrator.
  3. Check for system health by running these commands: dism /online /cleanup-image /scanhealthdism scanhealth command prompt What does dism RestoreHealth do?dism /online /cleanup-image /checkhealth dism /online /cleanup-image /restorehealth
  4. Run this command: DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
  5. Remember to replace X with the letter drive on which your Windows 10 ISO is mounted.
  6. Restart your computer and try scanning again.

How long does DISM scanhealth take?

DISM scan health command can usually take a couple of minutes to complete. The main reason why it takes so long is that it compares the damaged files to healthy files and it creates a log on your PC.

As for the exact time, several sources stated that the DISM scan health takes about 2 minutes on their PC, but that can change depending on the number of damaged files.

What does DISM RestoreHealth do?

DISM restorehealth command will scan your system for corruption and it will repair and corrupt sectors.

Bear in mind that this process can take up to a few hours depending on your system and the number of corrupted files.

As you can see SFC and DISM are quite useful tools, and they aren’t too hard to use.

In the best-case scenario, they can save you from a clean reinstall of Windows 10. So, if you notice any system errors or Windows functions not working, make sure that you give SFC and DISM a try.

That would be all, now you know how to use DISM. If you have any comments, questions, or suggestions, feel free to hit the comments section below.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

This article covers:Topics: