MSTSC.EXE - no more /console switch in RDC 6.1

Published 04 January 08 06:00 AM

Happy New Year!  We're starting off 2008 with a significant post regarding changes to Remote Administration in Windows Server 2008.  OK, it's not quite as dire as the title makes it out to be, but this is quite a significant change.  If you recall from our post on Session 0 Isolation, users can no longer connect to Session 0 on Windows Vista or Windows Server 2008 by design.  On earlier builds of Windows Vista Service Pack 1, if you run mstsc /? from the command prompt, the following screen is displayed.  Note the section in red below.  If you use version 6.1 of the Remote Desktop Client included , in order to connect to the console session for Windows Server 2003, you should use the /admin switch instead.  RDC 6.1 is included with the following operating systems:

  • Windows Server 2008
  • Windows Vista Service Pack 1 (SP1) Beta and RC
  • Windows XP Service Pack 3 (SP3) Beta and RC

image

The /admin switch allows you to connect to an administrative session for Windows Server 2008.  As indicated above, it also connects you to the console session on Windows Server 2003.  If you are running Windows Server 2008 or Windows Vista Service Pack 1 or later, the following scenarios will return this error message:

clip_image001

  • In the RDC client UI, you specify Computer_name /console in the Computer box (where Computer_name represents the name of the remote computer to which you want to connect), and then click Connect.
  • In the .rdp file, you specify /console in the “full address” property, and then try to start the Remote Desktop connection.

So why is this important?  Obviously if you have shortcuts, applications or scripts that rely on the /console switch, they will be affected by this change.  One of the biggest impacts will be for administrators who connect to their servers using /console to perform application installations or maintenance.  This functionality will still be available, however you will just need to use the /admin switch.  There are also implications for developers who use the ConnectToServerConsole property of the IMsRdpClientAdvancedSettings interface.  There is a different interface and property that they will need to use - namely the ConnectToAdministerServer property of the IMsRdpClientAdvancedSettings6 interface.

The Terminal Services team has posted more information on their blog - the link is below.  As always, we welcome your feedback.  Until next time ...

Terminal Services Team Blog: Changes to Remote Administration in Windows Server 2008

- CC Hameed

Share this post :

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Geek Lectures - Things geeks should know about » Blog Archive » MSTSC.EXE - no more /console switch in RDC 6.1 said on January 4, 2008 7:22 AM:

PingBack from http://geeklectures.info/2008/01/04/mstscexe-no-more-console-switch-in-rdc-61/

# The Dave said on January 5, 2008 3:34 AM:

Maybe I'm missing something here, but why remove the existing /console switch, why not alias it to the new /admin switch?

Same goes for the RDP flag.

# Marcel Kroon said on January 10, 2008 4:58 PM:

Thank you so much!

It took me the whole evening to come to this solution. :)

After upgrading to SP1 RC1 for Vista I could not get into the console anymore.

with the /admin addon is works again!

Thanks!

# Marcel Kroon said on January 10, 2008 5:06 PM:

Btw now I'm using: mstsc.exe /admin /console

:)

# Marcel Kroon said on January 11, 2008 12:00 PM:

Just noticed /console can be removed and the only option needed is /admin

Thanks again :)

# MEHDI said on January 12, 2008 9:34 AM:

thank you for useful information and nice work ..

good luck to you

# Realtime Community | Windows Server said on January 16, 2008 12:37 AM:

If you're preparing yourself for Terminal Services in Server 2008, you should be aware that its new Session 0 isolation may change some application installations. Read this previous post, for more info on this change. It also changes the process whereby

# mevans said on February 8, 2008 12:18 AM:

I'm not seeing the /ADMIN switch work against a Windows 2003 Server with the MSTSC included in Vista SP1 RC.  It brings me to a new session on the server, not the console session.  If I run it with the /CONSOLE switch it does work (though this switch is not included in the help file).

# Brian said on February 25, 2008 12:41 PM:

Maybe I'm missing something here, but why remove the existing /console switch, why not alias it to the new /admin switch?

# Dag Staale Jenssen said on March 11, 2008 6:27 PM:

I Windows Server 2003 kan man starte en RDP sesjon for å logge på console. I W2K8 forsvinner /console parameteren som typisk benyttes med mstsc.exe. ...

