Apps Switch Between HKCU and HKLM Key Locations in Registry Editor in Windows 11


  • Staff
Registry_Editor_banner.png

This tutorial will show you how to quickly switch between a registry key that exists in both the HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER branch locations in Registry Editor in Windows 10 and Windows 11.

System configuration information is stored centrally in a hierarchical database called the registry. You can use Registry Editor to add and edit registry keys and values, restore the registry from a backup or to default values, and to import or export keys for reference or backup.

You can quickly switch between registry keys in the HKEY_LOCAL_MACHINE (HKLM) branch and HKEY_CURRENT_USER (HKCU) branch if the key exists in both branches. This makes it easy to modify values at both branch locations as needed.

Reference:


Here's How:

1 Open Registry Editor (regedit.exe)

2 In the left pane of Registry Editor, right click on a registry key (ex: "Software") you want to switch to its HKCU or HKLM location. (see screenshots below)

3 Click/tap on Go to HKEY_LOCAL_MACHINE or Go to HKEY_CURRENT_USER to switch to that key location.

The Go to HKEY_LOCAL_MACHINE and Go to HKEY_CURRENT_USER options will only be available in the context menu if the registry key exists in both branches.


regedit_go_to_HKLM_key_location.png
regedit_go_to_HKCU_key_location.png



That's it,
Shawn Brink
 
Last edited:
Great! I never knew.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 Build: 26100.1742
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 - 2 x 24MK430H-B - 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list.
    OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 23H2 Build: 22631.4249
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Intel Iris Xe Graphics Processor
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Back
Top Bottom