- 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.
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?
- Connect Windows 10 installation media to your PC
- Press Windows key + X and choose Windows PowerShell (Admin).
- Run the following command:
Get-WindowsImage -ImagePath "D:\sources\install.wim"
- Find the image index that matches your Windows edition. In our case it was
ImageIndex = 6.
- 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
- 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 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:
- Download and install Restoro.
- Launch the application.
- Wait for the software to identify stability issues and possible corrupted files.
- Press Start Repair.
- 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.
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:
- Open Command Prompt as administrator by right-clicking Command Prompt and choose Run as administrator.
DISM /Online /Cleanup-Image /RestoreHealth
- Press Enter to run the command.
- Wait for it to perform the scan, it can take about five to ten minutes, sometimes more.
- 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:
dism /online /cleanup-image /scanhealth
dism /online /cleanup-image /checkhealth
dism /online /cleanup-image /restorehealth
- 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 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.