This is an old problem dating back to Windows XP, now on my Windows 7 64-bit system it is starting to lose folder view settings when it comes to Details, List, Icons etc, everything else is stable for position and size. I tend use details view for most things and now folders are starting to revert to icon view sometimes, not 100% of the time mind you, but seems to be more frequent the more I use the PC.
Yes I do have thousands of folders, so I think the default cache size is used up, exact same problem I had with Windows XP.
I cannot seem to find a definitive instruction on where to find the folder view cache setting in the registry for Windows 7 64-bit, there are tons of answers for XP (which I have used in the past), and Vista and some Beta/RC Windows 7.
I did find this article from Microsoft.
In the "let me fix it myself" section for Windows 7 64-bit, I don't have the sub key Local Settings under the key Wow6432Node as per Microsoft article.
HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings
\Software\Microsoft\Windows\Shell\Bags
I do however have this key.
HKRU\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell
\Bagsand\BagsMRU
Scanning the registry for BagMRU Size values (not keys) returns no hits. I assume Windows 7 no longer uses this value by default.
Any suggestions to increase the cache size for view settings without completely resetting the entire explorer folder settings?
Does anyone have any insight to what the max stable cache size is allowed for W7? and where to change/add this value.
Edit:
I found my old notes from the Vista and XP days, I no longer have the reference link.
Windows Vista
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell
Create a DWord 32-bit BagMRU Size and set the decimal value to 10,000 or 20,000
Sometimes folder settings get corrupted. Use regedit to view
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell
Click on Bags and select Edit > Delete > Yes. Delete the BagMRU key as well, and restart.
Windows XP
Windows XP SP2 fix: By default SP2 has a folder cache setting of 5,000 folders to remember view settings for each folder, if you have in excess of 5,000 folders (total of all harddrives) you have to make a registry change and up it to the maximum of 8,000. to do this Start-Run-regedit and navigate to these two folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell
then go to
HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam
in the right hand pane look for BagMRU size, right click modify and select decimal and set value data to 8,000. Do this in both locations, reboot to take effect.
I will experiment over the next few days and report back any enlightenment.