How Can I Collapse/Close All Registry Keys?

Page 1 of 2 12 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,212
    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. Edwin's Avatar
    Posts : 17,150
    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. Ztruker's Avatar
    Posts : 13,512
    Windows 10 Pro X64 20H4 19042.746
       #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. rstrub1955's Avatar
    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. TairikuOkami's Avatar
    Posts : 4,692
    Windows Home Dev 21xxx x64
       #7

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

  8. Fafhrd's Avatar
    Posts : 1,981
    Windows 10 x86 14383 Insider Pro and Core 10240
       #8
      My Computers

  9. TairikuOkami's Avatar
    Posts : 4,692
    Windows Home Dev 21xxx x64
       #9

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

  10. Fafhrd's Avatar
    Posts : 1,981
    Windows 10 x86 14383 Insider Pro and Core 10240
       #10

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


 
Page 1 of 2 12 LastLast

  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 09:50.
Find Us




Windows 10 Forums