Table of Contents
- Getting Started
- Agent-Based Management
- Common Tasks
- Data Providers
- Directory Services
- Auditing
- Hosts
- Templates
- Template Properties
- Batch Update Templates
- Assign Templates
- Log Management Templates
- SCAP Compliance Monitor
- Active Directory User Monitor Templates
- File and Directory Monitor Templates
- Windows Monitor Templates
- CPU Monitor Template
- Memory Monitor Template
- Disk Space Monitor Template
- Account Lockout Monitor Template
- Audit Policy Monitor Template
- Logon As Monitor Template
- Logon Monitor Template
- Performance Counter Monitor Template
- PowerShell Template
- Process Monitor Template
- RDP Session Monitor Template
- Registry Value Monitor Template
- Service Monitor Template
- SMART Disk Monitor Template
- System Security Monitor Template
- Windows Update Template
- WMI Query Template
- Task Scheduler Template
- Clock Synchronization Template
- Defragment NTFS Disks Template
- Network and Application Monitor Templates
- SSL Certificate Monitor Templates
- Database Templates
- Email Monitor Templates
- SNMP Monitor Templates
- Windows Accounts Templates
- Monitors
- Reports
- Auto-Configurators
- Filters
- Actions
- Schedules
- Environment Variables
- Options
- SNMP
- SSH Shell
- Syslog
- System Reset
- Shared Views
- Active Directory User and Group Filters
- Assign Actions
- Assign Azure Audit Logs
- Assign Consolidated Logs
- Assign Directories
- Assign Disks
- Assign Event Logs
- Assign Files
- Assign Services
- Assign Shares
- Auto-Config Host Assignment Properties
- Define CSV and W3C Log Entry Columns
- Define Log Entry Columns
- Define Log Entry Columns with Regular Expressions
- Executable Status
- Executable Timeline
- Explicitly Assigned Logs
- File Explorer
- General Executable Properties
- Report Columns
- Report Date/Time Ranges
- Report Security Event Log Filters
- Select Folder or File
- Target Files and Sub-Directories
- Command Line Interface
- Server Configuration
- Agent Configuration
- Troubleshooting
- Terminology
Windows Account Templates
The Windows Account Templates enable users to scan both Domain Controllers and Stand-Alone Servers for enabled accounts, active accounts and inactive accounts. These Templates are typically used by both network administrators and ISSMs to generate reports of enabled, active and inactive accounts. These Templates can also be used to automatically disable or remove accounts after a period of inactivity.
In this Topic
- Sample Templates
- Enabled Local Accounts
- Active Local Accounts (90 Days)
- Inactive Local Accounts
- Enabled Domain Accounts
- Active Domain Accounts (90 Days)
- Inactive Domain Accounts
- Inactive Domain Accounts (AD)
Sample Templates
The Windows Account Templates are Sample Templates that are implementations of either the PowerShell or Active Directory User Monitor Templates. These Template can be found in the Explorer View in the following location:
Templates | Sample Templates | Windows | Accounts
Enabled Local Accounts
The Enabled Local Accounts Template returns a list of all local enabled accounts.
This Template is an implementation of the PowerShell Template.
Property | Description |
---|---|
Type | Command |
Module | Microsoft.PowerShell.LocalAccounts |
Command | Get-LocalUser |
Arguments | Select Name, FullName, Enabled, LastLogon | Where-Object { $_.Enabled } |
Active Local Accounts (90 Days)
The Active Local Accounts Template returns a list of all accounts that have interactively logged in within 90 days.
This Template is an implementation of the PowerShell Template.
Property | Description |
---|---|
Type | Command |
Module | Microsoft.PowerShell.LocalAccounts |
Command | Get-LocalUser |
Arguments | Select Name, FullName, Enabled, LastLogon | Where-Object {$_.Lastlogon -ge (Get-Date).AddDays(-90)} |
Inactive Local Accounts
The Inactive Local Accounts Template generates warning and critical triggers when an account has not been logged in within 30/90 Days respectively.
This Template is an implementation of the PowerShell Template.
Property | Description |
---|---|
Type | Command |
Module | Microsoft.PowerShell.LocalAccounts |
Command | Get-LocalUser |
Arguments | Select Name, FullName, Enabled, Lastlogon |
Warning Trigger | Enabled = true True and LastLogon > 30 Days |
Critical Trigger | Enabled = true True and LastLogon > 90 Days |
Enabled Domain Accounts
The Enabled Domain Accounts Template returns a list of all enabled domain accounts.
This Template is an implementation of the PowerShell Template.
Property | Description |
---|---|
Type | Command |
Module | ActiveDirectory |
Command | Get-ADUser |
Parameters |
|
Arguments | Select samaccountname, Name, Enabled, @{Name="lastLogon";Expression={[datetime]::FromFileTime($_.'lastLogon')}} | Select-Object @{Name="Name";Expression={$_.samaccountname}},@{Name="FullName";Expression={$_.Name}},@{Name="Enabled";Expression={$_.Enabled}},@{Name="LastLogon";Expression={$_.lastLogon}} |
Active Domain Accounts (90 Days)
The Active Domain Accounts Template returns a list of all accounts that have interactively logged in within 90 days.
This Template is an implementation of the PowerShell Template.
Property | Description |
---|---|
Type | Command |
Module | ActiveDirectory |
Command | Get-ADUser |
Parameters |
|
Arguments | Select samaccountname, Name, Enabled, @{Name="lastLogon";Expression={[datetime]::FromFileTime($_.'lastLogon')}} | Select-Object @{Name="Name";Expression={$_.samaccountname}},@{Name="FullName";Expression={$_.Name}},@{Name="Enabled";Expression={$_.Enabled}},@{Name="LastLogon";Expression={$_.lastLogon}} | Where-Object {$_.lastLogon -ge (Get-Date).AddDays(-90)} |
Inactive Domain Accounts
The Inactive Domain Accounts Template generates warning and critical triggers when an account has not been logged in within 30/90 Days respectively.
This Template is an implementation of the PowerShell Template.
Property | Description |
---|---|
Type | Command |
Module | ActiveDirectory |
Command | Get-ADUser |
Parameters |
|
Arguments | Select samaccountname, Name, Enabled, @{Name="lastLogon";Expression={[datetime]::FromFileTime($_.'lastLogon')}} | Select-Object @{Name="Name";Expression={$_.samaccountname}},@{Name="FullName";Expression={$_.Name}},@{Name="Enabled";Expression={$_.Enabled}},@{Name="LastLogon";Expression={$_.lastLogon}} |
Warning Trigger | Enabled = true True and LastLogon > 30 Days |
Critical Trigger | Enabled = true True and LastLogon > 90 Days |
Inactive Domain Accounts (AD)
The Inactive Domain Accounts (AD) Template generates warning and critical triggers when an account has not been logged in within 30/90 Days respectively.
This Template is an implementation of the Active Directory User Monitor Template.
Property | Description |
---|---|
Warning Trigger | LastLogon > 30 Days |
Critical Trigger | LastLogon > 90 Days |