Sie sind auf Seite 1von 5

05/01/2018 What Do HKCR, HKCU, HKLM, HKU, and HKCC Mean?

HKCC Mean? (Registry Root Keys) | Windows 7 | Windows Tools, Help & Guides

Windows Tools, Help & Guides


What Do HKCR, HKCU, HKLM, HKU, and HKCC Mean?
(Registry Root Keys)
By Rich

Note: To get a better understanding of Windows Registry basics, read this guide.

If you’re somewhat familiar with the Windows Registry, you’ve no doubt seen references to HKCR, HKCU,
HKLM, HKU, and HKCC. These abbreviations represent the five root keys in the Windows Registry:

HKEY_CLASSES_ROOT (HKCR)
HKEY_CURRENT_USER (HKCU)
HKEY_LOCAL_MACHINE (HKLM)
HKEY_USERS (HKU)
HKEY_CURRENT_CONFIG (HKCC)

You can view these by opening the Windows Registry Editor (Click Start, type regedit, and pres Enter):

This guide explains the basics on what each root key represents and what settings you can expect to find
under each. I wrote this guide to help clarify the fundamentals of the registry and provide insight into what
each root key does.

HKEY_CLASSES_ROOT
HKEY_CLASSES_ROOT or HKCR is an alias (i.e. a reference) to
HKEY_LOCAL_MACHINE\Software\Classes. A separate root key is added mainly so software developers
have direct access to this data without dipping in to HKLM. HKCR contains data related to applications,
shortcuts, and file extension associations. When we open HKEY_CLASSES_ROOT, we see:

https://mintywhite.com/vista/hkcr-hkcu-hklm-hku-hkcc-registry-root-keys/ 1/5
05/01/2018 What Do HKCR, HKCU, HKLM, HKU, and HKCC Mean? (Registry Root Keys) | Windows 7 | Windows Tools, Help & Guides

The Shell subkey stores actions for each file type.

HKEY_CURRENT_USER
HKEY_CURRENT_USER or HKCU is built from %UserProfile%\ntuser.dat (to view this file, you’ll need to
enable viewing of protected system files.) HKCU contains data specific to each user with a log on account on
your PC. Here’s what we see when we expand HKCU:

A little digging through this key yields data like application events (i.e. program sounds), keyboard layout,
mapped network drives, application preferences (Software), and other user-specific settings.

HKEY_LOCAL_MACHINE

HKEY_LOCAL_MACHINE or HKLM hardware and software configuration data that is “global” or


pertinent to the PC regardless of which user is logged on. Here’s what HKLM looks like:

https://mintywhite.com/vista/hkcr-hkcu-hklm-hku-hkcc-registry-root-keys/ 2/5
05/01/2018 What Do HKCR, HKCU, HKLM, HKU, and HKCC Mean? (Registry Root Keys) | Windows 7 | Windows Tools, Help & Guides

System Contains subkeys and settings related to Windows startup.

HKEY_USERS
HKEY_USERS or HKU is the home of group policy settings. Any Group Policy based rules are stored under
this root key. When you log on, these settings are copied over to HKCU.

When you expand HKU, you’ll see a .DEFAULT folder as well as entries for each user/log on ID. The
.DEFAULT folder contains the base settings for new users when they first logon, S-1-5-21- folders contain
settings for user IDs:

You can cross reference these IDs with HKLM\SOFTWARE\Microsoft\Windows


NT\CurrentVersion\ProfileList\ where you’ll find the same list of SIDs. Click on one of the S-1-5-21- folders,
and check out the ProfileImagePath key’s data value to see the owner of the profile.

HKEY_CURRENT_CONFIG

https://mintywhite.com/vista/hkcr-hkcu-hklm-hku-hkcc-registry-root-keys/ 3/5
05/01/2018 What Do HKCR, HKCU, HKLM, HKU, and HKCC Mean? (Registry Root Keys) | Windows 7 | Windows Tools, Help & Guides

HKEY_CURRENT_CONFIG or HKCC contains the current hardware profile settings. Like HKCR, HKCC
is an alias to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001 (Note: If your PC has multiple hardware
profiles, they are numbered ControlSet002, ControlSet003 etc.)

Well that’s about it for the basics of the Windows Registry; now you know the foundation of the root keys,
I’m hoping the registry seems a little less daunting?

What did I miss? Let us know in the comments.

Share this:

    

About Rich
Rich is the owner and creator of Windows Guides; he spends his time breaking
things on his PC so he can write how-to guides to fix them.

Web | Twitter | Facebook | LinkedIn | Google+ | More Posts (1018)

Related

Working with the Windows Registry Enable Windows 10 Dark Theme User Account Logs in with Default
(Windows 10, 8, 7, Vista, XP) June 10, 2016 Settings in Windows 7
[Updated] In "Windows 10 Customization" August 19, 2010
December 18, 2012 In "Windows 7 Maintenance"
In "Windows 10 Customization"

Continue Reading
How to Remove the Windows August 2014 Update (MS14-045) Causing Blue Screen of Death
[You’re too late] Unique Giveaway: Get one of two programs for Free !
Apowersoft Video Download Capture
Apowersoft Streaming Audio Recorder

Free PC tips by email


https://mintywhite.com/vista/hkcr-hkcu-hklm-hku-hkcc-registry-root-keys/ 4/5
05/01/2018 What Do HKCR, HKCU, HKLM, HKU, and HKCC Mean? (Registry Root Keys) | Windows 7 | Windows Tools, Help & Guides

© 2008-2018 mintywhite.com | Rich Robinson | ↑ Back to Top

https://mintywhite.com/vista/hkcr-hkcu-hklm-hku-hkcc-registry-root-keys/ 5/5

Das könnte Ihnen auch gefallen