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?
(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.)
You can use
qwinsta
from the command line to display the current RDP sessions.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
andDisconnect-RDUser
Here's the list of those cmdlets.
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.
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've just discovered that most of the actions can be performed from TaskManager, right on users (logoff, send messages etc...)
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
Then import these registry settings and you have Tsadmin.msc working again! :)
Reg file is attached.
http://social.technet.microsoft.com/wiki/contents/articles/2202.remote-server-administration-tools-rsat-for-windows-client-and-windows-server-dsforum2wiki.aspx
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.