Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

HKEY_CURRENT_USER

Direct answer

HKEY_CURRENT_USER (HKCU) holds the logged-on user's settings, such as desktop, environment variables and application preferences. It is stored in that user's NTUSER.DAT profile hive.

When to use this

Use this when user-specific settings are wrong.

First 30 seconds

1. Is the setting per machine or per user? (HKCU holds the signed-in user's settings (their NTUSER.DAT).)

2. Back up the key before changing it.

3. Read the value with Get-ItemProperty / reg query.

4. For another user: load or use HKU\<SID>.

5. Verify the program sees the change.

Operational verification

HKCU root key → subkeys → values → read by Windows and applications

Context & applicabilityCommon mistakes · platform/version boundaries
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
Scope / prerequisiteUse this when user-specific settings are wrong.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

2 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 Common mistakes Narrow the fault
  • Fixing user issues in HKLM.
Step 2 Where it fails Narrow the fault

Failure analysis for Registry → HKEY_CURRENT_USER follows the Windows chain of components: target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence.

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
  • HKCU is stored in the user's NTUSER.DAT.
  • It loads at logon.
  • Policies under HKCU\Software\Policies override.
Key checks
  • Get-ItemProperty 'HKLM:\<path>' — read values
  • reg query <key> /s — query in CMD
  • reg export <key> <file>.reg — back up a key
  • Get-Acl 'HKLM:\<path>' | fl — key permissions
  • Get-ChildItem 'HKCU:\' -ErrorAction SilentlyContinue — top-level keys
ReferenceWhy it matters1 section · depth on demand

Common paths

PathUse
HKCU\Software\Microsoft\Windows\CurrentVersion\RunPer-user startup
HKCU\Software\PoliciesUser Group Policy
HKCU\EnvironmentUser environment variables
HKCU\NetworkMapped drives
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

HKEY_CURRENT_USER (HKCU) is the logged-on user's settings, a view of HKU\<SID> loaded from NTUSER.DAT in the profile. User policies arrive in HKCU\Software\Policies.

When scripts run as SYSTEM (scheduled tasks, deployment tools), HKCU points to SYSTEM's own hive, not the user's — to change a user's settings, load their hive or use per-user mechanisms (logon scripts, GPO preferences, Intune user scope).

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 Registry → HKEY_CURRENT_USER. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry · confidence 94%
Confirmation

Confirm action

Continue?