Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] logging users out
Prev Next
You are not authorized to post a reply.

AuthorMessages
AD000001396User is Offline

Posts:0

04/22/2006 7:38 AM  
Message body was not found.
lists1User is Offline

Posts:4

04/22/2006 2:13 AM  
Guess
you'll have to do that by yourself, e.g. logon-script shutdown -l -t
3600

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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of shereen
naserSent: Saturday, April 22, 2006 9:38 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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.
bdesmondUser is Offline

Posts:416

04/22/2006 7:51 AM  
There™s a GP option to kick users off after logonhours
expire if you use that option¦



Thanks,
Brian Desmond

brian@xxxxxxxxxxxxxxxx



c - 312.731.3132







From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Ulf B.
Simon-Weidner
Sent: Saturday, April 22, 2006 10:13 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] logging users out



Guess
you'll have to do that by yourself, e.g. logon-script shutdown -l -t 3600



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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of shereen naser
Sent: Saturday, April 22, 2006 9:38 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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.
AD000001178User is Offline

Posts:0

04/22/2006 8:00 AM  
Ulf is correct.

Just create a logon script and you can do what you want to.

--
Ravi Dogra
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/
listmailUser is Offline

Posts:497

04/23/2006 6:23 AM  
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of shereen
naserSent: Saturday, April 22, 2006 3:38 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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.
adwulfUser is Offline

Posts:39

04/23/2006 12:57 PM  
On 4/22/06, shereen naser 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/
AD000001396User is Offline

Posts:0

04/24/2006 4:07 AM  
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of shereen naser
Sent: Saturday, April 22, 2006 3:38 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx

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.
lists1User is Offline

Posts:4

04/24/2006 6:09 AM  
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of shereen
naserSent: Monday, April 24, 2006 6:07 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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

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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto: ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of
shereen naser
Sent: Saturday, April 22, 2006 3:38
AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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.
tonyszkoUser is Offline

Posts:56

04/24/2006 7:27 AM  
On Mon, 24 Apr 2006 08:08:08 +0200, Ulf B. Simon-Weidner wrote
> 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.

Same functionality, but for me more comfortable in use - psshutdown.exe from
www.sysinternals.com

--
Tomasz Onyszko - T.Onyszko@xxxxxx
http://www.w2k.pl

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/
listmailUser is Offline

Posts:497

04/28/2006 2:37 AM  
Review the sysinternals EULA... It has come to my attention it has changed
recently and it may make it a little more difficult to use these tools.

joe
--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm


-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tomasz Onyszko
Sent: Monday, April 24, 2006 3:26 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] logging users out

On Mon, 24 Apr 2006 08:08:08 +0200, Ulf B. Simon-Weidner wrote
> 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.

Same functionality, but for me more comfortable in use - psshutdown.exe from
www.sysinternals.com

--
Tomasz Onyszko - T.Onyszko@xxxxxx
http://www.w2k.pl

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/

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/
listmailUser is Offline

Posts:497

04/28/2006 2:37 AM  
Ack sorry... lost in work and real life.


http://www.joeware.net/win/free/tools/qlogoff.htm

It actually was up on my site, I just didn't have it linked
into the navigation for some reason, that is now corrected.

  joe


--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 


From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of shereen
naserSent: Monday, April 24, 2006 12:07 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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

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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto: ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of
shereen naser
Sent: Saturday, April 22, 2006 3:38
AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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.
laurahcomputingUser is Offline

Posts:48

05/01/2006 8:40 AM  
If you're dealing with XP boxen, you can also look at the XP Shared
Computing Toolkit, it has an automatic logout function as well as a
"logout after X minutes of idle time" dealie. You can deploy it to
standalone machines or to AD-joined machines using GPO.

On 4/27/06, joe wrote:

Review the sysinternals EULA... It has come to my attention it has changed
recently and it may make it a little more difficult to use these tools.

joe
--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tomasz Onyszko
Sent: Monday, April 24, 2006 3:26 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] logging users out

On Mon, 24 Apr 2006 08:08:08 +0200, Ulf B. Simon-Weidner wrote
> 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.

Same functionality, but for me more comfortable in use - psshutdown.exe from
www.sysinternals.com

--
Tomasz Onyszko - T.Onyszko@xxxxxx
http://www.w2k.pl

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/

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/


--
-----------------------
Laura E. Hunter
Microsoft MVP - Windows Server Networking
Author: _Active Directory Consultant's Field Guide_ (http://tinyurl.com/7f8ll)
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/
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] logging users out



ActiveForums 3.7
AdventNet Banner
Friends

Friends

Namescape
Members

Members

MembershipMembership:
Latest New UserLatest:kosciesza69
New TodayNew Today:3
New YesterdayNew Yesterday:1
User CountOverall:4319

People OnlinePeople Online:
VisitorsVisitors:77
MembersMembers:0
TotalTotal:77

Online NowOnline Now:

Ads

Copyright 2008 ActiveDir.org
Terms Of Use