microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.35k stars 6.55k forks source link

Quick select for remote desktop connections in Powertoys Run #31609

Open RobinLenaerts-r0627775 opened 8 months ago

RobinLenaerts-r0627775 commented 8 months ago

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

davidegiacometti commented 8 months ago

Hi @RobinLenaerts-r0627775 Where are these connections saved? .rdp files? /needinfo

RobinLenaerts-r0627775 commented 8 months ago

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.

stetze commented 5 months ago

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.

htcfreek commented 4 months ago

Possibilities:

Details for "Microsft Remote Desktop" App:

htcfreek commented 4 months ago

@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?

MaverickMartyn commented 3 months ago

@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.

RobinLenaerts-r0627775 commented 3 months ago

@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!