In Windows 2003 and 2008 we had Terminal Services Manager (see screenshot below). However in Windows server 2012 it's gone.

Does anyone know how to access the list of currently remotely logged on users in Windows 2012 through a similar tool or some other way?

enter image description here

(I tried connecting to Windows 2012 from Windows 2008, that's why you see "win2012" in the TSM groups list. But that didn't quite work, and that's not a solution to my problem either. I was just trying to somehow manage remote users on the Win 2012 server.)

  • have you run query session from CMD or PS shell? from there you should be able to run kill session on the session id in question.
    – organicit
    Dec 3, 2013 at 0:12
  • @MathiasR.Jessen Thanks for the link to the other question. I had searched, but hadn't found that question. Cole's answer below also contains information that's not in the answers to the other question.
    – Scott
    Dec 3, 2013 at 0:45
  • Not sure about 2012, but in 2012 R2 you can view and manage current connections in Server Manager. Remote Desktop Services > Collections > [CollectionName].
    – CrazyTim
    Jan 22, 2016 at 2:54

6 Answers 6


You can use qwinsta from the command line to display the current RDP sessions.

 qwinsta /server:computer01

 SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
 console                                     0  Conn    wdcon
 rdp-tcp                                 65536  Listen  rdpwd
                   administrator             2  Disc    rdpwd

To kill a session use rwinsta to delete the session specifying the ID number:

rwinsta /server:computer01 3

Here's the list of command line tools for Remote Desktop.

Or, you can use PowerShell:

Get-RDUserSession and Disconnect-RDUser

Here's the list of those cmdlets.

  • 1
    Thanks. That works. I think I prefer the more verbose commands query user and reset session as those are easier for me to remember than rwinsta.
    – Scott
    Dec 3, 2013 at 0:29
  • 1
    Very nice. Defaults to local machine, so just qwinsta then rwinsta 3, faster than trying to find tsadmin Dec 21, 2015 at 5:16

Yep, tsadmin is gone. Kinda' sucks. There's RDMS through Server Manager and the Remote Desktop Powershell cmdlets (get-command *RD*), but those both require that a full Remote Desktop Services deployment exist on that server. Those don't work on servers without RDS deployments or on workstations.

You can use Task Manager... or, if you want something command-line, you could use this utility that I wrote specifically for this: users.exe

Oh and there's also quser.exe that Microsoft already wrote, but my utility does a little extra that quser doesn't do.

  • 1
    C:\>logoff.exe x Where x is the session ID
    – Ryan Ries
    Jan 22, 2013 at 12:56
  • @RyanRies, What about the terminal services configuration tscc.msc? What's the equivalent in Server 2012?
    – Pacerier
    Mar 13, 2015 at 16:42
  • @Pacerier Gone. Sucks, huh? You can still use the MMC snap-ins you know and love, remotely, from a 2008 R2 server against a 2012 server. You can also just directly modify the registry keys, or use Group Policy. Microsoft went on this weird VDI kick with 2012, and they left a serious gap by dropping the legacy RDSH administration tools.
    – Ryan Ries
    Mar 13, 2015 at 18:09

Just open the Users tab in Task Manager. You'll get a full list of user sessions, their states, and running processes. Also you can log them off through the right-click menu.

It seems this is the replacement for tsadmin

  • I was just about to add this as the answer. Simple, quick and exactly what is needed to see who is logged in, and log them off if necessary.
    – Rich
    Mar 9, 2017 at 11:51

I've just discovered that most of the actions can be performed from TaskManager, right on users (logoff, send messages etc...)

  • 1
    Can you access a list of currently logged on users though? Feb 10, 2014 at 6:31

I have found a solution to the tsadmin problem. Copy these files from a 2008 server to the Windows 2012/8 computer under c:\windows\system32

  • tsadmin.dll
  • tsadmin.msc
  • umcRes.dll
  • wts.dll

Then import these registry settings and you have Tsadmin.msc working again! :)

Reg file is attached.

Windows Registry Editor Version 5.00
"NameString"="Remote Desktop Services Manager"
"Description"="Manage Remote Desktop Services sessions"
"Type"="Microsoft.TerminalServices.Monitor.SnapIn.TSManagerSnapIn, tsadmin, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
"Provider"="Microsoft Corporation"


Remote Server Administration Tools (RSAT) enables IT administrators to remotely manage roles and features in Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 or Windows Server 2008 R2 from a computer that is running Windows 8.1, Windows 8, Windows Vista, or Windows 7.

If you need to install management tools in Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, or Windows Server 2012 R2 for specific roles or features running on remote servers, there's no need to install additional software. Open the Add Features Wizard in Windows Server 2008 or Windows Server 2008 R2, or the Add Roles and Features Wizard in Windows Server 2012 and later releases, and on the Select Features page, expand Remote Server Administration Tools and select the tools that you want to install.

The linked article also lists RSAT download links for all windows versions since Vista. Though the size is huge (about 240 Mb for Win7).

I was able to install it on Windows 7.

After that tsadmin.msc works as expected.

  • As far as I can tell from reading <blogs.technet.com/b/askperf/archive/2012/10/30/…>, installation of RSAT/RDMS on Server 2012 R2 appears to only be available when using "Remote Desktop Services installation" as the Installation Type. It doesn't appear for me when using "Role-based or feature-based installation". Unfortunately, I don't know enough about RDS deployment in 2012 to know if that's what I want to do. It also requires that the server be joined to a domain. I just want tsadmin back!
    – nstenz
    Jan 15, 2016 at 19:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .