Disabling Windows Vista / 7 / 8 / 10 Explorer’s Automatic Folder Type Discovery
Hey!
Update from 2015-09-06: I just used this for Windows 10 and it still works!
I very recently installed Windows 7 on my desktop computer and I'm loving it so far.
One of the major things that bugged me though was the new Explorer behavior. The automatic folder type discovery just goes ahead and tries to determine a folder type just by looking at how many (or if there are) files of a certain type (pictures, videos, songs, ...) are in the current folder, and then it adjusts the viewing settings accordingly. For example, if you open a folder that contains mainly video files, it would show those with big icons instead of my default, a detailed list. Pictures are displayed as thumbnails.
Disabling this behavior proved to be interestingly difficult. As with most things that have been declared a default setting by Microsoft, it luckily can be done - but only via registry.
First we need to delete our current folder type settings.
- Close all open Explorer windows.
- Open the registry editor with Start => Run => regedit and browse to HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell.
- Delete and confirm the deletion of the keys BagMRU and Bags.
- Now create a Key (right-click on the current key in the left pane and select New => Key) called Bags.
- Create a subkey for Bags called AllFolders.
- Create a subkey for AllFolders called Shell.
- Create a String value (right-click in the right pane and select New => String Value) called FolderType and set the value to NotSpecified.
- That's it for Windows 7. Please read the note for Windows Vista x64 below. Otherwise, just reboot and your new settings should be applied.
That's it for Windows 7. If you're using Windows Vista x64, it might be possible that there is a copy of (or a similar) the Local Settings\Software\Microsoft\Windows\Shell key in HKEY_CURRENT_USER\Software\Classes\Wow6432Node. I could not confirm this for Windows 7, though I am using the 64 bit version (it just had a CLSID subkey, nothing more). In that case, delete the Shell\Bags and Shell\BagMRU folders like I told you above before finishing your modifications with a reboot.
Warning: as always, playing around with the Windows registry can be dangerous when done incorrectly. If you do not feel safe about it, make sure to back up the keys you're about to modify via File => Export, or leave it altogether. I do not take any responsibility for any damage, nor do I give any guarantee that the steps I provided here will work for you. At least they worked for me.
Hopefully that was of help to you ๐
I discovered the initial instructions on mydigitallife.info. Thank's so much ๐ Had a hard time finding a guide for that.
August 6th, 2017 - 18:54
Yes, Windows does write its own values in the folders again (probably when changing or closing an Explorer window), which is why I recommend closing all Explorer windows first, applying the changes to the registry and then rebooting immediately afterwards.
As I said in my update, I can only confirm that it still works for Windows 10, but I never did test it with Windows 8.1. Wouldn’t make a lot of sense if it worked for Vista, 7, 8, 10, but not 8.1. ๐
Hope it helps!
August 6th, 2017 - 18:41
Thanks but it doesnโt work in windows 8.1
I did as you suggested
http://i.imgur.com/kewnp8e.png
But when I restarted it just re-wrote the old values
http://i.imgur.com/A25MUgb.png
Any other suggestions? how do we stop windows from re-writing it?
reposted because of wrong link
February 2nd, 2017 - 15:11
Sometimes little things makes the world a better place.
So long I retained my anger for those one letter files/dirs because that inappropriate refresh.
It worked on my w7 pro 64bit first time.
Remember to export/create a restore point previous to the registry deletion just in case.
September 9th, 2016 - 19:08
herzlichen dank.
August 22nd, 2016 - 13:33
Holy carp. This works. (Win 7 64bit). Aug 2016.
MS really forgot about “power users”.
People who use their computers.
Sigh. When will they get rid of “my documents”
and all that other rubbish that we never use?
Or the fact that third party software can write files
into the windows folder??? I mean good grief. Security?
*Eyeroll*
Thank you for posting this Reg’ edit!
Love Bob xxxx
February 13th, 2014 - 21:21
THANK YOU! this worked for me on Vista and I’m doing a happy dance now after years of shaking my fist at “genre” and “rating” popping up on folders full of resume stuff.
July 13th, 2012 - 22:00
OMG I LOVE YOU MAN!!!! Can’t tell you how much I hated that auto-folder-type thing!! THANK YOU!
March 28th, 2011 - 16:28
Are you an administrator and did you run regedit in elevated mode?
I can’t imagine why an administrator with elevated privileges wouldn’t have access to that key.
Also, I wrote this guide for a fresh install, so maybe you changed permissions to that key in the past, or perhaps a program did.
PS: Sorry for my late answer. I still hope this is of help to you.
March 7th, 2011 - 07:21
just deny access to HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell and explorer doesnt remember settings !!!
see screenshot what i mean:
http://www.abload.de/img/fuckoffwindowsexplorerjifu.jpg
August 26th, 2009 - 21:09
Thanks, I already expected that I would have to do something like this in Win7 again, it was already annoying enough in Vista.