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.

2 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


Leave a Reply

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