Simple Windows system control application built with Python and Tkinter. Allows you to schedule shutdown, restart, cancel pending actions, and monitor a countdown timer via a graphical interface.
- ⏱ Schedule PC shutdown with custom timer
- 🔄 Schedule PC restart with custom timer
- ❌ Cancel scheduled shutdown/restart
- 📂 Open project folder directly from the app
- 🖥 Live countdown display
- 👤 Shows current system user and OS type
- Python 3.x
- Windows OS (uses Windows
shutdowncommand) - Tkinter (usually included with Python)
Check Python version:
python --version- Clone the repository or download the project files.
git clone <your-repository-url>- Navigate to the project folder:
cd <project-folder>- Run the script:
python main.pyThe application uses:
tkinterfor the graphical interfaceos.system()to execute Windows shutdown commandsroot.after()for the UI countdown timer
shutdown /s /t <seconds>shutdown /r /t <seconds>shutdown /a-
Enter the number of seconds in the input field.
-
Choose one of the actions:
- Вимкнути ПК — Shutdown
- Перезавантажити — Restart
- CKACYBATN — Cancel scheduled action
- Відкрити папку проекту — Open project directory
-
Confirm shutdown when prompted.
-
Watch the countdown timer in the interface.
project-folder/
│
├── main.py
└── README.md
- ⚡ Works only on Windows.
- ❗ Requires administrator privileges for shutdown/restart commands.
- If a shutdown is already scheduled, use Cancel to stop it.
- Add system tray support
- Add sound notification before shutdown
- Improve UI design
- Add multilingual support
- Package into
.exeusingpyinstaller
Free to use for educational purposes.