Windows lock service

Job ID: 32625122

Budget: $30 – $250 USD

A windows service to enable locking the console from a remote session (e.g. ssh).

Normally, the LockWorkStation() API cannot be called from a remote session but there is information online on bypassing this. Check with GetUserObjectInformation() and not report successful locking unless actually locked.

* Single executable
* /install and /uninstall arguments

Nice to have:
* Remote unlocking, if you can find an api for that.
* Control lock/unlock by using net start/stop instead of some custom interface to the service.
* Small executable (C++ rather than C# etc)
* Put it on github so others can enjoy it, too
Related categories: Windows API