Re: Command Line (Batch) Disconnect User



" 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

  • Command Line (Batch) Disconnect User
    ... Is there a way to force a RAS client to dicsonnect using a command line ... I have a network monitor running that test a number of system services, ... batch if it detects that a function, server, etc., has "failed". ...
    (microsoft.public.win2000.ras_routing)
  • Re: Command Line (Batch) Disconnect User
    ... Thanks, but we want to force disconnect from the server end, not the client ... >> Is there a way to force a RAS client to dicsonnect using a command line ... This monitor is capable of firing a command line ...
    (microsoft.public.win2000.ras_routing)
  • Changing DB at runtime of Command-based reports.
    ... We've been working with CR9 and RAS here, and it's just been one issue ... actually is a command. ... database - implying that SetConnectionInfos doesn't work. ... Dim SQLConnectionAtts As CrystalReportsDataDefModelLib.PropertyBag ...
    (microsoft.public.vb.crystal)
  • Re: Starting RRAS disables one network card- win2K Server
    ... Having the same problem on a Windows SBS 2003 server. ... command or batch file to run after the Ras has diable the network card ...
    (microsoft.public.win2000.ras_routing)
  • Re: Pls Help
    ... > are there any API or vb command to run a Dial-up connection from VB program ... > or from Access form ... Have a look at the Ras*() API's or shell out to RASDIAL ...
    (microsoft.public.vb.winapi)

Loading