Disable Automatic Folder Type Discovery in Windows 10

Windows 10 is known for automatically changing the folder view depending on the contents of the folder. While this is useful in some cases, it can be a very annoying feature for users who prefer to configure their folder view types manually. Some users do not like the operating system automatically adjusting the view and overriding their preferences. Let's see how to disable automatic folder type discovery in Windows 10.

Windows 10 A Folder With PicturesAutomatic folder type discovery was introduced in Windows XP. File Explorer is able to determine the content type of a folder and apply a suitable template to it. For example, if some folder contains mostly images, it will get the "Pictures and Videos" view type automatically. While this is definitely useful, it is quite unexpected and the user might be expecting a different view set by him. When the folder view changes, the property columns also change.

Some end users perceive it as a bug which causes File Explorer to not remember their customized view type for folders. Disabling automatic folder type discovery resolves this problem.

To disable automatic folder type discovery in Windows 10, do the following.

  1. Close File Explorer.
  2. Open Registry Editor.
  3. Go to the following Registry key:
    HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell

    Tip: See the article How to jump to the desired registry key with one click.Registry Path

  4. Under the Shell key, you will find two subkeys Bags and BagsMRU. You need to delete them.Delete Bagmru Registry Keys Deleted
  5. Now, recreate the Bags subkey. Right click the Shell key and select "New - Key" in the context menu as shown below.Create New Key Bags 1 Create New Key Bags 2
  6. Under the Bags subkey you need to create a new subkey, AllFolders. Right click the Bags key and select "New - Key" in the context menu. Name the new key as AllFolders.Create New Key AllFolders 2 Create New Key AllFolders 1
  7. Finally, under the AllFolders key, create a new subkey named Shell.
    Create New Key AllFolders Shell
    You will end up with the following Registry path:

    HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
  8. Under the last subkey you created, Shell, create a new string value named FolderType and set it to NotSpecified.New String ValueDisable Automatic Folder Type Discovery In Windows 10
  9. Sign out and sign in again to your user account to apply the changes you made.

You are done. Windows 10 won't forget or change the folder view type any more. You can customize your folders the way you want now.

To save your time, you can download ready-to-use Registry files:

Download Registry Files

The undo tweak is included.

You can save your time and use Winaero Tweaker instead. It comes with the following feature:


You can download it here: Download Winaero Tweaker.

Many thanks to our reader "Rensio" for sharing this useful tip.

5 thoughts on “Disable Automatic Folder Type Discovery in Windows 10

  1. James

    By the way, this tweak also works in Windows 7.

    Like or Dislike: Thumb up 0 Thumb down 1

    1. Sergey Tkachenko Post author

      Yep, it should work in Windows 7, Windows 8 and in Windows Vista, but I have not tested it there.

      Like or Dislike: Thumb up 0 Thumb down 1

  2. Ian

    The Green Bar of Death has frustrated me for years. I have tried many times to disable it without success – until now! And a bonus – I hate the way that Windows repurposes my folders based on content. I want ALL of my folders to present information in the same manner: Name, Date Modified, Type and Size (sometimes Attributes also). The Registry fix that you have presented appears to have enabled me to resolve both of these long-term problems with Windows. Many thanks!

    Like or Dislike: Thumb up 0 Thumb down 0

  3. J M G

    Does not seem to permanently fix usb device file storage. When phone is plugged in, all subdirs are sharing in File Manager as music. This is what occurred before the regedit, and afterwards as well.

    Like or Dislike: Thumb up 1 Thumb down 0

  4. CD

    tried this on windows 10 64 bit because i got fed up with windows resizing everything in folders on me to the way it wants to do things and not the way i want it set up.
    Example, my documents i have set to ” Details ” view, and i will have videos folders set to ” large icons” and the same with pictures folder. But everytime i reboot or startup my pc, it reverts back to the way it wants to do things.
    So, i tried this method and it failed! It still does things its way and not mine. So i tried doing a fresh install of windows 10 again and it still does.
    So, i can see why some are perceiving this as a “Bug”, because no matter what you do to stop this automatic behaviour, it continues to do so. So, Microsoft need to change this sh!t or fix it, because it is damn annoying!

    Like or Dislike: Thumb up 0 Thumb down 0


Leave a Reply

Your email address will not be published. Required fields are marked *