An open API service indexing awesome lists of open source software.

https://github.com/jochemstoel/win32.showlockscreen

(Node.js) lock the computer and show login screen.
https://github.com/jochemstoel/win32.showlockscreen

lockscreen nodejs windows

Last synced: about 1 year ago
JSON representation

(Node.js) lock the computer and show login screen.

Awesome Lists containing this project

README

          

# win32.showlockscreen
(Node.js) lock the computer and show login screen. This module for Node.js is inspired by the feedback from my friend Ernst.

This function will lock the computer and show the login screen. (Windows7 and higher only) You can find it on NPM: https://www.npmjs.com/package/win32.showlockscreen

## Install

```bash
npm install win32.showlockscreen
```

## Use

```js
var showLockScreen = require('win32.showlockscreen')
showLockScreen()
```

## How does it work?
This module will use rundll32.exe to call method ShowLockScreen() inside user32.dll

Until next time.