Troubleshooting · Windows system repair

How to repair Windows system files after repeated BSODs with SFC and DISM

A recurring blue screen can come from a damaged Windows image just as easily as from a driver or a failing part. Before you replace hardware or reinstall, it's worth checking whether the operating system's own files are intact — that's what two built-in tools, SFC and DISM, are for. They're free, they're already on your machine, and done in the right order they turn a "my PC keeps crashing" situation into a concrete answer: either the system files were damaged and are now fixed, or they were fine and the problem lives somewhere else.

The two tools are complementary, not interchangeable. SFC checks and repairs the individual files Windows relies on; DISM repairs the deeper "component store" that SFC draws its reference copies from. Running them in the wrong order — or running only one — is a common source of confusing results, which is why this guide covers the sequence carefully and explains exactly what each tool can and can't see.

One thing to hold onto from the start: a successful repair is useful evidence, but it is not proof that corrupted files caused every crash you saw. A clean SFC/DISM result narrows the field; it doesn't by itself diagnose a blue screen. The rest of the guide is about reading what the tools actually report, knowing when a repair genuinely fixed something, and knowing when to move on to the other suspects.

By the end you'll know what each tool actually checks, the correct order to run them, how to read a successful or a failed result, how to dig into the logs when a repair can't finish, how to repair a Windows that won't even boot — and, most importantly, how to decide whether system-file repair was really the answer to your crashes.

These tools repair — they don't diagnose.

SFC and DISM fix damaged system files. They can't fix a failing stick of RAM, a dying disk, or a bad GPU driver. If the repairs come back clean and the crashes continue, the cause is somewhere else — and this guide tells you where to look next.

An elevated PowerShell window on Windows 11 showing the output of the sfc /scannow command reporting that corrupt files were found and successfully repaired
Add the hero image at troubleshooting/topics/how-to-repair-windows-system-files-after-repeated-bsods-with-sfc-and-dism/images/ and set the data-src attribute above. This block hides itself until an image exists.

The big picture

Two tools, two layers, one goal

Windows keeps its core in two related places. The first is the set of protected system files that are actually in use (in C:\Windows and Program Files). The second is the component store — the WinSxS and servicing folders that hold the "known good" reference versions and spare component copies. SFC works on the first; DISM works on the second. Understanding that split is the whole game, because it explains both the correct order and the tools' limits.

Comparison of SFC and DISM: main role, typical command, what each checks, typical use, and limitation
ToolMain roleTypical commandWhat it checksTypical useLimitation
SFC (System File Checker)Repairs individual protected OS filessfc /scannowIn-use protected files vs. reference copiesFirst integrity check when Windows boots normallyOnly sees protected files; depends on a healthy component store
DISM (/RestoreHealth)Repairs the component store itselfDISM /Online /Cleanup-Image /RestoreHealthThe WinSxS / servicing component storeWhen SFC can't repair, or before SFC as a deeper fixNeeds a repair source (Windows Update or media) when the store is badly damaged

The sequence that follows from that is short: check the store, repair the store if needed, then verify and repair the in-use files, restart, and confirm the crashes stopped. The table below lays it out so you can see the logic before you run anything.

Recommended basic repair sequence: stage, command or action, purpose, and what the result means
StageCommand / actionPurposeWhat the result means
1 · Check the storeDISM /Online /Cleanup-Image /CheckHealthQuick check whether the component store is damaged"Healthy" or "corruption detected"
2 · Repair the storeDISM /Online /Cleanup-Image /RestoreHealthFix the store so SFC has good reference files"Restore operation completed successfully"
3 · Verify the filessfc /scannowRepair in-use protected files from the now-healthy store"Repaired" or "No integrity violations"
4 · Restart & observeReboot, run a normal workloadConfirm the repair heldThe same stop code is gone over real use
5 · If still crashingInvestigate drivers / memory / disk / heatA clean repair means the cause is elsewhereMove to the other suspects

The diagram below shows the flow at a glance: a crash leads to an integrity check, a store repair where needed, a file verification, and then an interpretation that tells you whether to celebrate or to keep diagnosing.

Windows system-file repair flow A repeated blue screen leads to a system integrity check, then a DISM component-store repair, then an SFC system-file verification, then interpreting the result, and then continuing the broader blue screen diagnosis. BSOD INTEGRITY DISM SFC INTERPRET CONTINUE crash → integrity check → store repair → file verify → interpret → keep diagnosing

The file-level tool

How SFC works and what /scannow actually checks

