Populate lab with Prod AD info

Discussion in 'Active Directory' started by Charles_B, Aug 30, 2005.

  1. Charles_B

    Charles_B Guest


    I have built 2 windows 2000 DCs on MS Virtual Servers in my lab. I have
    given them the same FQDN and Netbios Domain Name and configured DNS and all
    that just like in our Prod environment on these 2 DCs.

    Can someone suggest tips on the most efficient way to populate this lab AD
    environment with our Production information such as OUs and Users and Groups

    My first thought was to introduce a DC on Virtual Server into our Prod
    environment and allow it to populate via replication and then copy the VHD
    and VMC files to a USB drive and introduce that Virtual Server in the Lab
    and allow it to populate the DCs I have built in there. Then DCPromo the
    Virtual Server in production to remove it. I am not being allowed to do
    this though by my senior staff.

    Does anyone have any suggestions on a free and relativly simple way to
    populate my lab AD with the same info contained in my prod environment?
    Charles_B, Aug 30, 2005
    1. Advertisements

  2. Charles_B

    Els Guest


    An easy way to accomplish this, is using ldifde (or csvde). These tools
    (standard in windows 2000/2003) allow you to export and import information
    from or to an active directory database.

    First export the information from your production environment (ldifde -m -f
    "outputfile.txt" -d "ou=yourou,dc=yourdomain,dc=yourdomain"
    This will export all the information in the ou "yourou" to a text file.

    You can then use ldifde again to import this information into your lab
    ldifde -i -f "outputfile.txt"

    Els, Aug 30, 2005
    1. Advertisements

  3. Charles_B

    Don Wilwol Guest

    Another possibility is to use dcpromo /adv. This will populate the database,
    and you can then seize the fsmo roles. It'll be easier than ldifde (or
    csvde). (Sorry, I always had to fight with them to make it work)

    Hope it helps


    Don Wilwol
    Don Wilwol, Aug 31, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.