Giter VIP home page Giter VIP logo

nosleepstate's Introduction

NoSleepState

A small tool that prevents Windows 10 go into sleep state or lock the screen.

NOTE: See also the PowerToys Awake utility, which seems to serve for the exact same purpose.

Motivation

Sometimes it's quite anoying, when the screen of a Windows 10 PC is locked after a certain time. Especially, when executing long running tasks like lab measurements that need to be observed by an operator from time to time to check it's current state. In order to prevent the screen from beeing disabled, the usual workaround was to run a video in the background. I haven't found any other solution, so I implemented a tiny little tool that prevented the screen from beeing locked using the Windows built-in SetThreadExecutionState functionallity.

How to use

Download the release file (nosleepstate.zip) and unpack. Run the NoSleepState.exe to prevent your Windows 10 to lock or disable the screen.

This runs a little program that is shown in the Windows taskbar.

In order to exit, right click the icon in the taskbar and select Exit NoSleepState.

Tipp: create a shortcut in the startup folder to automatically run the tool upon Windows logon.

Warning: Keeping the PC unlock may be a security issue. So please make sure to close the tool or manually lock the screen when you leave!

How to build

All you need to do to build the project is to load the solution into Visual Studio (2017+) and compile the project. Once compiled, the tool can be executed from NoSleepState/bin/Release/NoSleepState.exe.

nosleepstate's People

Contributors

c-berger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.