Windows NT Force Logoff Due to Inactivity

  • Section(s): Logon
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 3.8 out of 5 based on 4 votes.
Windows NT Resource Kit includes winexit.scr which functions like a screen saver. Winexit can be configured and tested on the Screen Saver tab of the Display Properties dialog box in Control Panel. You set the number of minutes of inactivity allowed. There is a Force Application Termination checkbox which if selected will have the system close all running applications regardless of their current state. Ouch! if data is unsaved. Hopefully you have word processors and other applications configured to periodically save data. You can chose to have the user logged off 0 - 999 seconds after the inactivity limit has been reached.

There is a configuration problem. You have to grant the users Set Value and Create Subkey permissions for the following registry key:

HKEY_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion

The other problem is that there are lots of ways for users to disable the screen saver.

A commercial alternative is the utility, NetOFF which has the additional capability to automatically saves user's open files and closes open applications.

Another commercial alternative is the utility, Screen Pass .

About Wayne Maples


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Anti Spam Hardware solution?

Follow TechGenix on Twitter