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 to open search, then enter “command prompt” .
  2. In the list of found items right click "command prompt" and choose Run As Administrator.
  3. At the prompt click Yes button to continue.
  4. In the command prompt window type in the command below and press ENTER to proceed:

    DISM /Online /Cleanup-Image /RestoreHealth

  5. Allow the above command to complete which may take some time before running the next command when the promkpt returns.
  6. Then enter the command below, then press ENTER:

    sfc /scannow

  7. Allow the above command to be processed which may take some time.
  8. When the prompt returns click the close button on the window and then restart the comp[uter. 

Using the keyboard

  1. Press WINDOWS key to open Start menu search, then enter the Command Prompt.
  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, then allow time for the command to process:

    DISM /Online /Cleanup-Image /RestoreHealth

  4. After the first command completes, enter this command and press ENTER and allow this command to process also:

    sfc /scannow

    When the prompt returns you can close the window using ALR+F4 and then restart the computer.  


Notes
Note
If durring the above steps you are presented with a prompt requesting login credentials this usually means that the system is protected by IT Staff who must enter these credentials to provide system access.  Please contact your local IT staff for help.

    • 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 ...