A user's Windows computer is experiencing frequent application crashes, system freezes, and occasional blue screens of death (BSODs). You suspect that some system files might be corrupted. Which of the following commands should you run in an elevated Command Prompt to scan and repair protected system files?
Running sfc /scannow in an elevated Command Prompt is the correct way to initiate a System File Check (SFC) scan, which will scan all protected system files and replace corrupted files with cached copies from the Windows installation media. This can often resolve issues caused by corrupted system files.
chkdsk /f is used to check the disk for errors and fix them, but it does not specifically target system files. dism /online /cleanup-image /restorehealth is used to repair the Windows image, which can be helpful in some cases, but it's not the primary tool for replacing corrupted system files. sfc /verifyonly only scans for corrupted files but does not attempt to repair them, making it less effective in resolving the issue at hand.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the function of the 'sfc' command in Windows?
Open an interactive chat with Bash
How does 'chkdsk' differ from 'sfc' in terms of functionality?
Open an interactive chat with Bash
What does the 'dism' command do in relation to system files?