Hkey Local Machine Nằm Ở Đâu

Tim Fisher has more than 30 years' of professional công nghệ experience. He's been writing about tech for more than two decades và serves as the VP và General Manager of

Bạn đang xem: Hkey local machine nằm ở đâu

HKEY_LOCAL_MACHINE, often abbreviated as HKLM, is one of several registry hives that hóa trang the Windows Registry. This particular hive contains the majority of the configuration information for the software you have installed, as well as for the Windows operating system itself.

In addition to software configuration data, this hive also contains lots of valuable information about currently detected hardware and device drivers.

In Windows 11, Windows 10, Windows 8, Windows 7, & Windows Vista, information about your computer"s boot configuration is included here, too.


How to lớn Get khổng lồ HKEY_LOCAL_MACHINE

Being a registry hive, HKEY_LOCAL_MACHINE is easy to lớn find and xuất hiện using the Registry Editor tool included in all versions of Windows:

If you, or someone else, have used Registry Editor before on your computer, you may need to collapse any xuất hiện registry keys until you find the hive. Using the left arrow key will collapse whatever is currently selected.

Double-click or double-tap HKEY_LOCAL_MACHINE to lớn expand the hive, or use the small arrow to lớn the left.

Registry Subkeys in HKEY_LOCAL_MACHINE

The following registry keys are located under the HKEY_LOCAL_MACHINE hive:


The keys located under this hive on your computer may differ somewhat depending on your version of Windows và your specific computer configuration. For example, newer versions of Windows don't include the COMPONENTS key.

The HARDWARE subkey holds data pertaining to the BIOS, processors, & other hardware devices. For example, within HARDWARE is DESCRIPTION > System > BIOS, which is where you"ll find the current BIOS version & vendor.

The SOFTWARE subkey is the one most commonly accessed from the HKLM hive. It"s organized alphabetically by the software vendor & is where each program writes data khổng lồ the registry so that the next time the application gets opened, its specific settings can be applied automatically so that you don"t have to lớn reconfigure the program each time it"s used. It"s also useful when finding a user"s SID.

The SOFTWARE subkey also holds a Windows subkey that describes various UI details of the operating system, a Classes subkey detailing which programs are associated with which file extensions, & others.

Xem thêm: Cream Cheese Là Gì - Phân Biệt 8 Loại Phô Mai Phổ Biến Nhất

HKLMSOFTWAREWow6432Node is found on 64-bit versions of Windows, but is used by 32-bit applications. It"s equivalent lớn HKLMSOFTWARE but isn"t the exact same since it"s separated for the sole purpose of providing information to 32-bit applications on a 64-bit OS. WoW64 shows this key to 32-bit applications as "HKLMSOFTWARE."

Hidden Subkeys in HKLM

In most configurations, the following subkeys are hidden keys, và therefore can't be browsed lượt thích the other keys under the HKLM registry hive:

The SAM subkey refers lớn information about Security Accounts Manager (SAM) databases for domains. Within each database are group aliases, users, guest accounts, và administrator accounts, plus the name used khổng lồ log in khổng lồ the domain, cryptographic hashes of each user"s password, and more.

The SECURITY subkey is used lớn store the security policy of the current user. It's linked to the security database of the domain where the user is logged in, or to lớn the registry hive on the local computer if the user is logged in lớn the local system domain.

To see the contents of the SAM or SECURITY key, the Registry Editor must instead be opened using the System Account, which has greater permissions than any other user, even a user with administrator privileges.

Once Registry Editor has been opened using the appropriate permissions, the HKEY_LOCAL_MACHINESAM and HKEY_LOCAL_MACHINESECURITY keys can be explored like any other key in the hive.

Some không tính tiền software utilities, lượt thích PsExec by Microsoft, are able to xuất hiện Registry Editor with the proper permissions lớn view these hidden keys.


It might be interesting khổng lồ know that HKEY_LOCAL_MACHINE doesn't actually exist anywhere on the computer, but is instead just a container for displaying the actual registry data being loaded via the subkeys located within the hive, listed above.

In other words, it acts like a shortcut to a number of other sources of data about your computer. Because of this non-existent nature, neither you nor any program you install can create additional keys under HKEY_LOCAL_MACHINE.

The hive is global, meaning that it"s the same no matter which user on the computer views it, unlike a registry hive lượt thích HKEY_CURRENT_USER, which is specific khổng lồ each user that views it while logged in.

Although it's often written this way, HKLM isn't really an "official" abbreviation. This is important lớn know because some programs in some circumstances, even tools available directly from Microsoft, don't let you abbreviate the hive in registry paths. If you're getting an error while using "HKLM," use the full path instead & see if that fixes it. is part of the Dotdash Meredith publishingfamily.We"ve updated our Privacy Policy, which will go in to effect on September 1, 2022. Kiểm tra it out here.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device khổng lồ enhance site navigation, analyze site usage, và assist in our kinh doanh efforts.