Since 2016 · 50,000+ customers · ★ 5.0 on Google Live chatWhatsAppTelegramOpen a ticket
Get started
Remote Desktop

mstsc /admin: How to Connect to Remote Desktop as Administrator

How to connect to Remote Desktop as administrator with mstsc /admin

mstsc /admin starts Remote Desktop Connection in administrative mode. You use it to manage a Remote Desktop Services (RDS) server even when all regular sessions are taken, when its licensing is broken, or to bypass a Connection Broker and reach one specific server. This guide explains what /admin really does, when to use it, and the other ways people mean "connect to RDP as administrator".

Quick answerPress Win+R and run

mstsc /admin /v:203.0.113.10

then sign in with an account that is a member of the server's Administrators group.

Diagram of mstsc /admin: connecting to the console administrative session instead of a normal RD Session Host session
What /admin does

What mstsc /admin does

  • Doesn't use an RDS licence (CAL). Admin sessions use the two built-in "Remote Desktop for Administration" connections, so you can log in even if the RD Licensing grace period has expired or no licence server is reachable.
  • Bypasses the RD Connection Broker, so you connect to the exact server you name instead of being load-balanced to another one.
  • Ignores some session policies such as Easy Print and certain session-time limits for that connection.
  • It's not the physical console. Since Windows Server 2008, /admin creates a separate session; the old /console switch is no longer used.

You still need an account with administrator rights on the server; /admin doesn't grant any extra permissions.

How to use it

From the Run box or Command Prompt

mstsc /admin                          :: opens the client in admin mode
mstsc /admin /v:server.example.com    :: connect directly
mstsc /admin /v:203.0.113.10:50123    :: with a custom RDP port

In a saved RDP file

Open the .rdp file in Notepad and add:

administrative session:i:1

When to use mstsc /admin

  • "No Remote Desktop license servers available" errors on an RDS host.
  • The server has reached its maximum number of sessions.
  • You need to reach a specific RD Session Host behind a Connection Broker for maintenance.
  • You want a separate admin session that doesn't disturb users' sessions.
Ways to open an administrative Remote Desktop session: Run box, .rdp file line, or the Windows App
Three ways to use /admin

Other meanings of "RDP as administrator"

Log in with the Administrator account

In the RDP client, click Show Options and enter the user as Administrator (local account) or DOMAIN\Administrator. For a local account on a domain-joined server, use .\Administrator or SERVERNAME\Administrator.

Allow a non-admin user to connect

Add the user to the Remote Desktop Users group on the server (System Properties → Remote → Select Users, or Add-LocalGroupMember -Group "Remote Desktop Users" -Member alice). Members of Administrators can connect without this.

Run programs as administrator inside the session

Right-click the program and choose Run as administrator. User Account Control works the same in a remote session as locally.

Who can sign in over Remote Desktop: Administrators and members of Remote Desktop Users
Who is allowed in

Troubleshooting

  • "To sign in remotely, you need the right to sign in through Remote Desktop Services": the account isn't in Administrators or Remote Desktop Users, or a policy denies it.
  • Admin connection refused because both admin sessions are in use: disconnect or log off an existing session. From another admin session or the provider's console, run query session and logoff <ID>.
  • Can't connect at all: check that Remote Desktop is enabled and the RDP port is open.

Frequently asked questions

What does mstsc /admin do?

It opens an administrative Remote Desktop session that doesn't need an RDS licence and isn't redirected by a Connection Broker. You still need administrator rights.

Is mstsc /admin the same as /console?

No. /console was used up to Windows Server 2003 to connect to the physical console session. On newer versions, use /admin.

How many admin RDP sessions can I have?

Windows Server allows two concurrent administrative Remote Desktop sessions without RDS licences.

Can I use mstsc /admin on Windows 10 or 11?

Yes, the switch works in the client, but desktop Windows only allows one remote session anyway, so it rarely changes anything there.

Minakshi, Server Administrator L1 at 99RDP
Written byMinakshiServer Administrator L1, 99RDP. Part of the team that runs our servers and answers support.
Keep reading

More Remote Desktop guides

All Remote Desktop guides

Need a server for this?

✓ Setup in minutes✓ Full admin access✓ 7-day refund on new services