How Can I Collapse/Close All Registry Keys?

Page 1 of 3 123 LastLast

  1. Posts : 3
    Windows 10
       #1

    How Can I Collapse/Close All Registry Keys?


    Hello, I went around searching for a setting through the registry and left a mess with dozens of open keys and sub keys. Is there a key within the registry I can delete that will restore all keys to there original collapsed/closed state?
      My Computer


  2. Posts : 1,255
    Windows 10 Pro
       #2

    The state of a key being open or collapsed doesn't effect the registry itself, only how it is viewed in regedit. I don't believe there is any way to directly close all keys. What you can do is exit regedit and reopen it. Regedit will then open with the same key displayed in the right column as before with only the keys expanded that are necessary to show this.
      My Computer


  3. Posts : 3
    Windows 10
    Thread Starter
       #3

    LMiller7 said:
    The state of a key being open or collapsed doesn't effect the registry itself, only how it is viewed in regedit. I don't believe there is any way to directly close all keys. What you can do is exit regedit and reopen it. Regedit will then open with the same key displayed in the right column as before with only the keys expanded that are necessary to show this.
    I didn't know that upon closing the Registry Editor all keys collapse except the last highlighted entry. I was attempting to collapse each entry one at a time thank you for letting me know. :)
      My Computer


  4. Posts : 17,838
    Windows 10
       #4

    junior said:
    Hello, I went around searching for a setting through the registry and left a mess with dozens of open keys and sub keys. Is there a key within the registry I can delete that will restore all keys to there original collapsed/closed state?
    Highlight each HKEY parent key and press the left arrow key til it's collapsed.
      My Computer


  5. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #5

    If you go to the top of regedit and right click on Computer, there is a Collapse selection Click it to collapse all.
      My Computers


  6. Posts : 16
    Windows 10 Home
       #6

    Easy-Peasy!


    junior said:
    Hello, I went around searching for a setting through the registry and left a mess with dozens of open keys and sub keys. Is there a key within the registry I can delete that will restore all keys to there original collapsed/closed state?
    With the cursor focus in the left pane, simply press the left arrow key. Kind of stupid that the right click menu doesn't include 'Collapse All'.
    I find it amusing that Micro$oft doesn't make it easier to navigate within the registry. Even the 'Find' feature is lame; you have to click 'Edit' to select 'Find next' for any search string, since the dialog box closes every time it's clicked.
      My Computer


  7. Posts : 5,452
    Windows 11 Home
       #7

    Using CCleaner and cleaning: Applications - Windows - Regedit - will reset it to the original state.
      My Computer


  8. Posts : 1,983
    Windows 10 x86 14383 Insider Pro and Core 10240
       #8
      My Computers


  9. Posts : 5,452
    Windows 11 Home
       #9

    It does not collapse the keys, it will just hide them, when you continue browsing, they will be still open.
      My Computer


  10. Posts : 1,983
    Windows 10 x86 14383 Insider Pro and Core 10240
       #10

    I see. so the right arrow key is better then?
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:39.
Find Us




Windows 10 Forums