Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Scripting > Force to logoff

Reply
Thread Tools Display Modes

Force to logoff

 
 
Joe Perez
Guest
Posts: n/a

 
      10-22-2009
Hello,

I was hoping some one can help me. I'm try to force users to log off and
stay logged off for a certain period of time after they have been forced to.
Oh yeah... this is under an ACE server. Is this possible?

Your assistance is very much appreciated.

Thank you,


 
Reply With Quote
 
 
 
 
Pegasus [MVP]
Guest
Posts: n/a

 
      10-22-2009

"Joe Perez" <> wrote in message
news:u4$...
> Hello,
>
> I was hoping some one can help me. I'm try to force users to log off and
> stay logged off for a certain period of time after they have been forced
> to.
> Oh yeah... this is under an ACE server. Is this possible?
>
> Your assistance is very much appreciated.
>
> Thank you,


If you're talking about a Terminal Server: Use the "logoff" command -
http://technet.microsoft.com/en-us/l.../bb491070.aspx.


 
Reply With Quote
 
Joe Perez
Guest
Posts: n/a

 
      10-22-2009
Yeah. i got the log off set up. This is what I want to do next. I have
around 80 computers on a domain in a library. All the computers have 2 hour
time limit. once the time is up, patron are force to log off, but then can
log in with their same account. I want to prevent the same patron from
logging in again if some one who is waiting to use a computer. How can set
this up? Oh yeah, they can log back on after lest say 5 mins on that
particular station.

Your assistance is very much appreciated. Thank you!


"Pegasus [MVP]" <> wrote in message
news:...
>
> "Joe Perez" <> wrote in message
> news:u4$...
>> Hello,
>>
>> I was hoping some one can help me. I'm try to force users to log off and
>> stay logged off for a certain period of time after they have been forced
>> to.
>> Oh yeah... this is under an ACE server. Is this possible?
>>
>> Your assistance is very much appreciated.
>>
>> Thank you,

>
> If you're talking about a Terminal Server: Use the "logoff" command -
> http://technet.microsoft.com/en-us/l.../bb491070.aspx.
>



 
Reply With Quote
 
Pegasus [MVP]
Guest
Posts: n/a

 
      10-22-2009


"Joe Perez" <> wrote in message
news:%...
> Yeah. i got the log off set up. This is what I want to do next. I have
> around 80 computers on a domain in a library. All the computers have 2
> hour time limit. once the time is up, patron are force to log off, but
> then can log in with their same account. I want to prevent the same patron
> from logging in again if some one who is waiting to use a computer. How
> can set this up? Oh yeah, they can log back on after lest say 5 mins on
> that particular station.
>
> Your assistance is very much appreciated. Thank you!


The description of your requirements is a little vague but AFAIK there is no
facility built into Windows Servers to do this. However, since you're
posting in a scripting newsgroup, it would not take much of a script to do
this:
1. Use the logon script to add two lines of the following form
to these common files:
\\Server\Share\Disable.txt: - JPerez [date+2 hours]
\\Server\Share\Enable.txt: - JPerez [date+24 hours]
2. Create a script that will process each line of the above files:
When the System time is past any time stamp in Disable.txt
then disable that account and remove the entry from
Disable.txt.
When the System time is past any time stamp in Enable.txt
then enable that account and remove the entry from
Enable.txt.
3. Create a scheduled task that will invoke the above script
once every 5 minutes.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto LogOff after Inactivity VinnyL Windows Vista Administration 2 07-02-2009 09:23 PM
Auto logoff jack Windows Vista Administration 1 02-01-2008 09:14 PM
Can't force users to logoff Ziv Windows Vista Administration 3 07-11-2007 03:39 AM
Force user logoff from Task Manager SpaceJaguar Windows Vista Performance 0 04-12-2007 09:50 AM
how to force the index priority? Jeje Windows Vista File Management 0 02-16-2007 03:12 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59