116

I have an empty folder with regular details view. File name, file size, file type columns are shown and I am happy.

Then I put some MP3 or WAV files in. Windows Explorer "kindly" changes the column types. It will show Genre, media length, Album and other metadata tags, but does not show the file size anymore. If I do not like it, I have to manually change the columns back. It is very irritating.

How can I turn this automatic behavior off?

1
  • 17
    One of the most annoying "features" in Windows for years.
    – Andreas
    Aug 14, 2020 at 4:48

8 Answers 8

92

You have to disable the "Automatic Folder Type Discovery" feature present in Windows Vista and later versions. (This solution is tested on Windows Vista, and probably works on Windows 7 as well. I'm not sure about Windows 8 / 8.1 / 10).

Perform the following steps:

Copy-and-paste way:

Copy the following lines into a new text file, save it as "resetfolders.reg" and double-click it:

Windows Registry Editor Version 5.00

; Reset and delete all saved folder customizations and settings.
[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]
[-HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]

; Turn off Vista auto folder type template discovery. 
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"

; Modify the storage space to 10000 for saving of up to 10000 folder settings.
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell]
"BagMRU Size"=dword:00002710

Long way:

 1. Reset the folder options:

  • In Windows Explorer, click Organize -> Folder and Search Options -> View tab -> Folder Options -> Reset Folder
    • The above can also be done by removing the registry keys HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags and its subkeys and HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU and its subkeys.
  • go to Folder Options (Organize -> Folder and Search Options) View tab, and make sure the Remember each folder’s view settings is checked.
  • Close the Explorer window after changes to save the settings. Windows Vista will only remember the state of folders of the window is closed.

 2. Disable auto discovery:

  • Start Regedit, navigate to the key HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell and perform the following steps:
  • Right click on Shell in left pane, select New and then click Key.
  • Type Bags to create a key named Bags, and press Enter.
  • Right click on Bags that just been created, select New and then click Key.
  • Type AllFolders to create a sub-key named AllFolders, and and press Enter.
  • Right click on AllFolders that just been created, select New and then click Key.
  • Type Shell to create another subkey named Shell, and then press Enter.
  • 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.
  • Type FolderType as the value name, and press Enter.
  • Right click on the Folder Type and click Modify or simply double click on FolderType.
  • Type NotSpecified as its value data.
  • Click OK.

 3. Increasing the BagMRU Cache Memory Size

  • Run Registry Editor (regedit).
  • Navigate to the following registry key: HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell
  • If there is not a BagMRU Size value, right click on a blank space in the right pane, then select New, and then click DWORD (32-bit) Value. Then, type BagMRU Size as the value name.
  • Double click on BagMRU Size key just created, and then enter 10000 (in decimal base) or 2710 (in hexadecimal base) as its value data.

(source)

25
  • 30
    I wish I could upvote this every time it has made windows less obnoxious for me. Mar 29, 2014 at 19:07
  • 4
    for me using windows 10 x64 the registry alone didn't help; I had to also reset folders Jun 19, 2015 at 11:05
  • 2
    @Zero3 I'm not sure about current versions of Windows, but for XP and 7, whenever you customized any folder, it would store the customization of each folder separately. If you set the default folder view as a certain mode, it wouldn't reset the already set folders. That's the purpose of step 1. The purpose of step 2 is to define the default mode. The purpose of step 3 is to allow a huge number of folders to be customized. Nov 15, 2017 at 1:35
  • 6
    Copy and paste way worked perfectly for me on Windows 10. Thanks so much!! Jul 3, 2018 at 6:31
  • 4
    Note that this removes custom folder templates from all folder types, including OneDrive with its status column (which I like and would prefer to keep).
    – Jeff
    Dec 18, 2020 at 16:44
27
  1. Go to the highest level folder you have
  2. Right-click on the folder and select Properties
  3. Select the Customize tab
  4. In the top panel select "General Items" from the drop-down
  5. Check the box below that say "also apply this template to all subfolders"
  6. Click OK

This seemed not to immediately work for me, so I set everything to "Music" which did work and then set everything to "General items" again and that seemed to do the trick.

7
  • 2
    Based on my experience this setting is also automatically applied to new sub-folders that are created after performing the steps described in this answer.
    – Robert
    Nov 1, 2019 at 17:04
  • 1
    This is great, but it doesn't seem to be possible to use this method for USB devices. Explorer doesn't seem to include Customize for those volumes, or for folders inside them.
    – Dronz
    Jan 11, 2020 at 20:02
  • 3
    Fun fact: in Windows 10 if you call a folder "Audio" it automatically changes the Explorer view to the audio columns no matter what is chosen in the Customize tab. Jul 12, 2020 at 13:28
  • 1
    Is there a way to know what folder type windows has decided the folder is? Several times, I've placed video or mp3 files into a folder and it doesn't change the type.
    – PatS
    Oct 31, 2020 at 17:43
  • 1
    I observed this issue on my USB drive and that answer worked BUT only after I renamed the (top) folder where the subfolders with audio files resided in. The (top)folder was namend "music". 🙄 That name somehow triggered explorer to automatically assess the content of subfolders and as such to even overwrite my "customized" settings.
    – Daniel K.
    Dec 25, 2020 at 10:00
