Remote desktop span across multiple monitors

It is not an understatement to say that once you are used to the convenience and increased efficiency that multiple monitors provide, you just cannot go back to working with a single monitor.

So why should you use a single monitor when you're remotely connecting to another computer or virtual machine? You should not, and this quick guide will show exactly how you can use Remote Desktop with multiple monitors in three easy steps.

Microsoft’s Remote Desktop client (version 6.0) supports spanning across multiple monitors. Only some configurations are supported by Remote Desktop client in span mode. This is explained in a little more detail at:
http://blogs.msdn.com/ts/archive/2006/11/10/multi-monitor-support-in-the...

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.


Remote desktop span across multiple monitors

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. If you are using unequal resolution monitors or a different screen layout, see http://www.splitview.com/node/40

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.0

In the Start Menu > Run… dialog, type “mstsc” and hit enter.


Remote desktop span across multiple monitors

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.


Remote desktop span across multiple monitors

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


Remote desktop span across multiple monitors

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


Remote desktop span across multiple monitors

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


Remote desktop span across multiple monitors

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


Remote desktop span across multiple monitors

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

If you do not have SplitView installed on the remote computer, you will run into a few problems with the span mode:

  • The Windows taskbar will cover both monitors
  • Applications will maximize across both monitors
  • Popup dialogs and windows will appear in between the two monitors, half on one monitor and half on the other
  • The Windows log on dialog will also appear cut off by the monitor bezels in between the two monitors

This is not the way you expect multi-monitors to work. Instead of increasing efficiency, such a multi-monitor experience will be very inefficient (not to say irritating) to work with, especially when you have to keep moving windows so they do not get chopped off in between the two monitors.

To fix these problems, simply install SplitView in ‘Terminal Server mode’ on the remote computer. ‘Terminal Server mode’ is an install option. SplitView will fix the above mentioned problems and enable a true multi-monitor experience with the spanned remote desktop session.

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.

Create the RDP file

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


Remote desktop span across multiple monitors

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.


Remote desktop span across multiple monitors

The window will open up to reveal more options:


Remote desktop span across multiple monitors

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):


Remote desktop span across multiple monitors

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.

Remote desktop span across multiple monitors
You're probably wondering if there is dual monitor support for Remote Desktop Connection. There is indeed, but there are some caveats and issues you should be aware of, as well as some solutions to these issues.

First, as of Microsoft Remote Desktop client version 6.0, support was added for spanning across multiple monitors. Only some configurations are supported by Remote Desktop client in span mode. According to the Remote Desktop help file Remote Desktop Connection supports high-resolution displays that can be spanned across multiple monitors. The monitors must be the same height and aligned side by side. Go here for more details:


blogs.msdn.com/ts/archive/2006/11/10/multi-monitor-support-in-the-vista-ts-client.aspx

To have the remote computer's desktop span two monitors, simply type 'mstsc /span' at a command prompt (i.e. Start, Run, cmd.exe, mstsc /span). This feature is sometimes called continuous resolution. To toggle in and out of full-screen spanned mode, press Ctrl+Alt+Break.

If you know the resolution you want for the virtual desktop, you can now state explicitly the dimensions you want using the /w and /h switches. This is useful for when you wish to have a less than full screen window span two monitors.

Example:  mstsc /w:2048 /h:768 /v:"server"

The above would create a full screen spanned virtual desktop on two 1024x768 resolution displays.So what are the limitations or requirements for span mode to work correctly?
  • Equal resolution monitors
  • Total resolution of all monitors not exceeding 4096 x 2048
  • Top-left monitor being the primary
A software app from SplitView lets you make the remote desktop show up as two separate desktops when using RDP with dual monitors in span mode. SplitView automatically repositions dialog boxes and windows so they do not appear in the middle of the two monitors. Additionally, it lets you maximize to the left or right monitor, while preserving the ability to restore to the previous size. This tool adds a left and right button to the top right corner of system windows in the title bar area. Simply press left or right button to send the window to the left or right display.

If you do not have SplitView installed on the remote computer, here are some issues you will discover with span mode with just Remote Desktop 6.0 installed:

  • The Windows taskbar will cover both monitors
  • Applications will maximize across both monitors
  • Popup dialogs and windows will appear in between the two monitors, half on one monitor and half on the other
  • The Windows log on dialog will also appear cut off by the monitor bezels in between the two monitors
Perhaps most importantly, Splitview makes sure that when windows are maximized, they get maximized to either the left or the right monitor, and not across both monitors. While SplitView is not a free utility, it resolves all the above issues, making it a valuable app for power Remote Desktop users. It's only $39 for the personal edition. They also have a Terminal Services edition and a virtual desktop edition worth checking out.In any event, one of the first things you'll want to do is Save your /span configuration so you can quickly connect to your PC in the future. To do this you need to save the .rdp file. I like to save my RDP files to the Desktop for quick access. Unfortunately, for some reason the mstsc program doesn't save the /span option into the .rdp configuration file, which is simply a text file. So here's how you solve the problem.
  • Open Windows Explorer, and browse to the folder containing the .rdp file you want to edit. (C:\myworkpc.rdp).
  • Right-click the file > Open With > Choose Program > Notepad or on my PC I can right-click > Send To > Notepad since I added Notepad to the Send To function
  • Once the file is open in Notepad go to the very bottom of the file and add the following command: span monitors:i:1
  • Save the file and you're done! (Note: there are some other config settings in this file you might want to play with)
Enjoy your dual monitor Remote Desktop experience!