Windows 10: DISM and SFC

Discus and support DISM and SFC in Windows 10 Performance & Maintenance to solve the problem; Greetings, I am asking for some guidance regarding the above Windows features. I ask, knowing that perhaps there is no concrete answer to my question.... Discussion in 'Windows 10 Performance & Maintenance' started by gfd, Jul 13, 2021.

  1. GFD
    gfd Win User

    DISM and SFC


    Greetings, I am asking for some guidance regarding the above Windows features. I ask, knowing that perhaps there is no concrete answer to my question. Let me set it up. I was trying to unfreeze a friend's machine. It was his second machine and hadn't been used in months. He thought that Norton trashed a Windows Update, as that was when the machine froze. I did the F8 and got into the pre-boot environment. There were no restore points, so I went to startup repair. That got me into a functioning Windows state. Very sluggish, but functioning. First, I disabled Windows Update service temporarily. I created a restore point, did chkdsk - OK. Ran DISM /ScanHealth - OK. Ran SFC /Scannow - was unable to repair all files. I then Disabled Norton, re-enabled Windows Update and let the updates happen. Then I re-enabled Norton. Windows didn't feel right (I know that's subjective), so I reverted to the System Restore point I had created. After 8 hours, I figured it either was done without telling, or it had crashed. I restarted the computer and Automatic Startup repair kicked in. In hindsight, I wonder if Norton messed with the restore. ASR couldn't fix the machine. I booted into the installation media and opened repair. Startup Repair couldn't fix the computer. Tried the Restore point and the OS could not be found. I repaired the boot files and the OS was found but it wouldn't boot into the login screen. Thanks for staying with me. I just wanted to list the steps so you know how I got to the bad state. So...I opened the command prompt and attempted to run SFC /Scannow. It wouldn't run in the recovery environment. I then ran BCDedit and found the OS. I added the source option to SFC, but it couldn't initialize. Thinking it was a case of a bad image, I attempted to run DISM to repair the image. No way it was going to run. I'm sorry I can't remember each error; but every time I dealt with an error, a new one reared its ugly head. I finally got the restore point to work. It still took several hours in the pre-boot environment, but it worked. Windows was unstable, so I saved all data and did a clean install. So, yes there is a question or four DISM and SFC :) -is there a correct (foolproof) way to run DISM and then SFC from the installation media, targeting the OS? -will DISM and SFC initialize if the registry is corrupt? -if DISM and SFC can be run from the installation media, what are their limitations in terms of what they can fix? -can DISM and SFC deal with a damaged registry? In hindsight, perhaps I should have waited out the first restore. But it seemed pointless after 8 hours. Still... Thanks so much in advance for your help, Graham

    :)
     
  2. RejZoR Win User

    How to get damn DISM to work?

    Thx guys, I'll compress this data into a blog post. For all the so called guides I've read, not a single one mentioned it has to be WIM file (some listed even ESD which clearly doesn't work) or that certain ISO images don't work with DISM.

    After I've done DISM thingie, SFC also managed to repair stuff. Which is what I've needed here.
     
    RejZoR, Jul 13, 2021
    #2
  3. RejZoR Win User
    Can't get SFC and DISM to work anymore on Win10

    Ok, can someone help me out because this crap is starting to piss me off. There was once a time when you could simply run SFC and DISM to check Windows files integrity and if there were any problems found with the local files, Windows repaired it automatically. The reason why I want to run this is because I'm getting stupendously huge amount of errors and warnings in Event Viewer, but I don't want to run refresh because it'll mess up tons of apps.

    Commands I used:
    sfc /scannow
    Dism /Online /Cleanup-Image /RestoreHealth

    Fast forward few years and we now have glorious Windows 10. Trying to run the same tools, they find errors but stubbornly refuse to fix ANYTHING. What's the god damn point of it then?

    Sfc finds issues but can't repair them and DISM constantly bitches how it can't find the source. All this used to work directly in Windows 7, but in Win 10, nothing. This was one of the best features to get OS back in good state and they go and ruin it. Because Microsoft!

    I've checked this thread:
    https://social.technet.microsoft.co...sfc-failed-to-repair?forum=win10itprohardware

    Nothing worked. And they keep mentioning install.wim where my Windows image downloaded from Microsoft itself! only carries install.esd which I can't seem to use with anything.

    I've also tried this tool:
    CodePlex Archive

    Which again wants .wim file and refuses to work with esd.
     
    RejZoR, Jul 13, 2021
    #3
  4. OneMoar Win User

    DISM and SFC

    How to get damn DISM to work?

    you need to run DISM first before running SFC
    SFC query's the local component stores to make repairs
    DISM is targeted for rebuilding the component stores and a offline image the 'live' section is still handled by SFC in some cases
    except on windows 8.1 and up because they changed it
    but only for certain files and only if x part of the store is corrupt
    so yea pretty confusing eh
     
    OneMoar, Jul 13, 2021
    #4
Thema:

DISM and SFC

Loading...
  1. DISM and SFC - Similar Threads - DISM SFC

  2. Errors that sfc and dism dont fix, what or who will?

    in Windows 10 Gaming
    Errors that sfc and dism dont fix, what or who will?: To Microsoft Support and Engineering: This is not a support request. It is a statement of fact—and a demand for accountability. Microsoft-Caused System Destruction 1. Protocol Hijack and Application Interference I was using Firestorm, a standalone viewer that installed its...
  3. Errors that sfc and dism dont fix, what or who will?

    in Windows 10 Software and Apps
    Errors that sfc and dism dont fix, what or who will?: To Microsoft Support and Engineering: This is not a support request. It is a statement of fact—and a demand for accountability. Microsoft-Caused System Destruction 1. Protocol Hijack and Application Interference I was using Firestorm, a standalone viewer that installed its...
  4. Clipboard History, Search, and Right-Click Issues After Freeing C Drive – DISM & SFC Didn't Fix

    in Windows 10 Gaming
    Clipboard History, Search, and Right-Click Issues After Freeing C Drive – DISM & SFC Didn't Fix: Hello,I'm facing multiple system issues on Windows 11 after trying to free up space on my C drive. Here's the full breakdown: System Info Windows Version: 10.0.26120.4230 Windows 11Available Space on C Drive: ~48 GB was full before issues started Problems I'm Facing 1....
  5. Clipboard History, Search, and Right-Click Issues After Freeing C Drive – DISM & SFC Didn't Fix

    in Windows 10 Software and Apps
    Clipboard History, Search, and Right-Click Issues After Freeing C Drive – DISM & SFC Didn't Fix: Hello,I'm facing multiple system issues on Windows 11 after trying to free up space on my C drive. Here's the full breakdown: System Info Windows Version: 10.0.26120.4230 Windows 11Available Space on C Drive: ~48 GB was full before issues started Problems I'm Facing 1....
  6. sfc /scannow, DISM and Windows 11 Installation not working after KB5058502 failure

    in Windows 10 Gaming
    sfc /scannow, DISM and Windows 11 Installation not working after KB5058502 failure: I'm running Windows 11 and today the update KB5058502 attempted to install. However, an error occurred during the update which let to the system get stuck on "Undoing changes made to your computer", which would never actually complete. Through the use of Windows 11 install...
  7. sfc /scannow, DISM and Windows 11 Installation not working after KB5058502 failure

    in Windows 10 Software and Apps
    sfc /scannow, DISM and Windows 11 Installation not working after KB5058502 failure: I'm running Windows 11 and today the update KB5058502 attempted to install. However, an error occurred during the update which let to the system get stuck on "Undoing changes made to your computer", which would never actually complete. Through the use of Windows 11 install...
  8. I cannot use any Dism related command, cannot use sfc scannnow, cannot update pc, and i...

    in Windows 10 Gaming
    I cannot use any Dism related command, cannot use sfc scannnow, cannot update pc, and i...: this has been a problem i've been tying to solve since late 2022/early 2023 and its only getting worse with time. https://answers.microsoft.com/en-us/windows/forum/all/i-cannot-use-any-dism-related-command-cannot-use/6038028c-7a1b-4b01-b17f-45d056e87627
  9. I cannot use any Dism related command, cannot use sfc scannnow, cannot update pc, and i...

    in Windows 10 Software and Apps
    I cannot use any Dism related command, cannot use sfc scannnow, cannot update pc, and i...: this has been a problem i've been tying to solve since late 2022/early 2023 and its only getting worse with time. https://answers.microsoft.com/en-us/windows/forum/all/i-cannot-use-any-dism-related-command-cannot-use/6038028c-7a1b-4b01-b17f-45d056e87627
  10. sfc scannow, dism restorehealth 2

    in Windows 10 Gaming
    sfc scannow, dism restorehealth 2: .sfc /scannow dism /restorehealth . .https://answers.microsoft.com/ko-kr/windows/forum/windows_11-performance/sfc-scannow-dism-restorehealth%ec%9d%98/20ebaa34-663b-4bb5-ab32-0e6207519109--------------------------------------------------------------------------------1. Windows...