How to tell if your Remote Desktop Connection is from the Console

I do a lot of work using Remote Desktop Connections. Sure beats the old "sneaker net" days where you had to physically log into each server you needed to manage.
I'm sure you know that you can
connect to the console session using MSTSC /CONSOLE from the command line. This is helpful when you need to establish a third RDP session because the other two are in use, or when you need to install software that can only be done from the console.
One of the questions I'm asked is how to tell if you're connected via RDP to the console from the RDP session. To do this, simply open a command prompt and enter QWINSTA. You will see output similar to the screen above.
Take a look at the session ID in the example above. When you're in an RDP session to the console, the session ID will always be 0 (zero). That's all there is to it!
Labels: Terminal Services, tip, Windows



2 Comments:
Thanks this helped me out a ton!
Hi, Thanks for this very useful information. I tried logging in from the console with the /console (%SystemRoot%\system32\mstsc.exe /console) option but when I run the "qwinsta" command it doesn't show me logged in from the console. A co-worker is able to log in as consol, and then I am able to take over his session, but unable to log in directly from the console. Any suggestions would be greatly appreciated! Thanks in advance.
Post a Comment
Thank you for posting a comment! It is my hope that you find the information here useful. Let me know (and others) if this post helped you out or if you have a comment or further information.
Links to this post:
Create a Link
<< Home