How to Disable Automatic Folder Type Discovery in Windows 11 File Explorer

A notorious performance bottleneck in Windows 11 File Explorer occurs when opening large directories containing mixed files, downloads, or code repositories. As you navigate into a folder, File Explorer frequently halts, displays a slow green progress loading bar in the address bar, and unexpectedly changes column headers from standard details like “Date modified” and “Size” to specialized multimedia columns like “Album”, “Year”, or “Contributing artists”.

This sluggish behaviour is caused by Windows’ “Automatic Folder Type Discovery” (or folder sniffing). Windows automatically scans every file in a directory to guess whether it is “Pictures”, “Music”, “Videos”, or “Documents”. In large directories, this real-time metadata indexing causes severe lag. By applying a well-documented Registry configuration, you can disable this discovery mechanism and force File Explorer to open every folder instantaneously using the lightweight “General Items” template.

Step 1: Reset Existing Folder View Cache

Before applying the permanent registry override, clearing Windows’ accumulated folder view cache ensures clean inheritance:

  1. Press Windows + R to open the Run dialogue box.
  2. Type regedit and press Enter. If prompted by User Account Control (UAC), click Yes.
  3. In the Registry Editor address bar, navigate to the following path:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell
  1. In the left-hand folder tree, right-click the Bags key and select Delete. Click Yes to confirm.
  2. Next, right-click the BagMRU key and select Delete. Click Yes to confirm.

Note: Deleting Bags and BagMRU simply resets customized column widths and folder icon positions back to Windows defaults without affecting your personal documents.

Step 2: Create the AllFolders General Items Override

Now, create the master template key that instructs File Explorer to default strictly to General Items:

  1. Still inside HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell, right-click the Shell key.
  2. Select New > Key and name this new key Bags.
  3. Right-click your newly created Bags key, select New > Key, and name it AllFolders.
  4. Right-click AllFolders, select New > Key, and name it Shell.
  5. You should now have the following complete path selected:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
  1. With this Shell key highlighted in the left pane, right-click in the empty space of the right-hand pane.
  2. Select New > String Value. Name the string value FolderType.
  3. Double-click FolderType to edit it.
  4. In the “Value data” field, type exactly: NotSpecified
  5. Click OK.

Step 3: Restart Windows Explorer Process

To apply your new folder template policy immediately without rebooting your computer:

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. On the Processes tab, scroll down to find Windows Explorer under Windows processes.
  3. Right-click Windows Explorer and click Restart.
  4. Your taskbar and desktop icons will refresh for a second as the shell reloads.

The Performance Benefits of “NotSpecified”

Setting FolderType to NotSpecified forces Windows 11 to treat all local directories, external hard drives, USB flash drives, and network shares as standard General Items:

  • Instant Folder Loading: File Explorer displays directory contents instantly, eliminating the green scanning bar even in folders containing tens of thousands of items.
  • Consistent Column Headers: Columns remain fixed to Name, Date modified, Type, and Size across all folders, stopping random column reorganisations.
  • Reduced CPU & Disk Usage: Background shell indexers will no longer read file headers to inspect MP3 bitrates or image aspect ratios upon every folder navigation.

Disabling automatic folder sniffing transforms Windows 11 File Explorer into a snappy, responsive, and predictable file manager.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.