Check the image health first
DISM reports whether the component store is repairable. Knowing the state before you repair avoids blaming sfc for a fault it cannot fix.
DISM /Online /Cleanup-Image /CheckHealth
Crashes, missing Settings pages and failed updates often come from a damaged component store. Two commands repair it, in a fixed order.
Run **DISM /Online /Cleanup-Image /RestoreHealth** first, then **sfc /scannow**. DISM repairs the store that sfc reads from, so the reverse order can fail and look like a broken system.
DISM reports whether the component store is repairable. Knowing the state before you repair avoids blaming sfc for a fault it cannot fix.
DISM /Online /Cleanup-Image /CheckHealth
The RestoreHealth switch pulls replacement files from Windows Update. It takes ten to twenty minutes and can appear stuck at 62 percent for a long while.
DISM /Online /Cleanup-Image /RestoreHealth
With a healthy store, sfc can replace damaged files from it. Run it from an admin terminal and read the summary line at the end, not the progress percentage.
sfc /scannow
The CBS log names what could not be repaired. A single corrupted file that belongs to a third-party driver is not a Windows fault, and replacing the driver is the fix.
%windir%\ogs\BS\BS.log
A damaged update cache blocks DISM from fetching replacements. Stop the update services, rename the cache folder and try again.
net stop wuauserv & net stop bits
The repair either fixed the symptom or it did not. Try the action that failed before: open the Settings page, install the update, launch the app.
No source files available. Use the ISO source switch or fix the network connection first.
Check the CBS log. Unrelated driver files are common and are fixed by reinstalling that driver.
The problem is in the profile or an application. Create a test profile to confirm.
Start the terminal with Run as administrator. A normal window cannot access the component store.
No. It replaces system files and rebuilds the component store.
Only when there is a symptom. It is a repair, not maintenance.
Nothing to undo: the commands only replace damaged system files with the versions they should have. A created restore point is the safety net if an update follows.
Free · no account needed · tracks your progress