How do I tell if a certain AD user has admin rights on a Server 2003 box? I'm using Enterprise Edition.
|
It depends if the server is a domain controller or not. If it's not a domain controller, all users have admin rights, who are members of the local Administrators Group (see Computer Management > Local Users and Groups - Administrators.) If the server is a domain controller, users who a members of the Administrators Group or the Domain Admins Group or the Enterprise Admins group (if there is a forest of domains), have admin rights on that particular server. The Domain Admins Group is by default member of all Administrator groups on all computers that are in the domain. Here you can find a list of Active Directory built-in Groups and Accounts:
|
||||
|
|
|
Server local groups (such as a server's Administrators group) are not available via AD. You have to look in the Administrators group on the server. This post has a script that will enumerate the local admin group remotely. |
||||
|
|
|
If the box is a member server check in the local Administrators group on the server. If it's a Domain Controller check in both Administrators and Domain Admins in Active Directory Users and Computers tool. |
|||
|
|
|
You could also run the 'gpresult' command while logged onto the server as the user in question. (if that is possible in this case) You'll get a nice list of the groups they're a member of, including BUILTIN\Administrators. |
|||||
|