Automatically moving computer objects in Windows 2008 DC

Posted on 2012-08-31
Last Modified: 2012-09-02
Hi team,

I am setting up a new Windows 2008 / Windows 7 environment.

All our IT staff will have the ability to add computers to the domain. Computer objects are automatically created under computers in AD by default. What is the easiest way to have these automatically moved to Organisational folders say, based on IP address?

Can windows do this already some way? or do we need to write a script or exe to monitor AD and move them?

I'm sure someone has a way to do this efficently. Thanks.
Question by:zarok
    1 Comment
    LVL 29

    Accepted Solution

    I don't know of a good automatic way to move the computer objects to a new OU.  But, it can be done relatively easily in power shell.
    The microsoft script guy wrote a script to do it in a general way, and a longer more complicated script to move them based on IP address.  That full script is linked at the end of the article, and points to the Technet Gallery.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
    Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
    This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
    This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

    730 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

    18 Experts available now in Live!

    Get 1:1 Help Now