Use this when editing settings for another user's profile.
HKEY_USERS
HKEY_USERS (HKU) contains the loaded profiles of all users on the machine, keyed by SID, plus .DEFAULT for the system account. HKCU is a pointer to the current user's entry here.
1. Is the setting per machine or per user? (HKU holds all loaded user profiles by SID.)
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.
HKU root key → subkeys → values → read by Windows and applications
Context & applicabilityCommon mistakes · platform/version boundaries
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 Common mistakes Narrow the fault
- Forgetting to unload loaded hives.
Step 2 Where it fails Narrow the fault
Failure analysis for Registry → HKEY_USERS 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 · 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.
- HKU contains loaded user profiles keyed by SID.
- Load an offline user's hive with reg load.
- Always unload after editing.
Get-ItemProperty 'HKLM:\<path>'— read valuesreg query <key> /s— query in CMDreg export <key> <file>.reg— back up a keyGet-Acl 'HKLM:\<path>' | fl— key permissionsreg query HKU— top-level keys
ReferenceImportant terms & boundaries2 sections · depth on demand
Working with profiles
Get-ChildItem Registry::HKEY_USERS
reg load HKU\Temp C:\Users\alice\NTUSER.DAT
reg unload HKU\Temp
Documented example, not captured output. Loading another user's hive lets you change settings while they are logged off; always unload afterwards.
In depth
HKEY_USERS (HKU) contains the hives of all loaded user profiles (HKU\S-1-5-21-…), plus .DEFAULT (LocalSystem's hive, not the default for new users) and service account hives (S-1-5-18, -19, -20).
Edit an offline user's settings by loading their hive:
reg load HKU\TempUser C:\Users\alice\NTUSER.DAT
reg add HKU\TempUser\Software\MyApp /v Setting /t REG_SZ /d value /f
reg unload HKU\TempUser
The default profile for new users is C:\Users\Default\NTUSER.DAT.
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 Registry → HKEY_USERS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry · confidence 94%