Did you try shutdown.exe? The parameters /l /f /t 3600 allow you to time it for an hour after executing it, and to force a logoff. No need to script around using additional timers or scripts.

Gruesse - Sincerely,

Ulf B. Simon-Weidner

  MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
  Weblog: http://msmvps.org/UlfBSimonWeidner

  Website:
http://www.windowsserverfaq.org
  Profile:   http://mvp.support.microsoft.com/profile=""> 
  

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shereen naser
Sent: Monday, April 24, 2006 6:07 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] logging users out

Thank you all for the helpful hints,
Yes exactly, I want it to log of users whether they object or not, please can you post it or send it to me?
Thanks


 
On 4/23/06, joe <[EMAIL PROTECTED]> wrote:
Do you want this to be something that logs the user off whether or not they object? If so, I have a qlogoff tool that will log someone off immediately and they will lose whatever they are working on. I thought I posted it to the website but I don't see it. But I can post it.
 
Firing it after one hour will be a little involved. You will have to have some sort of timer app running in the background.
 
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of shereen naser
Sent: Saturday, April 22, 2006 3:38 AM
Subject: [ActiveDir] logging users out

 
Hi list,
how can I set Active directory to log out users after a specific period of time, say an internet cafe wants to log the users out after one hour? I don't want to use account expires, I want the account to be still active but to log the users out and they can re-login after that no problem.

Reply via email to