CompTIA A+ Core 2 (220-1202)Operating SystemsHard

A user is experiencing issues with their Windows 11 system where certain applications are failing to launch, and the system occasionally displays blue screen errors. The technician suspects that the Windows installation itself might be corrupted and needs to be repaired without losing user data or installed applications. Which advanced command-line tool is best suited for repairing the Windows image by using a known-good source?

  1. Abootrec /fixboot
  2. Bdism /online /cleanup-image /restorehealth
  3. Cchkdsk /f /r
  4. Dsfc /scannow
Show answer & explanation

Correct answer: B. dism /online /cleanup-image /restorehealth

The DISM (Deployment Image Servicing and Management) tool with the '/online /cleanup-image /restorehealth' command is specifically designed to repair a Windows image by checking for component store corruption and repairing it using Windows Update or a specified source, often resolving system instability without requiring a full reinstallation.

Why the other options are wrong

  • A. bootrec /fixboot is used to repair the boot sector, which is related to startup issues, not general system image corruption.
  • C. chkdsk /f /r checks and repairs file system errors and bad sectors on a disk, not Windows image corruption.
  • D. sfc /scannow only checks and repairs protected system files, not the underlying Windows image or component store.

DISM (Deployment Image Servicing and Management)

A command-line tool used to service a Windows image or prepare a Windows Preinstallation Environment (Windows PE) image. It can be used to repair a corrupted Windows installation.

  • Can repair the Windows component store.
  • Uses Windows Update or a specified source for repair files.
  • Often used after 'sfc' fails to resolve issues.

Memory trick: DISM is for 'DISM-antling' and 'Reassembling' your Windows image.

More Operating Systems questions