How to jump to a registry key directly?


When you start Regedit, it automatically opens the last key that was viewed. (The Registry Editor saves the last viewed registry key in a separate location). If you wish to jump to a particular registry key directly without navigating the paths manually, you may use any of these methods / tools.

Option 1

Using a VBScript:  Copy these lines to a Notepad document as save as registry.vbs

'Launches Registry Editor with the chosen branch open automatically

'Author  : Ramesh Srinivasan

'Website: https://www.winhelponline.com/xp

 

Set WshShell = CreateObject("WScript.Shell")

Dim MyKey

MyKey = Inputbox("Type the Registry path")

MyKey = "My Computer\" & MyKey

WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\Lastkey",MyKey,"REG_SZ"

WshShell.Run "regedit", 1,True

Set WshShell = Nothing

Double-click Registry.vbs and then type the full registry path which you want to open. [ Example: HKEY_CLASSES_ROOT\.MP3 ]

Limitation: The above method does not help if Regedit is already open.

Option 2

Regjump from Sysinternals.com

This little command-line applet takes a registry path and makes Regedit open to that path. It accepts root keys in standard (e.g. HKEY_LOCAL_MACHINE) and abbreviated form (e.g. HKLM).

Usage: regjump [path]

Example: C:\Regjump HKEY_CLASSES_ROOT\.mp3

You can also Jump to a Registry Key (Stored in Clipboard) Directly Using RegJump

Option 3

To Jump to Registry key from Internet Explorer, Chrome, or Firefox, use the add-on(s) here:

Add "Go To Registry Key" to the Right-Click Menu in Internet Explorer