DISM Scan - "The Component Store is Repairable" Problem


Steve C

Well-known member
Power User
VIP
Local time
3:34 AM
Posts
974
Location
North Yorkshire, UK
OS
Windows 11 Pro
My desktop PC is running fine. I ran sfc /scannow which showed no problems. I then ran the command Dism /Online /Cleanup-Image /ScanHealth on my desktop PC as a maintenance check which reported "The Component Store is Repairable". I then ran Dism /Online /Cleanup-Image /RestoreHealth which completed successfully. However, this created a new problem - when I switched from my user account to my admin account then back to my user account the PC hangs requiring a forced reboot.

I had to recover the PC using my last Reflect backup. Why is this happening when the DISM Restoreheath command is meant to correct any problems?
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
Some say that you should have run restorehealth before sfc, not after. Try running sfc /scannow again so that it uses the new restored health as a base.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP EliteDesk 705 G5
    CPU
    AMD Ryzen 5 Pro 3400GE
    Memory
    8GB DDR4 SDRAM
    Graphics Card(s)
    Integrated AMD Radeon Vega 11
    Hard Drives
    256 GB PCIe NVMe M.2 SSD
  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    DELL Inspiron 15-3576
    CPU
    Intel Core i5-8250U
    Memory
    8 GB DDR4 - 2400 SODIMM
    Graphics card(s)
    Intel UHD Graphics 620
    Hard Drives
    256GB SK Hynix SC311 SATA SSD
Some say that you should have run restorehealth before sfc, not after. Try running sfc /scannow again so that it uses the new restored health as a base.
I did run sfc /scannow after running restorehealth which showed no problems. However, the problem of the PC hanging when switching accounts required me to recover from the backup.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
in a admin power shell please try
Repair-WindowsImage -Online -RestoreHealth

then
sfc /scannow

thats from a 'Brinks' tutorial.

best of luck, Steve ..
 

My Computers

System One System Two

  • OS
    Win 11 24H2 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP 24" AiO
    CPU
    Ryzen 7 5825u
    Motherboard
    HP
    Memory
    64GB DDR4 3200
    Graphics Card(s)
    Ryzen 7 5825u
    Sound Card
    RealTek
    Monitor(s) Displays
    24" HP AiO
    Hard Drives
    1TB WD Blue SN580 M2 SSD Partitioned.
    2x 1TB USB HDD External Backup/Storage.
    Internet Speed
    1GB full fibre
    Browser
    Edge & Thunderbird
    Antivirus
    AVG Internet Security
    Other Info
    Mainly Open Source Software
  • Operating System
    Ubuntu 22.04.5 LTS
    Computer type
    Laptop
    Manufacturer/Model
    Dell 13" Latitude 2017
    CPU
    i5 7200u
    Motherboard
    Dell
    Memory
    16GB DDR4
    Graphics card(s)
    Intel
    Sound Card
    Intel
    Monitor(s) Displays
    13" Dell Laptop
    Hard Drives
    250GB Crucial 2.5" SSD
    Mouse
    Gerenic 3 button
    Internet Speed
    WiFi only
    Browser
    FireFox
    Antivirus
    ClamAV TK
    Other Info
    Mainly Open Source Software
in a admin power shell please try
Repair-WindowsImage -Online -RestoreHealth

then
sfc /scannow

thats from a 'Brinks' tutorial.

best of luck, Steve ..
Thanks. I don't see how that command does anything different to Dism /Online /Cleanup-Image /RestoreHealth also mentioned in the tutorial which I already used.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
hopefully someone with greater knowledge will be able to answer that for you.
best of luck, Steve ..
 

My Computers

System One System Two

  • OS
    Win 11 24H2 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP 24" AiO
    CPU
    Ryzen 7 5825u
    Motherboard
    HP
    Memory
    64GB DDR4 3200
    Graphics Card(s)
    Ryzen 7 5825u
    Sound Card
    RealTek
    Monitor(s) Displays
    24" HP AiO
    Hard Drives
    1TB WD Blue SN580 M2 SSD Partitioned.
    2x 1TB USB HDD External Backup/Storage.
    Internet Speed
    1GB full fibre
    Browser
    Edge & Thunderbird
    Antivirus
    AVG Internet Security
    Other Info
    Mainly Open Source Software
  • Operating System
    Ubuntu 22.04.5 LTS
    Computer type
    Laptop
    Manufacturer/Model
    Dell 13" Latitude 2017
    CPU
    i5 7200u
    Motherboard
    Dell
    Memory
    16GB DDR4
    Graphics card(s)
    Intel
    Sound Card
    Intel
    Monitor(s) Displays
    13" Dell Laptop
    Hard Drives
    250GB Crucial 2.5" SSD
    Mouse
    Gerenic 3 button
    Internet Speed
    WiFi only
    Browser
    FireFox
    Antivirus
    ClamAV TK
    Other Info
    Mainly Open Source Software

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP EliteDesk 705 G5
    CPU
    AMD Ryzen 5 Pro 3400GE
    Memory
    8GB DDR4 SDRAM
    Graphics Card(s)
    Integrated AMD Radeon Vega 11
    Hard Drives
    256 GB PCIe NVMe M.2 SSD
  • Operating System
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    DELL Inspiron 15-3576
    CPU
    Intel Core i5-8250U
    Memory
    8 GB DDR4 - 2400 SODIMM
    Graphics card(s)
    Intel UHD Graphics 620
    Hard Drives
    256GB SK Hynix SC311 SATA SSD
