DISM Repair not working


  1. Posts : 1
    Windows 10 Pro 64-bit
       #1

    DISM Repair not working


    I recently installed Windows 10 Pro 64-bit from an in-place upgrade.

    After doing so, I've been encountering numerous issues such as long login times and the Store not opening due to an error I'm getting which states "This app can't open."

    I've ran a SFC scan, and there were errors reported:

    Code:
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection found corrupt files but was unable to fix some
    of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
    example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
    supported in offline servicing scenarios.
    So then I used DISM to try and repair things with

    Code:
    Dism /Online /Cleanup-Image /RestoreHealth
    It failed, with an error:

    Code:
    C:\WINDOWS\system32>Dism /Online /Cleanup-Image /RestoreHealth
    
    Deployment Image Servicing and Management tool
    Version: 10.0.10240.16384
    
    Image Version: 10.0.10240.16384
    
    [==========================100.0%==========================]
    
    Error: 0x800f081f
    
    The source files could not be found.
    Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    I tried mounting a windows image over to C:\mount and tried to use that to repair instead of Windows update (
    Code:
    Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\mount\windows /LimitAccess
    ) and I got the same error.

    Snippet of the DISM log: https://gist.githubusercontent.com/a...8dba16457/raw/
    Snippet of CBS log: https://gist.githubusercontent.com/a...dabc40a60/raw/

    I might be doing something wrong perhaps? I'll try to delete the log files and get a clean log.
      My Computer


  2. Posts : 27,162
    Win11 Pro, Win10 Pro N, Win10 Home, Windows 8.1 Pro, Ubuntu
       #2

    Try using DISM with system file checker:

    You can try fixing the files by copy & pasting in an Admin
    Command Prompt:

    Dism.exe /online /Cleanup-Image /StartComponentCleanup&sfc/scannow&Dism /Online /Cleanup-Image /RestoreHealth&sfc/scannow&pause

    And let it run through then
    reboot and run it again to check if it cleaned everything. It
    may take a while depending on your hardware(HDD or SSD), and it may
    appear to freeze at 20% on the third part, just be patient and
    let in run out.
      My Computers


  3. Posts : 490
    Windows 10 Pro
       #3

    It has stayed at 20% for me. Maybe 15 minutes. But it was just working.
      My Computer


  4. ALF
    Posts : 33
    Win10 Pro 64
       #4

    how often should I have to run sfc and dism? lately I have been running it about every 3 days which seems excessive...has MS done something weirder than usual?
      My Computer


  5. Posts : 490
    Windows 10 Pro
       #5

    ALF said:
    how often should I have to run sfc and dism? lately I have been running it about every 3 days which seems excessive...has MS done something weirder than usual?
    What issue are you fixing? Have you considered doing an upgrade-in-place using the most recent .iso? That would replace all of your Windows files with fresh ones and you can keep all your apps and files. Use the TenForum tutorial here,

    Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums[2]=Installation%20and%20Setup

    Use the mainstream Media Creation Tool at,

    Windows 10

    and make either a usb or dvd. Be sure to get the right architecture (32 or 64bit). This is an upgrade so it must be run from within Windows. To do that, make sure you're at the desktop and then insert the media. Setup loads and then you click Install Now and follow the prompts. No product key will be needed.
      My Computer


  6. ALF
    Posts : 33
    Win10 Pro 64
       #6

    everything works fine for a few days, then one by one apps such as mail client, firefox, start not responding until finally the entire machine is non-responsive. have to reset, then run sfc & dism to get back to functioning. tried in-place repair, but gets to 66% preparing and stops.

    Cbarnhorst said:
    What issue are you fixing? Have you considered doing an upgrade-in-place using the most recent .iso? That would replace all of your Windows files with fresh ones and you can keep all your apps and files. Use the TenForum tutorial here,


    Repair Install Windows 10 with an In-place Upgrade - Windows 10 Forums[2]=Installation%20and%20Setup

    Use the mainstream Media Creation Tool at,

    Windows 10

    and make either a usb or dvd. Be sure to get the right architecture (32 or 64bit). This is an upgrade so it must be run from within Windows. To do that, make sure you're at the desktop and then insert the media. Setup loads and then you click Install Now and follow the prompts. No product key will be needed.
      My Computer


  7. Posts : 490
    Windows 10 Pro
       #7

    ALF said:
    everything works fine for a few days, then one by one apps such as mail client, firefox, start not responding until finally the entire machine is non-responsive. have to reset, then run sfc & dism to get back to functioning. tried in-place repair, but gets to 66% preparing and stops.
    That is definitely not the normal experience. Try the upgrade-in-place. That is NOT the equivalent of Reset because Reset keeps using copies of the same Windows files stored at the time of the installation of Windows 10. The upgrade-in-place using the Media Creation Tool downloads all new Windows files from which you make media.
      My Computer


  8. ALF
    Posts : 33
    Win10 Pro 64
       #8

    another forum has mentioned Dropbox...I do use it. Could that be causing issues? Also, I am thinking that I can use my ISO disk multiple times -- or do I have to make a new one after updates?
      My Computer


  9. Posts : 4,131
    Windows 3.1 to Windows 11
       #9

    I am thinking that I can use my ISO disk multiple times
    Yes you can use the windows 10 setup media (ISO) as many times as needed..

    Doubleclick the ISO to mount it - then click Setup.exe to run the in-place upgrade again
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:19.
Find Us




Windows 10 Forums