Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

[Help] Trying to add to XP network right click menu


ricktendo
 Share

Recommended Posts

I would like to add this regtweak to XP, you right click on a computer in your network/worgroup list and choose "Connect with Remote Desktop Connection" and it launches RDC and connects to that PC

rdpcon.pngrdpconxp.png

I love this feature in Windows 7 and would like to add it to XP (not that it matters but I already have KB969084 RDC v7.0)

Any help would be appreciated, like the GUID in the registry for that right click menu or switch to launch RDC and enter the PC name

Edited by ricktendo64
Link to comment
Share on other sites


Any help would be appreciated, like the GUID in the registry for that right click menu or switch to launch RDC and enter the PC name

In XP, you can try to look at this location

HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Network Connections\Command

I have Added Add/Remove Programs added like this to My Computer

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs\command]
@="control appwiz.cpl"

Link to comment
Share on other sites

  • 2 months later...

OK I found how to add it, only problem is it launches the remote desktop connection (mstsc.exe -v <computer-name>) and does not enter the name of the PC (%1 is no good)

con7.png

conxp.png

Here is the regtweak

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NetServer\shell\remotedesktop]
@="Connect with Remote Desktop Connection"
"NeverDefault"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NetServer\shell\remotedesktop\command]
@="mstsc.exe -v %1"

Edited by ricktendo64
Link to comment
Share on other sites

Try this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NetServer\shell\remotedesktop]
@="Connect with Remote Desktop Connection"
"NeverDefault"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NetServer\shell\remotedesktop\command]
@="mstsc.exe -v \"%1\""

PS: Note the \" at the beginning and end of %1

Edited by Vishal Gupta
Link to comment
Share on other sites

Ok found a solution:

Instead of using %1, you need to use %D but it contains "\\" before the computername.

I created a small batch (launchrdp.cmd) to do it:


set dest=%1
mstsc -v %dest:~2%

and the reg entry is:


HKEY_CLASSES_ROOT\NetServer\shell\remotedesktop\command
@=launchrdp.cmd %D

Link to comment
Share on other sites

  • 2 weeks later...

I am wondering, can the same be done with a VBS file?

While I do not exactly know the vbs way, you can try using a vbs that launch launchrdp.cmd w/o the console box

launchrdp.vbs

Dim oShell
Set oShell=WScript.CreateObject ("WSCript.shell")
oShell.run "launchrdp.cmd",0,False
Set oShell = Nothing

Link to comment
Share on other sites

Ok i did it.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\NetServer]

[HKEY_CLASSES_ROOT\NetServer\shell]

[HKEY_CLASSES_ROOT\NetServer\shell\remotedesktop]
@="Connect with Remote Desktop Connection"
"NeverDefault"=""

[HKEY_CLASSES_ROOT\NetServer\shell\remotedesktop\command]
@="wscript c:\\launchrdp.vbs %D"

The vbs:

d=WScript.Arguments.Item(0)
e=mid(d,3,len(d))
Dim oShell
Set oShell=WScript.CreateObject ("WSCript.shell")
oShell.run "mstsc.exe /v " & e

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...