<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Undeletable file</title>
	<link>http://ask.metafilter.com/29550/Undeletable-file/</link>
	<description>Comments on Ask MetaFilter post Undeletable file</description>
	<pubDate>Fri, 23 Dec 2005 01:30:21 -0800</pubDate>
	<lastBuildDate>Fri, 23 Dec 2005 01:30:21 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Undeletable file</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file</link>	
		<description>On Windows XP, I have a problem deleting an .avi file.  Please help? &lt;br /&gt;&lt;br /&gt; It always says &quot;another program or user is using this file&quot;, even after restart.  I know it really is an .avi, as i watched it once long ago.  I have other .avi files that behave normally...&lt;br&gt;
&lt;br&gt;
Any idea how I can delete this mother, and / or why it seems to be locked like this?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.29550</guid>
		<pubDate>Fri, 23 Dec 2005 01:27:34 -0800</pubDate>
		<dc:creator>Meatbomb</dc:creator>
		
			<category>windows</category>
		
	</item> <item>
		<title>By: Firas</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466140</link>	
		<description>Maybe &lt;a href=&quot;http://www.dr-hoiby.com/WhoLockMe/index.php&quot;&gt;WhoLockMe&lt;/a&gt; can help? I haven&apos;t tried the utility out though. I sympathize; I despise that message&amp;mdash;I want the damn computer to do what I tell it to!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466140</guid>
		<pubDate>Fri, 23 Dec 2005 01:30:21 -0800</pubDate>
		<dc:creator>Firas</dc:creator>
	</item><item>
		<title>By: Akeem</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466141</link>	
		<description>Try disabling the &quot;indexing service to index this disk for fast file searching&quot; in the properties of the Hard Drive.&lt;br&gt;
&lt;br&gt;
Alternativley, there are utilities that will delete/remove a file after a reboot, during windows boot up.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466141</guid>
		<pubDate>Fri, 23 Dec 2005 01:34:41 -0800</pubDate>
		<dc:creator>Akeem</dc:creator>
	</item><item>
		<title>By: Firas</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466142</link>	
		<description>Also, if push comes to shove and you need to browbeat the PC, boot using a &lt;a href=&quot;http://kanotix.com/index.php?&amp;newlang=eng&quot;&gt;Kanotix&lt;/a&gt; Linux LiveCD and open the drive in there and hit delete on the file. I mainly suggest this because I&apos;m surprised that a restart doesn&apos;t take care of your problem.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466142</guid>
		<pubDate>Fri, 23 Dec 2005 01:35:55 -0800</pubDate>
		<dc:creator>Firas</dc:creator>
	</item><item>
		<title>By: whir</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466145</link>	
		<description>Booting in safe mode (keep hitting F8 while it&apos;s starting up, before you get to the Win XP loading screen) and then trying to delete it would be the next step I would try, and might be simpler than te above (though they&apos;re all good ideas).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466145</guid>
		<pubDate>Fri, 23 Dec 2005 01:40:17 -0800</pubDate>
		<dc:creator>whir</dc:creator>
	</item><item>
		<title>By: Rhomboid</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466146</link>	
		<description>It&apos;s because you&apos;re trying to delete it in Explorer, which tries to open the file to generate a thumbnail preview when you select it.  However, if the file is slightly corrupted or malformed in some way, this fails and it leaves a handle open.&lt;br&gt;
&lt;br&gt;
You can verify this by using Process Explorer&apos;s &quot;search handles&quot; function - just enter part of the filename and it will tell you the process.  I bet $5 that it will show &quot;explorer.exe&quot;.&lt;br&gt;
&lt;br&gt;
Kill that process and delete it from the command prompt.&lt;br&gt;
&lt;br&gt;
Then &lt;a href=&quot;http://www.winguides.com/registry/display.php/1209/&quot;&gt;disable that god awful AVI preview bullshit&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466146</guid>
		<pubDate>Fri, 23 Dec 2005 01:40:24 -0800</pubDate>
		<dc:creator>Rhomboid</dc:creator>
	</item><item>
		<title>By: blag</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466166</link>	
		<description>Rhomboid is correct: this is a bug in XP which is triggered by a corrupt DivX .avi file. When you go to view the file in explorer, it tries to read the entire contents of the file in order to produce a thumbnail. If the file is corrupt, the process just hangs but leaves the file &quot;locked&quot; so that other programs can&apos;t alter it. Apparently it is the fault of shmedia.dll, for those that are interested...&lt;br&gt;
