
Earlier today, I thought to decongest my Hard Disk by deleting some files. To my surprise, I kept getting a “You need permission to perform this action. You require permission from S-1-5-21-188****” error while trying to delete certain heavy folders. I was able to resolve this issue rather effortlessly and wish to share what I did with you just incase you find yourself in the same situation.
How do I fix the “You need permission to perform this action” error?
What you’re going to do is simply change the ownership of the folder(s) in question. To do this:
Right-click the folder you wish to delete and select Properties

Click the Security tab

Click Advanced
Click Change (at the top)

Click Advanced

Click Find Now

Select the user account you’re currently logged into from the list (ensure its has Administrative privileges) and click OK

Click OK

Tick both Replace owner on subcontainers and objects (at the top) and Replace all child object permission entries with inheritable permission entries from this object (at the bottom) and click OK

Wait while permission switching takes effect. Click OK if prompted to confirm

Click OK to close the File properties window

You may now go back and retry deleting the folder

Hovatek….just a button away!
The only thing I have found to have actually fixed this error. Thank you