You need permission to perform this action

matmos used Ask the Experts™
Restored some data from NAS after ransomware on a server data drive.

Some folders are fine but others have restored but wont allow me now to edit files / write or delete in the folders.

Despite taking ownership etc still get above message with
"You need permission to perform this action - You require permission from domainname\administrator to make changes to this file"   - I am logged in as administrator - have tried different accounts - adding everyone to security aswell.

I appreciate its best to reinstall after ransomware but this is just short term.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
systechSenior Technical Lead


It's definitely permission issue. When you add everyone with full permission, you need to also select "Replace all child object permission entries with inheritable permission entries from this object"

So, that the subfolders too get access from within the root folder. Also, go to advanced and make sure domain\administrator is the owner which got full permissions.

If everyone didn't work, try with "Authenticated Users" and see if it works?
Fractional CTO
Distinguished Expert 2018
Windoze has a bizarre permission system.

Sometimes the best way to fix this is to connect the drives to a Linux machine + do permission resets.

I suspect if you dig deep enough into the docs, you'll find some of the special permissions have been set. lists all the permissions.

Pick one directory + file + record all permissions + then start making changes.

Best to only make one change at a time + retest. When you figure out which permission bit is set which is causing you problems, then you can determine best fix this globally.

Some people erroneously start mucking around, setting + desetting random bits, looking for a solution.

This can seriously munge up permissions required to be on certain files for certain purposes.

Resist the urge. Change one setting + retest, will save you much grief in the end.
Seth SimmonsSr. Systems Administrator

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: David Favor (https:#a42316732)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial