System & network administration  


WLOCK.EXE is a small command-line utility which gives you the ability to lock and/or start default screen saver on the local computer.

WLOCK.EXE - 1.0.2


Extract all files from the zip file to a folder on your computer (%windir% for example). Then open a command-line box and just launch the program.

This program may be run on Microsoft Windows operating systems (Windows XP/2000/NT), but not on 9x/Me. Windows NT is not implementing the API call to lock the PC in the same way as XP/2K and 2K3, so locking NT is impossible with that tool. You can just use the "/s /nl" options to run the default screen saver.


The syntax to use WLOCK.EXE from the command line is:

WLOCK.EXE </s> </nl> </y> </?>

where :

Switch Explain
/s start the default screen saver
/nl Don't lock the PC
/y Suppress prompting for confirmation
/? Shows help

Update History

Release 1.0.2 of 08/25/2003

  • First public release posted on my web site.

Release 1.0.0 of 07/08/2003

  • Original version with HTML documentation. Not published on the Internet.

License & Disclaimer

All files are copyright Patrick Garnier, 2002, 2003, 2004. This software is provided as is - no warranty is given as to its suitability for any purposes to which you may wish to put it.

© 1998-2004