How can force to create a computer object before add the computer to a domain

Jhon Fredy 1 Reputation point
2021-08-18T14:58:11.487+00:00

Hi Team,

I remember when i was working in a company that before we can join a computer to the domain, the computer object must be create ahead in active directory.

How can Force to create a computer object before join the computer to a domain.

What setting is required to enable in GPO to enforce this.

Thanks..

Windows for business Windows Client for IT Pros Directory services Active Directory
{count} votes

7 answers

Sort by: Most helpful
  1. Anonymous
    2021-08-24T12:48:35.633+00:00

    You can use PowerShell
    https://learn.microsoft.com/en-us/powershell/module/activedirectory/new-adcomputer?view=windowsserver2019-ps

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

  2. Anonymous
    2021-08-19T02:45:30.837+00:00

    before we can join a computer to the domain, the computer object must be create ahead in active directory.

    There is no such requirement. The computer account will be created automatically during domain join process. If you wanted to do so anyway you can use PowerShell
    https://learn.microsoft.com/en-us/powershell/module/activedirectory/new-adcomputer?view=windowsserver2019-ps

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  3. Anonymous
    2021-08-23T14:19:02.65+00:00

    Just checking if there's any progress or updates?

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  4. Charles Thivierge 4,171 Reputation points
    2021-08-23T15:00:24.873+00:00

    By default, an authenticated user without domain admins or delegated permissions can join up to 10 computers in a domain. This value can be changed using the attribute ms-DS-MachineAccountQuota on the domain.

    The best option is what DSPatrick suggest

    0 comments No comments

  5. Jhon Fredy 1 Reputation point
    2021-08-24T12:33:54.387+00:00

    Hi thanks for the responses, but we need to enforce this policy that we mansion above because in sometimes the helpdesk team join computer to the domain without change the default name of a computers, and additionally each time the helpdesk team join a computer to the domain we need to move the object to the correct OU in order to take the GPO policies.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.