Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Is there a way to direct the user automatically to his own PC when Remote Desktop is launched (rather than having the user type in the PC name), other than use pre-saved rdp files?

The situation is this: our office enables remote access only in emergency situations and I would like to give users a USB stick with the pre-configured VPN client and the RDP client (all windows). Since there are many users, it's impractical to manually generate the .rdp files for each one. Hence the question.


share|improve this question
up vote 2 down vote accepted

Yes, but with caveats. You can assign users a Personal Virtual Desktop that is their own RDP Enabled desktop in AD. You have to setup the Remote Desktop Session Broker, Remote Desktop Gateway, and Remote Desktop Web Access. They go to the website, click "My Desktop", easy from there...
and Bob's your uncle.

share|improve this answer

A .RDP file is simple text, so you could script the generation of them (provided you can look them up from a database).

share|improve this answer

No, this is not possible. Users will need to know their PC name, or an admin will have to retrieve it from an asset management system.

share|improve this answer

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.