Configure automatic detection of folder type
16 November 2007 by Snakefoot | Comment » | Trackback OffWindows Explorer can display files using different view types, depending on the files being pictures, music, movies etc. When opening a folder using Windows Explorer, then it tries to guess what view type it should use to display the contents of the folder.
If setting the "AllFolders" registry key, then it will prevent Windows Explorer from guessing the view template to use, when it forgets the folder type template:
- Looks in the cache of customized folders to see if there is a saved view for the folder.
- Looks through the parent folders to see any of them specifies that sub folders should inherit their view.
- Looks in the registry checks if the "AllFolders" value specifies a template.
- Looks at the files in the folder and tries to guess the view template to use.
If setting the "AllFolders" registry key, then it will prevent Windows Explorer from guessing the view template to use, when it forgets the folder type template:
- Click on the Start menu and choose Computer.
- In the Tools menu click Folder options....
- Click the View-tab and press the Reset Folders button.
- Open the registry editor and create the following registry value:
[HKEY_CURRENT_USER \Software \Classes \Local Settings \Software \Microsoft \Windows \Shell \Bags \AllFolders \Shell]
FolderType = "NotSpecified"
There are other view templates one can specify as default:- Contacts
- Music
- MusicIcons
- Documents
- Pictures
Updated: 15 March 2008
Comment by XPtoo? - 23 March 2008 @ 2:38 Reply
Does this work with XP too? I can’t find Local Settings under the HKCU\Software branch. I want to stop XP from trying to guess the folder template too!