Solved File Explorer suddenly refusing to remember custom view settings


barreleye

Well-known member
Member
Local time
3:59 PM
Posts
180
OS
Windows 11
I maintain a bunch of folders containing nothing but program shortcuts, sort of like the Windows 3 Program Manager, and although I've configured File Explorer to details view, I always go back and set these to show icons. Since the last week or so, it doesn't remember the icon view for these folders across reboots. Anyone else seeing this or have any suggestions?
 
Windows Build/Version
Windows 11 22H2 (OS Build 22621.1265)

My Computer

System One

  • OS
    Windows 11
I maintain a bunch of folders containing nothing but program shortcuts, sort of like the Windows 3 Program Manager, and although I've configured File Explorer to details view, I always go back and set these to show icons. Since the last week or so, it doesn't remember the icon view for these folders across reboots. Anyone else seeing this or have any suggestions?



 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
Don't see how that helps. I've already set all folders to General Items. My issue is that overriding the default Details view for certain folders suddenly isn't surviving reboots. This is stuff I've been doing since Windows 7 FWIW. I'm wondering if anyone is seeing similar after recent Windows updates, and if not, I guess I'll try reseting the default view, which I know will nuke folder customizations. Maybe that'll be enough to clear whatever glitch has developed.
 

My Computer

System One

  • OS
    Windows 11
Don't see how that helps. I've already set all folders to General Items. My issue is that overriding the default Details view for certain folders suddenly isn't surviving reboots. This is stuff I've been doing since Windows 7 FWIW. I'm wondering if anyone is seeing similar after recent Windows updates, and if not, I guess I'll try reseting the default view, which I know will nuke folder customizations. Maybe that'll be enough to clear whatever glitch has developed.


I think it pretty much happens to all of us at one time or another.
WinSetView, does seem to help though.
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
You may have hit the 5000 saved views limit. You can try increasing that setting via the registry:

