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 DSIM for Windows 10.
In today’s article, we’re going to answer what is DISM tool and what does the DISM command do among other related questions, so without further ado, let’s get started.
When you start getting errors such as Blue Screen of Death (BSoD), or applications start crashing or certain Windows 10 features stop working, this is a good sign that some of your Windows files might be corrupt and that they need fixing.
As we said, there are two functions that can be used for this and one of them is SFC (System File Checker) that 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 affect SFC and you won’t be able to perform an SFC scan, and this is where DISM comes into play.
What does the DISM command do?
DISM (Deployment Image & Servicing Management) is a tool that is 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:
- Open Command Prompt as administrator by right-clicking Command Prompt and choosing Run as administrator.
- Wait for it to perform the scan, it can take about five to ten minutes, sometimes more. And if progress bar gets stuck on 20 percent, don’t worry, that’s perfectly normal, you just need to be patient.
- After DISM has finished its scan, restart your computer.
In addition, you can try the following method as well.
- Mount your Windows 10 .iso file by double-clicking it.
- Open Command Prompt or PowerShell as administrator.
- Check for system health by running these commands:
- Run this command:
- DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
- Remember to replace X with the letter drive on which your Windows 10 ISO is mounted.
- Restart your computer and try SFC again.
How long does DISM scanhealth take?
DISM scanhealth command can usually take a couple of minutes to complete and the main reason why it takes so long is because it compares the damaged files to healthy files and it creates a log on your PC.
As for the exact time, several sources that the DISM scanhealth 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 corrupted 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 best case scenario they can save you from clean reinstall of Windows 10, so if notice any system errors, or if 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, reach for the comments section below.
Editor’s Note: This post was originally published in September 2015 and has been since updated for freshness, and accuracy.