Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|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

3 Answers 3

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.

share|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

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

share|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

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

If this helps you, upvote his answer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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