Discussion Locked

Security

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We have a WIN2000 Netwrok with approximately 25 PC's. Is there anyway to automatically "Log Off" a WIN2000 Workstation due to inactivity?

8 replies

by jschein

Have a look at "winexit" from the resource kit; it's a screensaver that does a logoff.

WinExit is a screen saver that logs the current user off after the specified time has elapsed. In other respects it is similar to other screen savers and can be configured and tested on the Screen Saver tab of the Display Properties dialog box in Control Panel.

WinExit displays a dialog box containing the countdown timer and a user-defined message. When the countdown timer reaches zero, the logoff process is initiated.

Note
In order for non-administrators to be able to use WinExit, you must add Set Value and Create Subkey permissions for the group Everyone on the registry key:
HKEY_Local_Machine\Software\Microsoft\WindowsNT\CurrentVersion

by jschein

Ok, this will work as well then:

Create a shortcut on the desktop...

Right click anywhere on your desktop and choose "New..." then "Shortcut".
Enter the following text in the box

%windir%\system32\rundll32.exe user32.dll,LockWorkStation

Click next and name the shortcut "Lock Workstation" or similar.

The default icon is a bit naff, so right click on the new shortcut and choose Properties. Then choose "Change Icon". You can use any icon you like, however one that is suitable is a picture of two keys. Use browse to find "C:\Windows\System32\migpwd.exe" or "C:\Winnt\system32\migpwd.exe".

Once you have done this... you can hide that shortcut anywhere on the pc or on a server.... Go into that workstation, scheduled tasks, and add that icon to the scheduled tasks list... Pick any time, daily... When done, go into advanced properties... Set it to RUN WHEN IDLE for how ever many minutes you want. Ensure that is your only check... Test it... Should be good to go.

No screensaver, except windows default after so much time of inactivity after being locked.

by gbalonek

Found WINEXIT. It seems to work fine except it is not able to close Outlook so that the PC can Log Out.

This discussion is closed to new replies.