Skip to content
wbgcodingPublic

About

Tiny portable Windows tool to schedule a shutdown, restart or hibernate by countdown or date and time, no seconds math needed.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Shutdown

A tiny portable Windows tool that schedules a shutdown, restart or hibernate.
No more seconds math for shutdown /s /t 5400.

Latest release Windows 10 and 11 .NET Framework 4.8 MIT License

Shutdown in dark mode with a shutdown scheduled in 1 hour 30 minutes

Features

  • Shut down, restart or hibernate after a countdown (hours and minutes, quick picks from 15 minutes to 3 hours) or at an exact date and time.
  • Always know what happens: right above the time fields you see the exact end time of a countdown, or the time left until a chosen date, and a live countdown runs once scheduled.
  • Cancel with one click whatever the app scheduled.
  • Fits into Windows: English or German from the Windows display language, light or dark mode and the accent colour from your Windows settings.
  • Portable and private: one small .exe (about 110 KB), no installer, no network access, no telemetry.

Download

  1. Get Shutdown-<version>-windows.exe from the latest release.
  2. Put it in any folder (rename it if you like) and run it.

Requires Windows 10 (version 1903 or newer) or Windows 11. The .NET Framework 4.8 it needs is already part of Windows.

The exe is not code signed, so Windows SmartScreen may warn before the first start. Click More info, then Run anyway. You can compare the file with SHA256SUMS.txt from the release:

certutil -hashfile Shutdown-<version>-windows.exe SHA256

How it works

Setting What runs Can the app be closed?
Shut down or restart Windows itself: shutdown /s /f /t <seconds> (/r for restart) Yes
Hibernate The app counts down, then runs shutdown /h /f No, keep it open

Shutting down or restarting always closes open apps, even with unsaved work: Windows forces this whenever a timeout is set. Windows has no timer for hibernate, so the app times it itself. Closing the window then asks first, and the PC is kept from going to sleep on its own until the time is up. If you put the PC to sleep by hand and it wakes more than two minutes after the target time, nothing runs and the app tells you so.

Starting the app a second time brings the open window to the front.

Files

Settings (Shutdown.settings.json) and a small log (rotated at 512 KB, one old copy kept) live in %APPDATA%\Shutdown. Nothing is written next to the exe. To remove the app, delete the exe and that folder.

Build from source

Requires the .NET SDK 8 or newer (it builds for .NET Framework 4.8 through reference assemblies).

build.bat

This builds dist\Shutdown.exe and starts it. Set NOSTART=1 to skip the start and NOPAUSE=1 to never wait for a key on errors.

release.bat builds the release files (dist\release\Shutdown-<version>-windows.exe and SHA256SUMS.txt).

Run the tests:

dotnet test tests\Shutdown.Tests

Security

Please report security problems privately, as described in SECURITY.md.

License

MIT © 2026 BGCoding

Made with Claude.

About

Tiny portable Windows tool to schedule a shutdown, restart or hibernate by countdown or date and time, no seconds math needed.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages