A user reports that a specific application crashes immediately on launch. You want to verify the integrity of the application's core files without reinstalling. Which command-line tool can you use to scan and repair system files that the application depends on?
Trap 1: chkdsk /f
Incorrect. chkdsk checks for file system errors on the disk, not application file integrity.
Trap 2: tasklist
Incorrect. tasklist lists running processes but does not repair files.
Trap 3: dism /online /cleanup-image /restorehealth
Incorrect. DISM repairs the Windows system image, but it is not the first-line tool for application-specific file corruption.
- A
sfc /scannow
Correct. sfc scans and repairs corrupted system files that might cause application crashes.
- B
chkdsk /f
Why wrong: Incorrect. chkdsk checks for file system errors on the disk, not application file integrity.
- C
tasklist
Why wrong: Incorrect. tasklist lists running processes but does not repair files.
- D
dism /online /cleanup-image /restorehealth
Why wrong: Incorrect. DISM repairs the Windows system image, but it is not the first-line tool for application-specific file corruption.