How do I export User's AD accounts in multiple OUs

Posted on 2010-01-05
Last Modified: 2012-05-08
We have OUs under OUs. Say, I have an OU named Texas, under Texas OUs, I have multiples OUs as Houston, Austin, Dallas.. How do I export them all out (Production Environment) and import to another DC (Test environment). I really mean to keep the same structures of OUs and users in specific OUs. Thanks in advance.
Question by:ITBoy
    LVL 4

    Accepted Solution

    If you're trying to do a test lab, I suggest you change it to a virtual machine.  You can use hyper-v, virtual server, virtual pc and vmware.  It's all free.  Just do a P2V conversion.  
    LVL 3

    Expert Comment

    Your best bet is to use the Active Directory Migration Tool (ADMT) it will allow you to migrate users by OU's.


    Author Comment

    Both Maco008 and Mahdvic suggestions are excellent. I tried P2V before, not ADMT. I am working as consultant, I like to use export and import rather than anything has to do directly on customer's server. With P2V, it may raise security concern and with ADMT I don't have experience on it, don't want to make mistake. Any suggestions on export and import? Thanks.

    Author Closing Comment

    P2V is the best simplest way to clone a system for testing. Thanks Maco008

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Suggested Solutions

    It is a known fact that servers reach the end of their lives. Some get there quicker than others, based on age, manufacturer, usage and several other factors. However, if your organization has spent time deploying Microsoft's Active Directory server…
    I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 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