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) →

User home directory count should be retrievable

AD-USER-16InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-16

The HomeDirectory attribute points users to network-based storage locations. While useful in legacy environments, it can reveal older provisioning patterns and dependencies on file servers.

  • Legacy infrastructure visibility: Identifies users tied to mapped-drive style home folders
  • Access control review: Highlights centralized storage paths that may contain sensitive data
  • Modernization planning: Helps quantify remaining on-premises file service dependencies

Detective

  • Review home directory locations for proper ACLs and ownership controls
  • Confirm the attribute is still required for active users
  • Retire obsolete mappings and legacy storage dependencies where feasible

This test counts user objects where the HomeDirectory attribute contains a non-empty value.

  • Test-MtAdUserProfilePathCount - Finds roaming profile dependencies
  • Test-MtAdUserScriptPathCount - Identifies legacy logon automation
Every attribute of this check
FieldValue
Test IDAD-USER-16
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaInfrastructure hardening
Resource typeUser
MITRE ATT&CKNone
PowerShell testTest-MtAdUserHomeDirectoryCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty