Destination Folder Access Denied - You need permission to perform this action in Vista
Windows Vista users who are trying to delete old files existing from windows xp mostly encounter this weird error message ‘Destination Folder Access Denied - You need permission to perform this action’. This happens even when you login as Administrator too. Don’t panic, if there is any super user.
WHY: In Windows Vista, user should have complete ownership of the file. For this reason you’ll have to take ownership of the files that are lacking ownership and prompt this error message.
SOLUTION:
Taking complete ownership can be done with help of two simple commands, yet so powerful. These are takeown (which takes ownership of a file or directory) and icacls (which sets new ACLs on that directory).
Instead of entering these commands manually for all folders, we can automate it. Download below Take_Ownership.reg and run it to load into registry. If your UAC is still active, you’ll have hit continue every time.
Now, when you hold shift and right-click on a file or folder ( the one with issue ) you will have the option of changing the ownership by
clicking ‘Take Ownership’.
You can confirm, if this worked by looking at file Properties > Details and in owner section be changed to Computername\Username.
If you enjoyed this post, make sure you subscribe to my RSS feed!
Related Posts:
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
July 28th, 2008 at 5:13 pm
I don’t understand… how do I download it??
July 28th, 2008 at 5:25 pm
Nevermind, I got it…!
I didn’t have the “save target as…” option, so I had to get it another way.
Not sure if it is my comp or what, so for anyone else who may need some help:
Click on the link and go to File > Save Page As… and add “.reg” to the end of the file name (”Take_Ownership.reg”). Then, change file type to “All files” and save to your desktop.
Double-click on the file. When prompted, click “Run” to install. You can then erase the file from the desktop. ‘Tis all.
Thanks for this! It worked perfectly
August 4th, 2008 at 11:42 pm
Am getting a slightly differnt version of this problem. I want to copy a file (txt, pdf, apparently anything) from my Vista desktop (or a net-drive that Vista accesses just fine) to a USB flash drive. I cannot do this. What is also strange is that a month ago I sucessfully copied a file to one of the same USB drives that I cannot do this to now — but I can copy that and any other files on any of my USB drives to my Vista desktop w/o problems. Oh, have tried the take ownership trick but no joy eitehr.
August 5th, 2008 at 7:56 pm
just unistal the antivirus,indeed AVG ANTIVIRUS and check to remove all the options and done
September 2nd, 2008 at 1:36 am
OMG…I looked everywhere and tried everything till I found this post…Yippee. I finally could delete that damn file and folder. I usually never reply to these posts, just read them for advice. However, this was so helpful for a non computer brat like me that I just had to say, “Thanks”.