I don't think that last script would work, becuase the users are going in
from the lan, not remote.
"Revenger" <> wrote in message
news:cc7e5ymdxe5b$.18r2gra14crvx$... .
> On Sat, 28 Mar 2009 20:30:09 -0700, Sue wrote:
>
>> hello. Also thankyou Pegasus for your last script.
>> I need a script to log off users from my SBS 2003 server. I have told
>> them
>> they have to do it, but sometimes they forget.
>> A little info about the server
>> users folders are redirected to the server.
>
> Try this batch file ... I wrote it for a coleague of mine who had to
> disconnect RDP sessions to make a backup:
>
> echo off
> FOR /F "usebackq delims== " %%i IN (`"query session | find "rdp-tcp#""`)
> DO
> logoff %%i
>
> You have to run this from the console session ... It will disconnect all
> users except the one where the script is running from.
>
> --
> Pozdrav
>
> Jednom su izmislili papir po imenu Chuck Norris, ali papir nije dopuštao
> da
> itko sere po njemu !
|