Domain Controller Query Computer Logon to Find User

nicholas conger 1 Reputation point
2021-09-30T01:42:08.12+00:00

Hello,

I'm looking for a way to query the domain controller to find out who has been logging into a specific computer. I have 2 computers that we're trying to find out who is logging into them.

I'm looking at XML Queries but all I'm finding is the script to find a specific user's logon.

Does someone have a script that can query a specific computer name's logon, so then I can find the user logging into it?

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2021-09-30T01:47:05.077+00:00

    This tool should sort it.
    https://learn.microsoft.com/en-us/sysinternals/downloads/psloggedon

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. nicholas conger 1 Reputation point
    2021-09-30T01:59:56.933+00:00

    That works GREAT !!! I just have to wait until the computer is logged in on our domain and that would work.


  3. Limitless Technology 39,916 Reputation points
    2021-09-30T13:24:38.16+00:00

    Hello @nicholas conger

    The topic has been lengthy discussed and provided different answers in this post:

    https://learn.microsoft.com/en-us/answers/questions/159086/getting-list-of-users-who-logged-in-within-5-days.html

    Hope this helps with your query,

    ---------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.