Pcornel
Windows · Users & Groups

User Profiles

Cheat sheet · https://pcornel.dk/topic.php?topic=2983

Back to the Topic

Answer

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.

Remember

  • 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.”

First checks

  • Get-LocalUser — local accounts
  • Get-LocalGroupMember Administrators — local admins
  • whoami /all — current user, SID, groups, privileges
  • net user <user> /domain — domain account details

Verify in this order

first logon creates profile → NTUSER.DAT loaded as HKCU → folders

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.

Profile vs account

ItemMeaningBoundary
AccountSecurity principal/SIDused for authentication/authorization
Profile directoryPer-user filesdesktop, AppData and user data
NTUSER.DATPer-user registry hiveloaded as HKCU for session
Profile mappingSID to profile pathties identity to profile location
Temporary profileFallback session profilesign-in may work while normal profile fails

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2983

Confirmation

Confirm action

Continue?