September 21, 201015 yr 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 PCI 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 December 29, 201015 yr by ricktendo64
September 22, 201015 yr 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 nameIn XP, you can try to look at this locationHKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Network Connections\CommandI have Added Add/Remove Programs added like this to My ComputerWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Add/Remove Programs\command]@="control appwiz.cpl"
December 17, 201015 yr Author 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)Here is the regtweakWindows 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 December 17, 201015 yr by ricktendo64
December 17, 201015 yr 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 December 17, 201015 yr by Vishal Gupta
December 17, 201015 yr Author No, still not working...but still its a good thing to add the quotes (just in case)
December 18, 201015 yr 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=%1mstsc -v %dest:~2%and the reg entry is:HKEY_CLASSES_ROOT\NetServer\shell\remotedesktop\command@=launchrdp.cmd %D
December 29, 201015 yr Probably but i didn't tried: the only requirement is to parse correctly the \\servername into servername.
December 31, 201015 yr 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 boxlaunchrdp.vbsDim oShellSet oShell=WScript.CreateObject ("WSCript.shell")oShell.run "launchrdp.cmd",0,FalseSet oShell = Nothing
December 31, 201015 yr Author Want to bypass cmd, just vbs that will do mstsc.exe -v %d and remove the \\ from the beginning Edited December 31, 201015 yr by ricktendo64
December 31, 201015 yr 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 oShellSet oShell=WScript.CreateObject ("WSCript.shell")oShell.run "mstsc.exe /v " & e
December 31, 201015 yr Author OMG, now its perfectty all who helped especially allen2 Edited December 31, 201015 yr by ricktendo64
Create an account or sign in to comment