Sysinternals/Pstools/PsLoggedon

From aldeid
Jump to navigation Jump to search
You are here:
PsLoggedon

Description

PsLoggedOn is part of the PsTools toolkit developed by Sysinternals. It lists logged on users, locally or via shares resources.

Installation

PsLoggedOn is part of the PsTools suite. To install it, please refer to this section.

Usage

Syntax

psloggedon [-l] [-x] [\\computername]

or

psloggedon [username]

Options

-l
Show only local logons
-x
Don't show logon times

Examples

Search by username

C:\pstools>psloggedon william

PsLoggedon v1.34 - See who's logged on
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Error opening HKEY_USERS for ALEX-PC
Unable to query resource logons
Unable to query resource logons
Error opening HKEY_USERS for OZ-C06A6A6F2D3C
Unable to query resource logons
william-PC\william logged onto WILLIAM-PC locally.

Search logged on users on a machine

C:\pstools>psloggedon

PsLoggedon v1.34 - See who's logged on
Copyright (C) 2000-2010 Mark Russinovich
Sysinternals - www.sysinternals.com

Users logged on locally:
     11/07/2012 19:05:37        william-PC\william

Users logged on via resource shares:
     11/07/2012 19:30:00        (null)\WILLIAM

Comments