-
10-08-2007 10:54 PM #1Uber 1337
- Join Date
- Feb 2007
- Location
- PLANO, TX
- Posts
- 1,757
Ok, so Microsoft decided to play hopscotch on where the Folder settings are stored in the registry, After many months of wondering why when I applied settings that were given in other sites, my folders still didn't work right. My settings would still get forgotten, Vista would still try to overwrite templates I had setup (like changing a folder that is specified as documents/detail and then switching it to pictures/icons)
I did some registry Traces and found out where Explorer is actually looking for for it's values. One key thing is the BagMRU Size. The BagMRU size is the maximum number of folders that Vista will remember the view settings on. In XP it was 400, and in Vista it is 5000 but the value is stored in the wrong place in the registry. Let me give a quick history now.
Windows XP stored this information in the following locations:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\BagMRU]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\Bags]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell \BagMRU]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell \Bags]
You could delete these four keys and it would remove all your folder customizations.
To increase the cache size, you would modify the BagMRU Size setting at the following locations:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam]
Now, the kicker, Vista doesn't store this information there anymore. It stores it at:
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
So any tweaks for XP aren't going to work for Vista because they update the wrong location.
Now, the real kicker and goof on Microsoft's part. If you do a fresh install of vista, and look at the Registry. You will find values for BagMRU Size at the following locations:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam]
So when Vista was created, Microsoft changed Explorer to look in a different spot, but they didn't move the spot in the registry. Everyone assumed that since the value was there from scratch, that that is where you updated it, especially since that is where you went in XP. The value you find there will be 5000, which really should be enough, but now you will discover why no matter what you put in there, it doesn't work. Look at the following screen shot:
[attachment=3272:bagmru.JPG]
This is a registry trace that I did on Explorer.exe when you open it. Look at the highlighted line. Take note of where Explorer.exe is looking for the BagMRU Size. ???? It is looking in [HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell] which is the NEW location Explorer looks. Problem is, Microsoft never put in a value for BagMRU Size at that location. I have no idea what value it is using when it can't find this value but it isn't very high. Notice the "NAME NOT FOUND" over in the Result column for the Registry Trace.
Here is what happens when the entry exists, I have my BagMRU size set to 20,000. Notice the trace reflects this:
[attachment=3273:bagmru2.JPG]
Here is the registry file that will actually fix your folders. The file also includes a line (in the correct key) that will turn off auto template discovery. This is nice because once you run the registry file and restart, every folder on your computer will be set to ALL ITEMS for the template. You can then go into whatever folder you want and set the default template to something else and apply to subfolders (Apply to subfolders didn't work EVER in XP.. Grrr Microsoft). Remove that entry in the Registry File if you want Vista to auto determine the template for folders on the computer (I don't know why anyone would want this myself). Take what I have below and put in a text file and rename extension to .REG.
Windows Registry Editor Version 5.00
; This is a Vista ONLY Folder Repair tool, This tool will force Vista to remember your folder settings by
; Modifying registry entries. Descriptions below explain what each step is doing.
; Steps:
; 1. Open up explorer and go to Tools->Folder Options->View and uncheck Remember each folder's View settings
; 2. Double Click this registry File
; 3. Restart Computer before doing anything else
; 4. Once restarted, bring up explorer again and put the Check back that was removed in step 1.
; 5. All folders on the computer should now be in the "All Items" format. Since Auto Discovery is now off
; you will need to go to your shell folders (Pictures, Videos, Contacts, Music, etc.) and set them to the
; template you want, apply to subfolders, etc.
; Clear out Folder Settings left over from XP:
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\Bags]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell \BagMRU]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell \Bags]
; Clear out Folder Settings for Vista
[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]
; Modify the Folder Storage space to 20000, this will allow the saving of settings for up to 20000 different folders.
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00004e20
; Turn off Vista's Auto Template Discovery. This keeps vista from deciding on it's own what type
; of Folder you have (ie, picture, videos, docs, etc) This will keep vista from changing what you
; have already set for a folder as well. Notice this value is in the Bags Key that was deleted
; in the settings above. Remember this is there, because if you decide to manually go delete
; your Bags Key, you will lose this value and auto-discovery will turn back on again.
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\All Folders\Shell]
"FolderType"="NotSpecified"
Here is the Zip file containing the .REG file typed out above:
[attachment=6250:VistaFol...Settings.zip]OS: Win7Ultimate x64 (WEI: 7.6, 7.9, 7.3, 7.3, 6.0)
MP: Intel Core i7 920 Nehalem @ 3.5 Ghz
MB: EVGA 132-BL-E758-A1 LGA 1366 Intel X58
GPU: EVGA 01G-P3-1280-AR GeForce GTX 280 1GB
SOUND: Soundblaster X-Fi Fatal1ty
MEM: CORSAIR DOMINATOR (3 x 2G
DDR3 1600 (PC3 12800)
PU: CORSAIR 1000 watt
HDDs: 150GB WD Velociraptor(C
, WD 750GB (D:Games), WD BLK 1TB (E
ata), WD GRN 1TB (F
ata)
DISPLAY: 2 x 20in Dell Flatpanels 3200x1200
-
10-09-2007 02:22 AM #2Server
- Join Date
- Sep 2006
- Location
- Florida, USA
- Posts
- 469
Excellant work. I'm going to apply this ASAP. Thanks.
Paul
-
10-11-2007 07:32 PM #3
Had this one figured out ages ago...
http://www.vistabits.nl/folder_view_not_remembered.htm
-
10-12-2007 01:58 AM #4Uber 1337
- Join Date
- Feb 2007
- Location
- PLANO, TX
- Posts
- 1,757
I looked at your registry file, the BagMRU Size lines are wrong. Those are the locations the setting was stored in XP. Vista doesn't look for BagMRU size in those locations (even though that is where the entries exist in the registry) This is what the problem is, everyone seems to think that this the proper place since the developers put the entries there. I know because I've used this registry tweak and still ran out of folder storage space, when I knew I was no where near the limit. Please look at my screenshots in the first post and read what I said about it. You can see by the registry trace exactly where explorer is pulling the value from.OS: Win7Ultimate x64 (WEI: 7.6, 7.9, 7.3, 7.3, 6.0)
MP: Intel Core i7 920 Nehalem @ 3.5 Ghz
MB: EVGA 132-BL-E758-A1 LGA 1366 Intel X58
GPU: EVGA 01G-P3-1280-AR GeForce GTX 280 1GB
SOUND: Soundblaster X-Fi Fatal1ty
MEM: CORSAIR DOMINATOR (3 x 2G
DDR3 1600 (PC3 12800)
PU: CORSAIR 1000 watt
HDDs: 150GB WD Velociraptor(C
, WD 750GB (D:Games), WD BLK 1TB (E
ata), WD GRN 1TB (F
ata)
DISPLAY: 2 x 20in Dell Flatpanels 3200x1200
-
10-12-2007 07:42 AM #5
I looked at your registry file, the BagMRU Size lines are wrong. Those are the locations the setting was stored in XP. Vista doesn't look for BagMRU size in those locations (even though that is where the entries exist in the registry) This is what the problem is, everyone seems to think that this the proper place since the developers put the entries there. I know because I've used this registry tweak and still ran out of folder storage space, when I knew I was no where near the limit. Please look at my screenshots in the first post and read what I said about it. You can see by the registry trace exactly where explorer is pulling the value from.
[/quote]
Jeez, you're right Steve! I didn't realize this.
Thanks for that. Funny enough though, I have a lot of emails from people who said it workes for them? Must be the 'placebo effect.'
Would it be allright to use your reg file for my site?
-
10-12-2007 08:32 AM #6Uber 1337
- Join Date
- Feb 2007
- Location
- PLANO, TX
- Posts
- 1,757
Jeez, you're right Steve! I didn't realize this.
Thanks for that. Funny enough though, I have a lot of emails from people who said it workes for them? Must be the 'placebo effect.'
Would it be allright to use your reg file for my site?
[/quote]
I think they think it works, at least to a point. I have at last count, 100,000+ folders on various drives on my computer. So I tend to run out of space for folder settings, although 20,000 is way more than enough since most folders you never look at. In vista, they set the setting at 5000 but they stored the setting in the wrong place, so who knows what the actual default value is when no setting is given. I think it is pretty low though, probably below 100 somewhere.
You can use the registry fileOS: Win7Ultimate x64 (WEI: 7.6, 7.9, 7.3, 7.3, 6.0)
MP: Intel Core i7 920 Nehalem @ 3.5 Ghz
MB: EVGA 132-BL-E758-A1 LGA 1366 Intel X58
GPU: EVGA 01G-P3-1280-AR GeForce GTX 280 1GB
SOUND: Soundblaster X-Fi Fatal1ty
MEM: CORSAIR DOMINATOR (3 x 2G
DDR3 1600 (PC3 12800)
PU: CORSAIR 1000 watt
HDDs: 150GB WD Velociraptor(C
, WD 750GB (D:Games), WD BLK 1TB (E
ata), WD GRN 1TB (F
ata)
DISPLAY: 2 x 20in Dell Flatpanels 3200x1200
-
10-21-2007 09:01 AM #7Beginner
- Join Date
- Oct 2007
- Location
- Helsinki
- Posts
- 45
I have Vista x64 and my regedit.exe said that the file would be invalid (I ran as an admin). Do I have to do something special with my 64bit version? I understood the remark on Vista 64 just in a descriptive sense not as a necessity to do anything different than with a 32bit version.
-
10-22-2007 11:51 PM #8Uber 1337
- Join Date
- Feb 2007
- Location
- PLANO, TX
- Posts
- 1,757
OS: Win7Ultimate x64 (WEI: 7.6, 7.9, 7.3, 7.3, 6.0)
MP: Intel Core i7 920 Nehalem @ 3.5 Ghz
MB: EVGA 132-BL-E758-A1 LGA 1366 Intel X58
GPU: EVGA 01G-P3-1280-AR GeForce GTX 280 1GB
SOUND: Soundblaster X-Fi Fatal1ty
MEM: CORSAIR DOMINATOR (3 x 2G
DDR3 1600 (PC3 12800)
PU: CORSAIR 1000 watt
HDDs: 150GB WD Velociraptor(C
, WD 750GB (D:Games), WD BLK 1TB (E
ata), WD GRN 1TB (F
ata)
DISPLAY: 2 x 20in Dell Flatpanels 3200x1200
-
05-21-2008 07:26 PM #9Beginner
- Join Date
- May 2007
- Posts
- 42
I would like to apply this, but I am somewhat computer illiterature. Could someone please list the instructions step by step with easy words. like open my computer or start>run.
I have Windows Vista x64 Ultimate
Thank you very much.
p.s.
To the author I am not insulting you. I actually admire your knowledge of computer.
-
06-17-2008 12:21 AM #10Beginner
- Join Date
- Apr 2007
- Posts
- 49
Intel Pentium D CPU 3.00GHz
3gb Ram
Similar Threads
-
Windows Vista reset itself completely after a reg tweak, and now refuses to remember/accept any settings
By snowdog in forum Windows Vista SupportReplies: 10Last Post: 04-26-2009, 06:52 PM -
My computer won't remember settings in WinXP...
By ruester in forum Windows XP SupportReplies: 5Last Post: 09-22-2008, 03:28 PM -
Vista doesn't remember my colour and appearance settings :(
By wilkie311 in forum Windows Vista SupportReplies: 2Last Post: 06-11-2008, 12:00 AM -
Readyboost finally works!!!
By ultimateuser in forum Windows Vista DiscussionReplies: 2Last Post: 01-30-2007, 04:58 AM
iEntry 10th Anniversary
About Us

Reply With Quote






