ricktendo Posted September 21, 2010 Share Posted September 21, 2010 (edited) 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, 2010 by ricktendo64 Link to comment Share on other sites More sharing options...
Geej Posted September 22, 2010 Share Posted September 22, 2010 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" Link to comment Share on other sites More sharing options...
ricktendo Posted December 17, 2010 Author Share Posted December 17, 2010 (edited) 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, 2010 by ricktendo64 Link to comment Share on other sites More sharing options...
Vishal Gupta Posted December 17, 2010 Share Posted December 17, 2010 (edited) 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, 2010 by Vishal Gupta Link to comment Share on other sites More sharing options...
ricktendo Posted December 17, 2010 Author Share Posted December 17, 2010 No, still not working...but still its a good thing to add the quotes (just in case) Link to comment Share on other sites More sharing options...
allen2 Posted December 18, 2010 Share Posted December 18, 2010 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 Link to comment Share on other sites More sharing options...
ricktendo Posted December 18, 2010 Author Share Posted December 18, 2010 OMG thank you its working Link to comment Share on other sites More sharing options...
ricktendo Posted December 29, 2010 Author Share Posted December 29, 2010 I am wondering, can the same be done with a VBS file? Link to comment Share on other sites More sharing options...
allen2 Posted December 29, 2010 Share Posted December 29, 2010 Probably but i didn't tried: the only requirement is to parse correctly the \\servername into servername. Link to comment Share on other sites More sharing options...
Geej Posted December 31, 2010 Share Posted December 31, 2010 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 Link to comment Share on other sites More sharing options...
ricktendo Posted December 31, 2010 Author Share Posted December 31, 2010 (edited) Want to bypass cmd, just vbs that will do mstsc.exe -v %d and remove the \\ from the beginning Edited December 31, 2010 by ricktendo64 Link to comment Share on other sites More sharing options...
allen2 Posted December 31, 2010 Share Posted December 31, 2010 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 Link to comment Share on other sites More sharing options...
ricktendo Posted December 31, 2010 Author Share Posted December 31, 2010 (edited) OMG, now its perfectty all who helped especially allen2 Edited December 31, 2010 by ricktendo64 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now