Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Connect VPN through rasdial

162 views
Skip to first unread message

je79...@mail.dk

unread,
Apr 7, 2006, 7:44:49 AM4/7/06
to
I'm running a standard Windows VPN connection from Asia to Europe. The
connection is quite unstable which means that often I can't connect.
Also I get disconnected even though it seems like I'm still connected
(i.e. the icon in the taskbar is still showing that I'm connected).
That means that it doesn't redial when connection is lost.

To help my users on site I've created a batch file that runs when the
computers starts. It's the following commands:

rasdial server /disconnect
start c:\server.lnk

The server.lnk is the VPN connection and has the following settings:

Disabled: "Display progress while connecting" and "Prompt for name and
password"
Redial attempts: 100
Time between redial attemps: 1 second

I've done this to make it easy for the users. If the connection is lost
they just run the batch file which disconnects the "active" VPN
connection and starts it again.

My problem is when it's redialing that everytime it can't connect it
will pop up the dialer window for 1 second. That is quite annoying to
my users but unfortunately I can't choose 0 second in the connection
properties.

So is it possible to make this batch file purely through the rasdial
commands? What I would like is that the batch file just stays minimized
on the taskbar and keeps trying to connect without prompting the user
for anything.

Kurt

unread,
Feb 27, 2007, 4:09:58 PM2/27/07
to

rasdial <connection> <user> <password>

There may be a way to lock the credentials in a file, I can't remember.

...kurt

0 new messages