Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Remote Desktop / July 2008

Tip: Looking for answers? Try searching our database.

Run script when connecting via VPN

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jordan - 16 Jul 2008 14:19 GMT
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.
Robert L. (MS-MVP) - 16 Jul 2008 20:24 GMT
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

Signature

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

> 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
[quoted text clipped - 14 lines]
> connection so they don't have to remember to run it when they have the
> issue.
Jordan - 18 Jul 2008 02:34 GMT
Sorry, but I am looking to run a script once a VPN connection has been
established.  Not automatically fire up a VPN connection.

> You may have many options. 1. use CMAK. 2. Create a batch file include
> rasdia and mapping. This how to may help.
[quoted text clipped - 22 lines]
>> RRAS connection so they don't have to remember to run it when they have
>> the issue.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.