AD-USER-10 - Workstation-restricted user count should be retrievable
Overviewβ
Restricting where a user can log on can reduce exposure for privileged, administrative, or sensitive accounts. Measuring how often workstation restrictions are used helps assess adoption of this hardening control.
Security Recommendationβ
Consider applying workstation restrictions to privileged and high-value accounts where operationally feasible. Review configured restrictions periodically to ensure they remain accurate.
How the Test Worksβ
This test retrieves Active Directory user data from Get-MtADDomainState and counts accounts where LogonWorkstations is populated.
Related Testsβ
Test-MtAdUserDelegationAllowedCountTest-MtAdUserDormantEnabledCountTest-MtAdUserNeverLoggedInCount
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-USER-10 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.User |
| PowerShell test | Test-MtAdUserWorkstationRestrictionCount |
| Tags | AD, AD-USER-10, AD.User |
Sourceβ
- Pester test:
tests/ad/user/Test-MtAdUserWorkstationRestrictionCount.Tests.ps1 - PowerShell source:
powershell/public/ad/user/Test-MtAdUserWorkstationRestrictionCount.ps1

