Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any tweak to open a particular registry key in registry editor from console/command mode ?

Say like If I want to view this key in registry editor

HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version

After opening regedit.exe, I would like to auto navigate to this key.

Note: I checked reg.exe , but its pure console application of registry editor.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If you don't mind downloading a tiny program, Microsoft Sysinternals have a tool called Regjump

Simply download this anywhere (I put it in the windows\system32 folder so it has path) then from anywhere, just type:

regjump HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion

Or

regjump HKCU\Software\Microsoft\Windows\CurrentVersion

Remember that Current Version path does not have a space, however if there is a space in the name, simply put the entire path in to quotes, for example

regjump "HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version"

Only downside to this application is that you need to run it in an elevated command prompt or turn compatibility on and make sure that regjump always runs as elevated (If you have UAC on). If you do not do this, it will load registry editor, but it will be unable to tell when it is launched and will not jump to the path.

share|improve this answer
    
Cool ;) this is what i was looking for –  ukanth Oct 7 '09 at 12:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.