That's not what your OP stated? You wrote: -

I meant you to run sfc a second time after restorehealth: -


BTW - Good luck. Hope you get it sorted.
That's what I said - sfc /scannow showed no problems both before and after running restorehealth.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
You could try doing a repair install.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    #1. LG ULTRAWIDE 34" #2. AOC Q32G2WG3 32"
    Screen Resolution
    #1. 3440 X 1440 #2. 1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    PSU
    750 Watts (62.5A)
    Case
    PowerSpec/Lian Li ATX 205
    Keyboard
    Logitech K270
    Mouse
    Logitech M185
    Browser
    Microsoft Edge and Firefox
    Antivirus
    ESET Internet Security
  • Operating System
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec G156
    CPU
    Intel Core i5-8400 CPU @ 2.80GHz
    Motherboard
    AsusTeK Prime B360M-S
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Mouse
    Logitek M185
    Keyboard
    Logitek K270
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender
You could try doing a repair install.
I could but all is working OK. Update 25H2 will be effectively a repair install anyway.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
I could but all is working OK. Update 25H2 will be effectively a repair install anyway.
I reread post #1 and realize that you only asked why and not for a solution. I'm sorry I supplied a possible fix and not an actual answer to your question.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    #1. LG ULTRAWIDE 34" #2. AOC Q32G2WG3 32"
    Screen Resolution
    #1. 3440 X 1440 #2. 1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    PSU
    750 Watts (62.5A)
    Case
    PowerSpec/Lian Li ATX 205
    Keyboard
    Logitech K270
    Mouse
    Logitech M185
    Browser
    Microsoft Edge and Firefox
    Antivirus
    ESET Internet Security
  • Operating System
    Windows 11 Canary Channel
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec G156
    CPU
    Intel Core i5-8400 CPU @ 2.80GHz
    Motherboard
    AsusTeK Prime B360M-S
    Memory
    16 MB DDR 4-2666
    Monitor(s) Displays
    23" Speptre HDMI 75Hz
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 970 EVO 500GB NVMe
    Mouse
    Logitek M185
    Keyboard
    Logitek K270
    Browser
    Firefox, Edge and Edge Canary
    Antivirus
    Windows Defender
Some say that you should have run restorehealth before sfc, not after. Try running sfc /scannow again so that it uses the new restored health as a base.
You most certainly should run DISM first to restore health, the SFC /SCANNOW uses that image to "fix" your system files. If the image is corrupt, that can nuke the system! You need to know your system image is good before using it to replace files in your running system.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Mouse
    Logitech G305
    Keyboard
    Microsoft Comfort Curve 2000
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
You most certainly should run DISM first to restore health, the SFC /SCANNOW uses that image to "fix" your system files. If the image is corrupt, that can nuke the system! You need to know your system image is good before using it to replace files in your running system.
That is counter to advice normally posted here which is to run sfc /scannow then use the DSIM commands if there is an issue sfc cannot fix.

Mighty CGPT says:

You're right to question that post — it oversimplifies how DISM and SFC work, and it’s not entirely accurate.

Here’s the real relationship between DISM and SFC:


✅

  • SFC (System File Checker) scans protected system files on your live Windows installation.
  • If it finds any corruption, it tries to replace them with good copies from the Windows Component Store (WinSxS) — also called the "system image".
  • But SFC does not rely on the system image being perfect. If the files in WinSxS are good enough for repair, it uses them.

✅

  • This scans and repairs the Windows Component Store itself.
  • If the Component Store is corrupt (e.g. broken or missing manifests, payloads, metadata), SFC might not be able to fix system files properly.
  • DISM uses Windows Update or a local source (like a mounted ISO) to restore damaged files in the Component Store.

🔍

“SFC uses the image to ‘fix’ your system files. If the image is corrupt, that can nuke the system!”
This is exaggerated and not technically true:

  • SFC won’t make things worse if the Component Store is slightly damaged — it just fails to fix some files and reports them in the log.
  • It doesn’t “nuke” the system by applying bad repairs. If it can’t find a good replacement, it leaves the file alone and tells you.

