Use it when configuring, checking or troubleshooting Local Security Policy in Windows Security.
Local Security Policy
Local Security Policy defines machine-local account, audit, user-rights, security-options, firewall/IPsec and public-key policy settings, but domain, MDM and other management sources can supersede or merge with it.
1. Local Security Policy holds password, lockout, audit, user rights and security options.
2. Domain GPOs override on joined devices.
3. Standalone systems need local baselines.
4. Review user rights assignments.
5. Export to compare.
local/GPO settings → effective policy
Context & applicabilityCommon mistakes · platform/version boundaries
A local policy setting shows one source's intent, but it does not show it wins precedence, applies without restart/logon or produces the expected workload outcome.
Suspicious evidence: domain override, tattooed legacy value, conflicting MDM/GPO, pending restart, wrong scope, policy cache, user-right/SID mismatch or local view mistaken for effective.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
local/domain/MDM/security template sources → processing and precedence → resultant policy → subsystem runtime state → user/process behavior → audit evidence
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Local policy value ≠ resultant policy on a managed device.
- User right assigned ≠ privilege exercised by every token or service.
- Configured or assigned policy ≠ resultant policy and effective runtime state.
- Feature healthy ≠ protected workload or absence of compromise.
secedit /export /cfg C:\temp\secpol.inf— export local policygpresult /h report.html— effective policyGet-LocalUser; Get-LocalGroupMember Administrators— local accounts
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A local policy setting shows one source's intent, but it does not show it wins precedence, applies without restart/logon or produces the expected workload outcome.
In depth
Local Security Policy configures security settings on an individual Windows system: account policies, audit policy, user rights assignments and security options. In domains these settings are normally applied through Group Policy, which overrides local settings.
Important areas:
| Area | Examples |
|---|---|
| User rights | Who can log on locally, via RDP, as a service; debug programs |
| Security options | LAN Manager authentication level, SMB signing, anonymous access restrictions |
| Audit policy | Use Advanced Audit Policy subcategories |
| Account lockout | Threshold and duration |
secedit /export /cfg C:\Temp\secpol.inf
auditpol /get /category:*
Use local policy for standalone systems; manage domain-joined systems centrally to avoid inconsistent settings.
ReferenceConfiguration & state1 section · depth on demand
Commands
secpol.msc
secedit /export /cfg C:\temp\local-policy.inf
auditpol /get /category:*
gpresult /h C:\temp\gp.html # see what domain GPOs override
Domain Group Policy overrides local policy. Use Microsoft Security Baselines or CIS benchmarks as the starting point, and LGPO.exe to apply baselines on non-domain machines.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Windows Security → Local Security Policy. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/security/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Windows Security → Local Security Policy proof map
Fast scope, effective-state, runtime-evidence and closure boundaries for Windows Security → Local Security Policy.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope | Exact host, role, build/kernel, identity, workload and expected control | Does not prove policy receipt or effective runtime state |
| Effective state | Resultant/loaded policy, precedence, mode, labels/rules/keys and active services/kernel controls | Configuration presence does not prove enforcement |
| Runtime evidence | Correlated events/audit, process/token/credential, packet/syscall and workload result | One event, clean status or allow/deny does not prove complete security |
| Closure | Original allowed/denied workload works, unsafe state is removed and recovery/regression pass | Commit, restart, block or compliance result alone is not closure |