v1.1 - Saved schedules + hotkeys

The free shutdown timer for Windows

X Shutdown Timer turns your PC off, restarts it or puts it to sleep exactly when you want.

Start a countdown, pick a clock time, or wait until the PC is idle, a program closes or your downloads finish. No ads, no installer, no bundled software.

130 KB Single portable exe
7 Power actions
100% Free forever
X Shutdown Timer 1.1 on Windows - main window with a running shutdown countdown, the Schedules list, and the final warning with postpone and cancel buttons
Advertisement
Highlights
  • 5 ways to trigger it - delay, clock time, idle PC, program closes, downloads finish.
  • Several saved schedules - nightly, weekday and weekend rules that run even when the app is closed.
  • Close apps gently first - Chrome and games get a normal close request a minute before shutdown.
  • Global hotkeys - Ctrl+Alt+S opens it, Ctrl+Alt+X cancels from anywhere.
  • Final warning - postpone 10 minutes or cancel before anything happens.
  • Activity log - see what ran, when, and what cancelled it.

More than a countdown

A small tray app that does what the built-in shutdown command cannot.

Timer or clock time

Count down hours and minutes, or pick a time of day. Presets for 15 min, 30 min, 1 h and 2 h start in one click.

Several saved schedules

Keep as many repeating schedules as you need, each with its own action, time and days. Turn them on or off, edit them, or test one with Run now.

Smart triggers

Shut down when the PC has been idle for X minutes, when a chosen program exits, or when your downloads slow to a stop.

Gentle app closing

List the apps to close first, such as chrome.exe or steam.exe. They get a normal close request one minute before shutdown, so tabs restore and games can save.

Global hotkeys

Ctrl+Alt+S brings the window back from the tray. Ctrl+Alt+X cancels the timer, or a warning from a saved schedule, from any program.

Final warning

Before anything happens you get a countdown with Postpone 10 min, Cancel and Do it now. In idle mode, moving the mouse stops it.

Activity log

Every timer, postpone, cancel and run is written to a daily log, with the reason it was cancelled. A History window shows it newest first.

Lives in the tray

Close the window and it keeps counting down. The tray icon shows the time left, and its menu starts a quick shutdown in 15 minutes up to 3 hours.

Tiny and private

One 130 KB exe, no installer, no account. The app never connects to the internet and keeps its settings in your own AppData folder.

Seven things your PC can do on schedule

Shut down is the default, but every trigger and schedule works with any of these.

Shut down
Restart
Sleep
Hibernate
Sign out
Lock
Turn off display

Five ways to start the countdown

Use a plain timer, or let the PC tell you when it is safe to switch off.

Timer

In X hours and minutes

  • Anything from 1 minute to 7 days.
  • One-click presets: 15 min, 30 min, 1 h and 2 h.
  • Add 10 more minutes from the tray menu at any time.
Clock

At a set time

  • Run once, daily or on weekdays at the time you pick.
  • Repeating rules become saved schedules in Windows Task Scheduler.
  • Perfect for a nightly shutdown at 23:30.
Idle

When the PC is idle

  • Counts time since the last mouse or keyboard input.
  • Works as a sleep timer for your PC when you walk away.
  • Any movement during the warning stops the shutdown.
Program

When a program closes

  • Pick any running program from a list, such as an encoder, renderer or installer.
  • Starts the countdown the moment it exits.
  • Great after long jobs in X HEVC Encoder or X Audio Converter.
Network

When downloads finish

  • Watches total download speed for the whole PC.
  • Starts when it stays below your limit for the minutes you choose.
  • Handy for game updates, torrents and big file downloads.
Command line

Start it from a script

X-Shutdown-Timer.exe /in 90 /action restart X-Shutdown-Timer.exe /at 23:30 /action sleep X-Shutdown-Timer.exe /in 45 /force /tray

Actions: shutdown, restart, sleep, hibernate, logoff, lock, display.

Set a shutdown in four steps

From double-click to a scheduled shutdown in about ten seconds.

01 / Choose

Pick the action

Shut down, restart, sleep, hibernate, sign out, lock or turn off the display.

02 / When

Pick the trigger

A delay, a clock time, an idle PC, a program closing or downloads finishing.

03 / Options

Add the safety nets

Set the warning length, choose apps to close gently, and decide whether to force-close the rest.

04 / Start

Click Start

Hide the window if you like. The tray icon keeps the countdown and Ctrl+Alt+X cancels it.

Advertisement

Built to be safe to leave running

A shutdown timer should never surprise you. These are the guard rails.

Schedules

Real Windows scheduled tasks

  • Each schedule is its own task named XShutdownTimer_1, _2, and so on.
  • They run while you are signed in, even when the app is closed.
  • Pick any days of the week, with Every day, Weekdays and Weekend shortcuts.
  • Run now tests a schedule without waiting for its time.
Apps

Close apps in the right order

  • One minute before shutdown, restart or sign out, your listed apps get a normal close request.
  • Chrome restores its tabs and games can write their save files.
  • The warning always lasts at least that minute when closing apps.
  • Force-close is separate and off by default.
Control

Cancel from anywhere

  • Cancel button, tray menu, warning window or Ctrl+Alt+X.
  • Postpone 10 minutes instead of cancelling.
  • Hotkeys can be switched off, and conflicts are reported and logged.
History

