惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
爱范儿
爱范儿
Blog — PlanetScale
Blog — PlanetScale
The GitHub Blog
The GitHub Blog
C
Check Point Blog
小众软件
小众软件
I
InfoQ
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
酷 壳 – CoolShell
酷 壳 – CoolShell
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
腾讯CDC
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
B
Blog
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
A
About on SuperTechFans
D
Docker
博客园 - 司徒正美
博客园_首页
Recent Announcements
Recent Announcements
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
Stack Overflow Blog
Stack Overflow Blog
aimingoo的专栏
aimingoo的专栏
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
GbyAI
GbyAI
Jina AI
Jina AI
V
V2EX
Vercel News
Vercel News
IT之家
IT之家
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
NISL@THU
NISL@THU
V
Visual Studio Blog
C
Cybersecurity and Infrastructure Security Agency CISA

Comments for Tech Journey

Storage Spaces Can't Add Drives (Request Is Not Supported Error 0x00000032) - Tech Journey Chrome / Edge Disables .CRX Installed Extensions (Workarounds to Turn On) Remove Disable Developer Mode Extensions Warning Popup in Chrome / Edge How to Allow Local Network When Using WireGuard VPN Tunnel in Windows 10 How to Convert SRT to Create 3D Subtitles (ASS or SUB/IDX) Cannot Connect to CIFS / SMB / Samba Network Shares & Shared Folders in Windows 10 Unrecognised Disk Label When Creating Partition How to Decrypt an Enrypted SSL RSA Private Key (PEM / KEY) Install Microsoft .NET Framework 1.1 on Windows 10 / 8 / 7 / Vista (Fix RegSvcs.exe Error) How to Change the Logo of vBulletin Forum to Custom Image
Fix Windows Not Remember & Save Folder Types or Folder Views Setting (Increase BagMRU Size Cache Memory Size)
LK · 2007-11-08 · via Comments for Tech Journey
Skip to content

Fix Windows Not Remember & Save Folder Types or Folder Views Setting (Increase BagMRU Size Cache Memory Size)

Fix Windows Not Remember & Save Folder Types or Folder Views Setting (Increase BagMRU Size Cache Memory Size)

All customizations and changes that has been done on folders types and folders views are saved and remembered by Windows OS in system registry. By default, Windows is configured to have cache memory storage space with size of 5000 folders to store the folder settings, a value for the ‘Bag’ that has also been increased in Windows XP SP2 compared to just 400 in Windows XP SP1 or earlier. The upper limit of 5000 has remained through Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.

Theoretically, amount of 5000 should be more than enough for most Windows users. Hardly anybody has so many nested folders of more than 5000. However, there is reported problems that Windows sometimes simply does not want to remember, save and store the changes to folder types and folder views after users customize them. Instead, the view and/or type of folders revert back to previous settings and configurations when the window is re-opened.

The ‘forgotten’ and lost folder views and types settings problem is likely to be caused by abnormal behavior of Windows on folders customization. Such illogical and weird folders behavior includes the the view or type set on a folder been reverted and changed back to last settings even after been customized by user. For example, the folder template that users setup such as specifying a folder to be a documents folder with details view, Windows will overwrite and override the setting, then switching the folder type to pictures with icons view. As the result, folder may display incorrect thumbnail, or no thumbnail at all. In addition, window size and position may not reopened exactly the last time it closed.

There is also occasional case where deleting Bag registry key entries to reset folders state fixes the problem on the computer. However, after a while, the problematic symptom starts happening again, and any changes on folder types and folder views again fail to be recorded and saved by Windows system. In this case, it’s possibly due to not enough space in memory space allocated in registry.

To avoid the cache memory for folder customization settings run out of space, users can increase the memory cache space allocated in the registry for the folder settings, which is assigned in registry as BagMRU Size.

In fresh clean install of Windows Vista, the value for BagMRU Size is set at the wrong location for Windows Vista. The BagMRU Size of new Windows Vista installation is located at:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]

Above location is the exact same location where Windows XP stores BagMRU Size value data. However, Windows Vista looks for BagMRU Size at the following location, which by default actually does not have this registry key set, as explained in this forum thread (dead link):

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell]

It is not known what value Windows Vista is assuming or assigning to BagMRU Size when the actual value is not set in the registry. If you have problem where your personal preferences for folder types and views something just simply change without notice, this probably due the the BagMRU value which is not found in Windows Vista registry been set at a low number, at least comparatively lower than default 5000 folders which supposed to set in Windows Vista.

So it’s recommended to set the BagMRU value as per registry tweak below, even though you don’t have any problem with always changing back folder settings in Windows Vista.

Here’s the steps to increase the Folder Type and Folder View settings BagMRU Size cache memory for changes to Windows Explorer or File Explorer view and type settings, and ensure that Windows less likely to forget the settings.

  1. Run Registry Editor (regedit).
  2. Navigate to the following registry key:

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell

  3. If you can see BagMRU Size value in the right pane, skip this step. If BagMRU Size is not found, right click on a blank space in the right pane, then select New, and then click DWORD (32-bit) Value.
  4. Type BagMRU Size as the value name.
  5. Double click on BagMRU Size key just created, and then enter 10000 (in decimal base) or 2710 (in hexadecimal base) as its value data.

    Note that 5000 is the supposedly default settings for BagMRU Size in Windows (except Windows XP). You can set any other value you like, taking into account the number of folders you have.

Here’s what the registry should looks like after editing/adding BagMRU:

Set BagMRU Size in Windows

Note that in 64-bit (x64) edition of Windows operating system, there is another registry key that are virtually linked to the registry key above to set BagMRU Size:

[HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell]

However, any changes on either branch will automatically reflect and duplicate over to another registry branch. So only one change is required.

Microsoft has not provided any documentation for BagMRU Size, but there are indication that there is upper limit of 8000 for Windows XP, and 20,000 for Windows Vista, Windows 7, Windows 8 and Windows 10.

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years. Connect with LK through Tech Journey on Facebook, Twitter or Google+.
Page load link
Go to Top