locked
DISM /online /cleanup-image /restoreheath FAILS RRS feed

  • Question

  • i have been having issues with corrupt files on my windows 8 and i do not want to reinstall my entire OS at the moment, ive done many sfc scans and tried the Dism scan but it continues to fail so ive downloaded an ISO from microsoft for my version of windows 8.1 and i also have refresh/reset media i have created from the microsoft site as well. How can i use this with the Dism tool to repair/replace my corrupted files?
    Friday, May 8, 2015 1:08 AM

Answers

  • Hi,

    I found the errors when you running the DISM from WIM, it says “The source files could not be found; their location must be specified using the /source option”. Please check the install.WIM location then retry that command. You also could copy then WIM file to local drive and give the right path to command.

    Make sure your image is not cloned from another hard disk by using clone software, some clone image could cause these errors and it might cannot be fixed.

    If this issue still persists, using system file checker to scan for corruptions in Windows system files and restore corrupted files.

    https://support.microsoft.com/en-us/kb/929833/

    Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

    To view the detail information about the system file scan and restoration, Check the “How to view details of the System File Checker process” prgraph.

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Marked as answer by Dewey33 Friday, May 22, 2015 8:40 PM
    Friday, May 22, 2015 1:54 AM

All replies

  • DE

    You need to mount the ISO and use this format

    DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess  Where "X" is the drive letter where the ISO is located.  Simply change the "X" to the correct drive letter


    Wanikiya and Dyami--Team Zigzag

    Friday, May 8, 2015 1:39 AM
  • Hi,

    We hope your issue has been resolved by using MVP ZigZag's suggestion, if you've found solution by yourself. We would appreciate it if you could share with us and we will mark it as answer.

    If this issue still persists.

    Please upload the DISM.log files into OneDrive and post us the link here. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log.

    In addition, update the system to Windows 8.1 will make a better usage of the features and functions offered. Windows 8.1 and Windows RT 8.1 build on Windows 8 and Windows RT, to bring you enhancements in personalization, search, apps, the Windows Store, and cloud connectivity, and has the security and reliability features you expect from Windows. It's fast and made to work on a variety of devices—especially on the new generation of touch devices.

    For more information regarding update to Windows 8.1 from Windows 8.

    Update to Windows 8.1 from Windows 8

    http://windows.microsoft.com/en-hk/windows-8/update-from-windows-8-tutorial

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Tuesday, May 12, 2015 1:31 AM
  • Thanks ill give it a try now

    Tuesday, May 12, 2015 1:44 AM
  • yeah im running windows 8.1 Pro so idk why its failing ill see what happens

    Tuesday, May 12, 2015 1:45 AM
  • It appears to be working ill let you know if it pans out okay
    Tuesday, May 12, 2015 1:48 AM
  • That also failed :(
    Tuesday, May 12, 2015 3:07 AM
  • i have the log saved to my public onedrive folder how can i get it over to you?

    Tuesday, May 12, 2015 3:07 AM
  • NVM i figured it out lol https://onedrive.live.com/?cid=4EAEDA3BC6BAFBA0&id=4eaeda3bc6bafba0%212684
    Tuesday, May 12, 2015 3:12 AM
  • DE

    Your link will not load.  It may be too large, or corrupt.  Try it again.  What was the results of DISM with sources?


    Wanikiya and Dyami--Team Zigzag

    Tuesday, May 12, 2015 12:36 PM
  • I can't remember exactly what it said,  I did screen shot it so I can tell you later today, but it said something along the lines of it failed to find some files I believe 
    Tuesday, May 12, 2015 12:49 PM
  • Try copying and pasting it again it works fine for me it just takes a minute to load

    Tuesday, May 12, 2015 10:09 PM
  • Hi,

    I read your log file and I found errors in it.

    2015-05-01 09:23:34, Error                 DISM   DISM Package Manager: PID=5424 TID=5396 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0906)

    2015-05-01 09:23:34, Error                 DISM   DISM Package Manager: PID=5424 TID=5396 The source files could not be found and download failed. Their location can be specified using the /source option to restore the feature. - GetCbsErrorMsg

    2015-05-01 09:23:34, Error                 DISM   DISM Package Manager: PID=5424 TID=5396 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f0906)

    2015-05-01 09:23:34, Error                 DISM   DISM Package Manager: PID=5424 TID=5396 The source files could not be found and download failed. Their location can be specified using the /source option to restore the feature. - GetCbsErrorMsg

    2015-05-01 09:23:34, Error                 DISM   DISM Package Manager: PID=5424 TID=5396 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f0906)

    2015-05-01 09:23:34, Error                 DISM   DISM Package Manager: PID=5424 TID=5396 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0906)

    Unfortunately this error code only shows the computer cannot download the required files from Windows Update.

    Make sure you have internet connection when running this command.

    Copy the following code and right click paste it into Command Prompt then see what happens.

    net stop wuauserv

    cd %systemroot%\SoftwareDistribution

    ren Download Download.old

    net start wuauserv

    net stop bits

    net start bits

    net stop cryptsvc

    cd %systemroot%\system32

    ren catroot2 catroot2old

    net start cryptsvc

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Friday, May 15, 2015 9:42 AM
  • ive done it... how do i know if it worked?

    Friday, May 15, 2015 8:16 PM
  • Hi,

    Try DISM tools again after running these command.

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Tuesday, May 19, 2015 1:44 AM
  • Okay so i did the DISM scan again but still it comes up with the same thing that the file could not be downloaded.
    Tuesday, May 19, 2015 2:07 AM
  • Hi,

    I found the errors when you running the DISM from WIM, it says “The source files could not be found; their location must be specified using the /source option”. Please check the install.WIM location then retry that command. You also could copy then WIM file to local drive and give the right path to command.

    Make sure your image is not cloned from another hard disk by using clone software, some clone image could cause these errors and it might cannot be fixed.

    If this issue still persists, using system file checker to scan for corruptions in Windows system files and restore corrupted files.

    https://support.microsoft.com/en-us/kb/929833/

    Windows Resource Protection found corrupt files and successfully repaired them. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.

    To view the detail information about the system file scan and restoration, Check the “How to view details of the System File Checker process” prgraph.

    Regards,

    D. Wu


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Marked as answer by Dewey33 Friday, May 22, 2015 8:40 PM
    Friday, May 22, 2015 1:54 AM
  • well ive done many sfc scans but it always comes back corrupt and cant be fixed. Yes it is cloned using the seagate disk wizard from my old HDD to an external then over to a new HDD. So i guess thats it, ill just have to deal with it untill windows 10 comes out. Thanks for the help.
    Friday, May 22, 2015 8:40 PM
  • Hi D. Wu--  I have the same DISM result in Windows 10 Pro.  Will the same steps you recommended here for Windows 8.1 allow DISM for Windows 10 Pro Image Version: 10.0.10586.0?  Would it help to include my very long DISM log?  Thanks.

    JLG

    I forgot to mention, DISM reports using image version 10.0.10586.0, but when I running winver shows "Version 1511 (OS Build 10586.63" (I added the bold face to highlight the .63).

    • Edited by jaygourley Thursday, January 14, 2016 10:41 PM
    Thursday, January 14, 2016 9:22 PM