Schema Admins and Enterprise Admins can change the whole forest. Nobody needs those rights day to day, so the groups should be empty until a job needs them.
Nobody holds forest-wide rights day to day.
Schema Admins and Enterprise Admins can change the whole forest, so standing membership is an unnecessary risk.
Remove Administrator from the groups and add an account back only for the job that needs it.
Finish Create a named domain admin account and sign in with that account. Running these commands as the new account proves it works.
See who is in them
foreach ($g in 'Schema Admins','Enterprise Admins','Group Policy Creator Owners') {
"{0,-28} {1}" -f $g, ((Get-ADGroupMember -Identity $g | ForEach-Object { $_.SamAccountName }) -join ', ')
}On a new domain, the built-in Administrator is in all three.
Take Administrator out
Remove-ADGroupMember -Identity 'Schema Admins' -Members 'Administrator' -Confirm:$false Remove-ADGroupMember -Identity 'Enterprise Admins' -Members 'Administrator' -Confirm:$false Remove-ADGroupMember -Identity 'Group Policy Creator Owners' -Members 'Administrator' -Confirm:$false
Administrator stays in Domain Admins, so it still runs the domain.
Check
Run the command from step 1 again. All three groups should be empty.
When a job needs them
A schema update or adding a new domain needs these rights for an hour. Add your account, sign out and in again, do the job, then remove it.
Add-ADGroupMember -Identity 'Schema Admins' -Members 'j.smith.da' # sign out, sign in, do the work, then: Remove-ADGroupMember -Identity 'Schema Admins' -Members 'j.smith.da' -Confirm:$false
Done when
Schema Admins, Enterprise Admins and Group Policy Creator Owners have no members, and you can still sign in as a domain admin.


