• Re: open registry to a specific key

    From VanguardLH@21:1/5 to Mickey D on Mon Sep 30 23:09:45 2024
    Mickey D <mickeydavis078XX@ptd.net> wrote:

    When I open the registry, it goes to the last place which could be a
    hundred entries below the last key you edited (in my situation it
    is).

    Of course I can scroll up to find the key, and of course I can add it
    as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?

    Assuming you are using regedit.exe, and not some other registry tool
    (you didn't say what you use), and rather than scroll, use the
    left-arrow to navigate back up the tree to the parent node, and again left-arrow to the next parent, and so on. Left-arrows walks backwards
    up the tree.

    regedit.exe has no command-line argument for specify which key it should navigate to when it is loaded. However, that would mean adding the long
    path to the key in the command line instead of entering in the address
    bar in regedit.exe. You haven't saved any typing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mickey D@21:1/5 to All on Mon Sep 30 23:52:13 2024
    When I open the registry, it goes to the last place which could be a
    hundred entries below the last key you edited (in my situation it is).

    Of course I can scroll up to find the key, and of course I can add it as a favorite, and of course I can paste the long path to the key, but can I
    just open the registry to a give key at the top level of that key?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to All on Mon Sep 30 22:09:22 2024
    Mickey D <mickeydavis078XX@ptd.net> wrote:

    When I open the registry, it goes to the last place which could be a hundred entries below the last key you edited (in my situation it
    is).

    Of course I can scroll up to find the key, and of course I can add it
    as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?


    (1) I think I remember that the Nirsoft utility that searches the
    registry will open REGEDIT to the appropriate key.

    Yup, it's Regscanner. I haven't used it in a while because it seems
    easier to me just to paste the key into regedit.

    (2) <https://superuser.com/questions/115854/open-registry-directly- to-a-given-key> talks about a regjump.exe utility from SysInternals
    at <https://learn.microsoft.com/en-us/sysinternals/downloads/regjump>
    that will do what you're asking for.

    I found (2) by googling "how to open regedit at a desired key" (sans
    quotes). Superuser.com or StackOverflow.com nearly always have
    answers to questions like yours.

    --
    Stan Brown, Tehachapi, California, USA https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Stan Brown on Tue Oct 1 02:03:05 2024
    On Tue, 10/1/2024 1:09 AM, Stan Brown wrote:

    Mickey D <mickeydavis078XX@ptd.net> wrote:

    When I open the registry, it goes to the last place which could be a
    hundred entries below the last key you edited (in my situation it
    is).

    Of course I can scroll up to find the key, and of course I can add it
    as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?


    (1) I think I remember that the Nirsoft utility that searches the
    registry will open REGEDIT to the appropriate key.

    Yup, it's Regscanner. I haven't used it in a while because it seems
    easier to me just to paste the key into regedit.

    (2) <https://superuser.com/questions/115854/open-registry-directly- to-a-given-key> talks about a regjump.exe utility from SysInternals
    at <https://learn.microsoft.com/en-us/sysinternals/downloads/regjump>
    that will do what you're asking for.

    I found (2) by googling "how to open regedit at a desired key" (sans
    quotes). Superuser.com or StackOverflow.com nearly always have
    answers to questions like yours.


    The Process Monitor "Jump To" function, uses the interface on Regedit
    that does this. There must be an API for this function.

    The function is also available as "regjump.exe". Did not test.

    https://learn.microsoft.com/en-us/sysinternals/downloads/regjump

    regjump HKLM\Software\Microsoft\Windows

    The only potential problem with ideas like this, is not all hives
    in the registry are treated uniformly. It's always possible some
    strings you enter, the tool will "balk" at your content.

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From VanguardLH@21:1/5 to Stan Brown on Tue Oct 1 01:42:07 2024
    Stan Brown <the_stan_brown@fastmail.fm> wrote:

    Mickey D <mickeydavis078XX@ptd.net> wrote:

    When I open the registry, it goes to the last place which could be a
    hundred entries below the last key you edited (in my situation it
    is).

    Of course I can scroll up to find the key, and of course I can add it
    as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?

    (1) I think I remember that the Nirsoft utility that searches the
    registry will open REGEDIT to the appropriate key.

    I thought about that one, too, except you have to do a search.
    RegScanner shows all matching hits in a registry search, and you can
    pick one to directly open the regedit.exe to that key. You don't have
    to enter the full path to the key, just enough to try to limit the
    matches to hopefully include the one you want. I don't know how it
    works since I've never found a command-line arg for regedit.exe that
    specifies it directly selects the specified key.

    https://www.techtarget.com/searchwindowsserver/tip/Command-line-options-for-Regeditexe

    That lists some of the command-line args for regedit.exe. I've used the
    /s arg along with a .reg file to silently apply changes in the .reg file instead of prompting me if I really want to make the changes.

    (2) <https://superuser.com/questions/115854/open-registry-directly- to-a-given-key> talks about a regjump.exe utility from SysInternals
    at <https://learn.microsoft.com/en-us/sysinternals/downloads/regjump>
    that will do what you're asking for.

    Again that is using additional software. Looks like the OP wants to
    navigate the registry just inside of regedit.exe. Russinovich knew a
    lot of internal stuff about the registry and Windows, and built some
    very handy tools. He wrote the "Windows Internals" books (his first
    company name was WinInternals). Then Microsoft hired him and also
    acquired his software. Thankfully Microsoft didn't make the
    SysInternals tools disappear.

    From the OP's post, sounds like he doesn't want to specify the entire
    path to a key. If that were true, he wouldn't need RegScanner or other registry tools. He could enter that full path into regedit.exe to jump
    to the key. He wants to walk back to the parent key, or maybe further
    up the tree, and the left arrow will do that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Tue Oct 1 09:33:06 2024
    Paul,

    The Process Monitor "Jump To" function, uses the interface on
    Regedit that does this. There must be an API for this function.

    Its possible that Win10 has such an API, but under XP it was just a case of writing the desired path* in the registry (the "last visited" location) and (only than!) starting RegEdit. A bit of VBScript does it on my XP machine.

    *
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
    LastKey

    It might still work on/for Win10.

    Regards,
    Rudy Wieser

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jetjock@21:1/5 to Paul on Tue Oct 1 09:33:43 2024
    On Tue, 1 Oct 2024 02:03:05 -0400, Paul <nospam@needed.invalid> wrote:

    On Tue, 10/1/2024 1:09 AM, Stan Brown wrote:

    Mickey D <mickeydavis078XX@ptd.net> wrote:

    When I open the registry, it goes to the last place which could be a
    hundred entries below the last key you edited (in my situation it
    is).

    Of course I can scroll up to find the key, and of course I can add it
    as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?


    (1) I think I remember that the Nirsoft utility that searches the
    registry will open REGEDIT to the appropriate key.

    Yup, it's Regscanner. I haven't used it in a while because it seems
    easier to me just to paste the key into regedit.

    (2) <https://superuser.com/questions/115854/open-registry-directly-
    to-a-given-key> talks about a regjump.exe utility from SysInternals
    at <https://learn.microsoft.com/en-us/sysinternals/downloads/regjump>
    that will do what you're asking for.

    I found (2) by googling "how to open regedit at a desired key" (sans
    quotes). Superuser.com or StackOverflow.com nearly always have
    answers to questions like yours.


    The Process Monitor "Jump To" function, uses the interface on Regedit
    that does this. There must be an API for this function.

    Process Monitor "Jump To" is grayed out in my Process Monitor.

    The function is also available as "regjump.exe". Did not test.

    https://learn.microsoft.com/en-us/sysinternals/downloads/regjump

    regjump HKLM\Software\Microsoft\Windows

    The only potential problem with ideas like this, is not all hives
    in the registry are treated uniformly. It's always possible some
    strings you enter, the tool will "balk" at your content.

    Paul

    >>>>>>>>>>jetjock<<<<<<<<<<

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jetjock@21:1/5 to All on Tue Oct 1 09:36:07 2024
    On Tue, 01 Oct 2024 09:33:43 -0500, jetjock <jetjock@unkown.com>
    wrote:

    On Tue, 1 Oct 2024 02:03:05 -0400, Paul <nospam@needed.invalid> wrote:

    On Tue, 10/1/2024 1:09 AM, Stan Brown wrote:

    Mickey D <mickeydavis078XX@ptd.net> wrote:

    When I open the registry, it goes to the last place which could be a >>>>> hundred entries below the last key you edited (in my situation it
    is).

    Of course I can scroll up to find the key, and of course I can add it >>>>> as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?


    (1) I think I remember that the Nirsoft utility that searches the
    registry will open REGEDIT to the appropriate key.

    Yup, it's Regscanner. I haven't used it in a while because it seems
    easier to me just to paste the key into regedit.

    (2) <https://superuser.com/questions/115854/open-registry-directly-
    to-a-given-key> talks about a regjump.exe utility from SysInternals
    at <https://learn.microsoft.com/en-us/sysinternals/downloads/regjump>
    that will do what you're asking for.

    I found (2) by googling "how to open regedit at a desired key" (sans
    quotes). Superuser.com or StackOverflow.com nearly always have
    answers to questions like yours.


    The Process Monitor "Jump To" function, uses the interface on Regedit
    that does this. There must be an API for this function.

    Process Monitor "Jump To" is grayed out in my Process Monitor.

    Never mind. Operator Error!!

    The function is also available as "regjump.exe". Did not test.

    https://learn.microsoft.com/en-us/sysinternals/downloads/regjump

    regjump HKLM\Software\Microsoft\Windows

    The only potential problem with ideas like this, is not all hives
    in the registry are treated uniformly. It's always possible some
    strings you enter, the tool will "balk" at your content.

    Paul

    >>>>>>>>>>jetjock<<<<<<<<<<

    >>>>>>>>>>jetjock<<<<<<<<<<

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bill Bradshaw@21:1/5 to Mickey D on Tue Oct 1 08:19:49 2024
    Mickey D wrote:
    When I open the registry, it goes to the last place which could be a
    hundred entries below the last key you edited (in my situation it is).

    Of course I can scroll up to find the key, and of course I can add it
    as a favorite, and of course I can paste the long path to the key,
    but can I just open the registry to a give key at the top level of
    that key?

    Look for RegMagik and see if that will do what you want. It is what I use
    for searches and editing.
    --
    <Bill>

    Brought to you from Anchorage, Alaska

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)