How to Edit Local Security Policies in Windows 11 Pro
This guide provides a straightforward walkthrough on how to open,
navigate, and modify system policies using the Local Security Policy
tool (secpol.msc) in Windows 11 Pro. You will learn the
exact steps required to launch the management console, adjust security
configurations such as password rules and user rights, and apply changes
immediately to your operating system.
Step 1: Open the Local Security Policy Console
You can access the secpol.msc snap-in using several
methods in Windows 11 Pro:
- Via the Run Dialog:
- Press Windows Key + R to open the Run box.
- Type
secpol.mscand press Enter (or click OK).
- Via Windows Search:
- Open the Start menu and type Local Security Policy.
- Right-click the top result and select Run as administrator.
Step 2: Navigate Policy Categories
Once the Local Security Policy window opens, the left-hand pane displays several folders containing different security rules:
- Account Policies: Controls user authentication settings, including Password Policy (complexity, expiration) and Account Lockout Policy (lockout threshold and duration).
- Local Policies: Contains core OS security settings:
- Audit Policy: Tracks system events and security log entries.
- User Rights Assignment: Manages which users or groups can perform tasks (such as shutting down the system or logging on locally).
- Security Options: Controls specific behaviors (such as UAC behavior, guest account status, and interactive logon prompts).
- Windows Defender Firewall with Advanced Security: Configures network traffic rules.
- Application Control Policies (AppLocker): Restricts which applications and scripts are allowed to execute.
Step 3: Modify a Security Policy
To change a specific policy setting:
- In the left navigation pane, expand the folder containing the policy you want to edit (e.g., Account Policies > Password Policy).
- In the right pane, locate the policy you want to change (e.g., Minimum password length).
- Double-click the policy name to open its Properties dialog.
- Check or configure the required setting, such as defining a specific numeric value or toggling between Enabled and Disabled.
- Click Apply, then click OK to save the configuration.
Step 4: Apply Changes Immediately
While most local policy changes apply automatically, you can force Windows to refresh policies immediately:
Press Windows Key + X and select Terminal (Admin) or Command Prompt (Admin).
Type the following command and press Enter:
gpupdate /forceOnce the command confirms successful update, close the terminal window. Some changes (such as User Rights Assignments) may require a system restart or user sign-out to take full effect.