PSTools

Contents
PSLoggedon
Related Articles

PSLoggedon

PsLoggedOn is a tool designed to identify users who are using the resources of a remote computer.

You can download PsTools from the website dosc.microsoft.com

Unzip the zip archive to a folder on your local PC. For example, in Users - Username - Software

C:\Users\urn.su\Software\PSTools

There will be several in the folder .exe files

You need to make sure that there is a PsLoggedOn

psloggedon изображение с сайта www.aredel.com
psloggedon
www.aredel.com

Add the path to this folder to the PATH Environment Variable

If you don't know how to do this, read my article «System Environmental Variable PATH»

After PATH is updated, you can test it by writing on the command line

psloggedon

C:\Users\urn.su>psloggedon PsLoggedon v1.35 - See who's logged on Copyright (C) 2000-2016 Mark Russinovich Sysinternals - www.sysinternals.com Users logged on locally: 3/24/2020 2:56:28 PM Domain\aredel.com No one is logged on via resource shares. C:\Users\urn.su>

In the example above, we can see that only one local user with the username is logged in now aredel.com

Normally it will give you your username + other usernames of anyone who is logged in locally or remotely

If you need to check remote PC logged users use \\hostname

C:\Users\urn.su>psloggedon \\remote-host

PsLoggedon v1.35 - See who's logged on Copyright (C) 2000-2016 Mark Russinovich Sysinternals - www.sysinternals.com Users logged on locally: 3/20/2020 1:44:30 PM Domain\user9173182 3/24/2020 2:28:50 PM Domain\user9273579 Users logged on via resource shares: 3/24/2020 5:24:23 PM Domain\user9373579 C:\Users\urn.su>

If you are in a work network you can check the real name of your colleague by entering this username to MS Teams

teams изображение с сайта www.aredel.com
Teams
www.aredel.com

And ask this colleague to do something with the machine

Related Articles
Windows
Network in PowerShell
Windows Firewall
SSH
Telnet
pstools
RDP
SSH tunnel for RDP
NET USE
Banner Image

Search on this site

Subscribe to @aofeed channel for updates

Visit Channel

@aofeed

Feedback and Questions in Telegram

@aofeedchat