✅ Recommended order (when troubleshooting):​

  1. sfc /scannow – see if anything is wrong in the running system.
  2. If SFC finds corruption it can’t fix, then run:
    • DISM /Online /Cleanup-Image /RestoreHealth
  3. After that, run sfc /scannow again to recheck/fix system files using the now-repaired Component Store.

📌 Bottom line:​

You don’t need to always run DISM first. SFC is safe to run at any time. If it can’t fix files, then you use DISM.

You're right to be sceptical. That post pushes a fear-based view that isn’t backed by how the tools actually behave.











Tools
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender
Given your explanation, I still don't see why running DISM first is a problem! It seems redundant to run SFC only to find out the system image is corrupt. Why not just run DISM first and then SFC? I know it takes a few minutes longer, but the few times you should be actually doing this, that seems to be a non-issue.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Mouse
    Logitech G305
    Keyboard
    Microsoft Comfort Curve 2000
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
If you wish, mount the Windows ISO file, replace X with the mounted Letter then run:
Dism /Online /Cleanup-Image /RestoreHealth /source:wim:X:\sources\install.wim:1 /limitaccess
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2, Linux Mint 21.3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Build Feb.2024
    CPU
    Intel Core i9-14900K @5.8GHZ
    Motherboard
    MSI MAG Z790 Tomahawk Max WiFi 7
    Memory
    64GB (2XG Skill F5-6400J3239G32G) @6800
    Graphics Card(s)
    Radeon (TM) RX 480 Graphics (8 GB)
    Sound Card
    Intergrated Realtek
    Monitor(s) Displays
    Samsung
    Screen Resolution
    3840x2160
    Hard Drives
    2 x Crucial T500 2TB Gen4
    PSU
    750W EVGA-G3
    Case
    Antec NX410
    Cooling
    H2O Thermalright
    Keyboard
    Logitech K800
    Mouse
    Logitech Master 2S
    Internet Speed
    100 Mbps
    Browser
    Chrome
    Antivirus
    WD
  • Operating System
    Windows 10 & 11 Pro & Linux Mint X64
    Computer type
    PC/Desktop
    Manufacturer/Model
    MSI Z77 MPower (MS-7751)
    CPU
    Intel(R) Core(TM) i7-3770K CPU @ 4.20 GHz
    Motherboard
    Z77 MPower (MS-7751)
    Memory
    32.0GB Dual-Channel CMY16GX3M2A1600C9
    Graphics card(s)
    NVIDIA GeForce GT 740
    Monitor(s) Displays
    40" Samsung
    Screen Resolution
    1920X1080
    Hard Drives
    WIN10 - 111GB Samsung SSD 840 Series
    WIN11 - 223GB Crucial CT240BX500SSD
    2X931GB Crucial CT1000BX500SSD1
    PSU
    Antec 850W
    Case
    Antec 900
    Cooling
    H20
    Mouse
    Logitech MX Master 2S
    Keyboard
    Logitech K800 Wireless
    Internet Speed
    100 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender
That is counter to advice normally posted here which is to run sfc /scannow then use the DSIM commands if there is an issue sfc cannot fix.

Mighty CGPT says:

You're right to question that post — it oversimplifies how DISM and SFC work, and it’s not entirely accurate.

Here’s the real relationship between DISM and SFC:


✅

  • SFC (System File Checker) scans protected system files on your live Windows installation.
  • If it finds any corruption, it tries to replace them with good copies from the Windows Component Store (WinSxS) — also called the "system image".
  • But SFC does not rely on the system image being perfect. If the files in WinSxS are good enough for repair, it uses them.

Inquiring minds want to know, exactly how is SFC checking the system image copies?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Mouse
    Logitech G305
    Keyboard
    Microsoft Comfort Curve 2000
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
Inquiring minds want to know, exactly how is SFC checking the system image copies?
I swear AI is the greatest thing since sliced bread:

AI Overview
Learn more

SFC (System File Checker) verifies the integrity of Windows system files by comparing them against a known, trusted version stored in the WFP (Windows File Protection) cache. If discrepancies are found, SFC attempts to replace the corrupted files with healthy copies from the cache or a repair source, like DISM, or online.


Here's a more detailed breakdown:
  1. 1. Checking Against the WFP Cache:
    SFC checks each system file against the WFP cache, which contains verified, trusted copies of system files.

  • 2. Identifying Corruption:
    If a file on the system doesn't match the WFP version, SFC flags it as corrupted.

    • From the WFP Cache: If a valid copy exists in the WFP cache, SFC attempts to replace the corrupted file with it.

  • Using DISM: If the WFP cache doesn't have a valid copy, SFC can use DISM (Deployment Image Servicing and Management) to access a repair source, like the online Windows Update repository or a local system image. DISM provides the necessary files to replace the corrupted ones.
  • 4. Successful Repair:
    Once SFC has replaced the corrupted files, it verifies the integrity of the newly installed files.


  • 5. Error Reporting:
    If SFC is unable to repair a corrupted file, it reports the error and attempts to log the details.

