"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows XP and DOS

Display All Login Sessions and Associated Processes

SUMMARY: Show a list of user and system login sessions at the Windows XP DOS command prompt.


 

Even if you are the only user logged into your Windows XP machine, other sessions exist including ones for network and local services.

The logonsessions command can display detailed information about all such login sessions at the command prompt.

Simply download the file LogonSessions.zip, unzip the contained executable to your main Windows directory, and access session information with the following command at the DOS prompt:

logonsessions

Information on each session includes its ID, user name (if applicable), authorization package, logon type (such as service or interactive), login time and server, and DNS domain (if applicable).

By adding the -p parameter you can also view the filenames and PIDs (Process IDs) of each process opened by each logged in session:

logonsessions -p

* Download LogonSessions



Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows XP and DOS page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )