Hi, when Windows Explorer (file mngr) is open and I click onto any avi file everything freezes. This isn’t disk specific, or file specific but it does seems to be any avi file. This is a new problem for me and I thought that the new SP2 upgrade to XP might resolve it but NO. I have to Ctrl+Alt+Del and end the WE session. The files open ok in Windows Movie but not Video Factory 2 upgraded. Does anyone have any ideas of a possible solution. many tks in advance :)
The video preview utility in explorer has never been particularly good. I wish Microsoft would just toss it away. Here’s a page on that.
I don’t remember which posted link I followed from there, but I remember one of them worked pretty well.
Hi anonymous, many tks, I found it and here’s the text for anyone else who may have the same problem sometime. “Windows XP Explorer has a 'feature' to provide a preview in the Details box on the left of the file you have selected, if it’s supported. Image files, HTML pages, video clips, MP3s, etc are all previewed (even with the folder view open).
If you have a large movie clip and it either is corrupt (ie. no index from a partial download) or it uses an unsupported codec, then Explorer tries to load the whole file. This can slow your computer a lot and prevent deleting/renaming/moving/etc the file until it’s finished.
Simply do the following steps:
1) Open a command window (Start->Run, type in 'cmd' hit enter)
2) To remove image preview, type and hit enter
regsvr32 /u shimgvw.dll
3) To readd image preview, type and hit enter
4) To remove media preview, type and hit enter
regsvr32 /u shmedia.dll
5) To readd media preview, type and hit enter
The Credit goes to http://www.tweakxp.com/tweak2123.aspx”
even easier - make two batch files
shmediaoff.bat that has this line in it:
REGSVR32 /U SHMEDIA.DLL
and then shmediaon.bat (to turn preview for files that works) back on:
The regedit worked for me as well Thank You.
I also found this which actually seemed to fix the avi problem ,allowing the preview to function properly without having to turn the SHMEDIA.DLL on/off.
“Wednesday, October 13, 2004 at 12:25 pm
Posted by Enipucrop (3 messages posted)
OK, I found this somewhere and it has fixed my problem: =========== I had exactly the same problem until I came across this handy little registry hack. Run regedit and find the following key :- HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler Delete the “Default” value then close. You should now be able to see .avi previews almost instantly but without the crashes ============== Hope it helps you too”
PS- added to my above fix - Make sure you do a reg backup/export or copy the reg info you delete incase this has someother ill effect.(none so far for me, still working good)
Executing this file will remove a registry key which makes explorer load shmedia.dll that will resolve file in use problem.
Simply put, this removes the annoying “permission denied” errors when trying to move/copy/delete AVI files.
To use this fix make a new text file, paste the following code in it, file extension change to inf. Rick click on the file and choose install. Done.
DelReg = Reduce.Reg
The problem is with a bug in the EXPLORER.EXE.
Any attempt to delete a corrupt .AVI file will trigger 100% CPU usage. I got this problem from a partially downloaded .AVI which I could not finish downloading so I wanted to delete it and off it went to 100% CPU usage.
If you just want to delete an undeletable avi file, do the following: Rightclick the file and select “Cut”. Go to the Recycle Bin and “Paste”. Now empty the Recycle Bin.
Another way to do it: Open Notepad, type something, Save As “name of the undeletable.avi”, overwrite the file, delete the file.
Another option to delete this kind of files.
Locate the file, open windows file manager, windows commander or whatever you use.
CTRL+ALT+DEL end process explorer.exe
Delete the file using opened program from before (you can also do it from the command prompt) and start the explorer.exe again
(ctrl+alt+del) file/new task (run), type explorer.exe and press enter.
thanks for the fix.
regsvr32 /u shmedia.dll worked PERFECTLY for me.
i use to have windows explorer crash every time there was a video file in the folder, and now its fine. thanks!
I was trying to figure what the heck was bogging down my system and the info here lead me in the right direction.
regsvr32 /u shmedia.dll
Last post didn’t get recorded right, but the gist was this:
'regsvr32 /u shmedia.dll' worked fine for me, but to keep my thumbnails I did the following:
http://www.divx.com/divx/windows/ has DivX verion 5.2.1 (I had 5.2), which among other things fixed “An issue causing Explorer to run slowly when showing thumbnails of DivX files”.
I uninstalled 5.2, installed 5.2.1, re-enabled shmedia.dll ('regsvr32 shmedia.dll'), and now .avi’s thumbnail and act fine.
(removing the Size and Duration columns from the folder view will tell Explorer not to waste time looking at such things too)
Wouldn’t have found it without this thread pointing me in the right direction. Thanks!
I’m so glad google found this thread via google. Thanks - unloading shmedia.dll worked perfectly fine! :)
i have been looking for this for ages
It appears none of the solutions are working for me. I try to move or copy the file and my machine freezes up.
Any other ideas?
Do what I said, it’ll work for sure.
I can delete the file using Ozzies method, but I want to KEEP the file and use it. Copying or moving the file freezes my computer. Are there any other methods of fixing the AVI/Explorer problem?
I have several files that trigger this problem, some rare Anime files I wish to keep and view.
I’m having roughly the same problem, and when I try to open the avi’s in a program like a dvd burner, they corrupt the program. I’ve tried these solutions but i don’t believe its working. Any other suggestions?
Okay, it was TWO problems! One was the AVI files, which the fixes above fixed. The second was bad clusters on my harddrive. It’s old and I think it’s due to bad sectors, so I have to trash the drive...
I got a cheap 160 gig to replace the old 80, and now everything works fine.
I had the same experience with XP explorer crashing and not responding after opening a folder that contained avi files.
I had to use task manager to close folder.
I downloaded DivX521XP2K.exe and it solved the problem without having to regedit.
Many thanks for your advice.