Accounts: Deny log on locally user right must be configured to prevent access from highly privileged domain accounts

fd44a45e-ef9e-4c54-bebf-22bba68a185c

Accounts: Deny log on locally user right on domain-joined member servers must be configured to prevent access from highly privileged domain accounts and from unauthenticated access on all systems

Inappropriate granting of user rights can provide system, administrative, and other high-level capabilities. The "Deny log on locally" user right defines accounts that are prevented from logging on interactively. In an Active Directory Domain, denying logons to the Enterprise Admins and Domain Admins groups on lower-trust systems helps mitigate the risk of privilege escalation from credential theft attacks, which could lead to the compromise of an entire domain. The Guests group must be assigned this right to prevent unauthenticated access.

This Validation Script is intended for Domain Joined machines (Desktop/Server) and Stand-Alone machines (Desktop/Servers) but NOT for Domain Controllers. For Domain controllers there is a separate script.