A log you can read

  • Timers, triggers, postpones, cancels, closed apps and failures.
  • Lines from saved schedules are tagged with the schedule number.
  • One file per day in the logs folder, kept for 90 days.

Why not just use shutdown /s /t?

The built-in command works, but it is blind. Here is what you get on top.

Feature shutdown /s /t X Shutdown Timer
Visible countdownNoWindow, title bar and tray tooltip
CancelType shutdown /aButton, tray menu or Ctrl+Alt+X
Warning with postponeNoYes, 10-minute postpone
Daily or weekday repeatManual Task Scheduler setupBuilt in, as many as you like
Sleep, lock, display offSeparate commandsSame window, same triggers
Idle, program or download triggerNoYes
Close chosen apps firstNoYes, gently
History logNoYes, daily files

More free tools for long jobs

Start a big job, set the timer, and walk away.

X HEVC Encoder

Re-encode video to HEVC. Use When program closes to shut the PC down once the encode is done.

X Audio Converter

Batch convert whole music libraries, then let the timer put the PC to sleep.

All X tools

Browse the full family of free Windows codec and multimedia tools from xcodecpack.com.

Frequently asked questions

Common questions about scheduling shutdowns on Windows and about X Shutdown Timer.

What is X Shutdown Timer?

X Shutdown Timer is a free Windows app that shuts down, restarts, sleeps, hibernates, signs out, locks or turns off the display of your PC. You can trigger it after a delay, at a set time, when the PC is idle, when a program closes or when downloads finish.

It adds a final warning with postpone, several saved schedules, global hotkeys, gentle app closing and an activity log.

Is X Shutdown Timer free?

Yes. It is free for personal and commercial use. There are no ads inside the app, no bundled software, no registration and no trial limits. The app itself never connects to the internet.

How do I make my PC shut down in 1 hour?

Choose Shut down, pick the In option, press the 1 h button and click Start. The countdown appears in the window, in the title bar and in the tray icon tooltip, so you can hide the window and still see the time left.

How do I schedule a shutdown every night?

Choose the At option, set the time, pick Daily or Weekdays and click Start. The app saves it as a schedule in Windows Task Scheduler.

You can keep as many schedules as you like. Open Schedules to give each one its own action, time and days. They run even when the app is closed, as long as you are signed in to Windows.

Can I cancel or postpone a shutdown?

Yes. Click Cancel, use the tray menu, or press Ctrl+Alt+X from anywhere. The final warning also has a Postpone 10 min button and a Cancel button.

Saved schedules stay in place until you turn them off or delete them.

How do the global hotkeys work?

While the app is running, Ctrl+Alt+S opens its window and Ctrl+Alt+X cancels the running timer or any warning from a saved schedule. Both work from any program.

If another program already uses a combination, the app tells you and writes it to the log. You can switch hotkeys off with one checkbox.

Can it close Chrome or my games before shutting down?

Yes. Add the apps under Close apps first, for example chrome.exe or steam.exe. One minute before a shutdown, restart or sign out, each app gets a normal close request, the same as clicking the X button.

Chrome restores its tabs and games get a chance to save. Apps that ask to save still show their prompt, and with Force-close off Windows may wait for them.

How does the "when downloads finish" option work?

The app watches the total download speed of your PC. When it stays below the limit you set (200 KB/s by default) for the number of minutes you choose (3 by default), it starts the countdown.

It measures all network traffic, not one program. To wait for a single program instead, use When program closes.

How does the idle option work?

The app counts the time since your last mouse or keyboard input. When it reaches the limit you set, the warning opens, and any mouse movement or key press during the warning stops it. Watching a video does not count as input.

Where is the activity log?

Logs are saved in a logs folder next to the exe, one file per day. If that folder is not writable, the app uses %APPDATA%\xcodecpack\shutdowntimer\logs instead.

The History window shows the newest entries first, and logs older than 90 days are removed automatically.

Do I need to install it or run it as administrator?

No installer is needed. Download the single exe and run it from any folder, including a USB stick. Administrator rights are normally not required, although Task Scheduler can ask for them on locked-down PCs.

It needs the .NET Framework 4, which is built into Windows 10 and 11. Settings are saved in %APPDATA%\xcodecpack\shutdowntimer.

Does hibernate work?

Hibernate needs hibernation to be enabled in Windows. If it is off, open an administrator Command Prompt and run powercfg /hibernate on. Sleep works on any PC that supports it.

Is there a command line?

Yes. Use /in 90 to start a 90-minute timer, /at 23:30 to run at a set time, /action with shutdown, restart, sleep, hibernate, logoff, lock or display, /force to force-close apps, and /tray to start hidden in the tray.

Why does Windows SmartScreen warn me about the file?

Small freeware apps without a code-signing certificate can trigger the Windows protected your PC screen. Click More info, then Run anyway. The app has no network code and only opens our website in your browser when you click the link.

How is it better than the shutdown /s /t command?

The built-in command has no visible countdown, no tray icon, no idle, program or download triggers, and no repeating schedules without a manual Task Scheduler setup. X Shutdown Timer adds all of these, plus a warning with postpone and a history log.

Ready to switch off on schedule?

Free forever. One small portable exe - download, run and set your first timer.

Download X Shutdown Timer 1.1
Version 1.1 130 KB .exe Windows 10 / 11 No installer No ads in the app
Advertisement