Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Optional features count should be retrievable

AD-CFG-04InfoActive DirectoryDirectory configuration

Part of Active Directory · Active Directory · Directory configuration · All checks

Run this check
Invoke-Maester -TestId AD-CFG-04

Active Directory optional features (and related feature flags) enable or enhance behaviors such as recoverability and directory management capabilities. Incorrectly enabled/disabled features can materially affect your security posture by:

  • Reducing your ability to recover from accidental or malicious deletion
  • Leaving legacy behaviors in place longer than necessary
  • Causing operational drift that attackers can exploit via misconfiguration

In particular, features that improve recovery (such as those related to the Recycle Bin) directly impact resilience during incidents.

Operational

  • Ensure critical recoverability features (notably Recycle Bin) are enabled for the partitions that contain important identity data.
  • Treat optional feature changes as security configuration changes: use a change control process, test first, and validate after enabling/disabling.
  • Keep optional feature configuration consistent across domains/partitions where required.

This test retrieves the set of enabled AD optional feature flags and reports them as a count/visibility metric so administrators can confirm whether the expected security-enhancing features are active.

  • Test-MtAdRecycleBinEnabledPaths - Shows where Recycle Bin is enabled.
  • Test-MtAdRecycleBinStatus - Validates the Recycle Bin state.
Every attribute of this check
FieldValue
Test IDAD-CFG-04
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureDirectory configuration
AreaInfrastructure hardening
Resource typeTenant
MITRE ATT&CKNone
PowerShell testTest-MtAdOptionalFeaturesCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:msDS-OptionalFeature:ReadProperty