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 ___
William Albert <(E-Mail Removed)> wrote on 04 jun 2005 in
microsoft.public.win2000.termserv.apps:
> 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