Automatically Log Off Users When Time Expires

K

Ken

When I try to use the "Automatically Log Off Users When
Time Expires" GPO it does nothing. I log a user in, open
a file and have their login hours set to 8-11. at 11:05
The file is still open and the user is still logged in. if
I log off and try to log in, I am locked out. I have
tried the (local) as well and it did nothing.

Here is my situation - I am open to other suggestions,
except 3rd party software. and I have never used scripting
(I know I need to learn).

win2k file server
win2k Citrix server
winXP pro workstations and win 98 workstations.
Lots of users who forget to log off
files not getting backed up

My workstation needs to stay connected to run a reindex
utility.

Any suggestions would be appreciated.
 
R

Richard Brown

It would be helpful to know which computers are not getting logged off... I
believe that workstations with anything before Windows 2000 are not affected
by this, but I could be wrong. I had horrible problems trying to enforce
things when all of our workstations were Windows 98. Now that they are XP,
everything seems to be being enforced, for the most part.
 
K

Ken

None of the workstations are being logged off. I have a
number of win XP workstations, 98 Workstations, and users
coming in through Citrix (Terminal Services) on a W2k
Server.
 
T

TonyEdwards

In your logon script set the time out for the screen
saver,disable lock computer, in the windows resource kit
there is a utility called Winexit.scr which will log
usesers off...force all your users to use this as their
screen saver.

Here is the code from my script:
WshShell.RegWrite "HKCU\ControlPanel\Desktop\ScreenSaveAct
ive" , "1"
WshShell.RegWrite "HKCU\ControlPanel\Desktop\ScreenSaveTim
eOut" , "600"
WshShell.RegWrite "HKCU\ControlPanel\Desktop\SCRNSAVE.EXE"
, systemRoot & "\System32\Winexit.scr"
WshShell.RegWrite "HKCU\Control Panel\LogoffreenSaver", ""
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top