The reason WinSetView is helpful in situations like this is that it completely clears out the BagMRU/Bags registry keys. Starting with a clean slate there makes Explorer behave properly. Of course, this means resetting all your folder views, but the idea is that you can set the defaults the way you like for each folder type and then only have to go back and do a few manual view changes here and there. Overall it saves time and sanity.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Anyone who has used Windows for many years has probably experienced this issue at some point in time.
It's never been properly fixed.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Stigg's Build
    CPU
    Intel Core i9-10900X
    Motherboard
    GIGABYTE X299X DESIGNARE 10G
    Memory
    Corsair 64 GB (4 x 16 GB) CMW64GX4M4C3000C15 Vengeance RGB Pro 3000Mhz DDR4
    Graphics Card(s)
    GIGABYTE GeForce GTX 1660 Super Mini ITX 6 GB OC
    Sound Card
    Realtek ALC1220
    Monitor(s) Displays
    Samsung 27" FHD LED FreeSync Gaming Monitor (LS27F350FHEXXY)
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung 970 Pro Series 1TB M.2 2280 NVMe SSD
    Western Digital Red Pro WD8003FFBX-68B9AN0 8 TB, 7200 RPM, SATA-III
    Western Digital Red Pro WD8003FFBX-68B9AN0 8 TB, 7200 RPM, SATA-III
    PSU
    Corsair HX1200 1200W 80 Plus Platinum
    Case
    Fractal Design Define 7 Black Solid Case
    Cooling
    Noctua NH-D15 Chromax Black
    Keyboard
    Razer Ornata V2
    Mouse
    Razer DeathAdder Essential
    Internet Speed
    FTTN 100Mbps / 40Mbps
    Browser
    Mozilla Firefox
    Antivirus
    N/A
    Other Info
    Logitech BRIO 4k Ultra HD USB-C Webcam
  • Operating System
    Windows 10 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS ROG Zephyrus M GM501GS
    CPU
    Core i7-8750H
    Motherboard
    Zephyrus M GM501GS
    Memory
    SK Hynix 32 GB (2 x 16 GB) HMA82GS6CJR8N-VK 16 GB DDR4-2666 DDR4 SDRAM
    Graphics card(s)
    NVIDIA GeForce GTX 1070
    Sound Card
    Realtek ALC294
    Monitor(s) Displays
    AU Optronics B156HAN07.1 [15.6" LCD]
    Screen Resolution
    1920 x 1080
    Hard Drives
    Samsung MZVKW512HMJP-00000 512 GB, PCI-E 3.0 x4
    Samsung SSD 860 QVO 4TB 4 TB, SATA-III
    PSU
    N/A
    Case
    N/A
    Cooling
    N/A
    Mouse
    Razer DeathAdder Essential
    Keyboard
    PC/AT Enhanced PS2 Keyboard (101/102-Key)
    Internet Speed
    FTTN 100Mbps / 40Mbps
    Browser
    Mozilla Firefox
    Antivirus
    N/A
    Other Info
    USB2.0 HD UVC Webcam
You can use PowerShell to count the number of tailored folder views you have set up to see how close you are getting to the 5000 limit.
See the code originally provided by the excellent KeithM and which is shown in Option 1 of
Increase Folder View Settings Cache Memory Size in Windows 10,11 - ElevenForumTutorials

If you've reached the limit then Windows will indeed forget additional tailored views you set up - just as you have described.

You can reduce the number of folders you need to tailor views for by setting up your default folder views to suit your needs for each folder type - Documents, Pictures, Music, Videos, General items.
Apply Folder View to All Folders of Same Type - TenForumsTutorials
Apply Folder View to All Folders of Same Template Type - ElevenForumTutorials

If you have reached the limit & don't want to use that first tutorial to increase it then the remedy is to reset folder view settings to default i.e. remove all your tailored folder views and return all folder views to the default for each of their folder types.
Reset Folder View Settings to Default - TenForumsTutorials
Reset Folder View Settings to Default - ElevenForumTutorials


Best of luck,
Denis
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Thanks, all. I have reached the 5000 limit per the Powershell command. The behavior is really dumb. Windows doesn't just "stop remembering". It deleted the ones I set up at the very beginning, and you might think it's like a queue, such that restoring the view would make it good for the next 5000, but no, it doesn't remember across reboots, hence what I said about "clearing the glitch" in my last message.

I'm pretty sure I've solved this problem before by using the "Apply to folders" or "Reset folders" option in folder settings. Does anyone know if increasing BagMRU Size will take effect immediately, or will I still have to reset? Tentative answer: The Powershell returned 5000 before, but now it's incrementing after customizing folders, so maybe I'm getting off easy. Didn't even have to reboot!

BTW, I have heard of this before, but it's been quite a while. My "New System\Registry Hacks" folder has subfolders for every version going back to XP. It's in the "XP" folder I find "bags8000.reg", dated 1/2/2004, which does increase BagMRU size. Clearly, I didn't look that far back when I installed Windows this time, including failing to see if it had been updated over the years, which it has. I do try and update these things with each new version of Windows, but I missed that one.
 

My Computer

System One

  • OS
    Windows 11
Does anyone know if increasing BagMRU Size will take effect immediately, or will I still have to reset?
If you increase the limit then you won't have to reset.

Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Glad to hear you found the root cause, but I still encourage you to use WinSetView. When Explorer reaches the saved view limit, or encounters any sort of corruption in the saved views, it's going to apply the default view found in the FolderTypes registry key. Why not set your preferred defaults in that key (which is what WinSetView does)? That way, any hiccup with Explorer is less of an issue and you can reset the views at any time (to get better performance and reliability) and only lose a few custom-set views.

Additionally, you would then have the ability to quickly set up new users and/or new computers with your preferred default views.

P.S. For safety (and the ability to go back to Windows defaults) WinSetView modifies a copy of FolderTypes in the user profile. It never touches anything in the machine part of the registry.
 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Glad to hear you found the root cause, but I still encourage you to use WinSetView. When Explorer reaches the saved view limit, or encounters any sort of corruption in the saved views, it's going to apply the default view found in the FolderTypes registry key. Why not set your preferred defaults in that key (which is what WinSetView does)? That way, any hiccup with Explorer is less of an issue and you can reset the views at any time (to get better performance and reliability) and only lose a few custom -set views.

Additionally, you would then have the ability to quickly set up new users and/or new computers with your preferred default views.

P.S. For safety (and the ability to go back to Windows defaults) WinSetView modifies a copy of FolderTypes in the user profile. It never touches anything in the machine part of the registry.

I set everything to General Items (using a .reg file) and it to the same Details view (using Explorer options) except for this dozen or so folders. Setting them to icons view is the really tedious part of it. Would WinSetView help with that?
 

My Computer

System One

  • OS
    Windows 11
I set everything to General Items (using a .reg file) and it to the same Details view (using Explorer options) except for this dozen or so folders. Setting them to icons view is the really tedious part of it. Would WinSetView help with that?
Yes. While WinSetView includes the option to set all folders generic (same as the reg file you used), I wouldn't use that option.

Instead, I would set the Global view to Details, which will set all folder types to that view, and then just set the Pictures folder type to Icons. Click Submit and then all that's left to do is go to those dozen or so folders and set them to type "Pictures" (if they're not already set to that type).

