Re: Command Line (Batch) Disconnect User



Thanks, but we want to force disconnect from the server end, not the client
(rasdial) end


"Herb Martin" <news@xxxxxxxxxxxxxx> wrote in message
news:uojvnSkPFHA.2252@xxxxxxxxxxxxxxxxxxxxxxx
>" Newscene" <not_real@xxxxxxxxxxxx> wrote in message
> news:42596ca8$0$3223$bb4e3ad8@xxxxxxxxxxxxxxx
>> Is there a way to force a RAS client to dicsonnect using a command line
>> (batch)?
>
> RasDial -- it's in System32 on the path.
>
> RasDial /?
>
> rasdial [entryname] /DISCONNECT
>
>> I have a network monitor running that test a number of system services,
>> server, functions, etc. This monitor is capable of firing a command line
> or
>> batch if it detects that a function, server, etc., has "failed". In this
>> case we are monitoring a remote function over a VPN RAS and it
> periodically
>> fails to respond. However if we disconnect the RAS it will dial in again
> by
>> itself and we can monitor it again.
>>
>> So I'm looking for a way to force the dicsonnect when we detect it isn't
>> responding and thus force it to redial and reestablish the connection.
>
> There is also some code in MSDN samples I think if RasDial
> doesn't do it.
>
> Probably VBS too.
>
>


.



Relevant Pages