# Mark Ordonez said on April 10, 2008 5:36 PM:

I agree with @Brian and @The Dave. Why bother with changing the switch at all if the end result is the same thing?

# Christiano Lucca said on May 12, 2008 9:56 PM:

tks for this info...in fact, you save my brain!

# Ben said on May 13, 2008 9:47 AM:

This was a terrible idea to change the syntax of the /console switch. This caused our plant downtime because we thought we were still connecting to the console session of our 2003 servers as we always have, but since we installed XP SP3 on our client machines, we were not, and we ended up opening two copies of our application on the same machine, causing problems with production. I'm sure I won't be the only one with this issue.

Bad decision, Microsoft. Very bad decision.

# MikeH said on May 21, 2008 4:15 PM:

If your are using RWW on SBS 2003 you can modify the TSWEB.ASPX file to directly connect to the console session via Vista SP1 again.

More info: http://newyear2006.wordpress.com/2008/05/19/remote-webarbeitsplatz-problem-mit-windows-vista-sp1-beheben/

It is written in german but you can follow the main part.

You have to insert MSRdpClient.AdvancedSettings6.ConnectToAdministerServer = console

# David Sanders said on June 17, 2008 12:15 PM:

Since installing XP SP3, the functionality of mstsc has changed. I used to be prompted for credentials before actually connecting to a server. Then, once the correct information was entered, the server gave me the warning dialog, and when accepted, logged me into the system.

Since I use multiple servers in multiple environments (multiple domains, and standalone), and since I also use a password manager with automatically generated passwords with a high complexity level, this was a great setup. I could copy/paste my passwords from the manager without ever exposing them to anyone (including myself).

I also use a management tool that allows me to have hot keys assigned to various functions. Selecting a server and executing a hot key against it will automatically launch the following command - "C:\WINDOWS\system32\mstsc.exe /console "C:\admintools\Default.rdp" /v:%E% /w:1024 /h:768"

This would launch against the servername (%E%), and use my default.rdp. The bonus to this setup was that my name (domain or computer)\username was prepopulated correctly. I did not need multiple .rdp files.

With 6.1, this is gone. How do I regain this functionality?

# Bill Solomon said on June 24, 2008 2:15 PM:

Does Microsft hate Windows users? If no then why keep messing things to make the Windows users lives harder for no apparent reason?

mstsc /admin works now in 6.1 but .rdp files fail

bsolomon@allstontrading.com

# Eric Paul said on September 4, 2008 3:05 PM:

Went back to XP service pack 2. Now my system works like it was designed. The "connect to console" setting in my RDP Snap-in actually connects to the desktop--instead of doing nothing.

I'm okay with you're changing it for some future release of windows--but its downright BAD to remove features--especilly without some way of telling a user that a feature has been removed.

Maybe in the future you could consider another approach to security besides "if we can't secure it disable it".

This one small change has cost me a considerable amount of time and pain.

# Heart Attack said on September 10, 2008 3:21 PM:

I almost have a heart attack after I installed XP sp3.  

I constantly monitor server to see the console screen again on my XP box.

I almost thought the only way to see my console again is through a Linux desktop before I checked this page.

Thanks a million for the one removed the "console" switch. Now I know my heart is pretty strong. ..

# Emidio said on September 24, 2008 6:25 PM:

This also applies to Windows XP SP3. I just upgraded to SP3 and the /console option does not work on SP3 also. I had to /admin

Leave a Comment

(required) 
(optional)
(required) 

About CC Hameed

I joined Microsoft as a Support Engineer on the Performance team in September 2005. Prior to that I spent a couple of years working the late night shift on our Platforms 24x7 team. Working for Microsoft was always a dream job - so I am living the dream! I was on the Windows Vista Beta team in 2006, which was one of the coolest projects I have ever worked on, until I took on the task of driving the AskPerf Blog. As you can tell by my logo, I am a huge Manchester United fan and I have successfully managed to brainwash my two daughters into sharing my passion for the Red Devils much to the dismay of their mother! I also coach both my daughters' soccer teams. In addition I am an avid MMO gamer, and have an extensive DVD movie collection.

This Blog

Syndication

Page view tracker