113

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?

user1706184
  • 1,233
  • 2
  • 9
  • 5

8 Answers8

89

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)

Avatar
  • 2,555
  • 4
  • 36
  • 50
That Brazilian Guy
  • 6,834
  • 10
  • 64
  • 102
  • 1
    Can we still enable music mode for the one folder it actually makes sense in? – endolith Mar 18 '14 at 03:13
  • 28
    I wish I could upvote this every time it has made windows less obnoxious for me. – Doug Kavendek Mar 29 '14 at 19:07
  • This reg doesn't work, when I execute it I get the following error: "**Cannot import C:\...resetfolders.reg: The specified file is not a registry script. You can only import binary registry files from within the registry editor.**" See screenshot: http://i.imgur.com/1KUPDEN.png – admin May 15 '14 at 19:06
  • 4
    for me using windows 10 x64 the registry alone didn't help; I had to also reset folders – Costin Gușă Jun 19 '15 at 11:05
  • 1
    @CostinGușă How? – dumbledad Aug 30 '16 at 13:12
  • Anyone tested on Win 8.1? – Danijel Sep 14 '16 at 12:20
  • Regarding point 1 above: on Win8.1 there is no "Remember each folder’s view settings". – Danijel Sep 14 '16 at 12:29
  • Regarding point 2 above: on Win8.1 the 'Bags\AllFolders\Shell' alfready existed. – Danijel Sep 14 '16 at 12:31
  • In a nutshell: apply the Registry setting `"FolderType"="NotSpecified"` as soon as you have installed Windows. – Gras Double Dec 01 '16 at 11:45
  • It seems like step 2 is the actual fix. Care to explain what step 1 and 3 are for? – Zero3 Nov 13 '17 at 17:38
  • 1
    @Zero3 Per the comments in the code: 1) Reset and delete all saved folder customizations and settings; 2) Turn off Vista auto folder type template discovery; 3) Modify the storage space to 10000 for saving of up to 10000 folder settings. – That Brazilian Guy Nov 13 '17 at 18:35
  • 1
    I read the comments already. Could you please *explain* the purpose of steps 1 and 3? In other words: *Why* should one do these steps in addition to step 2? – Zero3 Nov 14 '17 at 08:29
  • 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. – That Brazilian Guy Nov 15 '17 at 01:35
  • 1
    Aha, so step 1 is necessary for step 2 to also affect folders whose layout has already been modified manually. I still don't think you explained the reason for doing step 3 though. Why is it relevant for this fix? The changes performed in step 1 and 2 should *reduce* the number of customized folders, not *increase it*, right? – Zero3 Nov 15 '17 at 18:36
  • 6
    Copy and paste way worked perfectly for me on Windows 10. Thanks so much!! – Erik van der Neut Jul 03 '18 at 06:31
  • Copy/paste didn't work for me on Windows 10 however the "Long Way" did. When I try run the script it states "Cannot import C:\path\to\resetfolders.reg: The specified file is not a registry script. You can only import binary registry files from within the registry editor." – alexhayes Jul 14 '19 at 10:49
  • 1
    According to the answer on [this page](https://answers.microsoft.com/en-us/windows/forum/windows_7-files/what-is-limit-to-set-bagmru-size/5702526b-b81e-4ede-8c4c-becd1977602a): « That setting [BagMRU Size] has no effect in Windows 7, so it doesn't matter what you set it to. »… I cannot confirm nor infirm this statement. – Gras Double May 25 '20 at 00:01
  • 2
    I am on Windows 10 Home. step 2 "Disable auto discovery:" alone fixes the problem, and no reboot needed. This over smart has annoyed me for years and thank you so much. – Rio Wing May 26 '20 at 16:22
  • This worked for me on Win10. – yo' Nov 21 '20 at 23:51
  • 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 '20 at 16:44
  • People who get error messages when using the copy-paste-way: you probably used the wrong file suffix. – PythoNic Oct 06 '21 at 15:23
  • After doing this (copy and paste way) on Windows 11, File Explorer can't remember the window size and position anymore. Now it always opens on a small window centred on the Desktop, no matter how I more or resize it. Any clues? – CesarGon Mar 20 '22 at 12:08
  • Remember to backup your registry before the "copy and paste away" method (works like a charm!) – arod Dec 26 '22 at 01:22
  • "Preview" option stopped working for me on Image files ... heads-up ... – arod Dec 26 '22 at 02:27
  • 1
    Didn't work win10. – Michael Rogers Feb 28 '23 at 10:17
25
  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.

I say Reinstate Monica
  • 25,487
  • 19
  • 95
  • 131
John Culling
  • 251
  • 3
  • 2
  • 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 01 '19 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 '20 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. – needfulthing Jul 12 '20 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 '20 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 '20 at 10:00
  • Bless your soul! – Karlth Apr 21 '22 at 09:53
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

Steve Pitchers
  • 571
  • 6
  • 5
  • 5
    No, unfortunately, the "automatic folder type discovery" anti-feature introduced with Vista will override this change. Every time. – patricktokeeffe Jan 31 '18 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.

Jason
  • 41
  • 1
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.

Daniel K.
  • 537
  • 3
  • 11
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"=-
Cees Timmerman
  • 1,667
  • 2
  • 20
  • 46
-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 zapper1975@yandex.com