The Little Known "Console" Remote Desktop (RDP) Connection…
Sooner or later in every development environment you will hear…
“Who the @*!# is tying up all the connections to the server. Get off it! I need to (do a build / perform a test / debug this or that)”
Most people know there are two remote desktop (RDP) connections for use on a server for administration purposes. However, many people don’t know about the secret ‘third’ RDP connection. This connection is called the ‘console’ connection. As the name implies, the console connection is a RDP connection to the server’s physical console. In other words, you can see what the guy standing at the server sees.
This is good for:
- Always being able to get a RDP connection to a server as this connection will kick off any existing console connection (the guy standing at the server will either be forcibly logged off or his screen will be locked). This is a quick fix when you need a RDP connection but the existing two virtual RDP connections are tied up.
- Remotely working with applications that have issues functioning in a virtual RDP connection. Some apps write directly to the console and if you’re in a virtual connection, you won’t see the message and think the app has locked up. This happens a lot with application installations over RDP so if you’re attempting to install an app and it just stops… try using the console.
To use this:
Start > Run > mstsc /console /v:name-of-the-server
This instructs the remote desktop application (mstsc.exe) to connect to the console session instead of a virtual one.
Btw: I am not sure if the technical terminology is 100% correct so feel free to correct me if necessary.