up vote 7 down vote favorite
2
share [g+] share [fb]

I downloaded a file from the internet (I can link to it here, but in the interests of not annoying other users, I won't post the link), and I can't delete the file with the message:

You need permission to perform this action You require permission from the computer's administrator to make changes to this file

Trouble is, I am the administrator and UAC is completely off.

If I go into the Properties/Security tab, I get the message

You do not have permission to view or edit this object's permission settings

Clicking "Advanced"/Owner, it says:

Current owner: Unable to display current owner.

If i try to change the owner, I get the same message:

Unable to set new owner on file Access is denied.
link|improve this question

63% accept rate
Did you check if its being used by another process? – Sevki Dec 6 '09 at 16:18
feedback

5 Answers

up vote 8 down vote accepted

Give Unlocker a try. If there is any open file handle it will let you close it so you can successfully delete the file.

alt text

If that doesn't work for some reason, try BootDeleter. It will delete the file for you upon reboot, before Windows has a chance to lock it on you.

alt text

Both utilities are freeware.

link|improve this answer
Boot deleter did it. ty. – bobobobo Dec 7 '09 at 6:45
Boot deleter worked awesome! – Jorin Aug 18 '11 at 14:30
@Jorin glad to hear it :) – John T Aug 18 '11 at 14:31
feedback

Try Ultimate Windows Tweaker, which adds a "take ownership" element to the context menu.

alt text

Portable application, does not require an install.

link|improve this answer
Ultimate Windows Tweaker has moved to here and is up to version 2.2 as of now. IE9 support, etc. thewindowsclub.com/… – mrtsherman Apr 18 '11 at 16:43
feedback

I'm really distrustful of downloads that pull that kind of crap, assuming them to be hiding for a nefarious reason. I have two uninstallers on this machine- Unlocker and Revo. I use Unlocker 99% of the time because it gets it done.
I recommend you install either of these and use one to delete the download in question. In the case of Unlocker, after you have attempted to access the download, and after you quit the error mssg, Unlocker will auto-open. In the bottom- left corner, select delete. Go to the bottom right and click on "unlock" or "unlock all"

Finally, it does not matter that an app is being used by another individual or isn't. Unlocker knows that this error is often a ploy used by these stubborn things and Unlocker will attend to it.

Incidentally, as far as I'm concerned, posting the name/location of the offending download is a public service, not an annoyance.

link|improve this answer
feedback

Sometimes it just won't let you change permissions because some process is using the file, or if you are trying to edit a folder's properties, then a process has a file that is within that dir or subdir open.

I had the problem described today, and I solved it by opening Process Explorer. Then, I went to the "Find" Menu, and selected the "Find Handle or DLL" option. In the dialog that comes up, I searched for the name of the folder I was having issues with. The search results told me which process had an open file within the folder. I killed the process, and then I had no problems with that folder's permissions.

link|improve this answer
feedback

Thumbs up for Process Explorer, fixed it as I couldn't delete a subfolder of some TV episode I downloaded. Found out it was due to Windows Media Center that my XBOX360 invoked when I recently watched some streaming media on my TV via Windows Media Center app on it.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.