DISM commands for repairing Windows

DISM commands for repairing Windows

Information

If you need to repair Windows and have already tried the SFC.EXE /scannow command without success you can use the following commands as well to affect repair.

Opening the command prompt.

  1. Click Start button, the search "Command Prompt".
  2. In the results right click "Command Prompt" and choose the option "Run as administrator.

Use this command to run the advanced scan and carry out repairs automatically.

DISM /Online /Cleanup-Image /RestoreHealth

  1. After the command has completed you may close the Command Prompt window, it is recommended you restart your machine for repairs to take effect.

Other commands that may be useful

DISM /Online /Cleanup-Image /CheckHealth

Comment: Basic scan no action is taken.

DISM /Online /Cleanup-Image /ScanHealth

Comment: More advanced scan

Note

While the command is running, it's expected to see the process stuck at 20 or 40 percent. After a few minutes, the process will complete successfully.

    • Related Articles

    • Steps to fix slow Windows laptop

      Problem A customer is having problems with a Windows 10/11 machine running more slowly than usual. Applies to Windows 10 Windows 11 Resolution Please run through these general troubleshooting ideas to see if they will help with the problem. Step 1 - ...
    • Fix automatic repair boot loop

      Problem When the comupter starts it displays "diagnosing your system" and attempts to repair your systtem, afterwards you come back to a screen that shows automatic repair failed. Resolution Please try the methods below to resolve the issue: Method ...
    • Windows 10 – improving performance

      Information This document may help with performance issues that are caused by Windows. Application • For customers using JAWS/ZoomText/Fusion software experiencing general performance issues. • For underpowered and struggling computer systems using ...
    • Microsoft - Run windows SFC and DISM commands (Windows 10/11)

      Problem You need to repair some part of the Windows 7.0/10 operating system. Applies to Microsoft Windows 10/11 Resolution You can use the System File Checker SFC to solve some basic problems with Windows using the steps below. Click Start button or ...
    • Windows 10 startup repair

      Problem Windows is not starting and you wish to use startup repair to fix the issue. Resolution Method 1: Windows 10 using boot CD This is the best option for making a successful repair of the system. Power on the laptop and insert the Windows 10 CD ...