Solved

Automate MSVPN connection L2TP

Posted on 2013-05-31
10
346 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Suggested Solutions

Title # Comments Views Activity
Logon script fails 23 60
Upgrading Windows 7 2 32
Google photos - how to do a download dump? 15 73
Outlook & Word 2016 - Emoji in AutoCorrect screwed up 31 68
So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
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…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

740 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