10

After the adding the Size column, or making whatever changes you like, save those settings as the default for that kind of folder. You can drag Size towards the left, so that it is easily visible. Then you can either ignore the additional columns or delete them. Then save the resulting layout as default:

First check that you aren't accidentally changing the default for "General Items". Right-click the folder, choose Properties -> Customize. Make sure "Optimize this folder for" is set to Music or Video, as appropriate.

Apply the changes: Organize -> Folder and search options -> View Tab -> Apply to Folders or on Windows 10: View -> Options -> Change folder and search options -> View Tab -> Apply to Folders

1
  • 5
    No, unfortunately, the "automatic folder type discovery" anti-feature introduced with Vista will override this change. Every time. Jan 31, 2018 at 20:27
4

Here is what I did, and it worked on the first try.

I am using Windows 10 64bit OS. I opened the file explorer and navigated to C drive in the main window (not the tree). I selected "Documents" and went to Properties --> Customize. I enabled "Also apply to all subfolders" and selected the format "Documents" and hit "Apply." Then I changed it to "General Items" and hit "Apply" again. Then I closed out, went to my folder (full of wave files) and the columns remained as General Items with file name, type, size, date etc.

Thanks to the guy that originally posted the solution - worked very well.

3
  • 1
    Does it work on subsequently added sub-folders?
    – dumbledad
    Jul 30, 2018 at 13:06
  • This should be done for other partitions too to work (e.g. D:)
    – PythoNic
    Oct 6, 2021 at 15:18
  • 1
    Doesn't last. Even existing subfolders will revert to Music, or Videos, etc. at some rather capricious time later. Sometimes right away, sometimes weeks later. (Windows 11 Home Insider Preview blah blah blah wtf microsoft release.230422.2250)
    – Bob Stein
    Sep 29, 2023 at 17:10
1

This answer is based on observations handling audio files on an external USB drive using Windows 10.

Folder view customization as described in other answers worked for me only after I renamed the folder first.

When any of the parent folders containing audio files where named "music"[*], Windows would automatically infer that the folder view in Windows Explorer needed to be optimized for "music" and thus would read and display metadata (a process that is slow even on a fast drive). This happened although I had customized all folders for "General items" (in folder Properties -> Customize tab). Then I changed this folder's name to "mp3wav" and again customized it and its sub-folders for "General items". That avoided the reading of metadata and thus access is lightning fast.

Consequently for video files, avoid the name "video" for any of the folders of your directory hierarchy where your video files reside in.

* Others have reported the name "audio" to trigger this behaviour, see comment on another answer here.

0

These two .reg files work on my Windows 10 Home 20H2:

disable_folder_type_autodetect.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"

enable_folder_type_autodetect.reg

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"=-
-1

I have Vista, yes Vista, I know it's old, but it serves a purpose for cross-browser testing of websites...if things work on this they tend to work on other more current versions...

Here is how I over came the seemingly ever changing windows explorer column headings...

  1. I believe this is working by design, but only it only makes sense when you follow the intended user story/case

  2. I have the tool bar menu activated which contains the menu items "File Edit View Tools Help" which only become active when I first click on a folder in the left pane and then click on white space in the right pane, meaning do not click on a file or sub folder in right pane that are listed as being in the parent folder.

  3. Now get an understanding of how the tool bar menu item "View/ Customize This Folder" works. Change the "Use this folder type as a template” and check the "Also apply this template to all sub folders" Get use to how to work with this and notice how it changes the heading values. This is how you set folder template which changes the columns.

    Before the next step, remember the kind of folder template your currently viewing. Most of the time it is "Document"

  4. Now , alter the heading row by adding or removing a column heading. For example add in "Date Created"

  5. Then from tool bar menu item "Tool / Folder Options" dialog go to the "View" tab. Scroll down looking for "Remember each folder's view settings" and I also like "Launch folder windows in separate process". I then select the "Apply to Folders" button (at top of dialog) and then the “Apply” button at bottom of dialog.

    NOTE: based on what things you change one of these buttons may not be active, but be sure to select all that are active.

  6. You have now defined the template's column values.

Now repeat step 3 and see if your changes are working as required...

-1

I'm not sure if this is what you are looking for but I have been searching for everything to make my experience of editing easier. I stumbled here for one of my answers. What you described sounded a little difficult. I just went back to my folder and at the top heading of the columns right clicked got a menu choice of "size column" or "size all columns" to fit, opened and closed and it stayed. Also if yo click in the right place menu also gives choices of columns. This seemed easy to find as i have trouble searching files explorer reports not found even when it is right there.I don't know what I did to see explorer window without permissions im not sure but I got the Idea I ended up changing permissions on the C drive it's working ok.I know it's not right i dont know what trusted installer should be allowed.I own the c drive I'm not sure that is right either.Anyway do you use Foobar I added the burn file. Also figured uot how to build a cue sheet with EAC from a file and then burn. So I'll be lucky if I ever get this video edited. Good luck I get so tred of resizing columns and i need to wathc those items to keep track of the sceene,and from various folders.I do this I go looking for answers and answer myself. Thanks [email protected]

1
  • 5
    please fix this wall of text Oct 27, 2018 at 10:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .