User home directory count should be retrievable
AD-USER-16InfoActive DirectoryUsers
Part of Active Directory · Active Directory · Users · All checks
Invoke-Maester -TestId AD-USER-16Overview
Section titled “Overview”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
Control Type
Section titled “Control Type”Detective
Security Recommendation
Section titled “Security Recommendation”- 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
How the Test Works
Section titled “How the Test Works”This test counts user objects where the HomeDirectory attribute contains a non-empty value.
Related Tests
Section titled “Related Tests”Test-MtAdUserProfilePathCount- Finds roaming profile dependenciesTest-MtAdUserScriptPathCount- Identifies legacy logon automation
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-USER-16 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Users |
| Area | Infrastructure hardening |
| Resource type | User |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdUserHomeDirectoryCount |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:user:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/user/Test.AD-USER-16.ps1 - Documentation:
tests/ad/user/Test.AD-USER-16.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Users
- Area
- Infrastructure hardening
- Suite
- Active Directory