make computer member of specific domain group after joining domain

hi all ,

is there any way to make any computer who is recently joined the domain member of specific group  without even move to be member of it ?

Jaber MMAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Shaun VermaakTechnical SpecialistCommented:
What is your use-case?
Jaber MMAuthor Commented:
we are trying to add new machine to domain and Once the PC’s join the domain it should be part of user predefined group but it is not happening for the new machines being joined the domain .( i.e. not inherited  )
Shaun VermaakTechnical SpecialistCommented:
I get that, what will the group do?
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

Shaun VermaakTechnical SpecialistCommented:
Use redircmp to redirect default computer CN to a new/different OU

Schedule this PowerShell to run against this new/different OU and add a move afterwards
Import-Module ActiveDirectory;
$Group = "Some Group 1";
$OU = "OU=Workstations,OU=Computers,OU=Dunder Mifflin,DC=dundermifflin,DC=com";
Get-ADComputer -SearchBase $OU -Filter * | % {Add-ADGroupMember $Group -Members $_.DistinguishedName }

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rakesh KapoorCommented:
Do you want a Domain Computer to be part of any particular Group after it joins the Domain. If my understanding is correct then you can do the same using Group Policies.

If my assumption is not correct then request you to elaborate your question.
Jaber MMAuthor Commented:
@Rakesh Kapoor

yes i need Domain Computer to be part of particular Group after it joins the Domain. how this can be done using group policy ?

Shaun VermaakTechnical SpecialistCommented:
Will all computers eventually be part of this group?
Shaun VermaakTechnical SpecialistCommented:
Glad we could help.

@OP, experts and future visitors:
Please remember to endorse my, or any other expert's comments that you found helpful by clicking on the "Thumb's Up" button

Read more on endorsements
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.