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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
D
Docker
S
SegmentFault 最新的问题
博客园 - 聂微东
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
L
LangChain Blog
Vercel News
Vercel News
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
T
Threatpost
Scott Helme
Scott Helme
T
Tailwind CSS Blog
Latest news
Latest news
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
The Register - Security
The Register - Security
罗磊的独立博客
P
Proofpoint News Feed
腾讯CDC
S
Schneier on Security
雷峰网
雷峰网
A
About on SuperTechFans
T
Tenable Blog
F
Full Disclosure
Cyberwarzone
Cyberwarzone
博客园_首页
有赞技术团队
有赞技术团队
K
Kaspersky official blog

Comments for Tech Journey

Comment on Chrome / Edge Disables .CRX Installed Extensions (Workarounds to Turn On) by YourBelief Comment on How to Decrypt an Enrypted SSL RSA Private Key (PEM / KEY) by plsa Comment on Unrecognised Disk Label When Creating Partition by Edson Andrade Comment on Remove Disable Developer Mode Extensions Warning Popup in Chrome / Edge by The Argentinean Comment on Cannot Connect to CIFS / SMB / Samba Network Shares & Shared Folders in Windows 10 by Jackson De Marco Comment on Install Microsoft .NET Framework 1.1 on Windows 10 / 8 / 7 / Vista (Fix RegSvcs.exe Error) by Kyle Comment on How to Convert SRT to Create 3D Subtitles (ASS or SUB/IDX) by Bob Comment on How to Allow Local Network When Using WireGuard VPN Tunnel in Windows 10 by Moohamat Thoiruddin 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)

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.

Go to Top