Account Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=2988
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.”
Remember
- 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.
First checks
Get-LocalUser— local accountsGet-LocalGroupMember Administrators— local adminswhoami /all— current user, SID, groups, privilegesnet user <user> /domain— domain account details
Commands
Search-ADAccount -LockedOut- Lists user and computer accounts that are currently locked out.
Verify in this order
credentials → account state → logon rights → token → profile load
Where it usually breaks
First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.
Account failure boundary matrix
| Item | Meaning | Boundary |
|---|---|---|
| Unknown username/account | Identity/account record | resolve account and SID |
| Password/logon rejected | Authentication | check account state and auth path |
| Membership not effective | Token | fresh sign-in and group SID check |
| Temporary/wrong desktop | Profile | SID-to-profile mapping/load |
| Access denied to resource | Authorization | ACL/share/UAC after token proven |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2988