Main Display Changes After Remote Desktop Connection

Byrne, Richard [DCA] 6 Reputation points
2022-08-17T14:01:35.423+00:00

I use a Lenovo ThinkCentre M920z, Intel Core i5-8400, 8GB ram with 128 GB Toshiba KBG30ZMT storage, using Intel UHD Graphics 630 27.20.100.9030. Os is Windows 10 Enterprise 21H2 64 bit 19044.1889.

The integrated display is Display 1. I have a Dell UP3017 monitor connected to the HDCP port as Display 2. And a Samsung UN32EH-5300 32 inch television connected by HDMI to a j5Create JUA254-4A USB to HDMI adapter as Display 3.

They are arranged left to right in display settings as Display 2 - 1 - 3.

I have set Display 1 as "Make this my main display".

I connect using Remote Desktop Connection either through Zscaler vpn directly from my home, or by logging into a Citrix server, then Remote Desktop Connection to this PC.

When I connect remotely, I display the remote desktop (one screen) full screen on a 4K Vizio Television. I reboot the Lenovo when I disconnect.

My problem is that when I log into the computer in the office, the taskbar, and the "main screen" icons appear on Display 3, the Samsung. When I bring up the display settings, "Make this my main display" is checked for Display 1. To fix this, I have to select Display 3, check "Make this my main display", the screen flashes and keeps the taskbar on Display 3. Then I have to select Display 1, check "Make this my main display", and the taskbar and the icons move to Display 1.

If I reboot and log into the PC, Display 1 remains the main display. If I connect by remote desktop, then log in at the physical workstation, the main display changes to Display 3.

How do I stop this behavior and keep the main display set as Display 1 after Remote Desktop Connections, and why does Settings not indicate that the main display has changed?

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
{count} vote

1 answer

Sort by: Most helpful
  1. Philip Hannay 0 Reputation points
    2025-09-29T08:11:58.01+00:00

    There's a way to do this by manually editing an rdp save file.

    In short, you need to use selectedmonitors and specify the monitors you want to use for the connection (which you can get from running mstsc /l)
    Whichever monitor is listed first will be the main display for the remote computer, and therefore the one with the full taskbar.

    For example, in my rdp file, I have:

    use multimon:i:1

    selectedmonitors:s:4,0

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.