Skip to main content

LogonSessions v1.3

By Mark Russinovich

Published: July 20, 2015

 Download LogonSessions
 (133 KB)

Rate:  
 

Introduction

If you think that when you logon to a system there's only one active logon session, this utility will surprise you. It lists the currently active logon sessions and, if you specify the -p option, the processes running in each session.

Usage: logonsessions [-c[t]] [-p]

-cPrint output as CSV.
-ctPrint output as tab-delimited values.
-pList processes running in logon session.


Example output

C:\>logonsessions -p 
…

[13] Logon session 00000000:6a6d6160:
    User name:    NTDEV\markruss
    Auth package: Kerberos
    Logon type:   RemoteInteractive
    Session:      1
    Sid:          S-1-5-21-397955417-626881126-188441444-3615555
    Logon time:   7/2/2015 6:05:31 PM
    Logon server: NTDEV-99
    DNS Domain:   NTDEV.CORP.MICROSOFT.COM
    UPN:          markruss@ntdev.microsoft.com
    15368: ProcExp.exe
    17528: ProcExp64.exe
    13116: cmd.exe
    17100: conhost.exe
     6716: logonsessions.exe

 

No

Download Logonsessions
(133 KB)


Advertisement
 
Advertisement
 
Advertisement
 

Download


No

Download Logonsessions
(133 KB)

Runs on:

  • Client: Windows XP (32-bit)and higher.
  • Server: Windows Server 2003 and higher.