Skip to main content

Inactive User Tracker

Auditor Inactive User Tracker standalone tool discovers inactive user and computer accounts. It performs the following tasks:

  • Checks the managed domain or specific organizational units by inquiring all domain controllers, and sends reports to managers and system administrators listing all accounts that have been inactive for the specified number of days.

  • Automatically deactivates inactive accounts by settings a random password, disabling, deleting or moving them to a specified organizational unit.

    NOTE: The password that is generated will contain uppercase and lowercase letters, numbers and special characters. The default value for the password length is 15 characters. You can modify this password any time by configuring registry keys. See the Registry Keys topic for additional information.

  • Windows Server 2022

  • Windows Server 2019

  • Windows Server 2016

  • Windows Server 2012 R2

  • Windows Server 2012

  • Windows Server 2008 R2

  • Windows Server 2008

Create Monitoring Plan to Audit Inactive Users

Follow the steps to create a monitoring plan to audit inactive users.

Step 1 – Navigate to Start > Netwrix Auditor > Netwrix Auditor Inactive Users Tracker.

Step 2 – On the main page, you will be prompted to select a monitoring plan. Click Add to add a new monitoring plan.

Step 3 – Configure basic parameters as follows:

OptionDescription
Enable inactive user trackingSelect the checkbox to discover inactive users in your Active Directory domain.
Audited domainSpecify domain name in the FQDN format.
Send report to administratorsEnable this option and specify one or several email addresses for administrators to receive daily reports with a list of inactive users. Use semicolon to separate several addresses.

Step 4 – Navigate to the General tab and complete the following fields:

OptionDescription
Specify account which will be used to collect data: - User name - PasswordEnter the account which will be used for data collection. See theData Collecting Account topic for additional information about the full list of the rights and permissions for the account.
Consider user inactive afterSpecify account inactivity period, after which a user is considered to be inactive.
Customize the report templateClick Edit to edit the notification template, for example, modify the text of the message. You can use HTML tags when editing a template.
Attach report as a CSV filesSelect this option to receive reports attached to emails as CSV files.

The following variables can be used in the Inactive User Tracker message templates:

mpNameMonitoring Plan Name
sAMAccountNameAccount Name
sAMAccountTypeAccount Type
mailE-Mail
inactivityTimeInactivity Time
accountAgeAccount Age
performedActionPerformed Action

Step 5 – Navigate to the Actions tab and complete the following fields:

OptionDescription
Notify manager afterSpecify account inactivity period, after which the account owner's manager must be notified.
Set random password afterSpecify account inactivity period, after which a random password will be set for this account.
Disable accounts afterSpecify account inactivity period, after which the account will be disabled.
Move to a specific OU after- Specify account inactivity period, after which the account will be moved to a specified organizational unit. - OU name—Specify OU name or select an AD container using select_button button.
Delete accounts afterSpecify account inactivity period, after which the account will be removed.
Delete account with all its subnodesSelect this checkbox to delete an account that is a container for objects.
Notify managers only onceIf this checkbox is selected, managers receive one notification on account inactivity and one on every action on accounts. Managers will receive a notification in the day when the account inactivity time will be the same as specified in the inactivity period settings. By default, managers receive notifications every day after the time interval of inactivity specified in the Notify managers after entry field.

Step 6 – Navigate to the Advanced tab and complete the following fields:

OptionDescription
Filter by account nameSpecify one or several user account names (e.g., *John*). Use semicolon to separate several names. Only user accounts that contain selected name will be notified and included in the administrators and managers reports.
Filter by organizational unitTo audit inactive users that belong to certain organizational units within your Active Directory domain, select this option and click Select OUs. In the dialog that opens, specify the OUs that you want to audit. Only users belonging to these OUs will be notified and included in the administrators and managers reports.
Process user accountsSelect this checkbox to audit user accounts.
Process computer accountsSelect this checkbox to audit computer accounts.

Step 7 – Navigate to the Notifications tab and complete the following fields:

OptionDescription
SMTP serverEnter your SMTP server address. It can be your company's Exchange server or any public mail server (e.g., Gmail, Yahoo).
Port numberSpecify your SMTP server port number.
Sender addressEnter the address that will appear in the From field. RECOMMENDED: click Send Test Email. The system will send a test message to the specified email address and inform you if any problems are detected.
SMTP authenticationSelect this checkbox if your mail server requires the SMTP authentication.
User nameEnter a user name for the SMTP authentication.
PasswordEnter a password for SMTP authentication.
Use Secure Sockets Layer encrypted connection (SSL)Select this checkbox if your SMTP server requires SSL to be enabled.
Use implicit SSLSelect this checkbox if the implicit SSL mode is used, which means that an SSL connection is established before any meaningful data is sent.
Enforce certificate validation to ensure securitySelect this checkbox if you want to verify security certificate on every email transmission. The option is not available for auditing User Activity as well Netwrix Auditor tools.
Display the following From address in email notificationsEnter the address that will appear in the "From" field in email notifications. This option does not affect notifications sent to users' managers and administrators. Before configuring the "From" field for user email notifications, make sure that your Exchange supports this option.

Review your configuration and click Save.

Review Report on Inactive Users

Follow the steps to review report on inactive users.

Step 1 – Click Generate next to Generate report on inactive users to view report immediately.

inactiveusersactivedirectory

Registry Keys

Review the basic registry keys that you may need to configure for monitoring inactive users within your Active Directory domain with Netwrix Auditor. Navigate to Start > Run and type "regedit".

Registry key (REG_DWORD type)Description / Value
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Netwrix Auditor\Inactive Users Tracker
HideEmailAdditionalInfoDefines whether to show or hide the header and footer in emails sent to managers (emails sent to administrators always have default header and footer): - 0—Show - Any other number—Hide
RandomPasswordLengthDefines the length of a random password to be set for inactive user.
WriteEventLogDefines whether to write events to the Application Log: - 0—No - 1—Yes

Monitoring Scope

You can fine-tune Netwrix Auditor by specifying data that you want to exclude from the Inactive User monitoring scope.

Follow the steps to exclude data from the Inactive Users monitoring scope:

Step 1 – Navigate to the %PROGRAMDATA%\Netwrix Auditor\Inactive Users Tracker folder.

Step 2 – Edit the *.txt files, based on the following guidelines:

  • Each entry must be a separate line.
  • A wildcard (*) is supported. You can use * for cmdlets and their parameters.
  • Lines that start with the # sign are treated as comments and are ignored.
FileDescriptionSyntax
filter.txtContains a list of accounts to be excluded from processing.Username
omitdclist.txtContains a list of domain controllers to be excluded from processing. Auditor skips all automated deactivation actions for inactive accounts (disable, move, delete) even if one domain controller is unavailable during scheduled task execution. Add the unavailable domain controllers to this file to ensure Auditor functions properly.Full DNS name or NetBIOS name IP addresses are not supported.
omitoulist.txtContains a list of organizational units to be excluded from processing.Path *OU=OUNAME* For example: If the OU is "sampledomain.sample/sampling", the syntax should be: *OU=sampling*