Run script when connecting via VPN

J

Jordan

Is it possible to run a script when a user connects on the RRAS VPN
connection without having to choose to logon using dialup connection from
the Windows Logon screen?

I am having a name resolution issue with some users where they can't reach
one of my internal servers because a server name exists on their ISP's
network. When they try to resolve it, it goes to computer.their-isp.com
instead of computer.mydomain.com.

On some computers I just changed the binding orders of the adapters to have
the Remote Access Adapter at the top and this took care of the problem. I
then created a VBS script to do it for me automatically. But I still get
the problem where a user turns on their wireless adapter at home and then
the binding order changes when they are home.

It would be helpful if I could get my script to run when they use the RRAS
connection so they don't have to remember to run it when they have the
issue.
 
R

Robert L. \(MS-MVP\)

You may have many options. 1. use CMAK. 2. Create a batch file include
rasdia and mapping. This how to may help.
How to vpn automatically
You may have many options to connect a VPN server automatically when
logon a workstation. Here are some of them. 1. Add pre-setup VPN
auto-connection by ...
www.howtonetworking.com/VPN/autorasdial1.htm


--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
 
J

Jordan

Sorry, but I am looking to run a script once a VPN connection has been
established. Not automatically fire up a VPN connection.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top