Shutdown a Windows PC using the command line

Share:

1️⃣ Using Command Prompt (CMD)

  1. Open Command Prompt (Win + R, type cmd, and press Enter).
  2. Type the following command and press Enter: bashCopyshutdown /s /t 0
    • /s → Shutdown the computer.
    • /t 0 → Shutdown immediately (0 seconds delay).

2️⃣ Using PowerShell

  1. Open PowerShell (Win + R, type powershell, and press Enter).
  2. Run this command: powershellCopyStop-Computer -Force

3️⃣ Using Run Dialog

  1. Press Win + R to open the Run dialog.
  2. Type: bashCopyshutdown /s /t 0
  3. Press Enter.

4️⃣ Schedule a Shutdown

To schedule a shutdown after a specific time (e.g., 10 minutes), use:

cmdCopyshutdown /s /t 600

(600 seconds = 10 minutes)

To cancel a scheduled shutdown, type:

cmdCopyshutdown /a

LET’S KEEP IN TOUCH!

We’d love to keep you updated with our latest news and offers 😎

We don’t spam! Read our privacy policy for more info.