Skip to content

everbuild-org/timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕒 Timeout

A simple power-saving tool This is a tool that automatically shuts down your computer after you've been in lockscreen for too long. If you want to, you can also set a minimum time.

📚 Table of Contents

📦 Installation

This tool only supports the windows operating system since it uses windows services to operate. To install this tool, first choose if you want to install it pre-compiled or compile it yourself.

📫 Pre-compiled

To install the pre-compiled version, download the latest release from the releases page and run the installer. Please ntoe that the installer is not signed, so you might get a warning from windows.

For network-wide installations, you can create a new group policy to deploy the installer to all computers in the network.

🛠️ Compile it yourself

Like mentioned above, this tool only supports the windows operating system. Aditionally, you need to have the .NET 4.8 SDK or later installed.

To compile the tool, clone the repository and open the solution in Visual Studio. Then, just build the solution and you're done.

🔧 Usage

Once installed, the tool will automatically start and run in the background on startup without any user interaction. To change the settings, you can use the windows registry editor to change the following values:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Stellarverse\Timeout\TimerInterval - The interval in seconds between each check if the computer should be put to sleep. The default value is 300 seconds (5 minutes).

  • HKEY_LOCAL_MACHINE\SOFTWARE\Stellarverse\Timeout\LockedCycles - The amount of timer cycles the computer has to be locked before it is put to sleep. The default value is 3 cycles (15 minutes assuming the timer interval is 5 minutes).

  • HKEY_LOCAL_MACHINE\SOFTWARE\Stellarverse\Timeout\ShutdownNotBeforeHours This time indicates the earliest time the computer can be shut down. This is useful if you want to prevent the computer from shutting down automatically during the day. The default value is 0 hours (midnight, effectively disabling this feature).

  • HKEY_LOCAL_MACHINE\SOFTWARE\Stellarverse\Timeout\ShutdownNotBeforeMinutes This time indicates the earliest time the computer can be shut down. This is useful if you want to prevent the computer from shutting down automatically during the day. The default value is 0 minutes (midnight, effectively disabling this feature).

  • HKEY_LOCAL_MACHINE\SOFTWARE\Stellarverse\Timeout\DryMode - If this value is set to 1, the computer will not shut down automatically. This is useful for testing purposes. The default value is 0 (disabled). In this mode, the tool will still log the actions it would have taken.

The Log file can be found at %temp%\TimeoutErrorLog.txt.

🧭 Support

For commercial support, please visit stellarverse.de/products/timeout.

📝 License

This project is licensed under the MIT License.

🧑‍🦱 Credits

This was made from and with Goethe RobotX Jr

📜 Changelog

  • 1.0.0: Works