Windows – How to swap primary and secondary display during an RDP session

multiple-monitorsremote desktopvirtual machinewindows

I have two displays on my desktop (Windows 10 Enterprise) and frequently connect to a VM (Windows 8 Pro) via remote desktop. I have checked "Use all my monitors for the remote session" so the display is extended across both screens. This is all fine.

However, when I work from home and RDP in to my desktop and then on to the VM, my screens are reversed. As it's a remote session, I can't change this.

enter image description here

My question is: how to I get screen 1 on the left and screen 2 on the right? It's a VM, so I can only connect to it via RDP.

I have searched for an answer already, but all the answers I found concerned editing the RDP file so the session starts full screen and/or on the correct screen on my desktop. I don't think it's an RDP issue, I need to change the settings in the VM OS somehow.

It's a minor annoyance, but I prefer to have Visual Studio on the left screen and browser on the right. I can drag them over each time I log on, but I'd rather swap the displays on the VM so I don't have to.

Best Answer

This is working to me:

  1. edit saved *.rdp file
  2. swap screen numbers in selectedmonitors
  3. save & run

In my case I had:

 selectedmonitors:s:0,1

Ive changed it to:

 selectedmonitors:s:1,0
Related Question