Sunday, August 31, 2008

Constantly changing explorer views in Vista

This is a very annoying problem in Vista.  Vista Explorer adapts its folder views depending on the type of files it finds there.  For example, if it finds a picture it changes the folder view to iconic although you might have another files there and you don't want the iconic view, but rather detailed view.  Here is a solution to this problem that fixes folder views once and for all.

Solution

* Delete these registry keys:

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags]

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU]

* Create a new key:

[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\ Windows\Shell\Bags\AllFolders\Shell]

* Create a new string value:

FolderType="NotSpecified"

* Open folder options in Explorer and click "Apply to all folders" button.

* Done!