25.11.2018
Posted by 
Open Regedit From Command Prompt Rating: 4,9/5 6114 votes
  1. Regedit From Command Line
  2. Open Regedit From Command Prompt Windows 10

From (I have not tried any of these): When you start Regedit, it automatically opens the last key that was viewed. (Registry Editor in Windows XP 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: 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.

In Windows 8 and Windows 10, press WinKey+X to open the Power User menu. In the Command Prompt window, type REGEDIT and press ENTER to launch. Apply the tweak I suggest in article How to open an elevated Command Prompt from the folder context menu so that you can open an elevated Command Prompt from the context menu of a folder. Madhurashtakam meaning in gujarati. This adds the runas verb in the registry to launch Command Prompt elevated.

Running

Example: HKEY_CLASSES_ROOT.MP3 Limitation: The above method does not help if Regedit is already open. Note: For Windows 7, you need to replace the line MyKey = 'My Computer ' & MyKey with MyKey = 'Computer ' & MyKey (remove the string My). For a German Windows XP the string 'My Computer ' must be replaced by 'Arbeitsplatz '.

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. Usage: regjump [path] Example: C: Regjump HKEY_CLASSES_ROOT.mp3 Option 3 12Ghosts JumpReg from 12ghosts.com Jump to registry keys from a tray icon! This is a surprisingly useful tool.

Regedit From Command Line

2018 You can manage and directly jump to frequently accessed registry keys. Unlimited list size, jump to keys and values, get current key with one click, jump to key in clipboard, jump to same in key in HKCU or HKLM. Manage and sort keys with comments in an easy-to-use tray icon menu. Create shortcuts for registry keys.

Open Regedit From Command Prompt Windows 10

Here is one more batch file solution with several enhancements in comparison to the other batch solutions posted here. It also sets string value LastKey updated by Regedit itself on every exit to show after start the same key as on last exit. @echo off setlocal EnableDelayedExpansion set 'RootName=Computer' if not '%~1'==' ( set 'RegKey=%~1' goto PrepareKey ) echo/ echo Please enter the path of the registry key to open. Echo/ set 'RegKey=' set /P 'RegKey=Key path: ' rem Exit batch file without starting Regedit if nothing entered by user. If '!RegKey!'