0

Even though a user connects via VPN and creates 4776, 4648, 4624 and 4634 event ID's on domain controller, in active directory users attributes lastlogon and lastlogontimestamp still remains null or not set. This user actually does not logon because it cannot pass 2 factor authenticaion in VPN authenticatitor but I just can't understand why those successful logon events are logged in domain controller. Which event id's update these values? Thanks.

0

These values are not updated by VPN access. They are updated by local logon to a domain machine.

lastlogon is specific to a DC and not replicated via AD. lastlogontimestamp is replicated but it is only updated if it is over 14 days old (it is intended to find obsolete AD accounts).

You could use a log file parser to interpret the logs on all your domain controllers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.