Making folder column choices permanent?

Page 1 of 2 12 LastLast

  1. Posts : 478
    Windows 10
       #1

    Making folder column choices permanent?


    I'm missing/forgotten something basic here!

    I have a folder which opens by default with a few familiar columns: Name, Date Modified, Type, Size. These are mainly MP3 music files and I add another column of current interest, Length.

    But when I re-open it a few minutes later, the Length column has gone.

    Version 21H2 (OS Build 19044.2006)
      My Computer


  2. Posts : 23,292
    Win 10 Home ♦♦♦19045.4355 (x64) [22H2]
       #2

    Terrypin said:
    I'm missing/forgotten something basic here!

    I have a folder which opens by default with a few familiar columns: Name, Date Modified, Type, Size. These are mainly MP3 music files and I add another column of current interest, Length.

    But when I re-open it a few minutes later, the Length column has gone.

    Version 21H2 (OS Build 19044.2006)


    GitHub - LesFerch/WinSetView: Globally Set Explorer Folder Views
      My Computer


  3. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #3

    Terry,

    Is this folder in a removeable drive? If so, it's a known behaviour.
    It shouldn't happen for folders in fixed drives.

    Denis
      My Computer


  4. Posts : 478
    Windows 10
    Thread Starter
       #4

    Try3 said:
    Terry,

    Is this folder in a removeable drive? If so, it's a known behaviour.
    It shouldn't happen for folders in fixed drives.

    Denis
    I think it was, Dennis, a USB external 1 TB drive. Currently in throes of configuring WinSetView, so can't be absolutely sure.
      My Computer


  5. Posts : 989
    Microsoft Windows 10 Home
       #5

    If it's not a removable drive issue as @denis mentioned, folders "forgetting" their view settings is a symptom of hitting the maximun nuber of saved views. Copy & paste the following code into a PowerShell console window and press enter. If the number returned is 5,000, you're "maxxed out".
    Code:
    ((gp "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU").Nodeslots).count
    If the number is 5,000, you need to delete the following registry keys, which will delete all saved views, but not custom defaults set via Apply to Folders:
    • HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
    • HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags


    Then, restart the shell with the followin​PowerShell code:
    Code:
    gps explorer | spps
      My Computer


  6. Posts : 478
    Windows 10
    Thread Starter
       #6

    Thanks Keith. That gave error: Can't find 'gp' but a quick search for 'win 10 maximum number of saved views' got me this which worked OK

    ((Get-ItemProperty "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU").Nodeslots).count

    I recently updated Win 10 with an ISO, which is presumably why that command reported the low number of 13, so that doesn't appear to be the cause.
      My Computer


  7. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #7

    Terrypin said:
    But when I re-open it a few minutes later, the Length column has gone.
    Terry,

    Do test that again after you have finished setting up the LesFerch utility - for a folder on an internal drive, for one on an external drive.
    If a folder in an internal drive loses views then consider resetting folder views that have been altered from their default [template] individually, manually- see Reset Folder View Settings to Default - TenForumsTutorials

    LesFerch's utility is included in a tutorial now:-
    Set a Default Folder View for All Folders using WinSetView - Option Two - TenForumsTutorials
    But the tutorial title doesn't give full justice to Les' utility. You can set up different folder types & different folder type search results how you want them.


    Best of luck,
    Denis
    Last edited by Try3; 07 Oct 2022 at 13:27.
      My Computer


  8. Posts : 16,963
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #8

    Terrypin said:
    That gave error: Can't find 'gp'
    ... Get-ItemProperty
    Terry,

    I've never changed any aliases and I do not know about doing so but it is all I can think of as an explanation for your symptom.

    You can check what this alias means by entering this PS command
    Code:
    Get-Alias gp
    and it ought to respond
    Code:
    CommandType     Name                                               Version    Source
    -----------     ----                                               -------    ------
    Alias           gp -> Get-ItemProperty

    You can get a list of all your Aliases with the bare command
    Code:
    Get-Alias
    and you can save that to a file by several methods including a command in the form
    Code:
    Get-Alias >F:\MyDesktop\PSAliasesList.txt

    See also
    Get-Alias - SS64
    Set-Alias - SS64


    All the best,
    Denis
      My Computer


  9. Posts : 745
    Windows 10/11
       #9

    The known issue (i.e. expected behavior) on removable drives is that automatic folder type discovery does not happen. For example, if you copy a folder of pictures to a fixed drive, then, upon opening that folder, File Explorer examines the folder contents and sets the folder type accordingly, thereby changing the folder view to whatever is currently set as the default for Pictures. That process does not happen on removable media.

    However, you should be able to change the view (e.g. add a column) of any folder on a removable drive and expect that to stick, even after dismounting and remounting the volume. You should also be able to set a folder (or whole tree of folders) to any folder type you like, and expect that to stick as well. Those procedures work fine on a normally operating Windows 10 machine. Windows 11 is another story. It fails miserably with setting views or folder types (other than General items) on anything but the root of a removable drive.

    On Windows 10, if you're encountering folder views or folder type settings not sticking, and it's not the 5000 saved views default limit issue, then the only explanation I have is corruption in the registry settings that save the per-folder views. I'm pretty sure that's the case because any time I've had a user with this issue run WinSetView to set their defaults folder views, the issue of views not sticking is resolved as well. Since WinSetView clears those keys, in order for the new defaults to take effect, it follows that there must have been corruption in those keys if views previously weren't saving and now they are.
      My Computer


  10. Posts : 478
    Windows 10
    Thread Starter
       #10

    Thanks Dennis. Must have been mis-typing by me, because I just tried it again without any problem.


    Code:
    PS C:\Windows\System32\WindowsPowerShell\v1.0> Get-Alias gp
    
    CommandType     Name                                               Version    Source
    -----------     ----                                               -------    ------
    Alias           gp -> Get-ItemProperty
    
    
    PS C:\Windows\System32\WindowsPowerShell\v1.0>
    PS C:\Windows\System32\WindowsPowerShell\v1.0> ((gp "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU").Nodeslots).count
    73
    - - - Updated - - -
    @LesFerch,

    Thanks, understood.

    As you may have seen from my other thread, 'WinSetView Puzzle'

    WinSetView puzzle

    everything is working as it should, now it's clear that Save As windows escape the control of WinSetView's embrace.

    I'll re-test the drive distinction issue soon.
      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 13:02.
Find Us




Windows 10 Forums