"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

Windows Explorer auslastung steigt wenn Videodatei ausgewählt

vossi 09.11.2006 - 23:05 980 7
Posts

vossi

been there, done that
Avatar
Registered: Feb 2003
Location: Vienna
Posts: 1436
wie im Titel gesagt - immer wenn ich ne AVI datei anwähle steigt meine prozessorauslastung ins unermessliche / das explorerfenster stirbt fast.
Wenn ich datei dann sofort löschen / verschieben will dann gehts nicht wegen "noch im zugriff bla" - und das obwohl ich die detailansicht mit filmvoransicht gar nicht hab.

woran liegt das bzw. was kann ich gegen dieses ungewollte mist feature unternehmen?

mat

Administrator
Legends never die
Avatar
Registered: Aug 2003
Location: nö
Posts: 25375
check mal per regedit die .avi endung in HKEY_CLASSES_ROOT. dort sollte ein persistenthandler eingetragen sein. verfolge die CLASSIDs bis sie dich zu einer dll führen. vl kommst du auf ein bestimmtes programm das hier dazwischenfunkt.

daisho

SHODAN
Avatar
Registered: Nov 2002
Location: 4C4
Posts: 19578
Im Internet gefunden:

Zitat
It's the AVI bug in WinXP,,,
whenever you mouse over the movie it is in use...
use either MoveOnBoot to delete it or change the Registry Key to stop it altogether.

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}"

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.

vossi

been there, done that
Avatar
Registered: Feb 2003
Location: Vienna
Posts: 1436
vielen vielen dank :) werds gleich probieren ;)

Korky

Bloody Newbie
Registered: Jul 2003
Location:
Posts: 34
Achte darauf, dass du bei den Ordneroptionen nicht die Webansicht ausgewählt hast, sondern "Herkömmliche Windows-Ordner verwenden". Die Ansicht sollte auch nicht die Detailansicht sein.
Ansonsten fällt mir jetzt keine Lösung ein.

btw welches OS?

Spikx

My Little Pwny
Avatar
Registered: Jan 2002
Location: Scotland
Posts: 13504
Zitat von Korky
Achte darauf, dass du bei den Ordneroptionen nicht die Webansicht ausgewählt hast, sondern "Herkömmliche Windows-Ordner verwenden". Die Ansicht sollte auch nicht die Detailansicht sein.
Ansonsten fällt mir jetzt keine Lösung ein.

btw welches OS?
Mit dem Registry Fix braucht man sich da eh nicht mehr sorgen.
Siehe auch http://www.overclockers.at/showthre...;postid=1805565

vossi

been there, done that
Avatar
Registered: Feb 2003
Location: Vienna
Posts: 1436
der fix funzt 1A - ownage :)
Danke

vossi

been there, done that
Avatar
Registered: Feb 2003
Location: Vienna
Posts: 1436
über ein Jahr später und der Thread hat mir ein zweites Mal geholfen da ich vor kurzem auf Windows XP zurück bin .. sollte jemand ähnliche Probleme haben bzw. mit Dateizugriffen auf AVIs - hier ist die immer noch funktionierende Hilfe :)
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz