Automatically logging users off of a terminal server

  • Thread starter Thread starter William Albert
  • Start date Start date
W

William Albert

Is there a way to automate an event that will log all users off of a
Windows 2003 terminal server at a specific time? I'm trying to enforce
logon hours, and I need to be able to automatically log users off when
their logon hours expire. I have a script that will log them off of
their individual machines, but not from terminal services.

Thanks,
William
 
Are you using the logon hours settings in the User account properties
in AD?
Have you tried configuring a GPO with the "Disconnect clients when
logon hours expires" setting, under
Computer configuration - Windows settings - Security settings - Local
Policies - Security options

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
___ please respond in newsgroup, NOT by private email ___
 
Vera said:
Are you using the logon hours settings in the User account properties
in AD?
Have you tried configuring a GPO with the "Disconnect clients when
logon hours expires" setting, under
Computer configuration - Windows settings - Security settings - Local
Policies - Security options

_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
___ please respond in newsgroup, NOT by private email ___

microsoft.public.win2000.termserv.apps:

I have configured logon hours for the specified users, and I have made
sure that the group policy setting forcing users to log off when logon
hours expire is set, and that the GPO applies to the users in question.

I logged in to the terminal server as a user that with logon hour
restrictions minutes before the restrictions kicked in, and waited to be
logged off. I lost connections to my network drives (as expected), but
it didn't log me off of the terminal server.
 
Back
Top