Which event log present information about user logons and logoffs in a windows domain network?

IT administrators often need to know who logged on to their computers and when for security and compliance reasons. Although you can use the native auditing methods supplied through Windows to track user account logon and logoff events, you may end up having to sift through thousands of records to reach the required log. Once you’ve found the required log, getting the required information for compliance and security reports is not an easy process.

In this article, you will learn how to audit who logged into a computer and when. You will also learn about an easier way in which you can audit logon/logoff events with Lepide Active Directory Auditor.

Enable Native Auditing of User Logon/Logoff Events

You can do this through two GPO settings:

Audit Logon Events: This setting generates events for starting and ending logon sessions. These events happen on the machine where you log in.

Audit Account Logon Events: This setting generates events on the computer that validates logons. When a domain controller authenticates a domain user account, events are generated and stored on that domain controller.

Below are the steps to enable auditing of user Logon/Logoff events

  • Step 1 – Open “Group Policy Management” console by running the “gpmc.msc” command.
  • Step 2 – If you want to configure auditing for the entire domain, right-click on the domain and click “Create a GPO in this domain, and Link it here…”.
  • Step 3 – Create a new GPO dialog box appears on the screen. Enter a new GPO name.
  • Step 4 – Go to the new GPO, right-click on it, and select “Edit” from the context menu.
  • Step 5 – “Group Policy Management Editor” window appears on the screen.
  • Step 6 – In the navigation pane, go to “Computer Configuration” ➔ “Policies” ➔ “Windows Settings” ➔ “Security Settings” ➔ “Local Policies” ➔ “Audit Policy”.
    Which event log present information about user logons and logoffs in a windows domain network?
    Figure : Configuring audit logon events policy
  • Step 7 – In the right pane, double-click “Audit logon events” policy to open its properties window.
  • Step 8 – Select the “Success” and “Failure” checkboxes, and click “OK”.
  • Step 9 – Similarly, you have to enable “Success” and “Failure” for “Audit Account Logon Events”.
  • Step 10 – Close “Group Policy Management Editor”.
  • Step 11 – Now, you have to configure this new Group Policy Object (containing this audit policy) on all Active Directory objects including all users and groups. Perform the following steps.
    • In In “Group Policy Management Console”, select the new GPO (containing above change).
    • In “Security Filtering” section in the right panel, click “Add” to access “Select User, Computer or Group” dialog box.
    • Type “Everyone”. Click “Check Names” to validate this entry. Click “OK” to add it and apply on all objects.
    Which event log present information about user logons and logoffs in a windows domain network?
    Figure : Applied the Group Policy Object to everyone
  • Step 12 – Close “Group Policy Management Console”.
  • Step 13 – Now, run following command to update GPO.
  • Step 14 – gpupdate /force

Check Login and Logoff History in Windows Event Viewer

After you have configured log on auditing, whenever users logon into network systems, the event logs will be generated and stored. To find out the details, you have to use Windows Event Viewer. Follow the below steps to view logon audit events:

  • Step 1 – Go to Start ➔ Type “Event Viewer” and click enter to open the “Event Viewer” window.
  • Step 2 – In the left navigation pane of “Event Viewer”, open “Security” logs in “Windows Logs”.
  • Step 3 – You will have to look for the following event IDs for the purposes mentioned herein below.

For user logon, you have to search for 4624 and 4648 logon event IDs. For failed logon, you have to search for 4625. For logoff events, you have to search for 4634 and 4647.

In this article, we are searching for logon event IDs 4624 and 4648. The following screenshot shows Windows Event ID 4648 for the user logon attempted using explicit credentials.

Which event log present information about user logons and logoffs in a windows domain network?
Figure : Logon event in Event Viewer

Use Lepide Active Directory Auditor to audit User Logon/Logoff Events

Using Lepide Active Directory Auditor (part of Lepide Data Security Platform), you can easily monitor a user’s log on and log off activity (avoiding the complexities of native auditing). The solution collects log on information from all added domain controllers automatically. Its report contains details on logon or logoff events, including when users logged in, from which computer, and when. You get accurate and instant reports on login details of users in the network. The following screenshot shows a successful user logon report event captured by Lepide Active Directory Auditor:

Which event log present information about user logons and logoffs in a windows domain network?
Figure : Successful User logon/logoff report

Conclusion

In this article, the steps to audit the user logon and logoff events through native auditing are explained. However, much noise is generated for the logon or logoff events that make it complicated for the IT administrators to have a real-time view. The easiest and more efficient way to audit the same with Lepide’s Active Directory Auditing solution has also been explained. To try Lepide Active Directory Auditor for yourself, download the free trial version today.

Download Lepide Active Directory Auditor

When a user logs into any computer in the domain using his or her domain user account?

Account Logon and Logon Events It is important that you understand the difference between these two similarly named policy settings. When a user logs on to any computer in the domain using a domain user account, a domain controller authenticates the attempt to log on to the domain account.

How do I check the security logs on a domain controller?

Navigate to Domain Controllers. Right-click the effective domain controller's policy and select Edit. In the Group Policy Management Editor, choose Computer Configuration → Go to Policies → Go to Windows Settings → Go to Security Settings → Go to Local Policies → Go to Audit Policy.

How do I view audit logs in Event Viewer?

To view the security log Open Event Viewer. In the console tree, expand Windows Logs, and then click Security. The results pane lists individual security events. If you want to see more details about a specific event, in the results pane, click the event.

How do I view Windows audit policy?

To view a system's audit policy settings, you can open the MMC Local Security Policy console on the system and drill down to Security Settings\Local Policies\Audit Policy as shown below.