Skip to content

jochemstoel/win32.showlockscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

npm install win32.showlockscreen

Use

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published