{"id":15064068,"url":"https://github.com/sergeiown/shutdown_timer","last_synced_at":"2026-01-31T07:31:11.888Z","repository":{"id":254546544,"uuid":"846862377","full_name":"sergeiown/Shutdown_Timer","owner":"sergeiown","description":"This project provides a simple and efficient batch script to schedule the shutdown of the windows operating system after a user-defined number of minutes. It also contains a utility to create a shortcut to the main script in the Start menu.","archived":false,"fork":false,"pushed_at":"2024-09-24T08:30:01.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T10:13:06.374Z","etag":null,"topics":["batch-script","powershell","shutdown","shutdown-timer","timer","windows"],"latest_commit_sha":null,"homepage":"https://github.com/sergeiown/Shutdown_Timer","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergeiown.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-24T06:47:35.000Z","updated_at":"2024-09-24T08:30:04.000Z","dependencies_parsed_at":"2024-08-24T08:30:07.308Z","dependency_job_id":"be3f5906-e366-4f98-9027-76097ee8c7c2","html_url":"https://github.com/sergeiown/Shutdown_Timer","commit_stats":null,"previous_names":["sergeiown/shutdown_timer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergeiown/Shutdown_Timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeiown%2FShutdown_Timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeiown%2FShutdown_Timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeiown%2FShutdown_Timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeiown%2FShutdown_Timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergeiown","download_url":"https://codeload.github.com/sergeiown/Shutdown_Timer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeiown%2FShutdown_Timer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261791656,"owners_count":23210166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["batch-script","powershell","shutdown","shutdown-timer","timer","windows"],"created_at":"2024-09-25T00:11:00.995Z","updated_at":"2026-01-31T07:31:11.882Z","avatar_url":"https://github.com/sergeiown.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [![logo](https://github.com/user-attachments/assets/673b0697-16ed-4865-8cca-c1e0cbe66089) Shutdown Timer](https://github.com/sergeiown/Shutdown_Timer)\n\nThis 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.\n\n## Motivation\n\nWindows 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.\n\n## Features\n\n- **Shutdown Scheduling:** Input the desired number of minutes, and the system will automatically shut down after that time.\n- **Input Validation:** Ensures that the user input is a valid number within the specified range.\n- **Countdown Display:** Shows a live countdown timer in the console, updating every second.\n- **Notification:** A PowerShell message box confirms the timer start and minimizes all open windows.\n- **Shortcut Creation:** A utility script that creates a Start Menu shortcut for easy access to the shutdown timer, including an optional hotkey assignment.\n\n## Requirements\n\n- **Operating System:** Windows\n- **PowerShell:** Pre-installed on most Windows systems (used for message box notifications).\n- **Administrator Rights:** Required to initiate a shutdown.\n\n\u003ca href=\"https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions\"\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/db2b5487-b5bf-45d9-8948-48bb88162f17\" alt=\"windows_compatibility\" style=\"width:20%;\"/\u003e\n\u003c/a\u003e\n\n## Installation\n\n- **Clone the repository** or download the scripts:\n    ```sh\n    git clone https://github.com/sergeiown/Shutdown_Timer.git\n    ```\n\n## Usage\n\n|  |  |\n|:------|:----------:|\n| **Run `shutdown_timer.bat`:** \u003cbr\u003e - Double-click `shutdown_timer.bat` or run it from the command line. \u003cbr\u003e - The script will prompt for the number of minutes until shutdown. \u003cbr\u003e - After validating the input, the countdown will start, and the system will shut down when the timer expires. | ![image](https://github.com/user-attachments/assets/3cc73bfd-1e48-4278-9d1e-19008f49dc96) |\n| **Run `startmenu_shortcut.bat`:** \u003cbr\u003e - This will create a shortcut named \"Shutdown Timer\" in your Start Menu for easy access. \u003cbr\u003e - The shortcut will be linked to the `shutdown_timer.bat` script, with an appropriate icon. \u003cbr\u003e - **Hotkey:** By default, the shortcut is set with the `Ctrl + Alt + T` combination. You can quickly access the Shutdown Timer by pressing these keys. | ![image](https://github.com/user-attachments/assets/d5d44932-8ceb-4d05-8d03-e123af76f18b) |\n\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/sergeiown/Shutdown_Timer/blob/main/LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeiown%2Fshutdown_timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergeiown%2Fshutdown_timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeiown%2Fshutdown_timer/lists"}