Disable Automatic Folder Type Discovery for Templates in Vista

When user opens a folder in Windows Explorer or other Computer, Pictures, Documents or Music (aka My Computers, My Pictures, My Documents or My Music in XP) explorer window in Windows Vista, Vista system will try to automatically detect and discover what, i.e. media or files, is inside the folder, then determine the folder type and set the view type accordingly. Also configured automatically is folder type template which shows and displays corresponding folder icon, picture, items’ details column and various commands and tasks in the Explorer toolbar.

However, automatic discovery of folder types in Vista is useful and helpful. However, the function does not work properly causing various errors when viewing files and folders list in Windows Explorer. The most typical problem is wrong type been set for a folder, for example, as “Pictures and Videos” for folder that does not have any photos, or “Music Details” for folder that does not have songs or MP3s. To make things worse, on system folders such as \Windows and system root drive under Vista, “Customize” tab has been removed due to User Account Control security limitation. Thus users cannot change or modify the folder type manually.

Thus if users prefer, they can set a registry key from tweak below to stop Windows Vista from from automatically discovering folder type for template and view. By doing this, Vista will be disabled from deciding for its own the type of the folder, which may ‘accidentally’ change what users have already configured for the folder. Thus, users’ customization for folder type and view will be remembered and used instead of been override by automatic default template Vista assigns to it.

IMPORTANT: To disable and turn off automatic folder type template discovery in Vista, users must reset folder type and view settings to default first. Then continue with following steps:

  1. In Registry Editor (regedit), navigate to the following registry branch:

    HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell

  2. Right click on Shell in left pane, select New and then click Key.
  3. Type Bags to create a key named Bags, and press Enter.
  4. Right click on Bags that just been created, select New and then click Key.
  5. Type AllFolders to create a sub-key named AllFolders, and and press Enter.
  6. Right click on AllFolders that just been created, select New and then click Key.
  7. Type Shell to create another subkey named Shell, and then press Enter.
  8. Select Shell key that just been created, and then right click on an empty area in the right pane, click on New and then select String Value.
  9. Type FolderType as the value name, and press Enter.
  10. Right click on the Folder Type and click Modify or simply double click on FolderType.
  11. Type NotSpecified as its value data.
  12. Click OK.

After editing, the registry should looks like this:

Disable Automatic Folder Type Discovery for Templates

Windows Vista automatic folder type discovery for template is now turned off.

If you prefer not to edit the registry yourself, download reset-vista-folders.reg in zip file format from the forum. It’s a 3-in-1 registry file that will reset all saved folder customizations on types and views, disable auto template type discovery for folders (which is shown in this article) and then increase folder settings memory size (BagMRU) to 10000. You can edit the registry file in Notepad to remove the BagMRU setting function. Note that you must reset existing folder settings before disable auto discovery of template type, so you cannot remove the first 2 registry hacks in the file. To apply it, double click on the registry file and restart the computer.

12 Responses to “Disable Automatic Folder Type Discovery for Templates in Vista”

  1. Niloct
    September 28th, 2009 11:10
    12

    It worked fine for me (Vista Ultimate x64)!

    Thanks a lot!

  2. Frank
    August 26th, 2009 01:29
    11

    Is there anything similar in win2k3/xp? this thing is freaking me out cause i’m used to sort mp3 files by modified and with this thing on i don’t have that option.
    Thanks

  3. Gage B
    August 25th, 2009 03:40
    10

    Tried this, no luck, ideas? Running Vista Home Premium x64.

  4. Disabling Windows Vista / 7 Explorer’s Automatic Folder Type Discovery « plee.me
    August 13th, 2009 22:31
    9

    [...] discovered the initial instructions on mydigitallife.info. Thank’s so much Had a hard time finding a guide for that. Tagged as: bagmru, bags, [...]

  5. Markus
    August 13th, 2009 02:22
    8

    In the past, Windows used to have bugs. Then came Vista, and it was filed under realistic AI. In case you ever wondered why Vista thinks your source code folders should be treated as music. Errae humanum est.

    You folks definitely deserve a medal for this
    one and the associated articles!

  6. fklavye
    June 14th, 2009 00:24
    7

    I don’t know how to thank for this very physicology saving tip. Microsoft Help Center couldn’t answer this question when I called. Thanks again.(especially to the person who wrote this solution)

  7. Nigel
    May 28th, 2009 23:42
    6

    Many many thanks for helping me disable yet another Microsoft blunder!

  8. new2vista
    May 16th, 2009 13:09
    5

    Has anybody checked to see if this idiotic feature is in Windows 7? I reluctantly switched to Vista and this annoying feature is driving me nuts. What moron at Microsoft thought it would be a good idea? My kids are learning lots of colorful words to describe what their daddy thinks of Vista…

  9. rabethica
    February 19th, 2009 15:13
    4

    Hallelujah!

  10. A regedit saved my life
    January 12th, 2009 16:25
    3

    Dear Microsoft,

    If you’re going to add a stupid feature that doesn’t work properly, please, at the very least, give us a nice simple little checkbox so we can disable it.

    Thank you.

  11. Sancho
    October 23rd, 2008 04:42
    2

    Thanks very much for this tip. As a new Vista user I was getting pretty frustrated with all the autodetection/template-imposition going on. I followed the steps (including the pre-requisite steps to nuke the Bags key, which was recreated upon reboot; just an FYI for anyone wondering), even nuked the “1″ key under the new Bags key, and now I’ve got good ol’ XP behavior back!

  12. pm
    June 4th, 2008 04:43
    1

    Could you please post the relevant lines from the reg file. Thanks!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.

New Articles

Incoming Search Terms for the Article

Automatic Folder Type Discovery - vista folder types - automatic folder view discovery - disable automatic folder view discovery - vista folder type - disable vista folder templates - vista disable folder customization - windows 7 Automatic Folder Type Discovery - disable folder customization vista - folder type template - vista folder type disable - disable auto folder - vista automatic folder view discovery - "windows 7" "automatic folder view discovery" - disable vista folder type discovery - disable auto detect folder type vista - templates folder vista - disable automatic folder discovery - disable folder types vista - vista reg foldertype keys - vista disable folder detection - vista annoying folder types - vista disable folder types - how to disable Vista\'s Auto Template Discovery - turn off folder autodiscover windows 7 - "disable types of folder" - xp disable folder templates - autodiscovery folder view - disable folder type discovery "windows 7" - how do you set a folder template in vista? - vista folder type template - vista default folder template - folder type template vista - how do I get windows turn off folder templates - vista folder templates - vista disbale folder customization - Windows 7: disable auto folder type - windows vista folder type - windows 7 disableautomatic folder - disable "automatic folder view discovery" - disable automatic - reset folder sort by settings vista - templates vista folder - windows 7 disable folder type detection - Disable Automatic Folder Type Discovery for Templates - disable windows customization folder - Internet Explorer 8 "disable customize" - stop vista auto loading folders - vista folder template - "windows vista" folder type -