What exactly is the console session in RDP?

18

I can't get a good definition of the difference between a normal RDP session and the /console (/admin in Windows 2008 and later) session.

What can I do in console that I can't do in a regular session?

user939

Posted 2009-08-11T13:40:38.993

Reputation:

Answers

13

The console session is what you see when you look at a monitor that’s plugged into the server. Normally with RDP you get your own session that is not the same as what’s shown on the server’s own monitor.

A typical example might be a backup application that is running on the console. You don’t want to log into a new session and start a second copy of the backup application; you want to monitor the backup application running in the console session.

Nate

Posted 2009-08-11T13:40:38.993

Reputation: 4 013

@Arjan, Test before you talk. This is a wiki, don't mislead people with wrong information. – Pacerier – 2015-02-27T12:14:27.807

@markmnl, you're right when NOT connected to the console session, and my comment failed to make clear it was about that case (like Nate's "monitor the backup application" example). So, to rephrase: when disconnecting the RDP client when connected to the console session, be sure to select to not log out if you want applications to keep running. – Arjan – 2015-02-28T16:24:56.553

@Arjan, To repeat: Which server had you tested this on? There's a difference between logoff and disconnect. If you disconnect, you disconnect. If you logoff, you logoff. If you disconnect the RDP client when connected to the console session, the console session (session 0) will not be logoff-ed. I've just tested this on a Win 2003. – Pacerier – 2015-06-26T08:11:53.180

@Pacerier, it has happened to us multiple times early 2008 (probably Win 2003 too then), when folks would RDP into the console session (which had a backup program running in the foreground) and then logged off (rather than disconnected). That said, I think we're saying the same thing... Maybe I should rephrase again (bummer the comments are a mess now): when you want to end the RDP client when connected to the console session, be sure to select to not log out if you want applications to keep running. – Arjan – 2015-06-27T07:38:39.900

Now that makes more sense. – None – 2009-08-13T11:46:28.843

2Beware though: when disconnecting the RDP client, one may in fact logout the console session, killing any running applications. Be sure to select to not log out on closing the RDP client. – Arjan – 2009-08-16T16:14:17.970

5"when disconnecting the RDP client, one may in fact logout the console session" that is not true. When LOGGING OFF a RDP session you obviously close applications you started in that session. You do not affect a console session if there is one. Usually you want to LOG OFF instead of DISCONNECTING you RDP session so as to not leave things running.. – markmnl – 2012-08-21T00:17:45.357

12

It is summed up in the "How to Connect to and Shadow the Console Session with Windows Server 2003 Terminal Services" Microsoft kb article:

In Windows Server 2003, when you use Terminal Services, you can connect to the console session (session 0), and at the same time, open a shadow session to it (as long as you connect from a session other than the console). With this added functionality, you can log on to a Windows Server 2003-based server that is running Terminal Services remotely and interact with session 0 as if you were sitting at the physical console of the computer. This session can also be shadowed so that the remote user and the local user at the physical console can see and interact with the same session.

So basically, it connects you to the current, running local session on the server (session 0, usually displayed on a monitor) and can let the remote and local user see and interact with the same session.

Josh Hunt

Posted 2009-08-11T13:40:38.993

Reputation: 20 095

@Will, There are other benefits of course. Some things can only be done using the console session.

– Pacerier – 2015-07-02T11:51:15.437

7yeah, I know. But what does that meeeeaaaaaannnn! – None – 2009-08-11T13:52:38.130

Better?​​​​​ :P​​​​ – Josh Hunt – 2009-08-11T13:54:36.257

Note that if you connect to a console session on a Windows XP machine, you'll still lock the computer. You can't shadow the session on a non-server computer. (At least, as far as I know). – EvilChookie – 2009-08-11T14:31:33.590

Yes, definitely better. Is that it? You can shadow the console? There is no other benefit? – None – 2009-08-13T11:42:33.393

2

Think of the console as the monitor, keyboard and mouse physically connected to the server. If you connect to the console you are effectively looking over the shoulder of whoever logged in at the keyboard connected to the server. You're seeing their logged in session, with whatever applications they are running. You will see their desktop and start menu.

If you log in via a normal RDP session it's as if you logged into the server. You will get the desktop, and start menu for your profile.

Often the desktop and start menu you see for the console is similar to the desktop and start menu you see when you log in. But they don't have to be identical. On one server I RDP into I see a totally different desktop if I connect to a console session or connect via a normal RDP session.

The desktop difference is pretty much cosmetic. The big difference is the services and applications that are running when you connect to the console versus connecting via a normal RDP session - you may have different applications in your Startup folder or different services starting up automatically.

SimonTewsi

Posted 2009-08-11T13:40:38.993

Reputation: 781

1

It's indeed the existing, current session on the server, the same you would see when looking at a screen that is attached to that server. Apart from being able to take over applications that are already running in that session, it is also sometimes required to install certain software (like PostgreSQL) that will not allow installation through a regular session.

Arjan

Posted 2009-08-11T13:40:38.993

Reputation: 29 084

3The "the same you would see when looking at a screen that is attached to that server" comment everybody says is completely fing bizarre to me. Any RDP connection appears exactly as I would see when looking at the monitor attached to the server. That's the whole point of RDP--remote desktop connection. – None – 2009-08-13T11:45:11.170

1As you accepted Nate's answer after your above comment, I assume you understand by now? It's definitely not true that normal RDP connections show you what is displayed on the monitor attached to the server. Instead, normal usage gives you a separate session, and never the same session that is shown on an attached monitor. It's often (but not necessarily) a totally new session, like if you just logged in to that computer. RDP allows for a few totally separated sessions, thus kind of allowing multiple people to use the same computer without being able to see what the others are doing. – Arjan – 2009-08-13T15:26:47.533