Question: how to edit hklm registry?
Answer: Click Start or press the Windows key.
In the Start menu, either in the Run box or the Search box, type regedit and press Enter. ... 
If prompted by User Account Control, click Yes to open the Registry Editor.
The Windows Registry Editor window should open and look similar to the example shown below.