'Cannot Delete ______. File is in use by program/process.' Forceable? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 01-02-2005, 10:56 AM   #1 (permalink)
Monster Techie
 
Join Date: May 2004
Location: USA
Posts: 1,178
Question 'Cannot Delete ______. File is in use by program/process.' Forceable?

Does anyone know of a way to forceably delete these files? I have the trouble of running across them frequently, and never remembering to delete them on the next boot up. I would think there would be a program to delete a file--that would close any process(es) that are linked to that file...but I have no idea what to look under. Does anyone know if that exists?
__________________

__________________
Vormund is offline  
Old 01-02-2005, 11:18 AM   #2 (permalink)
Super Techie
 
Join Date: Oct 2004
Posts: 476
Default

Try going into safe mode and deleting them using MS-DOS or if you can, load up DOS without windows loading.
__________________

__________________
Hugo82 is offline  
Old 01-02-2005, 03:40 PM   #3 (permalink)
Wizard Techie
 
Join Date: Jul 2003
Posts: 3,937
Default

if that doesn't work and you're using winXP/2K or any OS using an NTFS filesystem you'll need to take ownership of the file to be able to delete them:

http://support.microsoft.com/?kbid=308421

scroll to the bottom to see the replies:
http://www.experts-exchange.com/Oper..._21218195.html
ekÆsine is offline  
Old 01-03-2005, 06:59 AM   #4 (permalink)
Monster Techie
 
Join Date: May 2004
Location: USA
Posts: 1,178
Default

Sorry, I guess I didn't state clearly what I meant! The thing is, I don't want to reboot the PC, boot to DOS, or go into Safemode. I was hoping there would be a utility that could foreably close any "processes" and/or "programs" that the error claims is using that file...Hence, making it so you didn't have to reboot. Maybe that doesn't exist? Might be a big security risk I guess. Ideas?

Thanks both!
__________________
Vormund is offline  
Old 01-03-2005, 09:54 AM   #5 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

you should be able to kill explorer.exe in the task manager. you'll lose your desktop. With task manager still open click File | new task. run explorer.exe. now try to delete the file
office politics is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 02:27 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.