How Can I Set Up RDP to Always Use Specific Monitors?

0
2
Asked By TechieNerd101 On

I work in an office environment with multiple workstations set up with three screens—one laptop screen and two external monitors. I'm trying to configure Remote Desktop Protocol (RDP) to always start on the two external monitors, rather than the laptop screen. I know I need to use the settings: `use multimon:i:1` and `selectedmonitors:s:0,1`. However, the index for the monitors isn't consistent. The laptop screen might not always be labeled as '0', which confuses users since they have to click the correct icon to start the session on the right screens. We have three different icons for different monitor combinations, but the order changes after a reboot, leading to a lot of confusion for around 100 people. Is there a way to reliably detect the monitor order via command line or .NET so that we can generate a new RDP settings file each time a user logs in? I'm open to any suggestions.

3 Answers

Answered By MonitorWizard92 On

You might want to check out MultiMonitorTool from Nirsoft. It can give you details about your monitor setup and maybe help you script the process of updating your RDP file. While it won't directly give you the index used by mstsc.exe, it can help with gathering what you need to work with your setup.

Answered By CodeCrafter88 On

In addition to that, you can look into the method mentioned by djwork where you grab Windows message box outputs. You can use it to figure out the monitor details dynamically, though it's a bit of a hack. Still, it might provide you enough info to ensure consistent RDP settings across user sessions.

Answered By UserFriendlyFox On

Honestly, it sounds like a tricky situation. But have you considered just giving users a quick training session to help them remember which icon to use? It might save a lot of headaches in the long run.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.