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.
rasdial <connection> <user> <password>
There may be a way to lock the credentials in a file, I can't remember.
...kurt