

See Using RDS with application proxy services for details. So use runas /u:DOMAIN\adminUser cmd.exe to start admin console first.The web client does support using Azure AD Application Proxy but does not support Web Application Proxy at all. RDCM doesn't show idle/logon time though, and it's quite outdated and glitchy.Īlso important to note that all methods will fail to show active sessions if current user does not have admin rights on the queried remote server.

Note that quser and qsession don't show client machine name, which might be useful to identify who is actually using the machine. This shows Session ID, Session state, User domain/name, client machine name. Third option - install Microsoft Remote Desktop Connection Manager, configure your server(s), then right-click on the server to "list sessions". It shows all sessions, including disconnected ones, which might be useful. This shows User name, Session name, Session ID and Session state. Second option - use command line to query session /server:SERVERNAME. This shows User name, Session name, Session Id, Session state, Idle Time and Logon Time for all logged in users. SERVER:servername The server containing the session (default is current).įirst option - use command line to query user /server:SERVERNAME (or quser.exe - same thing). Sessionname Identifies the session with name sessionname. Reset the session subsytem hardware and software to known initial values. You can also reset an RDP session with the "rwinsta" command: >rwinsta /? VM Display information about sessions within virtual machines COUNTER Display current Remote Desktop Services counters informati CONNECT Display current connect settings. FLOW Display current flow control settings. SERVER:servername The server to be queried (default is current). Sessionid Identifies the session with ID sessionid. Username Identifies the session with user username. Sessionname Identifies the session named sessionname. >qwinsta /?ĭisplay information about Remote Desktop Sessions. Run the "qwinsta" command on the server, or with the /server:servername switch.