The System File Checker is a built-in Windows utility that audits the operating system's own files. When you run sfc /scannow, it walks through the set of protected system files — the ones Windows marks as protected — and compares each one against a known-good reference. If a file it checks doesn't match its reference, SFC replaces it with the correct version. That's the entire job, and it's a well-scoped one.

The reference SFC compares against comes from two places: cached copies and the component store (the same store DISM repairs, covered next). The word "protected" is doing real work here. SFC does not look at your personal files, and it does not look at driver files, firmware, or most third-party software. It's specifically about the core OS files that, when damaged, tend to produce exactly the instability behind repeated blue screens. That's why it's a sensible early check: it's fast, it's safe, and it answers one specific question — "are the protected system files intact?"

SFC is only as good as its reference. If the component store that supplies the "known good" copies is itself damaged, SFC may fail to repair, or worse, "repair" a file to a bad version. That single limitation is the whole reason DISM exists and why the order between the two matters.

There are a few other SFC switches worth knowing. /verifyonly does the same scan but only reports — it never changes anything. /scanonce defers the scan to the next restart. For a live machine, though, /scannow is the one you want, because it both checks and repairs in a single pass while you're booted.

The store-level tool

How DISM repairs the Windows component store

DISM — Deployment Image Servicing and Management — is a broader tool for servicing Windows images, both the running one and offline images. For this task the operation that matters is /RestoreHealth run against the online image. It scans the component store (the C:\Windows\WinSxS folder and the servicing directory) for corruption and, when it finds it, replaces the damaged components with healthy ones.

When the local store is damaged beyond what it can fix from its own backups, DISM reaches out for clean components. By default it uses Windows Update as that source; you can also point it at a local install image. This is the layer underneath SFC: DISM makes sure the "known good" reference material is actually good, so that when SFC runs afterwards it is comparing against — and copying from — correct files rather than a damaged set.

The cleanest way to think about it is a two-level repair. Level one is the individual files you use every day (SFC's territory). Level two is the library of reference versions that level one draws from (DISM's territory). If level two is damaged, fixing level one is like replacing a torn page in a book using a torn copy of the book as your reference — the repair inherits the damage. DISM fixes the reference book first.

The key distinction

SFC vs DISM: what each is designed to repair

The simplest way to hold the difference: SFC repairs files; DISM repairs the store that SFC depends on. SFC's job is narrow and specific — check the protected files in use and fix the ones that are wrong. DISM's job is deeper — make sure the component store, the source of truth for those files, is itself healthy. They touch different things, which is why running both (in order) is more powerful than running either alone.

They're complementary because they operate at different layers. A damaged in-use file with a healthy store is exactly what SFC fixes. A damaged store is exactly what SFC cannot fix and DISM can. So the practical rule is: SFC is the first check, and DISM is the fix for when SFC's reference is the problem. If you only ever run one and it's SFC, you'll occasionally hit a wall that only DISM can clear — and vice versa, running DISM alone fixes the store but leaves the already-damaged in-use files unrepaired.

Notice what neither tool does: neither inspects drivers, and neither touches hardware. That boundary is why these two are a "system integrity" pair, not a general "fix my PC" pair, and it's the boundary you'll lean on heavily in the later sections on what these tools can't do.

Sequence

The correct order for running DISM and SFC

The recommended order is DISM /RestoreHealth first, then sfc /scannow — with one important nuance. If you're only doing a first check and SFC reports everything is fine, you've answered the question and you may not need DISM at all. DISM-first becomes essential when SFC has already told you it found corruption it couldn't repair, or when you have a reason to suspect the component store specifically. In those cases, SFC's failure is a symptom of the store, not the files.

Why the order matters: SFC needs healthy reference files to do its job. If you run SFC while the store is damaged, it may report failures that are actually the store's fault, and you'd be misreading the result as "my system is unfixable." Running DISM first removes that ambiguity: after DISM, any SFC result reflects the state of your actual files, not a broken reference. The order converts a confusing failure into a meaningful answer.

"Wrong order" in practice looks like this: run SFC, see "could not repair," conclude the OS is damaged beyond repair, and reinstall — when the real fix was a single DISM pass that would have made SFC succeed. The sequence exists to remove exactly that trap, so you don't throw away a working (if damaged) installation when a short repair would have saved it.

Hands on

Running SFC and DISM safely from an elevated terminal

Both tools need an elevated (Administrator) prompt. On Windows 10/11, click Start, type cmd or PowerShell, choose Run as administrator, and confirm the prompt. An unelevated prompt will let the commands start but they'll report that the operation couldn't be performed — a confusing result that has nothing to do with your system's actual health, and it's one of the most common "false failures" people report.

Here are the two core commands. DISM /RestoreHealth is the operation that modifies the image; sfc /scannow modifies files. Neither touches your personal data — they only affect protected Windows components. Run DISM first, let it finish, then run SFC, then restart.

Admin DISM /Online /Cleanup-Image /RestoreHealth

Repairs the component store. Modifying operation. Run first.

Admin sfc /scannow

Scans all protected files and repairs any that are damaged. Modifying operation. Run after DISM.

It's worth distinguishing read-only commands from modifying ones before you run anything. DISM's /CheckHealth and /ScanHealth, and SFC's /verifyonly, only read — they tell you the state without changing it. /RestoreHealth and /scannow make changes. If you're unsure whether there's a problem at all, start with a read-only check to see; you can always decide to repair afterwards.

Reading the output

How to interpret a successful SFC scan

There are two "good" SFC outcomes, and they mean different things. "No integrity violations found" means every protected file SFC checked matched its reference — the protected files are intact. "Found corrupt files and successfully repaired them" means SFC found damaged files and replaced them with correct versions; this is the outcome that most often corresponds to a genuine fix.

The crucial thing about "no violations" is what it does and doesn't prove. It proves the protected files are intact. It does not prove your machine is healthy — drivers, hardware, memory, and non-protected software are all outside SFC's view. So a clean scan is a useful elimination, not a diagnosis. It lets you stop looking at the OS image and start looking elsewhere, but it doesn't tell you where "elsewhere" is.

If SFC repaired files, the honest next step is to restart and actually use the machine to see whether the crashes stopped. If they did, the damaged files were very likely the cause and you're done. If they didn't, the repair was still valid — you fixed real damage — but that damage wasn't the cause of your crashes, and you move to the other suspects. Either way, the result moves you forward.

When it can't finish

What to do when SFC finds corruption it can't repair

"Found corrupt files but some could not be repaired" is the outcome that points at the component store. SFC found damage but the reference copy it needed to fix it was itself bad, so it couldn't complete. The standard response is to run DISM /RestoreHealth to fix the store, then run SFC again. Very often the second SFC pass then succeeds, because its reference is finally healthy.

A second, less common outcome is "The requested operation could not be performed." That usually isn't about corruption at all — it's that SFC couldn't run or finish, most often because the prompt wasn't elevated or the operation was blocked. Confirm you're an administrator and retry; if it persists on a normal boot, try running it from Safe Mode, where fewer components are loaded and fewer things can interfere.

If a DISM pass plus a second SFC still can't repair everything, the log will tell you which specific files failed. That detail narrows the problem considerably and decides whether you need a local repair source or to move to offline repair.

Don't mistake "couldn't repair" for "my Windows is broken beyond repair." In the vast majority of cases it means the reference was damaged, and DISM is the fix. Reinstalling at this stage is usually solving a reference problem with a sledgehammer.

The paper trail

How to read CBS.log after an SFC scan

When SFC finds something it can't fix, the detail lives in the Component Based Servicing log — CBS.log — at C:\Windows\Logs\CBS\CBS.log. It's a large, time-ordered file, so the trick is to look at the section that matches the time you ran the scan, not the whole thing. Opening the log is read-only; it changes nothing on your system.

In an elevated prompt you can open it in Notepad: notepad %windir%\Logs\CBS\CBS.log. Once open, search (Ctrl+F) for lines around "Failed", "could not repair", and "corrupt". The entries that matter are the ones that name a specific file that couldn't be restored and, where present, the source SFC tried to use. If the failures reference the component store or a missing source, that confirms the store is the problem (→ DISM, or offline repair). If they reference specific damaged files with no available source, you may need to supply a local source or consider a repair install.

Admin notepad %windir%\Logs\CBS\CBS.log

Opens the CBS log in Notepad. Read-only — viewing the log changes nothing.

Treat the log as a "which files, and why" reference rather than a verdict. It tells you what failed and where SFC looked for the fix, which is exactly the information you need to choose between DISM, a local source, or offline repair. It doesn't tell you what originally caused the corruption — that's the role of the broader BSOD diagnosis.

Three operations

How to use DISM /CheckHealth, /ScanHealth, and /RestoreHealth

DISM has three online Cleanup-Image operations, and they're commonly confused. /CheckHealth is a fast, read-only check that tells you whether the store has corruption — but it doesn't do a full scan; it's a quick "is there a problem?" probe. /ScanHealth does the full, read-only scan for corruption (slower, and still no repair). /RestoreHealth is the only one that actually repairs, and the only one that modifies the image.

Which to use: if you just want to know quickly whether the store is damaged, /CheckHealth. If you want a thorough read-only assessment before deciding to change anything, /ScanHealth. If you want the fix, /RestoreHealth. Most people go straight to /RestoreHealth, which is fine — it checks and repairs in one pass. The read-only variants are useful when you want a diagnosis before you commit to a change, or when you're on a machine you'd rather not modify yet.

Admin DISM /Online /Cleanup-Image /CheckHealth

Quick, read-only check for store corruption. Fast, no changes.

Admin DISM /Online /Cleanup-Image /ScanHealth

Full, read-only scan for corruption. Slower, no changes.

Admin DISM /Online /Cleanup-Image /RestoreHealth

Scans and repairs the store. Modifying operation.

When the repair fails

What to do when DISM /RestoreHealth fails

The most common DISM failure is a source problem: the operation starts but can't finish because it couldn't obtain healthy components. This shows up as a failure with a source-related message. The two typical roots are: Windows Update (the default source) is itself broken or unreachable, or the store is damaged too far for the local backups to cover. A "repair failed" from DISM is usually "I couldn't get the parts," not "your system is hopeless."

Three responses, in order of preference. First, confirm you have a network connection and that Windows Update can actually work — if Update is broken, /RestoreHealth often fails too, and the fix is to repair Update first. Second, you can supply your own source: a Windows install image (the install.wim from official media) using the /Source and /LimitAccess options. Third, if online repair keeps failing, offline repair from the recovery environment (the next section) is the robust fallback.

Be careful when using a local source. The install image must match your Windows edition and, ideally, its version. Using a mismatched image can make things worse than it fixed. When in doubt, prefer repairing Windows Update first and letting DISM use it as the source.

If all three paths fail and the store is genuinely beyond repair online, that's a strong signal to move to offline repair or, as a last resort, a clean install — but only after you've backed up your data and ruled out the simpler causes. A DISM failure is a checkpoint, not a dead end.

The hidden dependency

How Windows Update can affect DISM repair sources

DISM /RestoreHealth relies on a source for clean components, and by default that source is Windows Update. This creates a subtle dependency: the components that make Windows Update work are themselves part of the component store. So a machine with a badly damaged store can have a broken Windows Update, which then makes DISM unable to fetch the repair components it needs. A genuine chicken-and-egg problem, and one that trips up a lot of "DISM says source unavailable" situations.

Breaking the loop: if /RestoreHealth fails with a source error, either repair Windows Update first (the built-in Update troubleshooter and the standard Update-component repair steps usually do it), or give DISM a local source so it doesn't need Update at all. Once Update is working again, DISM can use it as its source and the normal online repair works.

The practical takeaway: when DISM and Windows Update both look broken, they often are broken together, and a local source (or offline repair) is the cleanest way around it. Recognizing this dependency saves you from repeatedly retrying an online repair that can't possibly succeed until the underlying source is fixed.

A cleaner environment

How to run SFC and DISM in Safe Mode

Safe Mode loads Windows with a minimal set of drivers and services. It's the right environment for SFC and DISM in a specific situation: when the system is unstable enough that a normal boot can't hold, or when you want to make sure a third-party driver or startup item isn't interfering with the repair. The commands are identical — you just run them from an elevated prompt that you opened while in Safe Mode.

Safe Mode doesn't change what the tools do; it changes the environment they run in. Fewer things are loaded, so fewer things can get in the way, and the read you get is cleaner. There's a diagnostic bonus too: if a normal boot is crashy but Safe Mode is stable, that itself is a clue that a third-party driver or app is involved — because those don't load in Safe Mode. Running the integrity checks from the stable Safe Mode environment gives you a more trustworthy result.

Getting into Safe Mode — and what to do if even Safe Mode won't hold — is covered in the crash-loop guide, which walks through Startup Settings, Safe Mode with Networking, and the recovery paths. If you're here because the machine won't stay on normally, that's the page to read first, then come back and run these tools from the stable environment.

Windows BSOD crash loop: how to reach Safe Mode and break the restart cycle.

When it won't boot

How to repair Windows offline from Windows Recovery Environment

When Windows won't boot at all, you can't run SFC or DISM from the normal OS. Instead you boot from Windows install media (or the built-in recovery) into the Windows Recovery Environment (WinRE) and run the offline forms of the tools against your Windows installation. The commands are different, and there's one trap you must avoid.

The Windows partition is often NOT C: in WinRE.

In the recovery environment, drive letters are not the same as in Windows. The volume that is C: in Windows is often D: or E:, because C: is usually the small recovery or system partition. Identify the correct drive letter before running anything, or you'll be pointing the tools at the wrong volume.

How to find the right letter: in an elevated WinRE prompt, type dir and step through the volumes, or use diskpart then list volume, until you find the volume that contains Windows, Program Files, and Users. That's your Windows partition. The offline commands below use D: as an example — replace it with your actual letter.

WinRE sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows

Offline SFC. D: must be the drive that contains your Windows folder in WinRE. Replace the letter.

WinRE DISM /Image:D:\ /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim /LimitAccess

Offline DISM with a local source. D: = your Windows partition; E: = the USB install media (the volume containing sources\install.wim). Verify both letters.

After the offline repair, restart into Windows and run an online sfc /scannow to confirm the files are intact now that you're booted. Then address the original cause of the boot failure — most often a bad update, which you can uninstall once you can get to the desktop. The recovery and update-removal paths are in the crash-loop and recent-changes guides linked below.

A different layer

How SFC and DISM differ from CHKDSK

CHKDSK checks a different layer entirely: the disk volume and the file system (NTFS) on it, not the Windows image. It looks for file-system errors, bad sectors, and logical volume problems. SFC and DISM look at the OS files and the component store. They answer different questions, and mixing them up leads to the classic mistake of "I ran every repair tool and nothing changed" while the actual problem — a failing drive — was never tested.

Why it matters: a failing disk can cause both CHKDSK errors and blue screens. If CHKDSK reports disk errors, that's a hardware signal that no amount of SFC/DISM will fix — it points at the drive, not the OS. Conversely, a clean CHKDSK with a damaged component store is a software problem that SFC/DISM can address. The two tools together let you separate "the OS is damaged" from "the disk is dying," which are very different repairs.

Practical rule: if you have disk-related symptoms — a slow disk, clicking sounds, or disk-error stop codes — run CHKDSK and check disk health in parallel with the system-file checks, and treat a failing-disk result as "back up and replace," not "repair the OS." The storage guide covers disk health and file-system checks.

Can your SSD or hard drive cause a BSOD? How to check Windows storage problems.

Honest scope

Can SFC or DISM actually fix a BSOD?

Sometimes — and it's worth being precise about when. SFC and DISM fix a blue screen when the crash is caused by damaged protected system files or a damaged component store; some system-integrity and critical-process stop codes fit this pattern. If that's the cause, the repair directly addresses it, and the crashes stop. In those cases you didn't just run a tool, you fixed the root cause.

They do not fix a blue screen when the cause is a driver, hardware, memory, or non-protected software. A driver can crash the kernel while every protected file SFC checks is perfectly intact — a "clean" SFC does not clear the driver. Hardware (RAM, disk, GPU) is completely outside these tools. So a successful repair is evidence about the OS image, not a verdict on the machine. This is the single most important limitation to keep in mind as you read the results.

The honest framing: SFC and DISM are an elimination step. They tell you "the core OS files are fine (or are fixed now)," which lets you stop looking at the OS image and start looking at the other, more common causes of recurring crashes. That's genuinely valuable — ruling a whole category out — but it's not the same as having found the cause.

Blue screen situations, what SFC and DISM can tell you in each, and what to investigate next
SituationWhat SFC/DISM can tell youWhat to investigate next
Same stop code after a Windows updateWhether system files were damaged by the updateIf clean, roll back the update; if a driver, roll back the driver
Crash codes pointing at the kernelWhether protected files are intactIf clean, look at drivers and the component store; if repair helped, monitor
Crashes under load, none at idleWhether the OS image is at fault (usually not)Heat, GPU/CPU stability, power
Intermittent crashes with memory-related codesWhether it's file corruption (usually not)Memory test, then storage
Windows won't boot after an updateOffline integrity stateOffline DISM/SFC from WinRE, then uninstall the update
Crashes started after a new driverWhether system files are intactRoll back / update the driver regardless of the SFC result

Moving on

What to do when SFC and DISM report no problems but BSODs continue

If SFC and DISM both come back clean (or repaired and stable once) and the blue screens continue, you've done something genuinely useful: you've ruled out damaged core system files. Now the search moves to the causes these tools can't see, and you should stop re-running the integrity checks expecting a different answer — a clean result is a clean result.

The usual next suspects, in rough order of likelihood: a driver (especially one that changed recently, or the one named in your crash dump), memory (run a memory test), storage (disk health and CHKDSK), and heat/power. The crash dump is often the fastest pointer here — if the same module appears across multiple crashes, that's a strong lead even when the OS files check out.

This is where the wider BSOD series takes over. Each of these causes has its own diagnostic, and the decision framework at the end of this page routes you to the right one. The point of getting a clean SFC/DISM result isn't to be stuck — it's to know, with confidence, that the answer is in the driver/hardware layer rather than the OS image.

Track your progress

A complete post-repair BSOD troubleshooting checklist

The whole process as tickable items, in order. Your progress is saved in this browser, so you can work through it across several reboots. It deliberately includes the "did it actually help?" and "now check the other causes" steps, because confirming the fix — and knowing when to move on — is where most people get stuck.

ticks are saved in this browser only

Did the repair help?

Select the outcome that fits.

Quick reference

Command reference

Every command from this guide in one place, filterable by type. "Read-only" commands only inspect; "modifying" commands change the system. Copy any of them directly. The offline entries are templates — replace the drive letters with your actual ones before running.

9 commands

sfc /scannowmodifying

Scans all protected system files and repairs any that are damaged. The main SFC command.

sfc /verifyonlyread-only

Verifies protected files without repairing. Check-only, makes no changes.

sfc /scanoncemodifying

Scans and repairs once at the next restart.

DISM /Online /Cleanup-Image /CheckHealthread-only

Quick check whether the component store is damaged. Fast, no changes.

DISM /Online /Cleanup-Image /ScanHealthread-only

Full read-only scan of the component store for corruption. No changes.

DISM /Online /Cleanup-Image /RestoreHealthmodifying

Repairs the component store, using Windows Update or a local source.

sfc /scannow /offbootdir=D:\ /offwindir=D:\Windowsmodifying

Offline SFC from WinRE. Replace D: with the correct Windows drive letter in the recovery environment.

DISM /Image:D:\ /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim /LimitAccessmodifying

Offline DISM from install media. Verify both drive letters: D: = Windows partition, E: = media.

notepad %windir%\Logs\CBS\CBS.logread-only

Opens the CBS log in Notepad to inspect SFC's findings and repairs. Viewing changes nothing.

What did you see?

Result interpreter

Pick the message you actually saw and this will explain what it means and what to do next. It's the same interpretation as the tables above, but interactive, so you can check your exact output without scrolling.

SFC results

DISM results

Where do I go next?

The post-repair decision framework

Answer a few questions and this will route you to the right next step — whether that's confirming the fix, repairing a non-booting Windows, or moving on to the driver/hardware causes that system-file repair can't reach.

Step 1

FAQ

SFC and DISM questions, answered

Do I need to run both SFC and DISM?

Often, yes, in the right order. DISM repairs the component store; SFC repairs the individual files that draw from it. If SFC reports everything is fine, you may not need more. If SFC can't repair something, run DISM and try again.

Which should I run first, SFC or DISM?

If the component store might be damaged, or SFC has already failed, run DISM /RestoreHealth first, then SFC. For a quick first check, SFC alone is a fine starting point.

How long does sfc /scannow take?

Typically a few to a few dozen minutes depending on the machine and how much it needs to do. It can appear to pause while it processes. Let it finish rather than interrupting it.

Can SFC or DISM fix my BSOD?

Sometimes — if the crash is caused by damaged protected system files or a damaged component store. They can't fix a bad driver, failing hardware, or non-protected software. A clean result narrows the search rather than ending it.

Is DISM /RestoreHealth safe?

Yes. It is a standard Microsoft repair operation that replaces damaged components with healthy ones and does not touch personal files.

What if DISM says it can't find a repair source?

It usually means Windows Update (its default source) is unavailable or the store is too damaged. Repair Windows Update, or supply a local install image as the source, or move to offline repair.

Do I need to be an administrator?

Yes. Both tools require an elevated (Administrator) terminal to do anything useful; an unelevated prompt will report that the operation could not be performed.

My PC won't boot. Can I still use these tools?

Yes, from the Windows Recovery Environment using the offline forms — but you must identify the correct Windows drive letter first, because it is often not C: in recovery.

Does a clean SFC mean my PC is healthy?

No. It means the protected files it checked match their references. Drivers, hardware, memory, and non-protected files are outside its view.