In this video we will be managing our Local Admins with Group Policy’s. In the first part i will show you how to delete all die local administrators and only leave the Domain Admins. In the second part we will be using the Managed By field in Active directory to assign a ‘Primary User’ to the workstation. With this the ‘Primary User’ has local admin rights only on that assigned workstation.
Screenshots + Ldap Query’s
1st LDAP Query:
1
| (&(objectCategory=computer)(objectClass=computer)(name=%COMPUTERNAME%))
|
2nd LDAP Query:
1
| (&(|(objectClass=group)(objectClass=user))(distinguishedName=%PrimaryUser%))
|