I have the sid of the owner of a file, and I am using it to call LookupAccountSid ( http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx ) so that it returns the name of the owner + the domain.

When I do this, I often get the owner as "Administrators",
while ReferencedDomainName returns "BUILTIN".

In the referencedDomainName section in the MS documentation regarding the function (in the link above) it says:
"Some accounts are predefined by the system. The domain name returned for these accounts is BUILTIN."

Although I would like to distinguish between files that are owned by administrators on different domains.

Is there a way to get:
local machine name or sever name\Administrators?