Computer and Software Support


 DISM

 

If you get a message that it cannot fix all the errors, you will need to do the following

  1. Open the Command Prompt window (be sure to select run as administrator)

  2. Type Dism /Online /Cleanup-Image /CheckHealth (There is a space before each of the /) and press Enter

     
  1. Type Dism /Online /Cleanup-Image /ScanHealth (There is a space before each of the /) and Press Enter

     
  1. Type Dism /Online /Cleanup-Image /RestoreHealth (There is a space before each of the /) and Press Enter

   
  1. When it is done running, type SFC /scannow and Press Enter

   

 

When this is ran, a log is made at C:\Windows \Logs\CBS.log (for SFC) and C:\Windows\Logs\DISM\dism.log (for DISM)

If you get an error, Try the following

  1. Open the Command Prompt window (be sure to select run as administrator)

  2. Type Dism /Online /Cleanup-Image /StartComponentCleanup (There is a space before each of the /)

  3. Reboot the computer

  4. Repeat step 4

  5. If you get the message that it cannot find the source, try the following

    1. Dism /Online /Cleanup-Image /Restorehealth /Source:wim:    (the path to the wim file goes here):1 (In this example the path is g:\sources\install.wim but yours may be a different location. (There is a space between each /))

   
  1. Dism /Online /Cleanup-Image /Restorehealth /Source:wim:   (the path to the wim file goes here):1 /limitaccess (In this example the path is g:\sources\install.wim but yours may be a different location. (There is a space between each / and a space between 1 and /limitaccess))

   

 

If you still cannot get DISM to work, Do the following 

  1. Access Group Policy

  2. Click to expand Administrative Templates

     
  1. Click System

     
  1. Click Specify settings for optional component installation and component repair on the right pane

     
  1. Put the dot in Enabled

     
  1. Put a check on Contact Windows Update directly to download repair content instead of Windows Server update Services (WSUS)

     
  1. Click OK

     
  1. Open the Command Prompt window (be sure to select run as administrator)

  2. Type gpupdate /force (there is a space between gpupdate and /)

     
  1. Press Enter

  2. Reboot the computer

  3. Try step 4 again

  4. If it still does not work, Click here

If you cannot get it to work, try downloading and running Repair.bat, by clicking here