Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We use a Windows PPTP VPN connection to get onto our network's VPN.

Is there a way I can write a batch script or export my settings to add this VPN connection to another person's computer. I also need to be able to set certain things like "Do not use default gateway" and add a WINS server.

share|improve this question
up vote 1 down vote accepted

You're looking for the Connection Manager Administation Kit. You can use this tool to create a program to automatically configure client computers with a "connection" to your VPN server. It's actaully rather nice to use. We take the output from the CMAK and deploy it onto clients with startup scripts, but you could definitely email the resulting EXE (or a link thereto) to clients for them to execute.

The CMAK is an Add/Remove Windows Components option in Windows Server 2003 and an a "feature" (if I recall properly) on Windows Server 2008.

share|improve this answer

If anywhere this would probably be in the registry somewhere. You might be able to export/import that way.

You could also use something like powershell.

share|improve this answer

Your Answer


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.