Novell is now a part of Micro Focus

Invoking Windows Screensaver with NT4Lock

Novell Cool Solutions: Trench
By Anders Gustafsson

Digg This - Slashdot This

Posted: 20 Dec 2000

Current version: ZENworks for Desktops 3

This is an application to invoke the NT4, Windows 9.x, or Win2000 screensaver.


Copy the executable into c:\winnt or other suitable directory in the path and add an icon on the desktop, named "Lock this PC"

Add the following registry-entries:

HKCU\Control Panel\Desktop\ScreenSaveActive = 1
HKCU\Control Panel\Desktop\ScreenSaverIsSecure = 1
HKCU\Control Panel\Desktop\ScreenSaveTimeout = timeout in seconds
HKCU\Control Panel\Desktop\SCRNSAVE.EXE = %SystemRoot%\System32\Appropriate screen saver.scr

The ideal way to distribute this, as well as the app itself and the icon, (plus doing nifty things like using the User's name for the marquee or 3-D text) is to use ZEN for Desktops. You can even do this with the free Starter Pack, available from the Novell Downloads page.

Win95 and 98

Create an icon that does a "Start savername.scr", for example "start marquee.scr".

Note: For a way to use the NetWare password to unlock, have a look at the REG-file (scrsav.reg) which is included in the zip file below.

Another option (if you have Office installed) is running "C:\Program Files\Microsoft Office\Office\OSA.EXE" with the parameter "-S" will start whatever screen saver is currently configured as default.


Create an icon that does a "rundll32 user32.dll.LockWorkStation" (case sensitive).


You may use this program as you wish. Should you find it useful, please send me a postcard. The address is:

Pedago Interaktiv Ab
Att: Anders Gustafsson
Nygatan 7B
FIN-22100 Mariehamn, Åland, FINLAND.


About Pedago Interaktiv Ab

Pedago Interaktiv Ab is a consulting company, located on the Åland Islands in Finland. We specialise in:

  • Network planning and implementation
  • Training (instructor-led and CBT-BASED)
  • Application develoment

For more information please contact or

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates