If you use the Windows Registry Editor with any regularity, you’ve probably found more than once that you’ve drilled down to a key in the wrong hive. Maybe you drilled down to a key in HKEY_CURRENT_USER
when you really meant HKEY_LOCAL_MACHINE
. Instead of backing all the way out and clicking your way down to the right hive, we’ve got an easier way.
Part of being careful is double-checking that the key or value you’re about to edit is indeed the right one. When you’ve found your location (and before making any edits), verify that you’re in the right place by checking out the status bar at the bottom of the window. A lot of the keys and values are the same in different hives. In particular, you’ll see a lot of similar locations in both the HKEY_CURRENT_USER
and HKEY_LOCAL_MACHINE
hives, which also happen to be the two you’ll make changes in the most frequently. Fortunately, the Registry Editor provides a handy way to jump between keys with the same path in different hives.
Say, for example, that you’ve drilled down into the following key:
HKEY_CURRENT_USER\System\CurrentControlSet\Policies
Then you realize that you meant to go to System\CurrentControlSet\Policies
theHKEY_LOCAL_MACHINE
hive instead. Whoops!
No need to start from scratch. Just right-click the current key (in this case, Policies
). As long as there is a matching path in another hive, a special “Go to” command will appear at the bottom of the context menu (in our example, “Go to HKEY_LOCAL_MACHINE"
). Click it to make the switch.
Registry Editor immediately takes you to the corresponding value in the other hive.
Remember, this only works if the same key path exists in another hive–it won’t work if you just went to the wrong key entirely. Still, this feature can save you a lot of clicking if you spend any time in the Registry. And, as complicated as working in the Registry can be, any time saved is welcome.