What Is HKEY_CURRENT_USER?

The HKEY_CURRENT_USER registry hive stores configuration information specific to the current user

What to Know

  • The HKCU registry hive stores configuration information for Windows and software relevant for the logged-in user.
  • HKEY_CURRENT_USER is located on the left side of Registry Editor. Get there with the regedit command.
  • HKCU is a pointer to a HKEY_USERS subkey that's named the same as your security identifier.

This article explains what this registry hive does and what's stored inside, plus how to find it in Registry Editor.

What Is HKEY_CURRENT_USER?

HKEY_CURRENT_USER, often abbreviated as HKCU, is one of a half-dozen or so registry hives, a major part of the Windows Registry.

It contains configuration information for Windows and software specific to the currently logged-in user.

For example, various registry values in various registry keys located under this hive control user-level settings like the installed printers, desktop wallpaper, display settings, environment variables, keyboard layout, mapped network drives, and more.

Many of the settings you configure within various applets in the Control Panel are actually stored in this hive.

HKEY_CURRENT_USER Registry Hive in Windows 11

How to Get to HKEY_CURRENT_USER

Registry hives are one of the easier types of things to find in Registry Editor:

  1. Open Registry Editor. One quick way to do this is by executing regedit from the Run dialog box.

    We always recommend backing up the registry before making changes to it, so that you can restore the registry should you need to revert the changes.

  2. Locate HKEY_CURRENT_USER from the pane on the left.

  3. Double-tap or double-click HKEY_CURRENT_USER, or single click/tap the small arrow or plus icon on the left if you want to expand it.

    Newer versions of Windows use an arrow as that button to expand registry hives, but others have a plus sign.

    Don't See HKEY_CURRENT_USER?

    HKEY_CURRENT_USER may be hard to find if Registry Editor has been used on your computer before, since the program takes you directly to the last place you were. Since all computers with Windows Registry have this hive, you aren't actually missing it if you can't see it, but you might need to hide a few things to find it.

    Here's what to do: From the left-hand side of Registry Editor, scroll to the very top until you see Computer and HKEY_CLASSES_ROOT. Select the arrow or plus sign to the left of the HKEY_CLASSES_ROOT folder to minimize/collapse that entire hive. The one just below it is HKEY_CURRENT_USER.

    You can press Home from anywhere in Registry Editor to jump to Computer, which is what "holds" all the hives in the program. Once you get there, you can collapse all the other hives if you want to.

    HKEY_CURRENT_USER Registry Subkeys

    Here are some common registry keys you might find under the HKEY_CURRENT_USER hive:

    • HKEY_CURRENT_USER\AppEvents
    • HKEY_CURRENT_USER\Console
    • HKEY_CURRENT_USER\Control Panel
    • HKEY_CURRENT_USER\Environment
    • HKEY_CURRENT_USER\EUDC
    • HKEY_CURRENT_USER\Identities
    • HKEY_CURRENT_USER\Keyboard Layout
    • HKEY_CURRENT_USER\Network
    • HKEY_CURRENT_USER\Printers
    • HKEY_CURRENT_USER\Software
    • HKEY_CURRENT_USER\System
    • HKEY_CURRENT_USER\Volatile Environment

    The keys located under this hive on your computer may differ from the list above. The version of Windows you're running, and the software you have installed, both determine what may be present.

    Since the HKCU hive is user specific, the keys and values contained in it will differ from user to user, even on the same computer. This is unlike most other registry hives which are global, like HKEY_CLASSES_ROOT, and retain the same information across all users.

    HKCU Examples

    Following is some information on just a few sample keys found under the HKEY_CURRENT_USER hive:

    HKEY_CURRENT_USER\AppEvents\EventLabels

    This is where labels, sounds, and descriptions are found for various functions in Windows and third-party apps, like fax beeps, completed iTunes tasks, low battery alarm, mail beeps, and more.

    HKEY_CURRENT_USER\Control Panel

    This is where a few keyboard settings are found, like the keyboard delay and keyboard speed options, both of which are controlled via the Repeat delay and Repeat rate settings in the Keyboard Control Panel applet.

    The Mouse applet is another one whose settings are stored in the HKEY_CURRENT_USER\Control Panel\Mouse key. Some options there include DoubleClickHeight, ExtendedSounds, MouseSensitivity, MouseSpeed, MouseTrails, and SwapMouseButtons.

    Yet another Control Panel section is dedicated solely to the mouse cursor, found under Cursors. Stored here are the name and physical file locations of default and custom cursors. Windows uses still and animated cursor files that have the CUR and ANI file extensions, respectively, so most of the cursor files found here point to files of those types in the %SystemRoot%\cursors\ folder.

    The same is true for the HKCU Control Panel Desktop key that defines lots of Desktop-related settings in values like WallpaperStyle that describes whether to center the wallpaper or stretch it across the display. Others in this same location include CursorBlinkRate, ScreenSaveActive, ScreenSaveTimeOut, and MenuShowDelay.

    HKEY_CURRENT_USER\Environment

    The Environment key is where environment variables like PATH and TEMP are found. Changes can be made here or through File Explorer, and they'll be reflected in both places.

    HKEY_CURRENT_USER\Software

    Lots of user-specific software entries are listed in this registry key. One example is the location of the Firefox program. This subkey is where various values are found that explain where firefox.exe is located within the installation folder:

    HKEY_CURRENT_USER\SOFTWARE\Mozilla\Firefox\Launcher\
    

    More on HKEY_CURRENT_USER

    This hive is actually just a pointer to the key located under the HKEY_USERS hive that's named the same as your security identifier. You can make changes in either location since they are one and the same.

    The reason HKEY_CURRENT_USER even exists, given that it's just a reference point to another hive, is that it provides an easier way to view the information. The alternative is to find the security identifier of your account and navigate to that area of HKEY_USERS.

    Again, everything seen in HKEY_CURRENT_USER pertains only to the user that's currently logged on, not any of the other users that exist on the computer. This means that each user that logs in will pull their own information from the corresponding HKEY_USERS hive, which in turn means HKEY_CURRENT_USER will be different for each user that views it.

    Because of how this is set up, you could actually just navigate to a different user's security identifier in HKEY_USERS to see everything they would see in HKEY_CURRENT_USER when they're logged in.

Was this page helpful?