How to enforce log off in WinXP when user was loged on 2 hours?

How to enforce log off in WinXP when user was loged on 2 hours?

Post by dHU » Wed, 04 May 2005 21:14:03


How can I force users who are logged onto my domain to log off their computer
when usage times is 2 hours, and user can not logon agian until next day.
 
 
 

How to enforce log off in WinXP when user was loged on 2 hours?

Post by Jim Vierr » Thu, 05 May 2005 04:01:00

set logon hours. in GP set force logoff. in GP.

Run shutdown screensaver from resource kit to force logoff on workstation.

--
Jim Vierra

 
 
 

How to enforce log off in WinXP when user was loged on 2 hours?

Post by MV » Thu, 05 May 2005 04:07:48


You can't use this setting for console logoff.

This forced logoff policy is a policy for SMB server, i.e. the computer
which has a network share accessible from a network. This policy, if
enabled on a server, ends the users session with the server when their
logon hours expire.



If the request had been "log off the user account if it have been
inactive for 2 hours", I agree that this could have been an option.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.yqcomputer.com/
 
 
 

How to enforce log off in WinXP when user was loged on 2 hours?

Post by Jim Vierr » Thu, 05 May 2005 05:42:46

You can use psshutdown remotely to force a console logoff but you need to
prepare users. You can send a message with pshutdown and timeout and an
option to let users abort. If they abort n times then remove the option and
force a logoff.

The screensaver can do the same thing with a little work and will force the
logoff.

I deny connections to prevent users from sneaking in at the last second.
They login and can't get resources so don't start doing anything on the file
servers.

--
Jim Vierra
 
 
 

How to enforce log off in WinXP when user was loged on 2 hours?

Post by Jerold Sch » Fri, 06 May 2005 00:04:27


See tip 8900 in the 'Tips & Tricks' at http://www.yqcomputer.com/ for a solution you can modify.