The Deployment Image Servicing and Management named DISM.exe is a command-line tool that can be used to service a Windows. DISM can be used to mount and service a Windows image from a .wim file, .vhd file, or a .vhdx file or, in some cases, to update a running operating system. It’s working for Windows 10, Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012. Also may help you to fix some Windows corruption errors – and this will be the subject of this tutorial.
So you need to start the Command Prompt (Admin) by right click with the mouse on the Start button.
Then select the Command Prompt (Admin) and press Yes to User Acces Control modal dialog.
You will see the Command Prompt (Admin) and use these commands:
1 | DISM.exe /Online /Cleanup-image /Scanhealth |
– it’s gonna take some time.
1 | DISM.exe /Online /Cleanup-image /Restorehealth |
– use if you encountered an error at the scan.
The DISM tool creates a log file: %windir%/Logs/DISM/dism.log
You can read more about this tool from here.