Run script when connecting via VPN

  • Thread starter Thread starter Jordan
  • Start date Start date
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.
 
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
 
Sorry, but I am looking to run a script once a VPN connection has been
established. Not automatically fire up a VPN connection.
 
Back
Top