Solved

Automate MSVPN connection L2TP

Posted on 2013-05-31
10
327 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
  • 6
  • 4
10 Comments
 
LVL 39

Accepted Solution

by:
footech earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
I tried the CMAK possibilities exist with that.
0
 
LVL 39

Expert Comment

by:footech
Comment Utility
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
Comment Utility
How can you run CMAK on a 64 bit windows 7 machine?  Most people have 64 bit.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 39

Expert Comment

by:footech
Comment Utility
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
Comment Utility
So basically run CMAK on 32 bit and there's an option for 64 bit?
0
 
LVL 39

Expert Comment

by:footech
Comment Utility
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
Comment Utility
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
Comment Utility
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
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.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now