Unable to delete a file

Thread Solved

Join Date: Aug 2005
Posts: 15,494
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Unable to delete a file

 
0
  #1
Jan 3rd, 2008
Trying to delete d:\windows\gzip32.exe (my vista installation) but can't, nor can I rename it. If I copy it I can't delete the copies either no matter where I put them. I now have three other copies that I can't delete.

Anyone know a solution to this:

Things I have tried and failed to resolve the problem,
  • Reboot
  • Reboot into Safe Mode
  • Reboot with XP Pro
  • Empty recycle bin
  • View properties, the file is not hidden or read-only
  • View task manager. It doesn't seem to be an orphan process or application.

Any other ideas ?

Thanks
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 110
Reputation: Comodore is an unknown quantity at this point 
Solved Threads: 12
Comodore's Avatar
Comodore Comodore is offline Offline
Junior Poster

Re: Unable to delete a file

 
0
  #2
Jan 3rd, 2008
I had a similar problem... The way it worked for me was to cut it from its folder and paste it into the recycle bin, but that doesn't sound like it will help you. Hm.

Does it give you an error message?

Maybe if you went into safe mode you could take ownership of the files in question? This helped me once on my XP machine.

Post back and I'll help you further- I'm stumped right now!

Good luck,

--The Comodore
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,494
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Unable to delete a file

 
0
  #3
Jan 3rd, 2008
>>cut it from its folder and paste it into the recycle bin
Didn't work. Here is the error message
Attached Thumbnails
ErrorMsg.jpg  
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 110
Reputation: Comodore is an unknown quantity at this point 
Solved Threads: 12
Comodore's Avatar
Comodore Comodore is offline Offline
Junior Poster

Re: Unable to delete a file

 
0
  #4
Jan 3rd, 2008
Its strange that Safe Mode doesn't help then. Did you try taking ownership?

Another thing you can do is use a BartPE or Ulitmate Boot CD (do you have one?) so that none of your hard drive's files will be in use by anything- these things are their own operating systems on a CD.

I recommend the UBCD: www.ubcd4win.com The site is very helpful in creating one if you don't have one, but post back with questions!

Once you create the disk, boot off of it, look near the bottom for a windows explorer-like option (its next to the "start" button), find the files in question, and try to delete them.

Good luck,

--The Comodore
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,494
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Unable to delete a file

 
0
  #5
Jan 3rd, 2008
>>Its strange that Safe Mode doesn't help then. Did you try taking ownership?
Vista doesn't permit changing ownership of individual files. And I tried to remove the read-only flag from the directory d:\windows, it went through all the motions but didn't work.

>> recommend the UBCD
I downloaded and installed the file ok. But it doesn't support Viata (yet anyway) and XP Pro install CD must contain SP1 or better, mine doesn't. So I can't use that either.

Thanks for all those suggestions anyway.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,294
Reputation: bobbyraw is an unknown quantity at this point 
Solved Threads: 96
bobbyraw's Avatar
bobbyraw bobbyraw is offline Offline
Nearly a Posting Virtuoso

Re: Unable to delete a file

 
0
  #6
Jan 3rd, 2008
do a search for the file, if is shows up in another directory other than what you are tying to delete delete the other first, look if it is runnig as a process/service. stop it and try to delete disable User access control on the pc then try to deleted
Last edited by bobbyraw; Jan 3rd, 2008 at 8:37 pm.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,765
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: Unable to delete a file

 
1
  #7
Jan 3rd, 2008
happened to me once. I easily deleted the file using dos commands from cmd
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 110
Reputation: Comodore is an unknown quantity at this point 
Solved Threads: 12
Comodore's Avatar
Comodore Comodore is offline Offline
Junior Poster

Re: Unable to delete a file

 
1
  #8
Jan 3rd, 2008
Strange, I created my UBCD on vista? You have to run it as an administrator (by right clicking). As for not having SP1 or better, I think the website has some help for that under "Slipstreaming", where you can take care of that.

Here it is: http://ubcd4win.com/slipstream.htm

Its good to have a UBCD on hand anyways- its pretty much an all-purpose tool, and is very useful against malware and viruses.

These other suggestions sound good, so if they don't work, please post back.

Hope everything turns out alright,

--The Comodore
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,494
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Unable to delete a file

 
0
  #9
Jan 3rd, 2008
Originally Posted by DimaYasny View Post
happened to me once. I easily deleted the file using dos commands from cmd
Such a simple solution -- now why didn't I think of that It worked. Thanks
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,494
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1478
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Unable to delete a file

 
0
  #10
Jan 4th, 2008
I finally finished creating the UBCD4Win bootable DVD. Thanks for pointing me to that site. I booted up with it and it appears to have a lot of useful utilities that help with windows problems.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows Vista and Windows 7 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC