Super User is a question and answer site for computer enthusiasts and power users. 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

Is it possible to have a URL that launches a remote desktop session? I realize it may be considered a security vulnerability for some, but the convenience would really save me a lot of time.

I would like to have a hyperlink like: remotedesktop:// where clicking on it launches mstsc.exe with the target computer filled in (in this case with

How best to set this up?

share|improve this question
up vote 12 down vote accepted

You could use a custom URL protocol handler, but this would mean the URLs only worked on computers where you had set this up. I think you'd also need a program to handle taking the URL as remotedesktop:// and converting to / - although a batch file could probably do this.

See for more information.

share|improve this answer
This is the real answer, I was just hoping for an easier/established way to do it. – optus Aug 3 '11 at 17:50
For those finding this via searches or other sources, try this. – peelman Feb 7 '15 at 17:08
Something like rdp:// – Fernando Kosh Jul 23 '15 at 16:40

I originally said no, but if you have XP, there is something called the Remote Desktop Web Connection. I initially forgot there was a version for XP.

share|improve this answer
There was something similar for Small Business Server 2003 called Remote Web Workplace, but even then, you could not use a direct URL. – KCotreau Jul 18 '11 at 17:10
Correct me if I'm wrong- this requires me to install/configure something on each server that I would like to connect to? That's going to be prohibitive for me. Thanks though! – optus Jul 18 '11 at 17:47
Yes that would be correct. And I agree, it is a pain in the neck...but you asked. :) Support for this was dropped as of Vista. – KCotreau Jul 18 '11 at 23:08

I think this would work, and might be the effect you are looking for:

With your local copy of Remote Desktop, set up a connection to the target host. But don't connect; instead, save the connection as an RDP file.

Place that file on your web server. Serve the file with a standard <A HREF=''> link. (Note: you may need to update your web server config to "download" this file rather than "serve" it to the web browser.)

The user will probably need to know to run the downloaded file... but it should get their computer to launch RD and initiate a connection to the target host.

share|improve this answer

It's not quite what you want, but with Windows Server 2008/R2, you can have your RemoteApps and RDP machines shown on a TS/RD Web Access webpage.

In conjunction with TS/RD Gateway, you could have RDP working through port 443, which is useful in places that block other ports.

TS Web Access

share|improve this answer
I sense that he means directly to his computer, like to a home computer. I could be wrong though. – KCotreau Jul 18 '11 at 17:20

Old topic, but Chrome has a remote desktop plugin to do that.

You also have HTML5 based solutions like Guacamole for Linux or Myrtille for Windows.

share|improve this answer

For Windows 8.1, Windows Server 2012 R2 there is now the Remote Desktop Client URI Scheme Support, see -

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .