Skip to content

AD-FOR-04: Recycle Bin status should be retrievable

ID AD-FOR-04
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Directory configuration
Security area Infrastructure hardening
Resource type Tenant
Reads from On-premises Active Directory

The Active Directory Recycle Bin provides significant advantages over traditional tombstone reanimation:

  • Complete Object Recovery: Restores all object attributes, group memberships, and links
  • Simplified Recovery: No need to restore from backup for accidental deletions
  • Reduced Downtime: Faster recovery of critical objects
  • Attribute Preservation: Unlike tombstone reanimation, all attributes are preserved

Requirements:

  • Forest functional level of Windows Server 2008 R2 or higher
  • Must be explicitly enabled (not enabled by default)

Preventive

Enable the Recycle Bin if your forest functional level supports it:

Terminal window
Enable-ADOptionalFeature -Identity "Recycle Bin Feature" -Scope ForestOrConfigurationSet -Target "yourforest.com"

Important Considerations:

  • Irreversible: Once enabled, the Recycle Bin cannot be disabled
  • Database Size: Increases AD database size due to preserved objects
  • Tombstone Lifetime: Objects are retained for the tombstone lifetime period
  • Planning: Ensure adequate disk space and backup strategies

This test checks the optional features in Active Directory to determine if the Recycle Bin Feature is enabled and reports its status.

  • Test-MtAdTombstoneLifetime - Retrieves the tombstone lifetime (affects Recycle Bin retention)
  • Test-MtAdForestFunctionalLevel - Retrieves the forest functional level (required for Recycle Bin)

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.