Posted On March 31, 2019

How to generate a list of currently active users on the domain along with their PC names

kimconnect 0 comments
blog.KimConnect.com >> Windows >> How to generate a list of currently active users on the domain along with their PC names
There's a free tool that would enable an administrator view the current active accounts within the domain by specifying a targeted machine name to query its live sessions. One would install a utility package called Systernals to include an executable called "psloggedin.exe." An example usage for such command is shown below:

Command:
psloggedon \\{file_server_name}

Usage: psloggedon [-l] [-x] [\\computername]
or psloggedon [username]
-l Show only local logons
-x Don't show logon times

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

Users logged on locally:
DOMAIN1\user1

Users logged on via resource shares:
PC1\user1
PC2\user2
PC3\user3
PC4\user4
PC5\user5
PC6\user6
PC7\user7
PC8\user8

Please note that we have chosen to query the {file_server_name} instead of a domain controller or workstation because file servers are most likely to have active sessions, especially if users home folders are specified to point toward the file server in active directory. In the example above, we can easily determine who has console, physical access to the server. At the same time, we can tell which user is using certain computers by names.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How To Create a Virtual Machine Administrator Role in SCVMM

Update: A new write-up has been posted with screenshots here. Virtual Machine Manager (VMM) 2019…

Some Batch Files

REM Date.batset fscfg=m:\mfgsys\fs.cfgm:\fs_apps\setcfg N0 DT_TODAY={TODAY} REM lexp.batfsguiapp.exe -s -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}exp{CR}exit Rem Invoice_Prints_ZZ1_2_3_.batfsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ1{TAB}pass1{CR}bexe{ESC}zz1{CR}M:\cabsauto\timeout 15fsguiapp.exe…

Server Cleanup

Install msizap.exe by installing the SDK package . Run msizap to clean up temporary files…