Solved

CMAK and "Automatically Use Windows Logon name and Password"

Posted on 2013-06-25
3
1,266 Views
Last Modified: 2014-03-27
I've been trying to build a VPN "installer" that I can deliver via group policy, but I've hit a snag with CMAK.  CMAK will work almost perfectly, I just cant find a way to enable the  "Automatically Use Windows Logon name and Password" option.  Does anyone know if this is possible?
0
Comment
Question by:Mach03
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 39277914
Though I have used CMAK and blogged about it, I confess I have never tried saving the user name and password.  There are security issues with doing so, and users generally have to use the same VPN credentials as domain file access credentials due to the fact that a server will not allow multiple credentials to access resources simultaneously, from the same computer.  Therefore you would either need to create 1 deployable client for each user, or have all users access the server with the same credentials.  The later might even be a CAL licensing violation.

Having said that, you are supposed to be able to do so by creating your deployable client using CMAK, then in the folder created, use a text editor to edit the .cmp file.  
In the .cmp file there will be a section similar to:

    [Connection Manager]
    CMSFile=FolderName\FileName.cms  

Below that add:

    UserName=JohnDoe
    Password=MyPassword
    RememberPassword=1    (should not be needed)
    HideUserName=1   (optional – test first without this switch)
    HidePassword=1     (optional – test first without this switch)

However I have heard of people having problems with the password feature not working.  This may be due to policies or features on the specific computer using the client, relating to saving passwords.

Details and syntax for editing the .cmp file can be found 1/3 of the way down the following page.
http://technet.microsoft.com/en-us/library/cc939869.aspx
0
 

Author Comment

by:Mach03
ID: 39328412
After reading a few articles, the option has been removed for Windows 2008.  They are suggesting that it's not secure to have the user use the same username and password as the logged in user.   Don't really see the issue, but whatever.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 39328560
>>" it's not secure to have the user use the same username and password as the logged in user."
I would disagree with that.  It is common to configure  log onto VPN before local logon so you are truly authenticating to the domain.

However it is a security risk to store the password in CMAK as it is in clear text.

Thanks Mach03
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

809 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