Friday, July 13, 2012

Increase the number of workstations a user can join to a domain



Increase the number of workstations a user can join to a domain
Change the number of machines a user can join to a domain by editing the ms-DS-MachineAccountQuota attribute with ADSI Edit.
 How to increase the number of machines a user could join to a domain.
By default, Active Directory allows members of the Authenticated Users group to join up to 10 computer accounts to the default Computers container. If a user tries to add more than 10 workstations, they are likely to receive one of the following error messages:


“The machine account for this computer either does not exist or is unavailable.”

“Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased.”

“The following error occurred attempting to join the domain “domain.com”.
 Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased.”

According to MSKB articles 251335 and 314462, there are three ways to resolve this problem:
Pre-Create the User’s Computer Account
Grant the “Create Computer Objects” and “Delete Computer Objects” Access Control Entries (ACEs) to the User
 Override the Default Limit of the Number of Computers an Authenticated User Can Join to a Domain

While the first two solutions will solve the problem, it’s the third one that we’re most interested in, as it actually changes the default limit on the number of workstations a user can join to the domain.
Using ADSI Edit to set the ms-DS-MachineAccountQuota attribute

The number of workstations a user can join to a domain is configured by the ms-DS-MachineAccountQuota attribute. Using the Active Directory Service Interfaces Editors (ADSI Edit) you can manage Active Directory objects and attributes.

To run ADSI Edit on Windows Server 2003 or Windows XP machines, you’ll need to install Windows Server 2003 Support Tools, which you’ll find on the Windows Server 2003 CD or the Microsoft Download Center. If you’re running Windows Server 2008, ADSI Edit is installed as part of the Active Directory Domain Services (AD DS) role, which makes the server a domain controller. You can also install the Remote Server Administration Tool (RSAT) on server that aren’t domain controllers.  On machines running Windows Vista SP1 or Windows 7, you must install RSAT to use ADSI Edit.

Once you have ADSI Edit installed, you can change the ms-DS-MachineAccountQuota attribute with the following steps:
Click Start | Run | and enter adsiedit.msc.
Expand the Domain node and locate the object that begins with “DC=” and contains the domain name of the domain your interested in.
 Right on the “DC=” object and click Properties.
 Locate the ms-DS-MachineAccountQuota attribute on the Attribute Editor tab and click Edit.
 On the Integer Attribute Editor dialog, enter the number of workstations you want users to be able to add. You can enter 0 to prevent users from joining any workstations to the domain or clear the value to remove the limit.
 Once you’ve entered the appropriate value, click OK to close the Integer Attribute Editor dialog box and OK again to close the Properties box.
 Close ADSI Edit.
Using the command line or VBScript to set the ms-DS-MachineAccountQuota attribute

While most Microsoft documentation on editing the ms-DS-MachineAccountQuota attribute relies on the ADSI edit method outlined above, you could also use the command line or VBScript. For examples of these methods, check out the article “Recipe 8.11. Changing the Maximum Number of Computers a User Can Join to the Domain,” from the CodeIdol.com.

Courtesy:-http://www.techrepublic.com

2 comments:

  1. Hi everyone, I'm new here. Count me as one who thinks that Bradley's irregular features were one of his greatest charms. Especially his teeth. I'm mourning his teeth more than anything, even more than the beautiful deceased blond hair. I don't get why people have to "fix" what is already perfect... Crying
    Anyway, I have to admit that he looks gorgeous in izombie, even if it's hard to recognize our adorable blond Arthur.

    Modular Workstations Chennai

    ReplyDelete


  2. dressing rooms companies in egypt company in Egypt, the latest shapes and the most luxurious designs of different dressing room that suit the tastes of different people, including the service of designing the dressing room from the following: -

    All kinds of styles of dressing rooms are available in forms of dressing room classic, modern, and new classic

    ReplyDelete