Configuring the media preview in Windows Explorer

Microsoft has extended the ability of the Explorer to also act as a picture viewer, music player and media player. These user friendly media shell extensions can be nice if NOT using the Classic desktop, but they also introduce some side effects (Even if using Classic desktop):
  • Uses longer time to show the contents of a folder because it extracts the details of all media files within the folder (Ex. if having a folder with MP3 files).
  • The scanning of files causes the files to be locked by the Explorer, and so when trying to delete the file one will get an error:

    Cannot delete/move <filename>: It is being used by another process or program. Close any programs that might be using the file and try again

  • The scanning of files causes high CPU usage, if having a "faulty" file. (F.ex. a large AVI/MPG/MPEG file where the index is broken will make Windows Explorer to scan the entire file).
One can Disable the preview/thumbnails-view entirely (Thumbs.db)

One can disable the extraction of media file properties entirely (WinXP+):

regsvr32 /u shmedia.dll

One can disable the extraction of media file properties for certain files (WinXP+):

[HKEY_CLASSES_ROOT \SystemFileAssociations \.avi \shellex \PropertyHandler]
(Default) = (Value not set)

Note to disable select the (Default)-value and press Delete-key, and it will change to "(Value not set)".
To disable preview for other file-types just exchange the .avi with the wanted filetype and delete the (Default) for the wanted file-type.

More Info MS KB822430

Note if one likes the shell extensions, but just having problems deleting a file then try one of these:
  • Download and install Unlocker, which can close the handles created to the file, so one is not blocked from deleting it
  • Rename the file so it no longer has the extension of a media file
  • Momentarily unregister shmedia.dll (Media File Property Extractor Shell Extension) to delete the file (WinXP+):

    regsvr32 /u shmedia.dll
    (delete the file)
    regsvr32 shmedia.dll

  • Close all explorer.exe and use the command-prompt.
  • Boot in safemode and delete the file, as the preview feature is disabled.
Related Configure compressed folders in Windows Explorer
Related Change Webview for all folders to stop movie preview

Credits TweakXp.com

Updated: 26 September 2007

Comments:

  1. MrGuga says:

    it keeps previewing them even after restarting, is there any other thing to do?

  2. snakefoot says:

    MrGuga
    it keeps previewing them even after restarting, is there any other thing to do?

    Must admit I haven't tried testing the above registry tip myself, but others have confirmed that it works. But now I see there are a lot of ideas of what registry entries to delete to make the preview stop (Having trouble find a confirmed ultimate fix).

    I don't have an avi file that have created the problem for me, so if you would take the time to test what registry key needs to be removed to make the preview to then it would be nice.

    Option 1 (Delete bold values from registry):

    [HKEY_CLASSES_ROOT \.avi \PersistentHandler]

    [HKEY_CLASSES_ROOT \.avi \ShellEx \{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]

    Option 2 (Delete bold values from registry):

    [HKEY_CLASSES_ROOT\CLSID\ {87D62D94-71B3-4b9a-9489-5FE6850DC73E}]

    Option 3 (Delete bold values from registry):

    [HKEY_LOCAL_MACHINE \SOFTWARE \Classes \CLSID \{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\ InProcServer32]

    Also check you are not having some 3rd party application locking the file like KaZaa and alike.

    Also you might want to check: Change Webview for all folders to stop movie preview.

    Will investigate this a little more when I have time.

Leave a Reply

Your email address will not be published. Required fields are marked *