I need to get a list of all AD users logon history (not only the last logged on) between two dates (start and end).
I know there are AD management tools like AD Info and AD Tidy but this kind of tools only retrieve the last logged on for each user and I need the logon history for each of them.
Also, I have found a PowerShell script here. This script does what I want: get the complete logon history but it is based on windows event log by inspecting the Kerberos TGT Request Events(EventID 4768) in event viewer from domain controllers. The problem is that event log has a maximum size and once it is reached old logs are deleted automatically.
Now I need to extract logon history for each AD user between two dates and I see most of them have already been deleted automatically in windows event log so this script is not retrieving them....
So is there any free tool to extract complete logon history for each AD User directly from AD? or Do you know a powershell script that can do that but requesting data directly from AD instead of windows event log?