Our community of experts have been thoroughly vetted for their expertise and industry experience. Experts with Gold status have received one of our highest-level Expert Awards, which recognize experts for their valuable contributions.
Having a dual- or triple-monitor configuration does a lot to boost your productivity, but what about when you want to connect to a Terminal Services session? By default, a Terminal Services screen can either be configured to fill your screen, or to a number of pre-defined screen resolutions. It doesn't seem possible to open a session which spans across all your monitors.
1. The power of /span
The truth is, there is a /span switch which can do exactly that... open a new session to a remote Terminal Server or computer with RDP enabled, and cause the new session to fill all the monitor space on your desktop. To get going, all you need to do is go to Start, Run and enter mstsc /span. When you press OK, you will be presented with the typical connection dialog, where you connect as normal.
If you want to use the switch in a shortcut, I suggest you implement it as follows:
However, I can confirm that my 3 monitors are not the same height, and the switch still works perfectly fine for me.
2. A Custom Resolution
If the /span switch just doesn't cut it for you, and for some reason (perhaps you have a large monitor) you want a window to open at a non-standard screen resolution, then there are commands which can help you, too. The /w and /h switches allow you to set a precise number of pixels which the session should be in width and in height. You can either use the switch on-demand by entering mstsc /w:xxx /h:xxx at a command prompt (where xxx represents the number of pixels) and then connect as usual, or you can make use of the switches in a shortcut. The target of such a shortcut should read:
mstsc /v:<IP address to connect to>:3389 /w:xxx /h:xxx
(Where xxx in the above represents the number of pixels wide and the number of pixels tall the session should be.
I hope this helps; please post a comment to let me know if it does.
Our community of experts have been thoroughly vetted for their expertise and industry experience. Experts with Gold status have received one of our highest-level Expert Awards, which recognize experts for their valuable contributions.
Our community of experts have been thoroughly vetted for their expertise and industry experience. Experts with Gold status have received one of our highest-level Expert Awards, which recognize experts for their valuable contributions.
If you are connecting to a Windows Server 2008 computer, the /admin switch probably won't do what you expect it to do anyway. You won't strictly be connected to the console, since the possibility of interacting with Session 0 is now reserved for services, not an interactive user. Instead, if you login as DOMAIN\Administrator remotely, and the Administrator is already logged into the console, the remote session will take over the console session. That's just the way it is now, unfortunately.
The /admin switch is there for when using the new RDP 6.1 client to connect to a Server 2003 or 2000 server, since on these operating systems /admin maps to /console.
Our community of experts have been thoroughly vetted for their expertise and industry experience. Experts with Gold status have received one of our highest-level Expert Awards, which recognize experts for their valuable contributions.
Nice article, Matt. Short but very sweet! Great combination for my attention deficit, my heavy use of RDP and my love of using dual monitors.
Voted yes above.
Comments (11)
Author
Commented:If you are connecting to a Windows Server 2008 computer, the /admin switch probably won't do what you expect it to do anyway. You won't strictly be connected to the console, since the possibility of interacting with Session 0 is now reserved for services, not an interactive user. Instead, if you login as DOMAIN\Administrator remotely, and the Administrator is already logged into the console, the remote session will take over the console session. That's just the way it is now, unfortunately.
The /admin switch is there for when using the new RDP 6.1 client to connect to a Server 2003 or 2000 server, since on these operating systems /admin maps to /console.
-Matt
Commented:
Voted yes above.
Commented:
Commented:
Boy...do I feel sheepish!
Commented:
FYI: here's a list of MSTSC command line options:
http://windows.microsoft.com/en-us/windows/command-line-parameters-remote-desktop-connection#1TC=windows-7
View More