Soru

Zorluk: OrtaMicrosoft Command-Line Tools

A technician needs to perform a thorough file system repair and bad sector scan on a workstation's primary system volume (C:C:). Because the volume is actively used by the Windows operating system, the repair operation must be scheduled for the next boot cycle. Place the administrative command-line actions in the correct sequential order to schedule and execute this operation.

  1. 1Open Command Prompt using the 'Run as administrator' option.
  2. 2Execute the command `chkdsk C: /f /r` to target the system drive for file system fixing and bad sector recovery.
  3. 3Type `Y` and press Enter when prompted to schedule the volume check on the next system restart.
  4. 4Execute `shutdown /r /t 0` to immediately restart the workstation.

Cevap

The correct sequence begins by launching an elevated Command Prompt, issuing the `chkdsk C: /f /r` command, confirming the prompt to schedule the scan on the next reboot by typing 'Y', and restarting the workstation immediately using `shutdown /r /t 0`.
The procedure requires elevated administrative context first because disk repair affects core storage structures. Executing `chkdsk C: /f /r` requests a full repair, but because Windows is actively running from drive C:C:, the utility cannot dismount the volume. Accepting the prompt ('Y') schedules the scan for startup, and calling `shutdown /r /t 0` restarts the system immediately to launch the check.

Adım Adım Çözüm

1
Launch elevated Command Prompt
Command Prompt opens with Administrator privileges in `C:\Windows\System32`.
Disk checking utilities require full administrative permissions to access raw storage structures.
2
Issue CHKDSK command with repair switches
The utility detects that drive C:C: is currently in use and cannot be locked.
The `/f` switch fixes errors on the disk, while `/r` locates bad sectors and recovers readable information (implicitly including `/f`).
3
Confirm boot-time scheduling
Windows queues the Autochk utility to execute during the early boot phase.
Since the active OS drive cannot be dismounted online, the check must run before system files are locked by Windows startup.
4
Restart the system immediately
The computer reboots without delay and commences the disk check.
The `shutdown` command with `/r` (reboot) and `/t 0` (zero-second delay) forces an immediate restart to execute the scheduled task.

Anahtar Kavram

Scheduling boot-time CHKDSK scans on locked system volumes
Tahmini Süre:1m 30s
Bu soruyu puanla