943,640 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Jan 3rd, 2008
0

Unable to delete a file

Expand Post »
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
Similar Threads
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,947 posts
since Aug 2005
Jan 3rd, 2008
0

Re: Unable to delete a file

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
Reputation Points: 39
Solved Threads: 12
Junior Poster
Comodore is offline Offline
110 posts
since Dec 2007
Jan 3rd, 2008
0

Re: Unable to delete a file

>>cut it from its folder and paste it into the recycle bin
Didn't work. Here is the error message
Attached Thumbnails
Click image for larger version

Name:	ErrorMsg.jpg
Views:	84
Size:	23.3 KB
ID:	4718  
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,947 posts
since Aug 2005
Jan 3rd, 2008
0

Re: Unable to delete a file

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
Reputation Points: 39
Solved Threads: 12
Junior Poster
Comodore is offline Offline
110 posts
since Dec 2007
Jan 3rd, 2008
0

Re: Unable to delete a file

>>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.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,947 posts
since Aug 2005
Jan 3rd, 2008
0

Re: Unable to delete a file

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.
Reputation Points: 34
Solved Threads: 102
Nearly a Posting Virtuoso
bobbyraw is offline Offline
1,316 posts
since Oct 2006
Jan 3rd, 2008
1

Re: Unable to delete a file

happened to me once. I easily deleted the file using dos commands from cmd
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Jan 3rd, 2008
1

Re: Unable to delete a file

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
Reputation Points: 39
Solved Threads: 12
Junior Poster
Comodore is offline Offline
110 posts
since Dec 2007
Jan 3rd, 2008
0

Re: Unable to delete a file

Click to Expand / Collapse  Quote originally posted by DimaYasny ...
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
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,947 posts
since Aug 2005
Jan 4th, 2008
0

Re: Unable to delete a file

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.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,947 posts
since Aug 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Vista and Windows 7 Forum Timeline: Code 10 + other issues
Next Thread in Windows Vista and Windows 7 Forum Timeline: Live File System errors





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC