Leo wasn’t worried. He knew that SFC sometimes needs a better source of healthy files. So he deployed the —the system’s repair shop.

Identifying what caused a crash after it happens.

In the left sidebar, navigate to Windows Logs > System (for hardware and driver issues) or Application (for software crashes).

Windows 11 includes dedicated tools to find and fix specific problems like internet, audio, or update errors automatically. Troubleshoot Other troubleshooters

If Windows is behaving strangely or crashing, your core system files might be corrupted. You can repair them using these two commands in order: Microsoft Support Command Prompt as an administrator and type: DISM.exe /Online /Cleanup-image /Restorehealth

Open the search bar, type , and select View reliability history .

The recommended order for comprehensive system repair is to run DISM first to fix the system image, then SFC to repair system files, and finally CHKDSK to check the disk if issues remain after the first two steps. For convenience, advanced users can create a batch file containing all three commands (each on a separate line) and run it with administrator privileges whenever a full maintenance pass is needed.

If heat caused abrupt shutdowns during writes, this fixes corrupted system files.