Wednesday, December 26, 2007

Domain Users Cannot Join Workstation or Server to a Domain

Windows 2K3 grants the "Add workstations to domain" privilege to the Authenticated Users group by default. When this privilege is enabled, authenticated users can bypass the access control list (ACL) check for up to a predefined maximum value. To prevent misuse, the maximum number of machine accounts any authenticated user can join is 10 by default.
To resolve this problem, use the appropriate method.

Method 1: Pre-Create the User's Computer Account

1. From the Active Directory Users and Computers snap-in, right-click the container where the account resides.
2. Click New, and then click Computer.
3. In the Computer name box, type the name of the Windows 2000-based computer that you want to add to the domain. Make sure the computer's name is also entered in the Computer name (pre-Windows 2000) box (this should occur automatically).
4. Click Change. Select the user or group that will be joining this computer to the domain, and then click OK.
5. If you want Windows NT 4.0 and previous operating systems to use this computer name object, click to select the Allow pre-Windows 2000 computers to use this account check box, and then click OK.


Method 2: Grant the "Create Computer Objects" and "Delete Computer Objects" Access Control Entries (ACEs) to the User

1. From the Active Directory Users and Computers snap-in, click Advanced Features on the View menu so that the Security tab is exposed when you click Properties.
2. Right-click the Computers container, and then click Properties.
3. On the Security tab, click Advanced.
4. On the Permissions tab, click Authenticated Users, and then click View/Edit. NOTE: If the Authenticated Users group is not listed, click Add and add it to the list of permission entries.
5. Make sure the This object and all child objects option is displayed in the Apply onto box.
6. From the Permissions box, click to select the Allow check box next to the Create Computer Objects and Delete Computer Objects ACEs, and then click OK.

Method 3: Override the Default Limit of the Number of Computers an Authenticated User Can Join to a Domain

You can override the default limit, using either of the following methods:
• Use the Ldp (Ldp.exe) tool included in the Microsoft Windows 2000 Resource Kit.
• Use an Active Directory Services Interface (ADSI) script to increase or decrease the value of the Active Directory ms-DS-MachineAccountQuota attribute. To do this:
1. Install the Windows 2000 Support tools if they have not already been installed. To install these tools, run Setup.exe from the Support\Tools folder on the Windows 2000 Server or the Windows 2000 Professional CD-ROM.
2. Run Adsiedit.msc as an administrator of the domain.
3. Expand the Domain NC node. This node contains an object that begins with "DC=" and reflects the correct domain name. Right-click this object, and then click Properties.
4. In the Select which properties to view box, click Both.
5. In the Select a property to view box, click ms-DS-MachineAccountQuota.
6. In the Edit Attribute box, type a number. This number represents the number of workstations that you want users to be able to maintain concurrently.
7. Click Set, and then click OK.

4 comments:

Hoda said...

Seems 2 face this problem somehow and have solved it using u're individual search methods and put the solution here.
THIS is what I call FaNtAbuLouS.
All the best

Anonymous said...

Hi there, I found your blog via Google whilst searching for a related subject, your web site got here up,
it seems great. I have bookmarked it in my google bookmarks.

Hello there, just became alert to your weblog through Google, and
located that it's really informative. I am gonna be careful for brussels. I will be grateful in case you continue this in future. Many other folks can be benefited from your writing. Cheers!

Also visit my blog - special compilation

Anonymous said...

You're so awesome! I don't think I have read a single thing like this before.
So nice to find someone with a few original thoughts on this topic.
Really.. thank you for starting this up. This web site is something
that's needed on the internet, someone with a bit of originality!

My site; only the best review

Anonymous said...

It's a pity you don't have a donate button! I'd without
a doubt donate to this excellent blog! I suppose for now i'll settle for book-marking and adding your RSS feed
to my Google account. I look forward to brand new updates and will share this site with
my Facebook group. Chat soon!

Stop by my web site: Dr Dre Beats