comptia-a-plus-core2/labs/OS-2-recovery-info-lab.md

1.1 KiB

Lab OS-2: Recovery and Disk Information

Domain:

  • 1.0 Operating Systems

Works on:

  • Windows
  • Linux

Does not require:

  • macOS

Goal

Practice safe commands that help identify recovery status, file corruption, boot configuration, and disk layout.

Windows Steps

Run:

reagentc /info
sfc /scannow
bcdedit

Optional repair command:

DISM /Online /Cleanup-Image /RestoreHealth

Record:

  • Is Windows RE enabled?
  • Did SFC find integrity violations?
  • What boot loader description appears in bcdedit?
  • Did DISM complete successfully, if you ran it?

Do not edit BCD settings in this lab.

Linux Steps

Run:

lsblk
df -h

Record:

  • Main disk name:
  • Root filesystem:
  • Root filesystem free space:
  • Any mounted removable drives:

What You Should Learn

  • reagentc /info checks Windows Recovery Environment status.
  • sfc /scannow checks and repairs protected Windows system files.
  • DISM /Online /Cleanup-Image /RestoreHealth repairs the Windows image/component store.
  • bcdedit displays boot configuration.
  • lsblk shows disks and partitions.
  • df -h shows mounted filesystem usage.