Open RobinLenaerts-r0627775 opened 8 months ago
Hi @RobinLenaerts-r0627775
Where are these connections saved? .rdp
files?
/needinfo
From what I can tell in my case, there is a hidden default.rdp file in the Documents folder, but this one just opens the first saved connection. In the registry keys under HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default, the other IPs are saved.
It will be nice if Powertoys run can interact with Microsoft-Remotedesktop from the Microsoft Store or with rdcman. The Software https://github.com/1Remote/1Remote is an example for an very good launcher for starting an rdp, ssh session.
Maybe you can type in powertoys run "rdp servername" (And Powertoys find the connection in rdcman or in the Microsoft-Remotedesktop App or an rdp file) and start it with an "Enter" or left click.
# start-process "shell:AppsFolder\Microsoft.RemoteDesktop_8wekyb3d8bbwe!App" -ArgumentList "<ConnectionID",00000000-0000-0000-0000-000000000000,LocalDesktop,Pinned,00000000-0000-0000-0000-000000000000"
start-process "shell:AppsFolder\Microsoft.RemoteDesktop_8wekyb3d8bbwe!App" -ArgumentList "35738465-289d-49bd-b982-5effdaca4e6a,00000000-0000-0000-0000-000000000000,LocalDesktop,Pinned,00000000-0000-0000-0000-000000000000"
.model
file with xml syntax.)
C:\Users\xxx\AppData\Local\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe\LocalState\RemoteDesktopData\groups
C:\Users\xxx\AppData\Local\Packages\Microsoft.RemoteDesktop_8wekyb3d8bbwe\LocalState\RemoteDesktopData\LocalWorkspace\connections
i:type="a:DefaultGroupModel"
).@crutkas I found this third-party plugin: https://github.com/anthony81799/PowerToysRun-RDP. (I did not tested it yet.)
But is there any need too create our own plugin anymore?
@crutkas I found this third-party plugin: https://github.com/anthony81799/PowerToysRun-RDP. (I did not tested it yet.)
But is there any need too create our own plugin anymore?
The linked plugin works, although it definitely needs a bit of TLC.
It could do with a general project re-configuration, and it is very limited in features.
That being said, it does work, and it's a great starting point. I'm probably going to send a PR their way, once I have time (hopefully this weekend).
Good work @anthony81799!
It was also added to the PT Run docs 3 weeks ago: microsoft/PowerToys/doc/thirdPartyRunPlugins.md
While it might not do everything people here are looking for, I'd advocate for creating an issue over there instead, and closing this one.
@crutkas I found this third-party plugin: https://github.com/anthony81799/PowerToysRun-RDP. (I did not tested it yet.)
But is there any need too create our own plugin anymore?
This is exactly what I wanted! Had to update my Powertoys before the installing the plugin and now everything works perfectly! thanks for finding it and thanks @anthony81799 for making it!
Description of the new feature / enhancement
I have a couple different remote desktop connections I have to access frequently for my job, It would be super nice if there was a shortcut in powertoys run to access the saved connections quickly.
It could work luke the quick access for the Terminal profiles!
Scenario when this would be used?
Open Powertoys run -> prefix for RDS connections -> all saved connections show in dropdown
Supporting information
No response