I believe years ago (RDP version 4?) the password could be defined in clear
text within the RDP file but that is long unsupported. Here is a write-up and a
lively comments discussion on the MSTSC embedded password encryption function:
http://www.remkoweijnen.nl/blog/2007/10/18/how-rdp-passwords-are-encrypted/
it looks like they use the machine or user SID to salt the hash?
best,
alex
Alex Keller
Systems Administrator
Academic Technology, San Francisco State University
☛Burk Hall 155 ☎ (415)338-6117 ✉alkel...@sfsu.edu
-Original Message-
From: Josh Thompson [mailto:josh_thomp...@ncsu.edu]
Sent: Tuesday, November 22, 2011 11:12 AM
To: vcl-user@incubator.apache.org
Subject: Re: rdp file auto login
It's been several years since I tried to get this to work. However, unless
things have changed (which I'm guessing they haven't), you can't make it auto-
login. The password is provided in a clear text form in the rdp file.
Unfortunately, the windows and mac RDC apps won't use the clear text version.
You can save a password in an encrypted form in an rdp file; however, RDC uses
cryptographic stuff specific to the computer that actually saves the file,
meaning there's no way to generate the encrypted form of the password unless
you are actually on the end user's machine.
If anyone wants to try to investigate this again, I think everyone in the
community would love to see it work. Or, everyone can switch to linux/unix
platforms that can use rdesktop that will happily accept the password at the
command line. :) I have a nice wrapper script for rdesktop that will take the
rdp file and do the auto-login into the remote windows node.
Josh
On Tue November 22 2011 1:29:09 PM Gene Lui wrote:
Dmitri,
If you download the rdp file from the connection reservation and open
it with a editor, you see that the rdp file has both a user name and
password within the setting file. For example, the last rdp file had
the following key entries:
username:s:gkl25
clear password:s:LDgKQM
I would have thought that this would be passed to the remote desktop
when opening this file with mstcs. But it is not and I don't know if
this is how it normally works or is it suppose to be able to passed it
to the Win7 remote desktop and I'm doing something wrong.
- Gene
On Tue, 2011-11-22 at 13:17 -0500, Dmitri Chebotarov wrote:
Gene
I'm relatively new with VCL and I may be wrong. I could not find any
options in preferences for RDP file to include password. Having
password in RDP file would make it easier and if it's possible it would be
great.
I would like to have this option as well and will be looking into
the code which generates a RDP file for new reservations.
Thanks
On Nov 22, 2011, at 12:58 , Gene Lui wrote:
Thanks Dmitri,
Wanted to confirm if its possible by using the rdp file, users can
auto login with the mstsc (would be preferred over entering
password manually). Thanks for such a quick reply and answer to my
question.
Take care,
Gene
Drexel University
On Tue, 2011-11-22 at 12:47 -0500, Dmitri Chebotarov wrote:
Gene,
Username/password would be on your reservation page.
Username is Admin, password is generated for each reservation and
you need to type it manually when open RDP.
Thanks.
On Nov 22, 2011, at 12:32 , Gene Lui wrote:
Hi there,
I wonder if any of you bright individuals can help me out here
with this wonderful project you got here.
When I use the RDP file supplied on the vcl connection page
(Windows
7 client) , I assume it will automatically supply the
credentials to log into the remote desktop image (Windows 7
image). The problem is that it does not automatically logs in
and it prompts for my password.
Do I have this wrong and a password is needed to be manually entered?
If not, how do I enable the auto login? I have tried changing
group policy settings on the remote desktop host but nothing
works. I appreciate any help anyone can give.
Thanks,
Gene
Drexel University
-
---
Josh Thompson
Systems Programmer
Virtual Computing Lab (VCL)
North Carolina State University
josh_thomp...@ncsu.edu
919-515-5323
my GPG/PGP key can be found at www.keyserver.net