Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In previous versions of the remote desktop client there were methods of passing in the password through various methods. Has anybody found a good method using the latest remote desktop client? I'm aware of LaunchRDP but that doesn't meet our needs.

Perhaps somebody knows the algorithm so I can dynamically assemble RDP connection files?

share|improve this question

I still have connection files with saved passwords that were saved and they still work.

The .rdp format is actually fairly decently documented, see these:

Some documentation about the password hashses is at:

share|improve this answer
Yes, but that's not what I'm asking. I need to be able to dynamically assemble rdp connection files via a script. – Will Aug 4 '09 at 1:37
Thank you for your help, but neither of these articles help. What I'm looking for is to how to generate the password hash that is used in the RDP files on the fly OR launch remote desktop with the password through command line options. – Will Aug 4 '09 at 11:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.