That's assuming you want Pictures generally to be in Icon view. If that's not the case, then instead, leave everything in Details view (enabling the "make all folders generic" option would make no difference) and then manually set those dozen folders to Icons view.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Yes. While WinSetView includes the option to set all folders generic (same as the reg file you used), I wouldn't use that option.

Instead, I would set the Global view to Details, which will set all folder types to that view, and then just set the Pictures folder type to Icons. Click Submit and then all that's left to do is go to those dozen or so folders and set them to type "Pictures" (if they're not already set to that type).

That's assuming you want Pictures generally to be in Icon view. If that's not the case, then instead, leave everything in Details view (enabling the "make all folders generic" option would make no difference) and then manually set those dozen folders to Icons view.

I had the same idea of usurping the other views for my purposes, and I tried it since my last post using the standard File Explorer facilities. However, the only way it would help is if I could set the view on a multiple folder selection. Windows allows me to do that with Folder Properties->Customize, but it only applies changes to the one I right-clicked on, which I consider a violation of a very basic UI design principle. Having to do this folder by folder is almost as much work as what I'm already doing, as I can't simply use the recursive option.

What would be great would be a program that takes a list of folders (textual names and GUIDs) and applies view settings to them, e.g. Medium icons for some, Large icons for others, etc.
 

My Computer

System One

  • OS
    Windows 11
What would be great would be a program that takes a list of folders (textual names and GUIDs) and applies view settings to them, e.g. Medium icons for some, Large icons for others, etc.
When it's a list of folders (as opposed to a hierarchy) there's no easy solution. It's near impossible to write a script to do that via direct registry manipulation because of the awkward design of the saved views registry entries. Logically, a folder would display in its default view (as specified in FolderTypes) and no saved view would be created unless the user changes something from the default and then, once a change is made, a saved view would be indexed by the folder path (which of course would have to update if the folder is moved or renamed). But, it doesn't work that way. Instead, a saved view is created for every folder you open (view is saved when you close the folder) with a serial numbered index. I've never seen any program that can add to those saved views. There is at least one program (ShellBagsView) that can let you change the basic view (List, Details, Icons) for already saved folder views, but it cannot add new views to the list.

It would be very helpful if you could select multiple folders and apply changes to the entire selection. Currently, the only way I can conceive of doing that (and I'm not sure it's possible) is to write an AutoIt or AutHotKey script that drives the GUI to make the same settings for all the selected folders.

