Default location for newly created users and computers

Posted on 2006-05-03
Last Modified: 2008-02-01
As mentioned in, we can redirect the default location of users and computers. My question is, Can we do it based on the IP to Site assignment? We have sites defined in the AD and the relevant IP ranges are also defined. We want the new computers and users to be stored in different locations depending on the IP address of the originating host. Any clues?
Question by:ImranHashim
    LVL 4

    Author Comment

    And another thing to check is that if joining computer is a server, it should go to another OU.
    LVL 19

    Expert Comment

    To my knowledge that's only possible with 3rd party tools or scripting. You could create a script that's used when creating user and computer accounts that place them on certain OUs based on their site/ip-address.
    LVL 4

    Author Comment

    Thanks CoccoBill. But this is already known. We can even write scripts to find specific computers and move to OUs. What I am looking for is to have them there in first place.
    LVL 19

    Accepted Solution

    The only option I can see is changing the process of how user and computer accounts are created to use a script to place them in their correct locations, or to do it all manually. You can change the default container for created objects, but this cannot be made rule-based.

    Easiest way to make sure no "rogue" accounts are created, is to remove the rights to create these objects from other people than the administrators/support personnel tasked with these duties. Delegate the "add workstations to domain" -right and the rights to create user and computer objects to only the specified users/groups and only on the desired OUs, and advice them to use scripts created for this purpose.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 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

    13 Experts available now in Live!

    Get 1:1 Help Now