Soru

Zorluk: OrtaMicrosoft Command-Line Tools

A desktop support technician needs to repair file system errors and locate bad sectors on an active Windows 11 system drive (C:C:) that cannot be locked while the operating system is running. Arrange the following steps in the correct logical sequence to schedule and execute the disk repair utility upon system reboot.

  1. 1Open a Command Prompt window using elevated administrative privileges.
  2. 2Execute the command `chkdsk C: /f /r` in the command prompt.
  3. 3Type `Y` and press Enter when prompted to schedule the volume check for the next system restart.
  4. 4Execute `shutdown /r /t 0` to immediately restart the workstation.

Cevap

The correct logical sequence is: first open an elevated Command Prompt, second run 'chkdsk C: /f /r', third confirm scheduling the operation by entering 'Y', and fourth reboot the system immediately using 'shutdown /r /t 0'.
The workflow begins by establishing an elevated Command Prompt context, as low-level disk operations require administrative privileges. Running 'chkdsk C: /f /r' instructs the system to locate bad sectors and repair file system issues. Since the operating system actively locks drive C:, the prompt requires entering 'Y' to register the task for the next boot phase. Finally, executing 'shutdown /r /t 0' immediately triggers the reboot required for CHKDSK to run while the drive is unmounted.

Adım Adım Çözüm

1
Launch Command Prompt with administrative rights.
Elevated CLI session is established.
CHKDSK requires full administrator privileges to modify disk structures and schedule system tasks.
2
Issue 'chkdsk C: /f /r'.
The utility prompts that the volume is currently in use by another process.
The /f parameter fixes disk errors and /r scans for bad sectors, requiring unhindered access to the partition.
3
Respond to the prompt by typing 'Y'.
The volume check is scheduled in the Windows registry for the next boot sequence.
An active system drive cannot be locked or unmounted while system files are actively open by Windows.
4
Issue 'shutdown /r /t 0'.
The computer performs an immediate reboot and initiates CHKDSK during startup.
Restarting allows Windows to execute the CHKDSK scan during the boot process before the drive is locked by the OS.

Anahtar Kavram

Windows CHKDSK execution requirements, switch syntax, and system volume scheduling
Tahmini Süre:1m 30s
Bu soruyu puanla