How to Track Who Enabled a User in Active Directory

Authored by: Support.com Tech Pro Team

1. Introduction

How to Track Who Enabled a User in Active Directory

 

2. Step 1: Apply the Group Policy

  • Firstly run “gpedit.msc” command in “Run” box or “Command Prompt” to open the Group Policy Management Console.
  • Edit the default domain policy or customized domain wide policy. We recommend you create a new GPO, link it to the domain and edit it from there. You can link a new GPO from the domain by right clicking on it.
  • Right-click the default or newly created GPO and click “Edit”. “Group Policy Management Editor” appears on the screen.
  • Go to “Computer Configuration” âž” “Policies” âž” ”Windows Settings” âž” “Security Settings” âž” “Local Policies” âž” “Audit Policy”.
  • Double-click “Audit Account Management” Policy. Select the “Define these policy settings” option.
  • Select both “Success” and “Failure”.
  • Click “Apply” and “OK”.

3. Step 2: Force a Group Policy update

In “Group Policy Management” right-click the defined OU and then select “Group Policy Update.” Alternatively, you can run the following command on the command prompt:

gpupdate /force

4. Step 3: Enable auditing using ADSI

  • In the “Run” box, type “ADSIEdit.msc” and press “Enter” key to open its console.
  • Right-click “ADSI Edit”, the top node in left panel.
  • In the context menu, click “Conenct to” to open “Connection Settings” window. Here, click “Select a well-known Naming Context”.
  • In the drop-down menu, click “Default Naming Context”
  • Right-click the “Domain DNS object” and click “Properties”.
  • Switch to the “Security” tab
  • Click “Advanced” to access “Advanced Security Settings”.
  • Switch to the “Auditing” tab.
  • Click “Add” to add an auditing entry.
  • Click “Select a Principal” and add “Everyone”. (You can also add any specific user, computer, group or service account.)
  • Now, select “All” in “Types” drop-down menu.
  • Select “This object and all descendent objects” in “Applies to” drop-down menu.
  • Click checkboxes to select all permissions except the following:
  • Full control
  • List contents
  • Read all Properties
  • Read permissions
  • Click “OK”. The auditing entry of these permissions for “Everyone” are displayed in the “Auditing” Tab of “Advanced Security Settings”.
  • Click “Apply” and “OK” to close the “Auditing Entry” window. It takes you back to the “Security” Tab for object properties.
  • Click “Apply” and “OK” to close object properties.
  • Close the “ADSIEdit” window.

5. Step 4: Open Event Viewer

Start “Event Viewer” and search for the event ID 4722 in the Security Logs. This ID identifies a user account that was enabled.

The above image displays the user who enabled a user account. You can scroll down to view which user has been enabled.