Home » Questions » Computers [ Ask a new question ]

Windows 7 indicates "you need permission to perform this action" (deleting file) [duplicate]

Windows 7 indicates "you need permission to perform this action" (deleting file) [duplicate]

I'm logged in as an Administrator on Windows 7. When I try to delete a folder (which shows Security settings indicating that Administrators have FULL access) I get a message that :

Asked by: Guest | Views: 293
Total answers/comments: 2
Guest [Entry]

"I figured it out:

The file is owned by SYSTEM (system service)

You have to change the ownership via command line: takeown /f (this is from How To Geek which then recommends using the CACLS command but that's been deprecated and it's easier to do it via the Security interface)

Right click the file and choose Properties> Security tab> choose Administrators (if you are one) then set the Edit Permissions, setting it to FULL."
Guest [Entry]

"In my case I was trying to delete a folder from a network share which was write-protected.

Because the PCs had similar names I didn't realize that I was working on the remote folder instead of the local folder.

Solution: simply delete the correct (local) folder."