Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • Asp.Net Core
  • C#
  • SQL
  • JavaScript
  • CSS
  • About
  • ErcanOPAK.com
  • No Access
  • Privacy Policy
Windows

Windows 11: Fix File Explorer Losing Saved Folder View Settings

- 17.11.26 - ErcanOPAK

πŸͺŸ Windows 11: Fix File Explorer Losing Saved Folder View Settings

Every folder’s individual view settings β€” Details vs. large icons, column widths, sort order β€” are stored in the registry under ShellNoRoam\Bags, keyed by a hash tied to that folder’s path, but that whole store is capped by a BagMRU Size limit (400 entries by default). Anyone who routinely browses more unique folders than that cap will start evicting the oldest bags on a least-recently-used basis, so folders you carefully customized a while ago silently revert to Explorer’s generic default view the next time you open them, with nothing resembling an error or notification to explain why.

πŸ”Ž The Problem

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\BagMRU
  Size (DWORD) = 400          <- default cap on remembered per-folder view bags

Symptom: a folder you set to Details view with custom column widths
months ago opens in the generic 'General Items' template again,
with no warning, after browsing enough OTHER unique folders in
between to push its bag out of the 400-entry window

βœ… Fix: Raise the BagMRU Cap or Lean on Folder Templates Instead

  • Increase the BagMRU Size DWORD under HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\BagMRU (and the matching key under Shell) well above the default 400 if you routinely browse a lot of distinct folders.
  • For view settings you want to survive regardless of eviction, use right-click a folder > Customize this folder > apply to all subfolders of this type β€” type-level templates are far less likely to get evicted than one-off per-folder bags.
  • If a folder’s view resets right after a Windows Update, don’t assume you mis-set it β€” updates can rebuild or truncate the BagMRU store outright, which looks identical to ordinary cache eviction from the user’s side.

🚨 Why This Is Dangerous

  • Spending time re-customizing the same handful of folders over and over, assuming you keep forgetting to save the view, when the actual cause is a fixed-size cache quietly evicting your settings every time you browse enough other folders β€” a problem no amount of re-customizing will ever permanently fix.

A view setting that silently expires isn’t a setting you forgot β€” it’s a cache that ran out of room.

β€” PC Power User

Related posts:

Windows 11 Feels Slower After File Transfers

Windows 11 Feels Slower After File Transfers

Windows 11: Use Snap Layouts for Instant Window Organization

Windows 11: Use Snap Layouts for Instant Window Organization

Windows 11 β€œAlt-Tab Lag” β€” The Explorer Restart Trick

Windows 11 β€œAlt-Tab Lag” β€” The Explorer Restart Trick

Views: 3

Post navigation

Git: Fix a Bisect Session Stuck Skipping the Same Commit Forever
CSS: Fix a Sticky Header Jittering During Momentum Scroll on iOS

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

November 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Oct    

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,059)
  • Get the User Name and Domain Name from an Email Address in SQL (983)
  • How to add default value for Entity Framework migrations for DateTime and Bool (981)
  • Get the First and Last Word from a String or Sentence in SQL (861)
  • How to select distinct rows in a datatable in C# (856)
  • How to enable, disable and check if Service Broker is enabled on a database in SQL Server (658)
  • Add Constraint to SQL Table to ensure email contains @ (613)
  • Average of all values in a column that are not zero in SQL (571)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (549)
  • Find numbers with more than two decimal places in SQL (477)

Recent Posts

  • Visual Studio: Fix Quick Actions Hiding Behind a Stale Squiggle
  • Photoshop: Fix a Smart Filter Resetting After You Relink It
  • Ajax: Fix a Cancelled Request Still Updating Stale UI State
  • C#: Fix a Span Captured by a Lambda Throwing at Runtime
  • The AI Prompt That Converts a REST Endpoint Into a Typed SDK
  • Git: Fix a Worktree Locking a Branch Needed Somewhere Else
  • Asp.Net Core: Fix a Background Service Leaking Scoped Dependencies
  • SQL Server: Fix a Columnstore Index Fragmenting After Bulk Deletes
  • Docker: Fix a Container Losing Logs After a Restart Policy
  • Asp.Net Core: Fix Output Caching Serving a Stale Authorized Page

Most Viewed Posts

  • How to make theater mode the default for Youtube (1,059)
  • Get the User Name and Domain Name from an Email Address in SQL (983)
  • How to add default value for Entity Framework migrations for DateTime and Bool (981)
  • Get the First and Last Word from a String or Sentence in SQL (861)
  • How to select distinct rows in a datatable in C# (856)

Recent Posts

  • Visual Studio: Fix Quick Actions Hiding Behind a Stale Squiggle
  • Photoshop: Fix a Smart Filter Resetting After You Relink It
  • Ajax: Fix a Cancelled Request Still Updating Stale UI State
  • C#: Fix a Span Captured by a Lambda Throwing at Runtime
  • The AI Prompt That Converts a REST Endpoint Into a Typed SDK

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com