I'm trying to delete a folder as an administrator, but I get the message "You require permission from UserAdam to delete folder". The problem is, I am logged on as UserAdam! I've tried changing the owner to Administrator to no avail also.
Right-click the file or folder, and then click Properties. Click the Security tab. Under Group or user names, click your name to see the permissions that you have. Click Edit, click your name, select the check boxes for the permissions that you must have, and then click OK.
Solutions to “You Need Permission to Perform This Action” If the system tells you that you don't have permission to access a file or folder, you should try these solutions to fix the access denied error. Change the owner of target file or folder. Change the security permissions. Run an SFC scan.
I ran into the same problem: tried to delete a folder (as admin), but got an error message "You need permissions from MYCOMPUTER\Admin
..." Somehow this worked:
I just went into the folder and deleted everything inside. Now when I try to delete the folder, it works fine.
Not sure why, but it seems like you found a similar solution. However, there's no need to use FileAssassin, just simply highlight the folder contents and delete like normal.
I had the same problem, and I found a fairly simple fix that hasn't been mentioned yet and probably has the best chance of working.
Simply give full access to "Everyone" in the file's properties, then delete it right after.
To change the file's access, as administrator: open the context menu and go Properties -> Security -> Advanced
. This should bring up a new window that lists multiple users and their access to the file/folder, specifically Everyone
. Select Everyone
and click edit
. In the following menu, select Full Control
, then click OK
.
The file should now be accessible to everyone- including you- allowing it to be deleted.
This worked for me:
command prompt
as administratorrd /S /Q "P:\Ath\To\Directory"
I got no error and my folder was succesfully deleted.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With