Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to create a hyperlink that will invoke a Remote Desktop connection to a Windows Machine?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

Not as such. You could save an RDP file on your server and offer a link to that, so long as your MIME types are correctly set-up on the server it should download and then when opened by the user, should open RDP with the right settings.

Your not going to be able to just run an executable (in this case mstsc.exe) straight from the browser, that would be a pretty big security hole, the user will need to download something and consciously open it.

share|improve this answer

As Sam mentioned, just store a RDP file on your server or write something that will generate the RDP file for you.

The MIME type you need to send is "application/x-rdp".

I am not sure exactly what you are needing. Another option may be too use a java applet RDP client. For examople (http://properjavardp.sourceforge.net/)

share|improve this answer

There is a workaround if you only need it for personal use. You could create custom protocol handle and use it through your HTML. Here is a good example.

share|improve this answer

Your Answer

 
discard

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.