Solved

Automate MSVPN connection L2TP

Posted on 2013-05-31
10
334 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
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
 
LVL 39

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
Backup Your Microsoft Windows Server®

Backup 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 39

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 39

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cannot unmapped a network drive 10 77
Authenticated Users 5 26
SQL Server error 26 103
Windows 7s template 4 39
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…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
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 download and install the SARDU utility on Windows 7, without downloading adware.

910 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

23 Experts available now in Live!

Get 1:1 Help Now