Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterupfold/shutdownbuddy
Detect interactive sessions, and then shut down after a time when no sessions are live.
https://github.com/peterupfold/shutdownbuddy
Last synced: 5 days ago
JSON representation
Detect interactive sessions, and then shut down after a time when no sessions are live.
- Host: GitHub
- URL: https://github.com/peterupfold/shutdownbuddy
- Owner: PeterUpfold
- License: apache-2.0
- Created: 2022-05-08T19:41:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T10:54:56.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T09:51:05.059Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 68.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ShutdownBuddy
Detect the computer being idle, based on having no interactive signed in Windows sessions, and shut down the computer fully after a configurable period of time.
Machines running ShutdownBuddy will "properly" shut down when no-one is signed in, and not just sleep or hibernate.
## Installation
An installer is provided in releases.
## Silent installation
To perform a silent installation, use the installer and provide the `/verysilent` switch. You may also set the configuration parameters to set in the registry as the example below.
install-ShutdownBuddy.exe /verysilent /EvaluationIntervalSeconds=60 /ShutdownAfterIdleForSeconds=3600 /DebugLog=0
## Silent uninstallation
To uninstall, run the uninstaller:
"C:\Program Files\ShutdownBuddy\unins000.exe" /verysilent
## Configuration
Configuration uses the Windows registry.
HKLM\SOFTWARE\upfold.org.uk\ShutdownBuddy
Possible config options in this registry key:
`DebugLog` -- DWORD. Set to `1` to log activity to a temporary file in `C:\WINDOWS\TEMP\Sdb*.tmp`
`EvaluationIntervalSeconds` -- DWORD. How frequently, in seconds, to evaluate for interactive sessions.
`ShutdownAfterIdleForSeconds` -- DWORD. How many seconds of idle computer (i.e. no interactive sessions) before issuing a shutdown. This is periodically evaluated as above.