While troubleshooting a Windows 10 workstation that is showing repeated application crashes and warnings about corrupt system files, you want to scan every protected operating-system file and automatically replace any incorrect versions with the cached originals. Which built-in Windows command-line utility should you run from an elevated Command Prompt to perform this task?
The System File Checker utility (run with the command sfc /scannow) examines all protected Windows system files and, when it detects an incorrect or corrupted version, automatically replaces it with the correct copy from the DLL cache or installation media. The other tools do not repair protected system files:
chkdsk checks disk structure and sectors, not OS file integrity.
ipconfig /flushdns clears the DNS resolver cache.
gpupdate /force refreshes Group Policy settings but does not check files.
[Citation: Microsoft Support article "Use the System File Checker tool to repair missing or corrupted system files"]
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 are some common reasons for missing or renamed files in an operating system?
Open an interactive chat with Bash
How can I check for security alerts related to file integrity on my operating system?
Open an interactive chat with Bash
What are the consequences of a compromised file structure in an operating system?