Skip to content

AD-COMP-01: Computer disabled count should be retrievable

ID AD-COMP-01
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Computers
Security area Identity lifecycle and hygiene
Resource type Computer
Reads from On-premises Active Directory

Disabled computer accounts that remain in Active Directory represent a security hygiene issue. While disabling a computer account is a valid administrative action (typically when decommissioning systems), these accounts should eventually be removed to:

  • Reduce attack surface: Disabled accounts can be re-enabled by attackers who gain privileged access
  • Prevent confusion: Distinguish between active and truly decommissioned systems
  • Maintain directory cleanliness: Simplify auditing and compliance reporting
  • Avoid stale data: Ensure Group Policy and software deployment targets are accurate

Detective

Regularly review disabled computer accounts and delete those that are permanently decommissioned. Consider establishing a process where disabled computers are automatically deleted after a defined retention period (e.g., 30-90 days).

This test retrieves all computer objects from Active Directory and counts:

  • Total number of computer accounts
  • Number of disabled computer accounts
  • Percentage of computers that are disabled

The test returns informational results to help you assess the scope of disabled accounts in your environment.

  • Test-MtAdComputerDormantCount - Identifies enabled computers that haven’t logged on recently
  • Test-MtAdComputerInDefaultContainer - Finds computers in the default container (another hygiene indicator)

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.