Stop Windows Explorer from expanding folders tree


  1. Posts : 16
    Windows 10
       #1

    Stop Windows Explorer from expanding folders tree


    Hi.
    How to stop Windows Explorer from expanding folders tree when exploring folders?
    I'd prefer a .reg/.cmd file.
    Thanks!
      My Computer


  2. Posts : 17,838
    Windows 10
       #2

    Martinz said:
    Hi.
    How to stop Windows Explorer from expanding folders tree when exploring folders?
    I'd prefer a .reg/.cmd file.
    Thanks!
    Right click an empty spot in the Navigation Pane and uncheck "Expand to current Folder"
      My Computer


  3. Posts : 14,007
    Win10 Pro and Home, Win11 Pro and Home, Win7, Linux Mint
       #3

    Martinz said:
    Hi.
    How to stop Windows Explorer from expanding folders tree when exploring folders?
    I'd prefer a .reg/.cmd file.
    Thanks!
    When searching for information keep in mind that the file manager was renamed to File Explorer in Win8. This pages gives some good information even though it stops with Win8 although the naming convention continues in Win10.
    File Explorer - Wikipedia, the free encyclopedia
    Historically the application was called File Manager in Win3.11 and earlier and changed to Windows Explorer in Win95 along with changing the name of directory to Folders. An important change with Win95 was the LFN/Long File Name convention which also was involved in furthering the change from needing a separate install of DOS/Disk Operating System. Computing has continued changing ever since.
      My Computers


  4. Posts : 16
    Windows 10
    Thread Starter
       #4

    Martinz said:
    Right click an empty spot in the Navigation Pane and uncheck "Expand to current Folder"
    Mine is already unchecked from long ago and it still expands the tree.
      My Computer


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

    Maybe there is a hidden entry for all users in HKLM?

    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneExpandToCurrentFolder" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneExpandToCurrentFolder" /t REG_DWORD /d "0" /f
    taskkill /im explorer.exe /f & explorer.exe
      My Computer


  6. Posts : 16
    Windows 10
    Thread Starter
       #6

    TairikuOkami said:
    Maybe there is a hidden entry for all users in HKLM?

    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneExpandToCurrentFolder" /t REG_DWORD /d "0" /f
    reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "NavPaneExpandToCurrentFolder" /t REG_DWORD /d "0" /f
    taskkill /im explorer.exe /f & explorer.exe
    I just tried that and still doesn't work.
    I like the way Windows 7 was in this matter.
      My Computer


 

  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 14:38.
Find Us




Windows 10 Forums