On 4/22/06, shereen naser <[EMAIL PROTECTED]> wrote: > > 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.
I'm sure I have a copy of a logoff.exe file somewhere, which forces all apps to close and takes you back to the 'press ctrl+alt+del to logon' screen. Perhaps you could add it in as a scheduled task, or use the 'at' command in a logon script (or startup group or HKLM\Software\Microsoft\Windows\CurrentVersion\Run for 'standalone' workstations) to schedule it to run exactly one hour after logon. The only problem you'll have is if people want to stay on for two hours. -- AdamT 'Thank-you for not requesting read receipts' List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/