How to prevent administrator from deleting folder Windows server 3K

I want to block the administrator logonfrom being able to delete files and/or the folder that contains them.  I need to call scripts using the administrator logon, but want to block it from being able to delete any files in the folder.
eshapleyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Patrick BogersConnect With a Mentor Datacenter platform engineer LindowsCommented:
Then the admin is probably the owner for that folder, change the owner first in that case.
0
 
Patrick BogersDatacenter platform engineer LindowsCommented:
So in the folder properties edit the admin and only allow read and traverse file, disable write and modify. No need to explicitly set deny rights.
0
 
eshapleyAuthor Commented:
If only it were that easy.  Is your solution referring to properties found in advanced tab, or in the securities tab only.  The issue I am having is that when I change one of the permissions a new entry admin entry gets created in the advanced tab.  I can remove the new entry, but still, nothing takes affect.
0
 
KCTSCommented:
The simple answer is that you can't - Even if you remove the permission, being an administrator, the administrator could just give themselves the permission back again.
0
 
Patrick BogersDatacenter platform engineer LindowsCommented:
True but they need to take this extra step.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.