This project provides a simple and efficient batch script to schedule a system shutdown after a user-defined number of minutes. It also includes a utility script to create a shortcut to the main script in the Start Menu.
Windows does not include a straightforward, user-friendly way to schedule a shutdown with a countdown timer by default. While some third-party tools exist, they are often overly complex, filled with unnecessary features, or come with large installation sizes. This script offers a lightweight and direct solution.
- Shutdown Scheduling: Input the desired number of minutes, and the system will automatically shut down after that time.
- Input Validation: Ensures that the user input is a valid number within the specified range.
- Countdown Display: Shows a live countdown timer in the console, updating every second.
- Notification: A PowerShell message box confirms the timer start and minimizes all open windows.
- Shortcut Creation: A utility script that creates a Start Menu shortcut for easy access to the shutdown timer, including an optional hotkey assignment.
- Operating System: Windows
- PowerShell: Pre-installed on most Windows systems (used for message box notifications).
- Administrator Rights: Required to initiate a shutdown.
- Clone the repository or download the scripts:
git clone https://github.com/sergeiown/Shutdown_Timer.git
This project is licensed under the MIT License. See the LICENSE file for more details.