Last Updated on January 26, 2024 by InfraExam
A user notices errors for some Windows operations and suspects that some system files might be corrupted. The user wants to scan and verify the integrity of all system files and replace corrupted files with correct versions. What is the best Windows command to select to do the job?
|Explanation & Hint:
The best Windows command for a user who wants to scan and verify the integrity of all system files, and replace corrupted files with correct versions, is
sfc command stands for System File Checker. It’s a utility in Microsoft Windows that allows users to scan for and restore corruptions in Windows system files. The most common use of this command is
sfc /scannow, which scans the integrity of all protected system files and replaces incorrect versions with genuine, correct Microsoft versions.
The other commands have different purposes:
tasklist: This command displays a list of currently running processes on the system. It’s used for monitoring system activities but does not deal with system file integrity.
DISM: Deployment Image Servicing and Management (DISM) is a command-line tool used for servicing and preparing Windows images, including the Windows Recovery Environment, Windows Setup, and Windows PE. While it can repair the Windows image, it’s not primarily used for scanning and fixing individual system file corruptions like
shutdown: This command is used to shut down or restart the computer. It has no functionality for scanning or repairing system files.
path command is used to set or display the command path in the command line environment, which is not related to system file integrity or repair.
Therefore, for scanning and repairing corrupted system files,
sfc is the appropriate command.
For more Questions and Answers: