lion7718
OSNN Addict
- Joined
- 25 Jul 2002
- Messages
- 80
I haven't been here in a while, but I'll post this for those that need it. I had this problem with AVIs last week & now it seems like it is spreading quickly. You can't move them or delete them,
they say that they are in use, Here is my original post that I made at UTC and a fix a user named LPDad came up with:
Here is my original post that started all this:
Problem Moving & Deleting Movies Lets see if I can explain this right.
If I download a Movie, my computer will not let me move it to another folder or delete it. It says it is being used by another program...this is not true.
If I copy & paste the movie I can put it in another folder.
But I get the same problem there...I cannot delete the damn movie...I have to delete the whole folder to get rid of it.
Than I just create a new folder with the same name and start over again. This is a pain in the ass for sure.
It only happens with DivX type movies....that work, if I don't get a video, just sound, I can delete it.
Also, when I click on one of these movies, not even to play, just highlite it....
my CPU shoots up to 100% untill I close the folder, sometimes it makes me reboot because it will stay at 100%.
I use XP Home if this helps.
Fix:
The obnoxious bug in XP that causes Explorer to read the entire contents of broken AVI files before allowing any access to them is caused by bad behavior of shmedia.dll.
This problem manifests itself by causing Explorer to read the entire contents of an AVI file, regarless of its size or location any time the mouse pointer is hovered over it, or an attempt is made to access it in windows explorer. This causes 'permission denied' errors when trying to simply move, copy or delete these files as they cannot be changed while Explorer has an open handle on them.
This also causes a DoS situation where large AVI's are stored on remote shares and Explorer keeps reading the files from beginning to end each time they are accessed.
To correct this misbehavior in Windows XP, remove the following registry key.
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32
This will prevent Explorer from loading shmedia.dll in response to file property queries on these files. This will not effect your ability to play files, get file attributes, or even view thumbnails. Say goodbye to all explorer.exe 100% CPU issues.
And Solution #2 (basically does the same thing, except you are inactivating the file attributes option)...But it WORKS--No more locked .avi files:
Well windows seem to have a REALLY big problem when it comes to reading AVI files. It seems that when you click on an AVI file in explorer, it'll try to read the entire AVI file to determine the width,height, etc. of the AVI file (this is displayed in the Properties window). Now the problem with Windows is that if you have a broken/not fully downloaded AVI file that doesnt contain this info, Windows will scan the entire AVI file trying to figure out all these properties which in the process will probably cause 100% CPU usage and heavy memory usage.
To solve this problem all you have to do is the following:
1. Open up regedit
2. Goto HKEY_CLASSES_ROOT\SystemFileAs
sociations\.avi\shellex\PropertyHandler
3. Delete the "Default" value which should be "{87D62D94-71B3-4b9a-9489-5FE6850DC73E}"
Voila! Please note that this will no longer provide you with the windows properties displaying the AVI file information such as width, height, bitrate etc. But its a small price to pay for saving you resources.
I hope this will help someone out as it did for us.
This is a XP problem only.
they say that they are in use, Here is my original post that I made at UTC and a fix a user named LPDad came up with:
Here is my original post that started all this:
Problem Moving & Deleting Movies Lets see if I can explain this right.
If I download a Movie, my computer will not let me move it to another folder or delete it. It says it is being used by another program...this is not true.
If I copy & paste the movie I can put it in another folder.
But I get the same problem there...I cannot delete the damn movie...I have to delete the whole folder to get rid of it.
Than I just create a new folder with the same name and start over again. This is a pain in the ass for sure.
It only happens with DivX type movies....that work, if I don't get a video, just sound, I can delete it.
Also, when I click on one of these movies, not even to play, just highlite it....
my CPU shoots up to 100% untill I close the folder, sometimes it makes me reboot because it will stay at 100%.
I use XP Home if this helps.
Fix:
The obnoxious bug in XP that causes Explorer to read the entire contents of broken AVI files before allowing any access to them is caused by bad behavior of shmedia.dll.
This problem manifests itself by causing Explorer to read the entire contents of an AVI file, regarless of its size or location any time the mouse pointer is hovered over it, or an attempt is made to access it in windows explorer. This causes 'permission denied' errors when trying to simply move, copy or delete these files as they cannot be changed while Explorer has an open handle on them.
This also causes a DoS situation where large AVI's are stored on remote shares and Explorer keeps reading the files from beginning to end each time they are accessed.
To correct this misbehavior in Windows XP, remove the following registry key.
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32
This will prevent Explorer from loading shmedia.dll in response to file property queries on these files. This will not effect your ability to play files, get file attributes, or even view thumbnails. Say goodbye to all explorer.exe 100% CPU issues.
And Solution #2 (basically does the same thing, except you are inactivating the file attributes option)...But it WORKS--No more locked .avi files:
Well windows seem to have a REALLY big problem when it comes to reading AVI files. It seems that when you click on an AVI file in explorer, it'll try to read the entire AVI file to determine the width,height, etc. of the AVI file (this is displayed in the Properties window). Now the problem with Windows is that if you have a broken/not fully downloaded AVI file that doesnt contain this info, Windows will scan the entire AVI file trying to figure out all these properties which in the process will probably cause 100% CPU usage and heavy memory usage.
To solve this problem all you have to do is the following:
1. Open up regedit
2. Goto HKEY_CLASSES_ROOT\SystemFileAs
sociations\.avi\shellex\PropertyHandler
3. Delete the "Default" value which should be "{87D62D94-71B3-4b9a-9489-5FE6850DC73E}"
Voila! Please note that this will no longer provide you with the windows properties displaying the AVI file information such as width, height, bitrate etc. But its a small price to pay for saving you resources.
I hope this will help someone out as it did for us.
This is a XP problem only.