Use User Profiles when sign-in succeeds but desktop/settings/application state is missing, temporary, corrupt or mapped to the wrong profile path.
User Profiles
A Windows user profile is the per-user environment containing folders and settings for a signed-in user. It is associated with an account SID but is not the account itself. The profile includes the user directory and a per-user registry hive that becomes HKEY_CURRENT_USER for the session.
1. Profile path: Get-CimInstance Win32_UserProfile | Select LocalPath,SID,Loaded.
2. Temporary profile → Event 1511/1515; check ProfileList registry.
3. Size: Get-ChildItem C:\Users\<u> -Recurse | Measure Length -Sum.
4. Delete stale profiles via System Properties or CIM, not by deleting the folder.
5. Roaming/FSLogix? Check its logs.
first logon creates profile → NTUSER.DAT loaded as HKCU → folders
Inspect the first missing profile component, application state or ACL.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Common traps are renaming folders manually, copying profiles without preserving ownership/ACL semantics, and deleting a profile before distinguishing profile corruption from an account or permissions problem.
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
Identify the current user SID, profile path and whether the session is temporary. Check the profile mapping and user-hive load before editing permissions. If the SID is correct but the wrong profile is used, troubleshoot profile mapping/load rather than recreating the account.
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.
- Account identity and user profile are separate objects.
%USERPROFILE%normally points to the active profile directory.- The user registry hive is loaded for the session and exposed as HKCU.
- Deleting an account and recreating the same name can create a new SID and therefore a different profile association.
- A temporary profile can make a healthy account look “reset.”
Get-LocalUser— local accountsGet-LocalGroupMember Administrators— local adminswhoami /all— current user, SID, groups, privilegesnet user <user> /domain— domain account details
ReferenceWhat it is1 section · depth on demand
Core model
Profiles hold per-user files and settings. Windows links them to security principals by SID, allowing account identity and profile state to evolve separately. This distinction is critical when a user can authenticate but receives a temporary or unexpected desktop.
ReferenceImportant terms & boundaries2 sections · depth on demand
Security boundary
The profile directory and the user registry hive are major pieces of profile state. %USERPROFILE% reflects the active profile path; HKCU reflects the currently loaded user hive. Neither should be used as a substitute for proving the underlying account SID.
In depth
User profiles store per-user settings and data in C:\Users\<name> with the registry hive NTUSER.DAT. The profile list is at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList (keyed by SID).
| Profile type | Notes |
|---|---|
| Local | Default |
| Roaming | Copied to/from a share at logon/logoff (slow, legacy) |
| Mandatory | Read-only (NTUSER.MAN) |
| FSLogix containers | VHDX per user — standard for AVD/RDS |
Remove old profiles properly (System Properties → User Profiles, Get-CimInstance Win32_UserProfile | ? LocalPath -like '*olduser' | Remove-CimInstance), never by just deleting the folder.
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 Users & Groups → User Profiles. 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%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
Profile vs account
Keep identity and per-user state separate.
| Item | Meaning | Boundary |
|---|---|---|
| Account | Security principal/SID | used for authentication/authorization |
| Profile directory | Per-user files | desktop, AppData and user data |
| NTUSER.DAT | Per-user registry hive | loaded as HKCU for session |
| Profile mapping | SID to profile path | ties identity to profile location |
| Temporary profile | Fallback session profile | sign-in may work while normal profile fails |