Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Set or Cancel a Shutdown Timer in Windows 10

Schedule a one-time Windows shutdown from Run, Command Prompt, or PowerShell, and cancel it if you need more time.

Table of Contents

Press Windows + R, enter shutdown -s -t 1800, and click OK to shut down in 30 minutes. To cancel before the timer expires, run shutdown -a.

Simple Windows 10 computer shutdown timer without installing software Picture 1

Set the delay in seconds

Use shutdown -s -t SECONDS, replacing SECONDS with a number. A positive delay can cause apps to close when the timer expires, so save your work before setting it.

  • 5 minutes: shutdown -s -t 300
  • 10 minutes: shutdown -s -t 600
  • 30 minutes: shutdown -s -t 1800
  • 1 hour: shutdown -s -t 3600
  • 2 hours: shutdown -s -t 7200

Simple Windows 10 computer shutdown timer without installing software Picture 2

Simple Windows 10 computer shutdown timer without installing software Picture 3

The same command works in Command Prompt and PowerShell. Press Enter to start the countdown. Closing the notification or terminal leaves the timer running.

Simple Windows 10 computer shutdown timer without installing software Picture 4

Simple Windows 10 computer shutdown timer without installing software Picture 5

Cancel or replace a pending shutdown

Open Run again, enter shutdown -a, and click OK. To change the delay, cancel the first timer and then run the new command.

Simple Windows 10 computer shutdown timer without installing software Picture 6

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.