FG
💻 Software

How can I shut down the PC after specified amount of time?

Fresh5 days ago
Mar 15, 2026530703 views
Confidence Score1%
1%

Problem

How would you go about turning you computer after a specified amount of time? I listen music before I go to sleep and would like to be able to shutdown my computer after a specified amount of time. After ½ an hour say. It would be cool if you could connect a desktop shortcut to a task in scheduler so you click the shortcut and ½ an hour later it shuts down.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I shut down the PC after specified amount of time?

Low Risk

Create a batch file, and put this code in it after the line: The computer will shutdown 30 minutes (1800 seconds) after running the batch file. To cancel a shutdown initiated by that batch file, you can go to Start → Run and type: Or put that in its own separate batch file, then run it to cancel a shutdown.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment