Occasionally Windows Vista may assign incorrect template for folders if the content sniffing goes wrong or the folder view settings in the registry are messed up. For example, when you open a folder containing text files, Windows may incorrectly assign it the Music template, and thereby showing all the irrelevant columns such as Artist Name, Album Title, Track Number, Genre etc. Note that the folder type problem was seen in Windows XP as well, and this continues on to Windows Vista.

Fig 1: Folder contains text files, but the task pane shows the Play all button.
FIXING THE FOLDER TYPE TEMPLATE
You can fix this problem on a per-folder basis using these steps:
1. Open the folder which has incorrect template assigned
2. Right-click on a empty area on the folder and choose Properties
3. Click the Customize tab
4. Under Use this folder type as a template, select the appropriate item from the list box.

Fig 2: Available folder type templates.
5. Click OK.
RESETTING THE FOLDER VIEWS en masse
If there are large number of folders experiencing this problem, you can reset the entire saved folder views in the registry. The values are stored under the following key:
To reset the saved folder views, download resetfolderviews_vista.reg and save to Desktop. Close all Explorer windows. Right-click on the REG file and choose Merge. Click Yes when prompted for confirmation.
Alternately, you can also open the Registry Editor (regedit.exe) directly and delete the Bags value manually.
Note: This not only resets the Folder Type template (FolderType & SniffedFolderType vales), but also clears the individual folder views, window size and other related settings. You can always customize them again!
DISABLE FOLDER CONTENTS SNIFFING
You can prevent Windows from sniffing folder contents and automatically assigning the folder type template. This is done by creating the following registry key using Registry Editor (alternately you can use the Registry fix below).
After creating the above key, create a new String (REG_SZ) value named FolderType and set its Value data to NotSpecified.
NotSpecified value data corresponds to All Items folder type template (See Fig 2 above).
REGISTRY FIX
You can use the nofoldersniff.reg to automate the above registry setting.
WHAT HAPPENS NOW?
After applying the above registry setting, when you open a folder for the first time, Windows looks for the AllFolders registry key and if it’s present, it reads the folder type template from there. So every new folder will have the All Items folder type template assigned irrespective of what content the folder has. Again, you can can customize the folder type template if you need to, on a per-folder basis, using the Customize tab as explained previously in this article.
Note: Existing folders whose FolderType setting was already assigned prior to applying the above registry setting, are not affected and continue to have the existing folder type template.
This registry setting does not prevent you from customizing the individual folder views and other settings.
This method works in Windows XP as well. Note that the Bags location differs in Windows XP. It’s stored in this location:
SEE ALSO
Common Tasks does not match folder type in Windows XP – by Keith Miller
Bookmark this Page!
BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |
Related Posts
- FIX: Cannot Select Multiple Files in Explorer in Windows Vista
- Enable or Disable Full Row Select Feature in Explorer in Windows Vista
- How to Fix a Corrupted Recycle Bin in Windows Vista
- Security Center Not Reporting Anti-Virus or Firewall Status Correctly
- Fix Search Association Settings in Vista
- Unable to Rename or Move Folders in Windows Vista
- Favorite Links Area in Windows Vista Explorer Is Empty
- Serious Disk Cleanup Problem in Windows Caused by Broken Registration
- Fix Desktop.INI Files in Special Folders Using DesktopINIFix for Windows Vista
- Fix for Windows XP SP3 and Vista SP1 Install Problems With Norton Product Installed
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?

› 
This looks like an awesome fix, and I WISH Vista would make this an ACTUAL option. Having to fiddle in the registry is utter madness. Why they couldn’t have left it like XP is beyond me.
Thanks alot! Really! Thank you so much! My Vista Home Premium laptop was like a real nutcase. Every time I opened a folder it showed the most weird view and folder type settings it could show (like the “Games” folder had “Photo and Video” type which is really annoying because you can’t change the folder type manually for “Games” ; or the “Music” folder had “Contacts” type.) And it changed all by itself. Almost every time I opened the same folder it had changed to a different type.
A function that basic should NOT have so irritating problems. That bug is just horrible! At least my family desktop computer with XP Home doesn’t ever forget the view and folder type settings. Even for cameras, music players and other devices. I hope they do something to get things better in Microsoft.
Great just what I needed. Don’t need the PC thinking for me. I have enough trouble doing that myself
I really appreciate the reg files (especially the last one)… I hate the concept of “templates” that give folders various looks depending on their content. All I want is every folder to show me the files it contains in a Detauils view. I don;t need thumbnails, I don’t need icons… “just the facts, ma’am” – Setting all new folders to “All Items” means everything can be displayed as I want it, and new folders will follow that same, simle path.
Wow, you saved me from going insane! It kept resetting my folders and switching the views over and over causing great agony!!! Thanks for the fix, opens folder more quickly w/o the sniff as well!
Perfect. Thank you for the keys!
Thanks for the fix. I have Vista Home Premium and when I open folders in explorer, many of them show as music type, even the Recycle Bin. I don’t know why Vista thinks every folder is the music type.