If you have two monitors at home and want to connect to your workplace, you might encounter an error when attempting to connect to a server using both monitors.
Luckily, there's a quick and easy solution! First, enter with a single monitor definition on the RDP client. Then, enter with the two-monitor definition without exiting the first session. This will allow the second connection to take the session from the first, preventing the error from occurring.
If you experience this error frequently and want to automate the double-connection process, you can use a small batch script that will do the work for you.
==START OF BATCH==
SET IP=X.X.X.X
SET USERNAME=youruser
SET PASSWORD=yourpassword
SET DOMAIN=yourdodmain.com
start cmdkey /generic:"%IP%" /user:"%USERNAME%" /pass:"%PASSWORD%"
start mstsc /f /v:"%IP%"
TIMEOUT 3
start mstsc -multimon /f /v:"%IP%"
==END OF BATCH==
Using the name of your computer instead of its IP address to connect is possible, but it may result in slower connections and potential DNS issues.