Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Account Troubleshooting

Direct answer

Account Troubleshooting provides an evidence chain for Windows sign-in and identity problems. It separates “account exists” from “credentials accepted,” “token contains expected groups,” “profile loaded” and “resource authorization succeeded.”

When to use this

Use it when a user cannot sign in, has the wrong profile, sees unexpected group rights or receives Access Denied and the failing identity boundary is not yet known.

First 30 seconds

1. Exact error at sign-in.

2. Account enabled, not locked/expired: Get-ADUser -Properties LockedOut,PasswordExpired / Get-LocalUser.

3. Lockouts: Security 4740 on the PDC emulator; source caller computer.

4. Logon rights ("Allow log on locally/through RDS")? gpresult.

5. Profile problems → Event 1511/1515.

Operational verification

credentials → account state → logon rights → token → profile load

Evidence · next step

Collect boundary-specific state from the first failed stage.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Avoid password resets for authorization errors, ACL resets for profile corruption, and profile recreation for stale group tokens. Each can hide evidence and create new problems.

Platform / version applicability
Microsoft Windows
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Windows · Windows / Windows Server / PowerShell
Key commandSearch-ADAccount -LockedOut
Scope / prerequisiteUse it when a user cannot sign in, has the wrong profile, sees unexpected group rights or receives Access Denied and th…
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Reproduce the exact symptom with the affected principal. Record account scope/SID, authentication outcome, fresh token groups, profile path/state and the first denied resource. Stop at the first contradiction rather than changing later layers.

Step 2 Known-good, broken and when it is fixed Verify boundary

Known-good means the intended account is enabled, authenticates through the expected authority, receives the expected group/token claims after a fresh session and can perform the original authorized action. Broken evidence includes lockout/expiry, wrong account authority, stale token or missing intended membership. The limit of what it shows is that successful sign-in shows authentication only; effective authorization must be verified on the target resource without granting unnecessary broader rights.

Step 3 Native failure isolation and next-check logic Narrow the fault

If logon fails, identify whether the principal is local or domain and inspect disabled/locked/expired/password state plus domain/DC reachability when applicable. If logon succeeds but access is wrong, inspect group membership and the effective token/session before changing the account. If a membership change was just made, refresh the relevant logon/session rather than repeatedly editing groups. Compare a known-good user against the same resource to separate account-specific state from resource ACL or service failure.

Evidence references

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.

observation · 1
Key points
  • Start with identity scope before changing credentials or permissions.
  • Authentication success and authorization success are different evidence.
  • Group changes often require a fresh token.
  • Profile failures can happen after successful authentication.
  • Access denied can be ACL/share/UAC rather than an account failure.
Key checks
  • Get-LocalUser — local accounts
  • Get-LocalGroupMember Administrators — local admins
  • whoami /all — current user, SID, groups, privileges
  • net user <user> /domain — domain account details
ReferenceWhat it is1 section · depth on demand

Core model

Account troubleshooting is faster when Windows identity is treated as a chain rather than a single “user account” object. A failure can occur before authentication, during token creation, during profile load or later during resource access.

ReferenceHow it works1 section · depth on demand

How it works

Windows account behavior depends on account source (local or domain), enabled/locked/expired state, credential state, group membership, token construction and the service/resource being accessed. Changing group membership in the directory does not rewrite an already issued logon token, and cached credentials can allow a logon while the domain path is unavailable. Distinguish identity existence, authentication and authorization rather than treating every access failure as an account problem.

ReferenceImportant terms & boundaries3 sections · depth on demand

Security boundary

The major separators are: does the principal resolve? did authentication/logon succeed? does the fresh token contain expected SIDs/privileges? did the intended profile load? does the target security descriptor allow the requested right?

In depth

Local account problems and checks

SymptomCheck
Account lockedGet-LocalUser alice \| Select Enabled, PasswordExpires, LastLogon; lockout policy net accounts
Password expirednet user alice → Password expires; service accounts should use gMSA instead
User cannot sign in at consoleAllow log on locally / Deny log on locally (secpol.msc → User Rights)
Admin rights missingGet-LocalGroupMember Administrators
Account disappears/reappearsGPO Restricted Groups or Group Policy Preferences managing local groups
Built-in Administrator enabled with weak passwordDisable it, use LAPS-managed account

Windows LAPS for the local administrator

Windows LAPS rotates and stores a unique local administrator password per device in AD or Entra ID.

PS C:\> Get-LapsADPassword -Identity pc042 -AsPlainText
ComputerName        : PC042
Account             : Administrator
Password            : <redacted>
PasswordUpdateTime  : 27-11-2026 06:12:40
ExpirationTimestamp : 27-12-2026 06:12:40
PS C:\> Invoke-LapsPolicyProcessing          # on the device: apply policy now
PS C:\> Reset-LapsPassword                    # on the device: rotate immediately

LAPS events are in Microsoft-Windows-LAPS/Operational on the device (policy processing, password updates, failures such as missing permissions to write to AD).

Common LAPS failures

Event / symptomCause
Password never updatesComputer lacks permission on its own AD object (Set-LapsADComputerSelfPermission)
Admin cannot read the passwordNot granted read (Set-LapsADReadPasswordPermission) or encryption with a group they are not in
Legacy LAPS and Windows LAPS both configuredConflicting policies — migrate and remove legacy CSE
Password works once then failsPost-authentication actions rotate it after use (by design)

Account hygiene

Find stale local accounts across servers (Get-LocalUser | Where { $_.Enabled -and $_.LastLogon -lt (Get-Date).AddDays(-90) }), avoid shared local admin passwords, and remove accounts created for one-off vendor access.

*The LAPS account and expiration fields are fictional examples; no real password or directory record is shown.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Account troubleshooting resolves logon failures, lockouts, expired passwords and profile problems.

Get-ADUser ahansen -Properties Enabled, LockedOut, PasswordExpired, PasswordLastSet, LastLogonDate, AccountExpirationDate, badPwdCount
Unlock-ADAccount ahansen
Search-ADAccount -LockedOut
net user ahansen /domain
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4625} -MaxEvents 20
Failure reason (4625 status)Meaning
0xC000006AWrong password
0xC0000234Account locked out
0xC0000072Account disabled
0xC0000071Password expired
0xC000015BLogon type not granted
0xC0000193Account expired

For repeated lockouts, find the source device in event 4740 on the PDC emulator; for profile issues check User Profile Service events.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docMicrosoft Windows current

Authoritative/upstream documentation reviewed for bounded claims in Users & Groups → Account Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/security/identity-protection/access-control/local-accounts · confidence 94%
Terminology layer

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.

Aliases that resolve here
windows login troubleshootinguser account problemswindows account access denied
Embedded reference data

Quick lookup tables

Account failure boundary matrix

Map symptoms to the first useful evidence source.

ItemMeaningBoundary
Unknown username/accountIdentity/account recordresolve account and SID
Password/logon rejectedAuthenticationcheck account state and auth path
Membership not effectiveTokenfresh sign-in and group SID check
Temporary/wrong desktopProfileSID-to-profile mapping/load
Access denied to resourceAuthorizationACL/share/UAC after token proven
Confirmation

Confirm action

Continue?