shutdown

Windows CMD · System · available in the simulator

What it does

Shuts down, restarts, or signs out.

Syntax

shutdown [/s | /r | /l | /h | /a] [/t segundos] [/f]

Options and parameters

  • /s

    Shuts down the computer.

    shutdown /s /t 0
  • /r

    Shuts down and restarts the computer.

    shutdown /r /t 60
  • /l

    Logs off the current user.

  • /h

    Hibernates the computer.

  • /t N

    delay in seconds

  • /a

    Aborts a scheduled shutdown.

    shutdown /a
  • /f

    Forces running applications to close.

  • /t

    Delay in seconds before the action.

  • /m

    Applies the action to a remote computer.

  • /p

    Turns off the local computer immediately, with no time-out.

  • /g

    Restarts and reopens registered applications.

  • /o

    Restarts into the advanced boot options menu.

  • /hybrid

    Shuts down the computer and prepares it for fast startup.

  • /i

    Displays the graphical remote shutdown dialog box.

Usage examples

  • shutdown /s /t 0
  • shutdown /r /t 60
  • shutdown /a
  • shutdown /l
  • shutdown /r /t 0
Practise shutdown

Related commands