Security Settings
Windows 11 security settings control how a computer behaves for security: passwords, account lockout, auditing, user rights, and sign-in and network security options. Here are the 172 policies you see in Local Security Policy (secpol.msc) and the Group Policy editor, with Windows' own official text.
- Account Policies
Password Policy · Account Lockout Policy
- Local Policies
Audit Policy · User Rights Assignment · Security Options
What are Security Settings (Local Security Policy)?
Security Settings are the Windows policies for accounts and local security. Administrative Templates policies are registry settings defined by ADMX files; Security Settings are the security items managed in Local Security Policy (secpol.msc).
What can you configure?
Account Policies set the password policy (length, age, complexity) and the account lockout policy (threshold and duration). Local Policies set the audit policy (which security events are recorded), user rights assignment (which users and groups may perform an action) and security options (sign-in, network security, User Account Control and more). Pick a category below.
How to apply them
- Press Windows key + R and run secpol.msc. It is available in Windows 11 Pro, Enterprise and Education.
- In the left tree, open Account Policies or Local Policies under Security Settings.
- Double-click a policy, choose the value and select OK. Read the description and the choices on this site's policy page before you change anything.
In a domain, set the same items in a GPO from the Group Policy Management Editor: Computer Configuration > Policies > Windows Settings > Security Settings. To export and apply a configuration file you can use secedit /export and secedit /configure.
Security settings with a registry path
Many security options are stored as registry values. Their policy pages show the key path, value name and value type, and the registry value page gives .reg, CMD and PowerShell examples. Most password and lockout policies, audit policies and user rights assignment are kept in the Windows security policy store, not as registry values, so they have no registry path. Registry
Where the data comes from
Policy names and descriptions are taken as they are from the official Windows resource files of Windows 11 26H2 (build 26300.9457). Nothing is translated or edited by us; compare the official names in each language under "Official name in other languages" on a policy page.
Frequently asked questions
secpol.msc will not open. Can I use it on Windows 11 Home?
secpol.msc (Local Security Policy) is included in Windows 11 Pro, Enterprise and Education, not in Home. For a policy that shows a registry path you can also set the same value in the Registry Editor (regedit). Back up before you edit.
How are Security Settings different from Administrative Templates?
Administrative Templates are registry-based policies defined by ADMX files. Security Settings are policies for Windows security such as passwords, account lockout, auditing, user rights and security options. In the Group Policy editor they sit separately under Windows Settings in Computer Configuration.
Does a changed policy apply right away?
Some settings only apply after you sign in again or restart. For a domain GPO you can refresh policies at once with gpupdate /force.
Can I trust the policy names and descriptions on this site?
They are the strings from the official resource files Microsoft ships with Windows (wsecedit.dll and others), unchanged. We do not translate or summarize them.