Hmmm, thought... Write a script that takes a list of folders and makes Explorer open and close each one, ensuring that a saved view exists for each one in the registry. Then, in similar fashion to ShellBagsView, find each of those saved views and change the view to the user's choice. Maybe even taking one folder as a "template" to update the others so it can change every setting. I'll look into that...
 
Last edited:

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
Excellent minute piece of software, much appreciated Ghot!:cool:
I don't suppose Les'll burst into tears but Ghot merely mentioned its name, Les Ferch wrote WinSetView and posted it in TenForums & ElevenForum for us to use.

All the best,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Hmmm, thought... Write a script that takes a list of folders and makes Explorer open and close each one, ensuring that a saved view exists for each one in the registry. Then, in similar fashion to ShellBagsView, find each of those saved views and changes the view to the user's choice. Maybe even taking one folder as a "template" to update the others so it can change every setting. I'll look into that...

Ugh, I was hoping there would be a Shell API for this, but I didn't find one when I looked this morning. I could easily have missed it, though, considering what a maze the documentation is, but it seems Microsoft didn't deign to expose the settings at this granular of a level. I took a look at ShellBagsView, and it appears to be just for listing, but if you can successfully write what you can read, it seems like the approach you outlined would work.
 

My Computer

System One

  • OS
    Windows 11
Ugh, I was hoping there would be a Shell API for this, but I didn't find one when I looked this morning. I could easily have missed it, though, considering what a maze the documentation is, but it seems Microsoft didn't deign to expose the settings at this granular of a level. I took a look at ShellBagsView, and it appears to be just for listing, but if you can successfully write what you can read, it seems like the approach you outlined would work.
ShellBagsView can set a view (List, Details, Icons) for any existing entry via File menu, Set Mode. The developer could extend that to set any folder attributes. Certainly doing a copy paste from one folder to another (or many) would be an easy enhancement.

Anyhow, I did a proof of concept of the script idea and it all works! Key commands:

Open a folder so a Bags entry will be created (repeat as necessary):
Explorer C:\AnyFolder

Close all open Explorer windows, without killing Explorer, to create the desired Bags entries:
Nircmd.exe win close class "CabinetWClass"

Get CSV listing of folder paths and the corresponding Bags key node slots:
ShellBagsView /scomma bags.csv

Export template Reg file of template node slot key:
Reg.exe export HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\$Node

For each path, where template is to be applied, get node slot from CSV file, edit template to target node slot and import:
Reg.exe import $Template

When I get a chance, I'll put together a command line version. That's not too hard. A good interface will be much harder.
 

My Computer

System One

  • OS
    Windows 10/11
    Computer type
    Laptop
    Manufacturer/Model
    Acer
ShellBagsView can set a view (List, Details, Icons) for any existing entry via File menu, Set Mode. The developer could extend that to set any folder attributes. Certainly doing a copy paste from one folder to another (or many) would be an easy enhancement.

I see it now, under Version 1.25 in the Version history. I only looked at the description above it and the command line reference below it. lol

Anyhow, I did a proof of concept of the script idea and it all works! Key commands:
...
When I get a chance, I'll put together a command line version. That's not too hard. A good interface will be much harder.

Cool, I'll look forward to seeing it.
 

My Computer

System One

  • OS
    Windows 11
ShellBagsView

BTW, I just downloaded it, and I find that it gets a lot of paths wrong, including the ones I just set that survived a reboot after increasing BagMRU Size. For example, my Tools folder containing shortcuts is at C:\users\my_name\Progs\Tools, but ShellBagsView reports it at C:\users\my_name\AppData\Roaming\Tools, where it has never been; indeed, trying to open it does nothing. Also, there's the occasional weird truncation of folder names, like Y:\Books\nuals, which should be Y:\Books\Manuals. There are other paths that aren't fully qualified. Of course, there are a ton of entries that no longer exist, but I attribute that to really poor design on Microsoft's part.
 

My Computer

System One

  • OS
    Windows 11
Back
Top Bottom