Using dual monitors with Remote Desktop


One of the features of the Terminal Server/Remote Desktop Client in Windows 7/Windows Server 2008 is the support for multiple monitors.  If the machine running the TS-Client has a multi-monitor configuration that creates one logical rectangle, then the TS-Client can span over all the monitors, creating one virtual desktop of the combined size.

Specifically, the client needs the following for span mode to work correctly:
o Equal resolution monitors
o Total resolution of all monitors not exceeding 4096 x 2048
o Top-left monitor being the primary So, with this basic setup, let’s jump right in!

Step 1. Check the basics

Make sure both your monitors are using the same resolution and are oriented horizontally. Right click on the desktop. Click Properties.

In the Display Properties tab, make sure the monitors have the same resolution and are oriented horizontally. If not, adjust your monitor resolution and position so they are.

Step 2. Get the right version of Remote Desktop client

Check if you have the right version of Remote Desktop Connection client. You need at least version 6.0In the Start Menu > Run… dialog, type “mstsc” and hit enter.

The acronym “mstsc” stands for “Microsoft Terminal Services Client” – another name for Remote Desktop Connection client. You can also start it from Start Menu > All Programs > Accessories > Remote Desktop Connection (or Accessories > Connections > Remote Desktop Connection)

The Remote Desktop Connection program should open up.

Click the monitor icon in the top-left corner of this dialog, and choose the “About” menu:

This will show the version of the Remote Desktop Connection client. It should be version 6.0 or higher:

If you have an older version, first download and install the newer version from http://www.microsoft.com/downloads/details.aspx?FamilyId=6E1EC93D-BDBD-4…

Step 3. Connect to remote computer in ‘span mode’

To have the Remote Desktop connection client use both your monitors, you need to start it in “span” mode. This is done by giving the following command in the Run dialog: mstsc /span

Open Start Menu, click Run. Then type in mstsc /span and hit Enter or Click OK


When the Remote Desktop client opens up, enter the remote computer name to which you are connecting, and click Connect.

The Remote session should open up and cover both your monitors.

Once you have this working, you may want to launch the remote session in an easier way instead of typing the ‘mstsc /span’ command everytime.

The next section shows how you can create an “RDP file”, so you can launch a spanned remote desktop session by just double-clicking a file/shortcut.

Creating an RDP file to launch a spanned remote desktop session covering multiple monitors

Create the RDP file

Open Start Menu, click Run. Then type in mstsc /span and hit Enter or Click OK

When the Remote Desktop client opens up, enter the remote computer name to which you are connecting, and DON’T click Connect. Instead, click the Options button.

The window will open up to reveal more options:

Click the “Save As” button. A “Save As” dialog will open to save the connection settings to a file. Save the file to a known folder, and with a name like remoteserver.rdp. In this example, let’s say we saved it to C:\remoteserver.rdp

Now, close the Remote Desktop Connection program. We are done with this for now.

Editing the RDP file

Open Windows Explorer, and browse to the folder containing the file you just saved (C:\remoteserver.rdp). Right click the file > choose Open With… menu > Choose Program…

In the Open With dialog, choose Notepad to open the file. Remember to NOT check/enable the “Always use the selected program to open this kind of file” option.

Click OK. The file should open up in Notepad. It is a file with many lines. We need to edit this and add one more line.

In the last line of the file, add the following command and hit Enter:
span monitors:i:1

The file should look something like this (note the last line added manually):

Save the file (File menu > Save) and exit Notepad.

Double click… and connect!

From now on, you can connect to the remote computer using both monitors (in span mode) by just double-clicking this file. To add a shortcut to your desktop, right click the file, and choose “Send To> Desktop (create shortcut)”. This will place a shortcut to this file on your desktop, and you can just double click the shortcut to remotely connect to the remote computer using multiple monitors in span mode.

Leave a Reply