Windows Registry Editor Version 5.00 ; Credit: Lonnie Huchinson's comment at http://rogierg.blogspot.com.au/2007/03/run-vnc-and-rdp-from-hyperlinks.html [HKEY_CLASSES_ROOT\rdp] @="URL:Remote Desktop Connection" "URL Protocol"="" [HKEY_CLASSES_ROOT\rdp\DefaultIcon] @="%SYSTEMROOT%\\System32\\mstsc.exe" [HKEY_CLASSES_ROOT\rdp\shell] [HKEY_CLASSES_ROOT\rdp\shell\open] [HKEY_CLASSES_ROOT\rdp\shell\open\command] @="cmd /V:ON /s /c set url=%1 && set url=!url:rdp:=! && set url=!url:/=! && start %%SYSTEMROOT%%\\system32\\mstsc.exe /v:!url!"