Due to COVID-19 crisis, most of the developers are working from home. It's obvious to have multiple monitors. However, there are also many who uses RDP (Remote Desktop Protocol) to connect to their office computer and work. This poses certain discomfort, which I had felt too.
We rely on technologies like Skype, Teams or Zoom to communicate with our fellow colleagues. It is obvious, we would like to use the camera too. I was using all of my screens for RDP and I had to minimize my RDP window every time I was communicating with my colleagues. Furthermore, I was not able to share my screen and show things. This was very irritating.
The Windows Remote Desktop Connection allows only option to share all available monitors for the remote session. One cannot selectively choose. I connect through my laptop and has two monitors. I would only like to use my two monitors for the remote session and would like to use my laptop screen for Teams or Skype. With the current Remote Desktop Connection, it is not possible, at least straightforward.
However, there is a work-around which let's use choose monitors/screens selectively.
C:\Users\rames>mstsc -l
0: 1920 x 1080; (-1920, 0, -1, 1079)
is my laptop screen (which I don't want to share with remote session) and the last two are my monitors.Use all my monitors for the remote session
under Display must be chosen.There is no straight forward way to determine the monitors identity. You might need to turn-off a monitor and run
mstsc -l
to determine it's actual id.
full address:s:xyz-j-001
audiomode:i:0
redirectprinters:i:1
redirectcomports:i:0
selectedmonitors:s:3,4
. 3,4 is the Id of the monitors that I want to include for the remote session.