How to pin a fresh RDP session (cloud VM) at startup to a particular monitor?


Geek4eye

New member
Local time
4:02 PM
Posts
2
OS
Windows 11
The question is whether there is a way to pin an RDP session as it launches to - in this case the left - monitor in a dual monitor setup. The right monitor is OS primary. It seems that RDP wants to always come up in the primary OS monitor. Yes, a Windows conversant operator can move it, but that isn't the question.

Background: I do IT for an art gallery which is staffed by the artists, largely elderly women. There is a lot of turnover over time. So training is an issue for folks that have never operated a Windows computer. The Point of Sales application is provided by Resale World as a cloud VM. They provide a connector program that initiates an RDP session into the VM. The Gallery Manager would like the VM / RDP on the left and everything else on the right, which makes sense. As the RDP session always comes up as full screen & on top, when it come up on the right OS primary monitor, it covers up the OS taskbar and tray (and the rest of the desktop) - showing the VM taskbar and its icons - which leads to a lot of confusion.

This seems like a simple thing, but it has eluded me so far. RDP does not have a way to select a launch monitor (per answers.microsoft.com). I tried using Windows snap to place it, but a new session reverts to the wrong one again. I've played with MS PowerToys Fancy Zones: created a zone for just the full screen left monitor and SH-dragged the RDP window there which looked good at the time, but again it does not persist when the session is terminated and restarted. I did turn on the checkbox to "open newly created windows to the last known zone", and told PT to override Windows Snap, but those had no particular useful effect. The new RDP session still comes up on the primary. I've rearranged the monitors so Display 1 is the OS primary on the right, but it doesn't matter: whichever monitor is designated as OS primary will get the fresh RDP session on top of everything else.

It rather smells like RDP has a high priority hard coded override to do this. Would there prehaps be some obsure Registry or GP setting that could change the behavior?

Any thoughts would be appreciated. I'd like follow the KISS principle and not load a lot of complex software for something so apparently simple, but...

Specs:
Windows 11 latest.
Hardware: (likely irrelevent) HP Prodesk G5 with a relatively recent Intel CPU + 32GB and integrated graphics driving a pair of 1980x1080 monitors (Dell?, 1 HDMI, 1DP); NVMe OS drive.
 
Windows Build/Version
Windows 11 latest

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Prodesk G5
Thank you! I had no idea an .rdp file was editable or that there was a long list of things that could be done with it.

I was able to test this successfully in my office lab with W10 PCs. I added selectedmonitors:s:4 (monitor #4 in this case per mstsc.exe /l) to the .rdp file that points to a VM on another PC. I'll see what I can do next week at the Gallery.

Here is my concern, however: The Gallery RDP session is attaching to a VMware VM somewhere in the cloud. I expect the destination is dynamic as the "Connector" program has to be run first to find the VM, and then hit a button to connect to it via RDP. It is that program that is initiating RDP then, not the execution of a .rdp file with a static address. Thus I rather doubt I'll find an accessible spot to add the selectedmontors key. To make this method work I'll likely have to make a request of Resale World support to make a programming change.

If there was a more global OS way of accomplishing this, rather than a static session .rdp, that would be golden. I did look through the local GPE stack under Computer Config/Admin Template/Win Components/Remote Desktop Services, but the only things even close there were about restricting monitors, resolution, color, etc.

Thanks!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Prodesk G5

Latest Support Threads

Back
Top Bottom