shutdown /t 3600 without /s does nothing. The timer requires an operation flag.
Here is how to run shutdown -s -t 3600 correctly on Windows 10/11.
Method 1: Command Prompt (Admin not always required but recommended for reliability)
Method 2: PowerShell
Method 3: Run Dialog (Quick & Dirty)
Result: A system notification confirms the timer. You can continue working, but the system will automatically initiate shutdown when the countdown reaches zero.
For power users, turning shutdown -s -t 3600 into an automation tool is the final step. shutdown s t 3600 exclusive
Batch script (one_hour_shutdown.bat):
@echo off
echo Shutting down in 1 hour (3600 seconds). To cancel, run shutdown -a
shutdown -s -t 3600
pause
Scheduled Task (Recurring daily at 10 PM):
Combine with PowerShell for user alerts: shutdown /t 3600 without /s does nothing
Write-Host "Starting 1-hour shutdown timer..."
Start-Sleep -Seconds 3540
Write-Host "Last 60 seconds! Save your work."
Start-Sleep -Seconds 60
shutdown -s -t 0
Continuous integration pipelines sometimes require a clean environment. After a lengthy build completes, you might want the system to shut down after a 1-hour grace period:
if %build_success% == true ( shutdown /s /t 3600 /c "Exclusive: Build succeeded. System will auto-shutdown in 1 hour." )
This ensures the server doesn't run idle all night, saving cloud or electricity costs.
Here is what each part of the command is trying to do: Method 2: PowerShell
In system administration:
To run this command every day at 10 PM: