- Run gpedit.msc → Create a new GPO → Edit it → Go to "Computer Configuration" → Policies → Windows Settings → Security Settings → Local Policies > Audit Policy:
- Audit account management → Define → Success.
- Go to Event Log → Define:
- Maximum security log size to 4GB
- Retention method for security log to Overwrite events as needed.
- Link the new GPO to OU with User Accounts → Go to "Group Policy Management" → Right-click the defined OU → Choose "Link an Existing GPO" → Choose the GPO that you’ve created.
- Force the group policy update → In "Group Policy Management" → Right-click the defined OU → Click on "Group Policy Update".
- Open ADSI Edit → Connect to Default naming context → Right-click DomainDNS object with the name of your domain → Properties → Security (Tab) → Advanced (Button) → Auditing (Tab) → Add Principal "Everyone" → Type "Success" → Applies to "This object and Descendant objects" → Permissions → Select all check boxes except the following:
- Full Control
- List Contents
- Read all properties
- Read permissions → Click "OK".
- Open Event viewer and search Security log for event ID’s 4725 (User Account Management task category).
- Run Netwrix Auditor → Click "Search" → Advanced → Set up the following filters:
- Audited System = Active Directory
- Object Type = User.
- Click "Modify", type in "disabled" into the search field and click "Search".
- After that, you will see who disabled which account in your domain.
Detect Disabled Users in Active Directory and Determine Who Disabled them
If a user can’t log into IT systems with Windows authentication, one of the reasons behind could be an accidentally performed change to system configuration. An incorrect change to system configuration can accidentally disable a user in Active Directory. Disabled users in Active Directory may be unable to access critical resources such as email, files and SharePoint, disrupting the seamless flow of operations. Therefore, IT pros needs to be able to detect when accounts are disabled and quickly determine who made the changes that resulted in Active Directory disabled account.
Netwrix Auditor for Active Directory offers a Google-like Interactive Search feature that helps IT pros detect Active Directory disabled accounts. It also includes a predefined report that shows changes to user account status, including details about who made each change that disabled users in Active Directory and when the change was made. Moreover, Netwrix Auditor for Active Directory can send a real-time alert whenever there’s a status change in an Active Directory account, empowering IT pros to detect disabled user accounts much faster.