
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
Get E-Mail When New Tips are Online
Return to the Windows XP and DOS page.
New in MalekTips: