Member of Administrator Group in Windows is Displaying Administrators as Owner

4

Currently (and by default, I suppose), when a member of the Administrator group in Windows creates a file, the Administrators group has ownership of that file. How can I go about changing the default to display the actual username of the member of the Admin group in that file's ownership tab, rather than manually assigning it?

jawn

Posted 2014-02-07T20:15:07.977

Reputation: 41

We track ownership of files for tracking productivity, and displaying the actual username, rather than Administrators by default, would make this process easier. – jawn – 2014-02-07T20:27:15.417

1You might want to put that expiation in the question – Ramhound – 2014-02-07T21:33:45.097

Answers

5

Commenters here might not have understood that one might want this. But Microsoft did. There's been a local/group policy setting in Windows since Windows NT 5.2 ("XP" and "Server 2003") that controls this. Just flip the setting and restart. It is named Default owner for objects created by members of the administrators group.

Note that the versions of Windows where this is in fact the default, as you describe it in the question (without, of course, giving the version of Windows you are using), are those prior to the introduction of User Account Control in Windows NT 6. With User Account Control, the default is for administrators get a filtered process token with only standard user rights and the behaviour described doesn't happen. Standard user tokens cause the creator/owner to be the standard user SID. To get the non-default behaviour, one has to explicitly use the full administrator process token, such as by giving consent at a UAC elevation prompt for example, or by disabling UAC.

Further reading

JdeBP

Posted 2014-02-07T20:15:07.977

Reputation: 23 855

Or one could just read the Microsoft documentation on this very subject that I gave as further reading in the actual answer. (-: – JdeBP – 2016-11-30T09:08:52.983

I was not aware of the group policy great answer. – Ramhound – 2014-02-07T21:33:24.503

Isn't this true only up to Sever 2003? I'm attempting to do this on Windows Server 2012. – jawn – 2014-02-07T21:57:41.407