VBscript to create VPN connection

Hi,

I got a network with many client in XP ,Vista and win 7

I would like to have a VBscript,so I can deploy it on logon script.

please help me!

thanks

June 30th, 2010 10:53am

You do not really need a script - a single command line will do the trick:

rasdial NameOfVPN UserName Password /phonebook:"c:\SomeFolder\rasphone.pbk"

You need to look for the rasphone.pbk file on your machines. Note that recording a password in a script or batch file represents a security risk.

Free Windows Admin Tool Kit Click here and download it now
June 30th, 2010 11:35am

thanks,that is good command but,

I got this problem that some of my user are not in domain and I want to create a VPN connection for once and one more thing they all have different user name and password

thanks again

July 1st, 2010 8:39am

Free Windows Admin Tool Kit Click here and download it now
May 1st, 2015 3:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics