Windows app directory

PsLoggedOn

Shows local and remote user accounts currently logged on, using registry and network session data.


Publisher: Microsoft Corporation
Country of Origin: United States US

Official Website: https://learn.microsoft.com/en-us/sysinternals/downloads/psloggedon

Description

Displays which local and remote user accounts are currently logged on to a Windows system, using registry and network session information.

PsLoggedOn is a Windows command-line utility in the Sysinternals suite that reports currently logged-on users for a target computer, including both locally logged-on accounts and users connected via network resources. It enumerates interactive logons primarily by querying the system’s registry for profile and logon-related data, and it identifies remote logons by listing active SMB/network sessions (for example, connections established to shared folders). The tool can be run against the local machine or a specified remote computer name, making it useful for administrative auditing, incident response triage, and troubleshooting account usage on endpoints and servers.

Output is text-based and intended for scripting and automation, and accurate results depend on permissions and the availability of the underlying remote management and networking interfaces; in some environments, access controls, firewalls, or hardened configurations may limit what can be queried remotely.