I would like to perform the equivalent to the following steps but from the command line:

Control Panel / Network and Sharing Center / Set up a new connection or network

Wizard starts -> Connect to a workplace / Create a new connection / Use my Internet connection (VPN) / IP Address and Destination Name, etc.

I think that I might be able to do this with something like netsh but I could really use some assistance in jump starting this.

Can anyone help, even if its only to tell me it can't be done that way ;-)

Many thanks

migrated from stackoverflow.com Jun 10 '11 at 19:26

This question came from our site for professional and enthusiast programmers.


Use the Connection Manager Administration Kit (CMAK) to create a profile that can be distributed / installed in a silent mode on the client.

This is a nice screenshot walkthrough:


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.