How to setup a restricted local administrator group?
Restricting the Ability of Users to Create Computers
It is highly recommended that you close this loophole so that non-administrative users cannot join computers to the domain.
To change the ms-DS-MachineAccountQuota attribute, follow these steps:
- Open ADSI Edit from the Administrative Tools folder.
- Right-click ADSI Edit and click Connect To.
- In the Connection Point section, click select Default Naming Context from the drop-down list.
- Click OK.
- In the console tree, expand Default Naming Context.
- Right-click the domain folder “dc=yourname,dc=com”, for example and then choose Properties.
- Select ms-DS-MachineAccountQuota and click Edit.
- Type 0 and click OK.
How to use group policy preferences to secure local administrator groups website
NB:: Do the following also, make sure the domain and itsupport admins can add computers.
Better to prestage, computers first.
Add Workstations to the domain
Typically, you’d only want your IT staff to be able to add computers to the domain.
In order to really be able to delegate and secure this kind of activity, there are 2 places that need some configuration
- Edit the GPO that is applied to your DC’s – Go to “Computer Configuration – Policies – Windows Settings – Security Settings – Local Policies - User Rights Assignments
- Edit “Add workstations to the domain”, remove “Authenticated Users” (Default Policy) or “BUILTIN\Administrators” (WSSG EC Policy) and add your IT Staff users.
- If changing this setting breaks your attempt to add a new DC to the Domain, you may have to add your Domain Admins/Enterprise Admins group as well.
- Open Active Directory Users & Computers. Go to View and enable “Advanced Features”. Right-click “Computers” and go to the Security tab. Make sure regular users (Authenticated Users, etc) have read-only rights.
- You don’t need to add your IT Staff to the ACL. After all, it would be much better to create a separate OU structure, grant access to that OU, and set necessary permissions to the OU to the IT Staff.
- This way they can pre-create the computer objects before adding a computer to the domain. That is the best way to manage your computer objects (or at least the addition of computer objects in your environment)