Solved

Automate MSVPN connection L2TP

Posted on 2013-05-31
10
351 Views
Last Modified: 2013-06-02
Is there anything either I can down load or write to automate the setup of an L2TP connection for windows 7.  I have written instructions but my boss feels it's too complicated for the average user.  I'm looking for something that's free if possible.
0
Comment
Question by:WellingtonIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
10 Comments
 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 39211633
You can use a Connection Manager package, or it's possible to use PowerShell to create the connection.  Here's a link to a thread which describes the PowerShell solution.
http://www.experts-exchange.com/Software/System_Utilities/Remote_Access/VPN/Q_27931690.html#a38588053

And for Connection Manager
http://blogs.technet.com/b/rrasblog/archive/2009/03/25/remote-access-deployment-part-1-configuring-remote-access-clients.aspx
0
 

Author Comment

by:WellingtonIS
ID: 39211704
that would be great if there users were on site. They are not.  I was looking for something like a .exe or script that I can create that will install the connection so they can just click on it.
0
 

Author Comment

by:WellingtonIS
ID: 39211746
I tried the CMAK possibilities exist with that.
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 40

Expert Comment

by:footech
ID: 39211980
With the PowerShell solution, you could create a batch file that would call the PS script, such that if all files were in a folder you could just click on the .BAT file to create the connection.

But yes, the CM package is even easier with just the .exe.
0
 

Author Comment

by:WellingtonIS
ID: 39213229
How can you run CMAK on a 64 bit windows 7 machine?  Most people have 64 bit.
0
 
LVL 40

Expert Comment

by:footech
ID: 39213636
As the CMAK states on the second screen when you run it, you have to create the package on the same architecture as it will be deployed to.  So if you're running CMAK on 2008R2, it is always 64-bit (or you could use 64-bit Windows).  If you need a 32-bit package, you'd have to run CMAK on a 32-bit Windows machine.
0
 

Author Comment

by:WellingtonIS
ID: 39214469
So basically run CMAK on 32 bit and there's an option for 64 bit?
0
 
LVL 40

Expert Comment

by:footech
ID: 39214787
No.  Run CMAK on 32-bit and you'll get 32-bit.  Run CMAK on 64-bit and you'll get 64-bit.
0
 

Author Comment

by:WellingtonIS
ID: 39214845
OK 64 bit Windows 7 does NOT have CMAK. I haven't checked 64 bit server but can you use 64 bit server CMAK on a Windows 7 machine?
0
 

Author Closing Comment

by:WellingtonIS
ID: 39214871
Ran CMAK on 64 bit server for windows 7 and it worked perfectly.  Ran 32 bit windows CMAK on Windows 7 32 bit and that worked great too.  Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question