Re: Command Line (Batch) Disconnect User
- From: "Herb Martin" <news@xxxxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 22:08:01 -0500
" 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: Newscene
- Re: Command Line (Batch) Disconnect User
- References:
- Command Line (Batch) Disconnect User
- From: Newscene
- Command Line (Batch) Disconnect User
- Prev by Date: Re: VPN connection works, lan access fails
- Next by Date: Share Win Srvr 2003 internet conenction with a Mac
- Previous by thread: Command Line (Batch) Disconnect User
- Next by thread: Re: Command Line (Batch) Disconnect User
- Index(es):
Relevant Pages
|
Loading