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.
To fix this configure the policy value for:
Computer Configuration
|_ Windows Settings
|_ Security Settings
|_ Local Policies
|_ User Rights Assignment
|_ Deny log on locally TO include the following:
For Domain Systems Only (Excluding Domain Controllers):
- Enterprise Admins Group
- Domain Admins Group
For All Systems (Including Domain Controllers):
- Guests Group
STIG: Server
2022 (Domain Controllers): https://www.stigviewer.com/stig/microsoft_windows_server_2022/2022-08-25/finding/V-254424
2022: https://www.stigviewer.com/stig/microsoft_windows_server_2022/2022-08-25/finding/V-254438
2019 (Domain Controllers) https://www.stigviewer.com/stig/microsoft_windows_server_2019/2022-03-01/finding/V-205670
2019 https://www.stigviewer.com/stig/windows_server_2019/2020-06-15/finding/V-93015 / https://www.stigviewer.com/stig/microsoft_windows_server_2019/2022-03-01/finding/V-205675
2016: https://www.stigviewer.com/stig/windows_server_2016/2020-06-16/finding/V-73771 / https://www.stigviewer.com/stig/microsoft_windows_server_2016/2023-08-22/finding/V-225003
Desktop:
W11: https://www.stigviewer.com/stig/microsoft_windows_11/2023-09-29/finding/V-253494
W10: https://www.stigviewer.com/stig/microsoft_windows_10/2023-09-29/finding/V-220971 / https://www.stigviewer.com/stig/windows_10/2021-08-18/finding/V-220971
NIST 800-53: AC-6(7)(b)
DISA CAT: II
CCI: CCI-000213