The Windows XP operating system has a bug in regards to avi video files. Sometimes when you try to delete avi files on your system, either by hitting the delete key on your keyboard or choosing delete from the context menu, you will receive a permission denied error message. This is caused by Windows Explorer trying to retrieve information about the file as soon as you move your mouse over it or select it in the file browser. When that is happening, you can't move, copy or delete the avi file anymore as Explorer has locked the file which effectively blocks any attempt to manipulate it.
Now, the fix is fairly simple. Just fire up regedit by pressing the Windows and R key at the same time, typing in regedit in the form and tapping on the enter key. Find the following entry and remove it.
If you don't have that entry you have to find the registry key below:
Delete the default value which should be enough to get this issue sorted out.
Update: Windows XP users who do not want to edit their Registry for that, can install a file deletion tool like the excellent Unlocker instead which can delete files that cannot be deleted because they are still locked by the operating system or a process.
All it takes is to install Unlocker on the system, which adds context menu options to Windows Explorer. You need to restart the computer after installation before the new options become available.
Just select the unlocker option afterwards after you have selected the avi or avis in Windows Explorer. You then have options to delete the files right away or on next reboot. Both options should work just fine. Unlocker is fully compatible with the windows XP operating system, and also with newer versions of Windows.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.