Solved

CMAK and "Automatically Use Windows Logon name and Password"

Posted on 2013-06-25
3
1,313 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
[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
  • 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

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