Does anybody know if its possible to create a Windows PPTP VPN connection from the command line for XP/Vista machines? This will allow me to do somethings via Group Policy.

Regards

link|improve this question
Are you talking about a pptp VPN connection? – geeklin Aug 25 '09 at 15:08
Sorry - yes its a PPTP VPN with XP/Vista Clients. – hulbs9nw Aug 25 '09 at 15:24
feedback

3 Answers

You'll really enjoy the Connection Manager Administation Kit if you want to create a maintainable method for distributing VPN connection information. The CMAK also lets you do some neat things like running a script when the VPN connection starts.

You can use this tool to create a program to generate an EXE that automatically configures client computers with a "connection" to your VPN server. We typically deploy it onto client computers using startup scripts with a registry-based versioning mechanism to cause computers to install new versions if we deploy them.

link|improve this answer
1  
+1 This is the best way to go. Use the isaserver.org/img/upl/vpnkitbeta2/cmak.htm tutorial and you're good to go. – Hondalex Aug 25 '09 at 18:32
feedback

Not sure what the details are (OS version and type of firewall), but NETSH should do the trick for you. See if this helps:

http://www.windowsnetworking.com/articles_tutorials/Configure-Windows-2008-Advanced-Firewall-NETSH-CLI.html

link|improve this answer
I have managed to solve my problem by using the information in the following link:- experts-exchange.com/Software/System_Utilities/Remote_Access/… – hulbs9nw Aug 25 '09 at 16:18
feedback

RASDIAL is what you're looking for -- see my question, answered by John Rennie.

If this helps you, upvote his answer.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.