Automatically add newly created computers to Groups

Posted on 2012-09-19
Last Modified: 2012-10-15
Hi all,

Basically when creating a new workstation and joining this to the domain, this by default goes under Domain Computers.

This computer I then have to manually move this to any security groups I have previously created (something that can easily be forgotten)

Is there any way I can organise or group computers so that they go into groups automatically?

Ideally if this can be done via IP ranges as we have multiple IP subnets across the globe, just wondering if this is actually possible?
Question by:Mikoyan_2010
    LVL 6

    Accepted Solution

    You can pre-create the computer accounts in AD within the OU and assign any security groups you require (this can all be scripted) and then once the computer registers to the domain it'll link to the empty account where you wanted it.

    Author Comment

    Sorry how do you mean pre-create?

    When adding the machine to the domain, only then do I see the machine added to the Domain Computers group, I then have to manually add this machine to various groups.
    LVL 23

    Expert Comment

    by:Nagendra Pratap Singh
    You can create a machine account in an OU. When you bring the machine online and add it to the domain, it will go and attach itself to the pre existing account.

    BTW you can have site based GPOs which may be able to help.

    Also you may use wildcards + script to add NYCWKSTN* etc to NYworkstations group.

    Author Comment

    thats great info, any ideas on the scripts?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now