Skip to main content

What do you know about HKEY_LOCAL_MACHINE (HKLM)?



What is it?

HKEY stands for "Handle to Registry Key”.

The HKEY_LOCAL_MACHINE subtree contains information about the local computer system, including hardware and operating system data, such as bus type, system memory, device drivers, and startup control parameters.

It is one of several registry hives in the Windows Registry. HKEY_LOCAL_MACHINE contains the majority of the configuration information for the software you have installed and for the Windows operating system itself.

It also contains information about currently detected hardware and, beginning in Windows Vista, information about your computer's boot configuration.

HKLM components

The following registry keys are located under the HKEY_LOCAL_MACHINE hive:
  • HKEY_LOCAL_MACHINE\BCD00000000
  • HKEY_LOCAL_MACHINE\COMPONENTS
  • HKEY_LOCAL_MACHINE\HARDWARE
  • HKEY_LOCAL_MACHINE\SAM
  • HKEY_LOCAL_MACHINE\Schema
  • HKEY_LOCAL_MACHINE\SECURITY
  • HKEY_LOCAL_MACHINE\SOFTWARE
  • HKEY_LOCAL_MACHINE\SYSTEM
Note: The keys located under HKEY_LOCAL_MACHINE on your computer may differ somewhat depending on your version of Windows and your specific computer configuration.

Is it differing from HKCU?

The HKEY_LOCAL_MACHINE hive is global, meaning that it's the same no matter which user on the computer views it, unlike HKEY_CURRENT_USER which is user specific that contains configuration information for Windows and software specific to the currently logged in user.

The registry key that is located under HKCU control user-level settings like the printers installed, desktop wallpaper, display settings, keyboard layout, mapped network drives, and more.

How  can  you find it?

HKEY_LOCAL_MACHINE does not 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. Because of this, you, nor any program you install, can create additional keys under HKEY_LOCAL_MACHINE.

HKEY_LOCAL_MACHINE can be accessed by opening Registry Editor and then clicking on the HKEY_LOCAL_MACHINE "folder" on the left side of the program window.
Open HKEY_LOCAL_MACHINE:
Go to run > regedit > yes

Note: if you can’t open Regedit go to run and type "gpedit.msc” clicks on administrative template>double click on system>double click Prevent access to registry editing tools>click not configure or disable. Then apply then click ok








Comments

Popular posts from this blog

Retrieve Data from Database and Compare it with user input using Java

In this Lesson we will create a form page " form.jsp " that takes the user email. After that we will check the user existence in our DB. If the user email stored in the DB, a welcoming page will be opened to him/her. If the user is a new user then a message will be displayed that tells him/her this email is not stored in our DB. Note: I use access 2013 database and Eclipse Juno     Basic step, Create a new project: Open Eclipse then click on File > New > Other > Web > Dynamic Web Project. First, Load the DB class: In this step we will connect with database so we will gather all its code in a java class named " DBConnection.java " under a package called " code ". Expand your project then right click on java resources > New > Package . After-that Give a name for your package ex, code   Right click on your created new package that called code > New > Class.   After-that Give a name for your Class ex, DBConnection.  

An attempt was made to insert a node where it is not permitted

Do you face this Error while you are writing code to generate xml file from java? Exception in thread "main" org.w3c.dom.DOMException : HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.        at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(Unknown Source)        at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(Unknown Source)        at generatexml.WriteXMLFile.main( WriteXMLFile.java:30 ) Well the answer is: Don't insert the node where it isn't permitted. Change your generated directory file path from 'C' to other directory ex, D or to any directory you have. Make sure the ‘appendChild’ is referring to the right element. Don’t appending twice, only make it once. Ex, //Writetoxml.java   Element rootElement = doc . createElement ( " Company " );   doc . appendChild ( rootElement );                Element subElement = doc . cre

Do you want to know about your computer in one window screen?

System Toolbox (Sys Toolbox) If you want to know information about your computer from processor, drivers, motherboard, memory, operating system,...and more, you can depend on this software. Sys Toolbox (see screen shoot from the software) provides a software and hardware information for windows operating system. It is a simple software that you can use it to know about your PC. To run the software, you need to: Extract the zipped software.  After that, right click on the software icon and choose "Run as administrator". Finally, you will find a pop up screen telling you information about you PC. To go to the software site: http://sys-toolbox-pro.soft112.com/ To Download the software: Download