Windows: Disable folder type detection in explorer globally [duplicate]
In Windows Explorer (Win7-10) the folder's type is detected automatically by the files in it (e.g., music). I can disable this on folder base manually in the properties of each folder (and its subfolder). But this creates a lot of desktop.ini files.
Is there a way to disable the folder type detection on a system based level - like "Windows should never detect the folder types on its own and should always use the plain file view"?
This method will require modifying your registry
- Start by opening
regedit
(in Windows 7 go to Start Menu > Run and enterregedit
; for Windows 10 just click Start Menu and start typingregedit
and hit Enter) - Navigate to
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell
- Delete both of the following keys:
Bags
andBagMRU
- Right-click on the
Shell
key and selectNew > Key
and name itBags
- Right-click on
Bags
key and selectNew > Key
and name itAllFolders
- Right-click on
AllFolders
key and selectNew > Key
and name itShell
- Right-click on
Shell
key and selectNew > String Value
name itFolderType
- Double-click on
FolderType
in the right window pane to bring up theEdit String
option. - In the
Value Data
filed enterNotSpecified
- Now close regedit and you're done. Windows Explorer will no longer detect the folder's type and change the view.