Microsoft - Run windows SFC and DISM commands (Windows 10/11)

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

  1. Microsoft Windows 10/11

Resolution

You may use the System File Checker SFC to solve some basic problems with Windows using the steps below:


Using the mouse

  1. Click Start button or press Windows key and search “command prompt” then right click and choose Run As Administrator.
  2. At the prompt type in the command below and press ENTER to proceed:

    DISM /Online /Cleanup-Image /RestoreHealth
  3. After the first command completes, enter this command and press ENTER:

    sfc /scannow
  4. Please allow time for this command to complete, if any errors are found they will be reported.  Close all windows and then restart the system.

Using the keyboard

  1. Press Windows key to open Start menu then enter the word Command,
  2. Then use the cursor keys to find Command Prompt and press SHIFT+F10 and select Run As Administrator then press ENTER. 
  3. At the prompt type in the command below and press ENTER to proceed:

    DISM /Online /Cleanup-Image /RestoreHealth

  4. After the first command completes, enter this command and press ENTER:

    sfc /scannow

  5. Please allow time for this command to complete, if any errors are found they will be reported.  Close all windows and then restart the system.



    • Related Articles

    • Microsoft - 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. Click Start button, the search "Command Prompt". In ...
    • Microsoft - Windows 10 IP Reset

      Problem Unable to connect to internet, no wireless networks visible. Resolution: Please check the following: Please check in Windows Device Manager that the Wi-Fi adaptor is running without problems. You may also wish to try running any of the ...
    • Microsoft - 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 - ...
    • Microsoft - 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. Applies to Microsoft Windows 11/10 Resolution Please try the methods ...
    • Microsoft - Run Windows networking troubleshooter

      Problem A customer encounters problems connecting to a network on their computer running Windows. Applies to Windows 10/11 Resolution The built in Windows troubleshooter modules are a good first step at fixing common problems. You can use the Windows ...