About 77 results
Open links in new tab
  1. How to get the active user username using 'query user'

    Jun 27, 2017 · The query user command lists remote desktop sessions/users, so you'll need to filter the output of the command if more than one user can be logged in at the same time.

  2. Powershell get a value from 'query user' and not the headers etc

    Task, get the ID from the query user command, I'm trying to get the ID value from the the command 'query user', Example:PS> query user USERNAME SESSIONNAME ID STATE I...

  3. How to query what users are logged on to a remote server's Terminal ...

    Are you querying to find out if the user named administrator has a session on the remote server? Is the account under which you're running quser a domain admin or a local admin of the remote server?

  4. How to get query command on Windows 10 - Super User

    May 23, 2019 · I figured I could run query user on the machine, but the query command is not installed. Where can I get it? To clarify, this is a Windows Command prompt command that comes installed on …

  5. Easier way to parse 'query user' in PowerShell (or quser)

    I currently have the following query in PowerShell: query user /server:$server Which returns output: USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME svc_chthost ...

  6. How can I view active remote connections (RDP) to a Windows server?

    Feb 22, 2016 · First option — use command line to query user /server:SERVERNAME (or quser.exe - same thing). This shows User name, Session name, Session Id, Session state, Idle Time and Logon …

  7. Determining how long the user is logged on to Windows

    Aug 17, 2008 · The need arose, in our product, to determine how long the current user has been logged on to Windows (specifically, Vista). It seems there is no straight forward API function for this and I …

  8. How to see users' idle time on RDP server - Super User

    Feb 18, 2016 · You can use powershell to locate various users or multiple server's idle time The script was created by user "Cookie.Monster" on technet Get-UserSession - Parse query user result

  9. Powershell Get Active logged in user in local machine

    Mar 8, 2017 · A small addition to the answers that are using the quser / query user approach. To make the output locale independent, include a code page change to the command line:

  10. cmd - How to use windows "query user" with a username that has a ...

    Mar 10, 2021 · 0 We can use query user username to get Windows user session information. For instance, query user user1 or query user user_1 returns with appropriate user information and I can …