Account Policies
Password and lockout settings are part of Local Security Policy. They control how local credentials and failed sign-ins are handled.
Windows 11 · Lesson 04
Learn how local policy controls user rights, auditing, account behavior, and system-wide security decisions that can affect the entire Windows image.
The goal is not to make every option more restrictive. Understand what the policy controls, compare it with the scenario, make justified changes, and verify the result.
Lesson Snapshot
Learning objectives
Explain what Local Security Policy controls beyond ordinary Windows settings.
Review User Rights Assignment, Security Options, and Audit Policy with scenario context.
Recognize high-impact policy changes that can affect logon, RDP, networking, services, or evidence.
Distinguish allow rights from deny rights and understand why group membership matters.
Use evidence and least-disruptive reasoning before changing local security policy.
Verify policy, access, functionality, and logging after meaningful changes.
Core concept
Account review asks who exists. Local Security Policy goes further: what may that user or group do, and what security activity should Windows record?
High-impact warning
User-right and security-option changes can affect administrators, RDP, local sign-in, shares, services, and authentication.
Quick path map
Open the console first with Win + R → secpol.msc, then use the path that matches the requirement you are reviewing.
Win + R → secpol.msc → Account Policies → Password PolicyLength, history, age, complexity, and related local password settings.
Win + R → secpol.msc → Account Policies → Account Lockout PolicyThreshold, duration, and reset-counter behavior.
Win + R → secpol.msc → Local Policies → User Rights AssignmentWho may log on locally, through RDP, from the network, shut down the system, back up files, and perform other sensitive actions.
Win + R → secpol.msc → Local Policies → Security OptionsAccount, interactive logon, UAC, network access, device, and other system-wide security behaviors.
Win + R → secpol.msc → Local Policies → Audit PolicyWhich categories of security-relevant activity Windows is configured to record.
Policy map
Password and lockout settings are part of Local Security Policy. They control how local credentials and failed sign-ins are handled.
Determines which security-relevant activity Windows records, affecting both detection and forensic evidence.
Defines which users or groups may perform sensitive actions such as local logon, network access, RDP logon, backup, or shutdown.
Controls many system-wide behaviors involving accounts, interactive logon, network access, UAC, devices, and other protections.
User Rights Assignment
Controls who may sign in interactively at the computer.
Caution
Removing a required user or administrator can block local access.
Explicitly prevents selected users or groups from local interactive sign-in.
Caution
Deny assignments can override expected access and create lockouts.
Controls which users or groups may access resources across the network.
Caution
Changing this can affect shares, remote administration, or required services.
Explicitly blocks selected users or groups from network access.
Caution
Broad deny assignments can break legitimate network workflows.
Controls who may use RDP when Remote Desktop is enabled.
Caution
Changing it can break required remote administration.
Controls who may shut down the computer.
Caution
Unnecessary assignment creates additional operational risk.
Grants powerful backup access that can bypass normal file permissions.
Caution
Limit this right to users or groups that genuinely need it.
Allows restoration actions that can affect ownership and permissions.
Caution
This capability should not be assigned broadly.
Allow vs deny
An allow assignment can permit an account or group to perform an action such as local logon or RDP logon.
Deny assignments are intentionally restrictive and can override expected access.
A user may receive rights through one or more groups, so review both the assignment and the user's memberships.
If allow and deny settings interact, verify the real behavior instead of assuming the list alone tells the full story.
Evidence questions
What exact policy setting is currently configured?
What scenario requirement or security objective does it affect?
Which users, groups, services, or remote workflows depend on it?
Is the current setting clearly weak, or only unfamiliar?
Could a deny right override an allow right?
Could the change affect RDP, file sharing, local logon, or service accounts?
Could the setting change what security events are recorded?
How will the team verify security and functionality afterward?
Security Options
Sign-in messages, Ctrl+Alt+Del behavior, inactivity controls, and other local sign-in behavior.
Built-in account behavior and other account-related operating-system security settings.
Anonymous access, local account behavior, and settings that influence network authentication.
Elevation prompts, administrator approval behavior, and secure-desktop choices.
Settings that can restrict device or removable-media behavior depending on the environment.
Additional system-wide controls that may improve security but can also affect compatibility or required software.
Audit Policy
Helps record authentication activity involving account validation.
Tracks sign-in sessions, logoffs, and related authentication behavior.
Records user and group changes and can support privilege or identity investigations.
Records changes to important security and audit policy.
Can provide evidence about use of sensitive privileges, though excessive auditing may create noise.
Captures important security-subsystem and system events relevant to troubleshooting and forensics.
Impact levels
Limited side effects and easy verification. Strong evidence may make this suitable for a normal Do Now task.
Can affect a user group, audit source, application, or specific workflow. Document and test carefully.
Can affect all users, administrators, RDP, network authentication, or system-wide behavior. Coordinate and preserve recovery access.
Inspection tools
secpol.mscPrimary graphical tool for local account policies, audit policy, user rights, and security options on supported Windows editions.
gpedit.mscProvides broader local policy configuration and can expose settings outside the narrower security console.
gpresult /rHelps show whether policy sources beyond a simple local setting may be influencing the system.
Decision cases
The scenario requires Morgan to administer through RDP. RDP is enabled and the firewall appears correct, but Morgan cannot sign in.
The issue may be User Rights Assignment or group membership rather than the RDP service itself.
Response
Review the RDP logon right, relevant deny rights, and Morgan's group membership before changing unrelated settings.
A broad group can access the computer from the network although only a limited project group requires network access.
The assignment may be excessive, but changing it can affect shares and remote administration.
Response
Map required users and services, narrow carefully, and test the required network path afterward.
The scenario includes forensic questions about account changes, but account-management auditing is disabled.
Without appropriate auditing, future account changes may not be recorded.
Response
Enable the relevant audit category if appropriate, then perform a safe test and verify the Security log records it.
A restrictive security option looks attractive, but a required application depends on the current behavior.
Technically stricter does not automatically mean correct for the scenario.
Response
Preserve the required application and change policy only when the scenario and compatibility evidence support it.
Audit verification
Decide what event question you need to answer.
Enable only the audit categories relevant to that question.
Perform a benign authorized action that should create an event.
Open Event Viewer and find the expected Security log evidence.
Document which policy produced which observable event.
Before a high-impact change
Do I have a working administrative session before changing this policy?
Could this block local logon or RDP?
Could this affect file sharing or network access?
Could a service or scheduled task depend on the affected account or right?
Does the scenario require the current behavior?
Do I understand allow versus deny behavior here?
Will this alter forensic or audit visibility?
What exact test will prove the change is safe afterward?
Fictional defensive lab
Step 01
Morgan is the only authorized administrator. Avery and Riley are standard users. Morgan must use RDP. File sharing is required for a small project group. A forensic question asks when local accounts were modified.
Step 02
RDP logon is allowed for Administrators, network access is granted broadly, no deny-logon conflict is present, and account-management auditing is disabled.
Step 03
RDP access aligns with the scenario. Network access appears broader than required. Audit visibility does not support the forensic need.
Step 04
Map the users who genuinely require network access, narrow the assignment without breaking the share, and enable the relevant account-management auditing.
Step 05
Confirm Morgan can still use RDP and the project group can still reach the required share.
Step 06
Perform a safe authorized account-management action and confirm the expected Security log event is recorded.
Common mistakes
One setting can affect local sign-in, RDP, shares, services, backup capability, or another required workflow.
Deny rights can override access that appears to be granted elsewhere.
A stronger-looking setting can still be wrong if it conflicts with the scenario or required software.
Too much logging creates noise. Audit what supports the security and forensic questions you need to answer.
Do not risk losing the only working administrative path to the image.
Policy work is not complete until required users, RDP, shares, services, and logging still function.
Reflection
Question 1
Why can User Rights Assignment be riskier to change than a normal visual setting?
Question 2
How can a deny right affect an account that also belongs to an allowed group?
Question 3
Why should RDP be tested after changing user rights?
Question 4
What is the purpose of auditing account-management activity?
Question 5
Why can enabling every audit category be counterproductive?
Question 6
What should you verify after changing a high-impact security option?
Verification checklist
Re-open each changed setting and confirm its final value.
Confirm authorized local logon still works.
Confirm required RDP access still works when applicable.
Confirm required network access and shares still work.
Confirm service accounts and privileged groups were not unintentionally blocked.
Confirm expected audit events are being recorded.
Check Event Viewer for errors related to the change.
Document high-impact policy changes and test results.
Re-read scenario requirements before leaving Local Security Policy.
Next Windows lesson
Next, review Defender protection status, exclusions, scan behavior, protection history, and evidence without destroying information that may matter to the competition image.