Active Directory: Audit Who Logged into a Computer

Schwandtner Boris 1 Reputation point
2022-11-30T10:07:06.347+00:00

Hello,

we upgraded our AD Servers and we are missing some important event logs. Old AD Servers had in EventViewer "4625(F): An account failed to log on." with device hostname, but this audit log is missing on our new AD. I set up new AD like old one with help of "auditpol /get /category:*".

Can somebody help ?

Thank you

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Server | Devices and deployment | Configure application groups
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-12-01T07:16:17.81+00:00

    Hello SchwandtnerBoris-0763,

    Thank you for posting in our Q&A forum.

    Based on the description "we upgraded our AD Servers", how did you upgrade the AD servers? In-place upgrade the operating system of the AD server or add new server to the same domain and then promote this server to Domain Controller?

    If you performed In-place upgrade the operating system of the AD server, the logs should not be missing, here is a similar thread for your references.

    https://learn.microsoft.com/en-us/answers/questions/1000078/security-event-log-id4740-amp-4767-appear-and-then.html

    If you added new server to the same domain and then promote this server to Domain Controller, I find not all the logs on old server will replicate to new server.

    For example:

    There is no event ID 4625 On old AD server.

    266022-1.png

    There are 4 event ID 4625 On new AD server.
    266023-2.png

    There are 24347 entries for Security logs on old AD server.
    265998-3.png

    There are 13271 entries for Security logs on old AD server.
    265988-4.png

    Hope the information above is helpful.

    Best Regards,
    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Schwandtner Boris 1 Reputation point
    2022-12-01T08:52:27.437+00:00

    Hello DaisyZhou-MSFT,

    thank you for your reply.

    Our upgrade process was done by adding a new AD servers to domain, and then promote that servers to Domain Controllers. After testing DHCP, DNS .... and rest of the services, we shut down old AD servers (but keep them in case of troubles).

    Everything seems working fine except for audit logs.

    This log is when test user has correcly setup"Log on to:"

    266102-image.png

    When i delete "Log on to" computer from user i no longer see in logs hostname. I see IP address but that's now enough.

    266043-image.png

    Thank you for your time

    Boris Schwandtner


  3. Anonymous
    2022-12-15T07:00:05.843+00:00

    Hello SchwandtnerBoris-0763,

    Thank you for your reply.

    1.Please check whether the AD replication is OK.

    2.Have you configured "Audit Logon Events – Success and Failure"?

    GPO: Default Domain Controller Policy

    Legacy audit policy:
    Computer Configuration\Windows settings\security settings\local policies\audit policy
    Audit Logon Events – Success and Failure

    Or use advanced audit policies (advanced audit policies will overwrite all legacy audit policies by default):
    Computer Configuration\Windows settings\security settings\Advanced Audit Policy Configuration
    Logon/Logoff:
    Audit Logon – Success and Failure
    Audit Logoff – Success and Failure
    Audit Account Lockout – Success and Failure

    If so, you can try to log on the DC using one incorrect domain account and check if there is any event 4625.

    Tip: There is only auditing Success result for the default Audit Logoff settings on DC.
    270854-capture.png

    Best Regards,
    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    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.