In summary, SFC uses a combination of the WFP cache and DISM to verify and repair system files. It first checks against a local, trusted copy and, if necessary, uses DISM to access a repair source for replacement.

The bottom line seems to be that you don't have to use DISM at all unless SFC is unable to repair any corruptions.
 

My Computer

System One

  • OS
    Windows 11
How many copies of the system files are stored locally? My understand is the Windows System Image is what DISM checks & repairs. and SFC uses that image to repair the actual running file of Windows.

If I do a search, I get conflicting information about the functionality SFC and DISM.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14500
    Motherboard
    Gigabyte B760M G P WIFI
    Memory
    64GB DDR4
    Graphics Card(s)
    GeForce RTX 4060
    Sound Card
    Chipset Realtek
    Monitor(s) Displays
    LG 45" Ultragear, Acer 24" 1080p
    Screen Resolution
    5120x1440, 1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 3D NAND NVMe M.2 SSD (O/S)
    Silicon Power 2TB US75 Nvme PCIe Gen4 M.2 2280 SSD (backup)
    Crucial BX500 2TB 3D NAND (2nd backup)
    External off-line backup Drives: 2 NVMe 4TB drives in external enclosures
    PSU
    Thermaltake Toughpower GF3 750W
    Case
    LIAN LI LANCOOL 216 E-ATX PC Case
    Cooling
    Lots of fans!
    Keyboard
    Microsoft Comfort Curve 2000
    Mouse
    Logitech G305
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
  • Operating System
    Windows 11 Pro 24H2, Build 26100.4061, Experience Pack 1000.26100.84.0
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Brew
    CPU
    Intel Core i5 14400
    Motherboard
    Gigabyte B760M DS3H AX
    Memory
    32GB DDR5
    Graphics card(s)
    Intel 700 Embedded GPU
    Sound Card
    Realtek Embedded
    Monitor(s) Displays
    27" HP 1080p
    Screen Resolution
    1920x1080
    Hard Drives
    Crucial P310 2TB 2280 PCIe Gen4 eD NAND PCIe SSD
    Samsung EVO 990 2TB NVMe Gen4 SSD
    Samsung 2TB SATA SSD
    PSU
    Thermaltake Smart BM3 650W
    Case
    Okinos Micro ATX Case
    Cooling
    Fans
    Mouse
    Logitech G305
    Keyboard
    Microsoft Comfort Curve 2000
    Internet Speed
    Verizon FiOS 1GB
    Browser
    Firefox
    Antivirus
    Malware Bytes & Windows Security
Want to thank OP and everyone who's replied. I always trusted sfc command to tell me if there was an issue with component store. Well come to find out not necessarily so. I ran sfc and it said all was fine so ran the Dism /Online /Cleanup-Image /ScanHealth and reported repairable. Ran the powershell command in post #4 and fixed it after about 10 minutes and some downloads. Once again this forum is great for learning and keeping Windows free of issues.
 

My Computer

System One

  • OS
    11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    MSI
    CPU
    i7-10750H
    Motherboard
    MSI MS-17F5
    Memory
    16GB Samsung DDR4 3200
    Graphics Card(s)
    Intel + Nvidia RTX3060 Laptop
    Sound Card
    Realtek
    Monitor(s) Displays
    Samsung 24" Curved (HDMI)
    Screen Resolution
    1920x1080
    Hard Drives
    Sabrent Rocket Gen3 1Tb Smasung EVO 870 1TB
    Antivirus
    Avast
Want to thank OP and everyone who's replied. I always trusted sfc command to tell me if there was an issue with component store. Well come to find out not necessarily so. I ran sfc and it said all was fine so ran the Dism /Online /Cleanup-Image /ScanHealth and reported repairable. Ran the powershell command in post #4 and fixed it after about 10 minutes and some downloads. Once again this forum is great for learning and keeping Windows free of issues.
Or as in my case restorehealth broke the PC. ChatGPT explained to me this command is not always reliable if used !!!
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self build
    CPU
    Core i7-13700K
    Motherboard
    Asus TUF Gaming Plus WiFi Z790
    Memory
    64 GB Kingston Fury Beast DDR5
    Graphics Card(s)
    Gigabyte GeForce RTX 2060 Super Gaming OC 8G
    Sound Card
    Realtek S1200A
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Kingston KC3000 2TB NVME SSD & SATA HDDs & SSD
    PSU
    EVGA SuperNova G2 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft Digital Media Pro
    Mouse
    Logitech Wireless
    Internet Speed
    50 Mb / s
    Browser
    Chrome
    Antivirus
    Defender

Latest Support Threads

Latest Tutorials

Back
Top Bottom