Archiv Windows XP 25.916 Themen, 128.567 Beiträge

Zugriff auf Dateien verweigert, löschen/verschieben nicht möglic

RSI / 2 Antworten / Flachansicht Nickles

Ich habe ein kleines Problem mit Media Dateien, speziell Video Dateien unter WinXP.


Wenn ich manche Dateien verschieben/löschen möchte, erzählt mir der Explorer immer wieder, daß ein anderes Programm oder ein anderer Anwender schon auf die Dateien zugreift. Dies ist aber absolut nicht der Fall. Ich habe zum einen sämtliche Programme beendet, die nicht nötig sind und mit FileMon (von SysInternal) geprüft welche Programme auf die Datei zugreift. Außerd dem Explorer war von keinem Programm ein Zugriff festzustellen. Mein Vermutung liegt darin, daß der Windows Media Player (oder der Explorer) die Dateien offen hält, was ich allerdings nicht ganz nachvollziehen kann. Es ist auch nicht immer oder bei allen Video Dateien. Irgend wie scheinen es eher sehr große Dateien zu sein.


Nein, es sind auch keine Trojaner oder Viren am Werk, das kann ich 100%ig ausschließen.


Hat jemand einen Tip woran dies liegen könnte und wie man dies abschalten könnte?


 

RSI crust „Um was für Datein handelt es sich den? Vielleicht Systemdatein? Ansonsten...“
Optionen

Nein, es handelte sich um Media Dateien. In erster Linie um AVI.
Ich habe aber auf einer amerikanischen Seite eine Lösung gefunden, die mein Problem bereinigt hat.

Hier die Lösung aus einem amerikanischem Forum:

This is for XP users having problems with incomplete or corrupted avi files e.g when accessing them in explorer causes much processor and hard drive usage and when trying to delete, rename etc. can't because file in use by other process. This happens because explorer loads shmedia.dll that tries to get properties of avi e.g width, height, length etc. and has problems doing this with incomplete avi.
One solution is to use other than explorer to handle avi files e.g command prompt or some other file manager. Or you can prevent the shmedia.dll from loading when accessing avi files by clearing the value (Default) from the following registry tree HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler

You can do this by opening windows registry editor by selecting run... from the start menu and typing regedit.exe in the field then press enter. In regedit activate the my computer in the tree view and search SystemFileAssociations. When the key is found there browse for the key .avi and there shellex and there PropertyHandler. There click (Default) so you can edit its value and clear it. Or you can make .reg file with notepad or other plain ASCII text editor named e.g XP_avibugfix.reg that contains the following lines

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler]
@=""

After that run the .reg file by double clicking it to apply the changes into the Windows XP registry. And if you for some reason want to undo this later do other file named e.g. Undo_XP_avibugfix.reg containing lines

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler]
@="{87D62D94-71B3-4b9a-9489-5FE6850DC73E}"

One thing you could try is Process Explorer from http://www.sysinternals.com/ with it you can search the undeletable file/folder name and see what process has it open. With it you can also close that processes handle to that file/folder and after that you should be able to delete it.