Re: Command Line (Batch) Disconnect User
- From: " Newscene" <not_real@xxxxxxxxxxxx>
- Date: 11 Apr 2005 15:00:04 -0500
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.
>
>
.
- Follow-Ups:
- Re: Command Line (Batch) Disconnect User
- From: Herb Martin
- Re: Command Line (Batch) Disconnect User
- References:
- Command Line (Batch) Disconnect User
- From: Newscene
- Re: Command Line (Batch) Disconnect User
- From: Herb Martin
- Command Line (Batch) Disconnect User
- Prev by Date: Share Win Srvr 2003 internet conenction with a Mac
- Next by Date: RAS Policy configuration
- Previous by thread: Re: Command Line (Batch) Disconnect User
- Next by thread: Re: Command Line (Batch) Disconnect User
- Index(es):
Relevant Pages
|