nerdexam
CompTIA

220-802 · Question #919

A user has been reporting their computer is running slow on Fridays after being used all week. A technician believes the problem can be resolved by rebooting the computer. Using the shutdown command…

The correct answer is A. -r. The shutdown command's -r switch instructs Windows to restart (reboot) the computer, which is the required action to clear accumulated slowness.

Hardware and network troubleshooting

Question

A user has been reporting their computer is running slow on Fridays after being used all week. A technician believes the problem can be resolved by rebooting the computer. Using the shutdown command in the command prompt on the remote computer, which of the following switches would the technician use to reboot the computer?

Options

  • A-r
  • B-s
  • C-a
  • D-i

How the community answered

(59 responses)
  • A
    93% (55)
  • B
    2% (1)
  • C
    2% (1)
  • D
    3% (2)

Why each option

The shutdown command's -r switch instructs Windows to restart (reboot) the computer, which is the required action to clear accumulated slowness.

A-rCorrect

In the Windows shutdown command, the -r switch specifies a restart operation - the OS shuts down and then reboots. Running 'shutdown /r' or 'shutdown -r' on a remote machine via command prompt will cause it to close all processes and restart, clearing any memory leaks or accumulated resource usage causing the slowdown.

B-s

-s initiates a full shutdown (power off) rather than a restart, which would require physical intervention to power the remote machine back on.

C-a

-a aborts a currently pending shutdown or restart operation and would not reboot the machine.

D-i

-i opens the graphical Remote Shutdown Dialog interface and does not by itself execute a reboot.

Concept tested: Shutdown command -r switch for remote reboot

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown

Topics

#shutdown command#command switches#remote reboot#CLI

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice