Microsoft Windows Server 2025

The Windows Server 2025 "Allow log on locally" user right must only be assigned to the Administrators group

STIG ID: WN25-UR-000030 | SRG: SRG-OS-000080-GPOS-00048 | Severity: Medium | CCI: CCI-000213 | Vulnerability ID: V-278243

Description

Inappropriately granting user rights provides system, administrative, and other high-level capabilities.

Accounts with the "Allow log on locally" user right can log on interactively to a system.

Check

C-82773r1181866_chk

Verify the effective setting in Local Group Policy Editor.

Run gpedit.msc.

Navigate to Local Computer Policy >> Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> User Rights Assignment.

If any accounts or groups other than the following are granted the "Allow log on locally" user right, this is a finding:
- Administrators.

For server core installations, run the following command:

Secedit /Export /Areas User_Rights /cfg c:\path\filename.txt

Review the text file.

If any SIDs other than the following are granted the "SeInteractiveLogonRight" user right, this is a finding:

S-1-5-32-544 (Administrators)

If an application requires this user right, this is not a finding.

Vendor documentation must support the requirement for having the user right.

The requirement must be documented with the information system security officer (ISSO).

The application account must meet requirements for application account passwords, such as length (WN25-00-000050) and required frequency of changes (WN25-00-000060).

Fix

F-82678r1181867_fix

Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> User Rights Assignment >> Allow log on locally to include only the following accounts or groups:
- Administrators.