&lt;br&gt;
Step-by-step instructions to get rid of it:&lt;br&gt;
&lt;ol&gt;&lt;li&gt;Open a Command Prompt window and leave it open. Close all open programs.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Click Start, Run and enter TASKMGR.EXE&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Go to the Processes tab and End Process on Explorer.exe. Leave Task Manager open.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Go back to the Command Prompt window and change to the directory the .avi (or other undeletable file) is located in.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;At the command prompt type DEL &lt;i&gt;filename&lt;/i&gt; where &lt;i&gt;filename&lt;/i&gt; is the file you wish to delete.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Close Task Manager.&lt;/li&gt;&lt;/ol&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466166</guid>
		<pubDate>Fri, 23 Dec 2005 03:30:24 -0800</pubDate>
		<dc:creator>blag</dc:creator>
	</item><item>
		<title>By: suni</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466194</link>	
		<description>&lt;a href=&quot;http://www.sysinternals.com/Utilities/ProcessExplorer.html&quot; title=&quot;www.sysinternals.com/Utilities/ProcessExplorer.html&quot;&gt;process explorer&lt;/a&gt; (free) shows you which program uses/locks a certainf ile at the moment&lt;br&gt;
a pretty essential winxp tool imo</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466194</guid>
		<pubDate>Fri, 23 Dec 2005 05:09:20 -0800</pubDate>
		<dc:creator>suni</dc:creator>
	</item><item>
		<title>By: suni</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466195</link>	
		<description>certain file* hmpf</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466195</guid>
		<pubDate>Fri, 23 Dec 2005 05:11:58 -0800</pubDate>
		<dc:creator>suni</dc:creator>
	</item><item>
		<title>By: Meatbomb</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466203</link>	
		<description>Thanks to all who answered...  lots of easy to follow advice here.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466203</guid>
		<pubDate>Fri, 23 Dec 2005 05:29:10 -0800</pubDate>
		<dc:creator>Meatbomb</dc:creator>
	</item><item>
		<title>By: gramcracker</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466217</link>	
		<description>You can also set Windows via a registry key so it doesn&apos;t try to read AVI files. There are a ton of links--just Google it.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466217</guid>
		<pubDate>Fri, 23 Dec 2005 06:04:54 -0800</pubDate>
		<dc:creator>gramcracker</dc:creator>
	</item><item>
		<title>By: skrike</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466489</link>	
		<description>This happens to me a lot. When I delete files I usually right click them and hit delete, or I left click and drag them to the recycle bin and select move here from the pop up. Ive found that almost all the time these dont work, a simple right drag to the recycle bin works where nothing else does. Dunno why. Maybe its just my system.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466489</guid>
		<pubDate>Fri, 23 Dec 2005 11:00:56 -0800</pubDate>
		<dc:creator>skrike</dc:creator>
	</item><item>
		<title>By: Navek Rednam</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#466675</link>	
		<description>There&apos;s a program called &lt;a href=&quot;http://www.snapfiles.com/get/moveonboot.html&quot;&gt;MoveOnBoot&lt;/a&gt; that will delete a file before it has a chance to be locked by the system.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.29550-466675</guid>
		<pubDate>Fri, 23 Dec 2005 14:16:54 -0800</pubDate>
		<dc:creator>Navek Rednam</dc:creator>
	</item><item>
		<title>By: sophist</title>
		<link>http://ask.metafilter.com/29550/Undeletable-file#546570</link>	
		<description>I second Navek&apos;s suggestion of MoveOnBoot.  I have used it numerous times for this exact problem with 100% success.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2006:site.29550-546570</guid>
		<pubDate>Sun, 26 Mar 2006 02:23:05 -0800</pubDate>
		<dc:creator>sophist</dc:creator>
	</item>
	</channel>
</rss>
