Solved Problem Running DISM.../RestoreHealth


You are unforgiven, but also deeply mistaken and failing to cite Microsoft correctly in your core message. :D
Not sure what you're on about, mate. One of your links says the same thing one of my links says: run DISM before SFC.

The other is from an MVP and not official. That post also says to run CheckHealth, ScanHealth and RestoreHealth, which is fun if you like wasting time.

Also, I don't need your forgiveness, and I'm not looking for a debate.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Just kidding about "I before E, except after C". (y) Besides, you seems to site MS opinion without a proving link. :-)
 
Last edited:

My Computer

System One

  • OS
    Windows 11
There are two links literally right below the "I before E" quip.


Buh-bye now.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
Actually, that guy's many posts added useful depth on the discussed matter missing in the basic MS Support messages and DISM CMD refs.
This SO post you seem to like so much says,

SFC always assumes the Component Store is not corrupted and is why the DISM /RestoreHealth parameter (Windows 7: SUR) should always be run prior to SFC; not doing so allows a corrupted Component Store to potentially replace a good system file with a corrupted one or fail to fix corruption within %WinDir% altogether

"DISM ... should always be run prior to SFC." Which is what I said in post 9. Thanks for the backup.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
DISM is more authoritative than SFC, because it can perform a consistency check on WinSxS. SFC just assumes WinSxS is truthful.

- If you patch a Windows file and run SFC; SFC will determine the file has changed, and restore it from WinSxS.

- If you patch the same file in both Windows and WinSxS, it will pass the SFC test. But it will fail DISM because there's a catalog file, and the modded file doesn't match the stored hash value. DISM can't fix Windows, but it knows there's a problem and wants you to provide a clean WinSxS source to solve it.
 

My Computer

System One

  • OS
    Windows 7
It started today! I'm having the same issue when I run DISM /Online /Cleanup-Image /StartComponentCleanup. Error "
2025-03-01 07:39:53, Error DISM API: PID=16192 TID=15640 Time_InternalToPublic failed - Time_InternalToPublic(hr:0x80070057)
SFC found no errors.
 

My Computer

System One

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    HP ENVY
    CPU
    11th Generation Intel Core i7
    Memory
    12GB
    Monitor(s) Displays
    17.3” FHD Display
Is it possible for malicious software to also change the catalog file to make corrupted OS look genuine?
Theoretically yes. But all Windows files are signed with a secure certificate, so you would have to break that.
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom