list of computers join the domain and move to different OU through group policy

anirban paul 1 Reputation point
2020-12-03T18:19:14.8+00:00

Hello Team,

i have three department (account, finance and sales), both have two servers each and i have single dc(abc.com).

i have three OU (account,finace and sales). my query, when i have join any servers from any of the department and it should going to dedicated created ou like account system going to account ou, etc..

Windows for business Windows Client for IT Pros User experience Other
{count} votes

1 answer

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2020-12-03T23:35:36.977+00:00

    Hi,

    It's not possible use a GPO to move a computer account to another OU.
    Below some options you can use to move the computer account to the right OU:

    • You can powershell script to move the computer account to right OU after the domain join
    • Create computer account before joining the machine to domain
    • Specify the right OU when you join the machine to domain : Add-Computer -DomainName "DomainName" -OUPath "OU=ServerOU,DC=domain,DC=Domain,DC=com"

    Please don't forget to mark this reply as answer if it help to fix your issue


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.