Clone your Active Directory in 12 minutes using VMWare

Anyone out there who runs a successful Microsoft Windows Active Directory, knows that it is pre-eminently useful to have a test environment that very nearly represents your production environment…to do…you know…testing!

I went to a VMWare Disaster Recovery seminar and one of the presenters described how easy it was for them to use and create a test environment by simply taking one of their existing, virtualized Domain Controllers, cloning it, attaching it to a private network, and off you go.

I thought I would give that a try, and here’s what I came up with.

  1. Shutdown and clone a Virtual Domain Controller with a 20GB disk drive, 4.5 minutes.
  2. Power-on and attach the virtual DC to a totally private network, visible only to other virtual machines on the same box, 15 seconds.
  3. Install DNS on the Domain Controller to allow for dynamic updates within the private network, 3 minutes.
  4. Seizing FSMO roles from Domain Controllers that aren’t in this private network, 3 minutes.
  5. Sit back in wonder, 45 seconds.

These simple steps aren’t completely error free. Because the DC I chose was a replication partner with a bunch of other DCs and Active Directory Sites, it was necessary to do some tweaking to remove the “defunct” Domain Controller properties from the Active Directory. That process is documented well, here: Remove old Domain Controller Settings from FRS and the Domain.

Also, step 4 isn’t immediately obvious since most Domain Administrators would be familiar with the GUI-mode way of transferring FSMO ownership. That transfer, though, requires that the current FSMO owner be online to accede the role. Which brings us to this article: How to forcibly transfer (or seize) FSMO Roles from one DC to another from Daniel Petri (a really great resource for Windows administrators, IMO).

There you have it, folks. How to clone your Microsoft Active Directory Domain Services using VMWare in less than 12 minutes!

Advertisements

33 Responses to “Clone your Active Directory in 12 minutes using VMWare”


  1. 1 Scott Lowe March 2, 2007 at 9:26 am

    I’m glad to see you pointing out “Step 4”, since I’ve seen some customers forget that part and then wonder why things aren’t very stable in their cloned lab environment. Thanks for pointing out yet another way to use VMware!

  2. 2 Jim March 14, 2007 at 10:11 am

    Be sure to check out the VMWorld presentation of session ID “adc9865”. (found at: http://www.vmware.com/vmtn/vmworld/ )

    It deals with how to virtualize DCs. Slides 51 and 52 have some very specific suggestions for time services that are critical to VMs when the PDC Emulator role has been seized.

  3. 3 guamaniac March 14, 2007 at 11:02 am

    Thanks, Jim! That is a great resource when thinking about virtualizing production Domain Controllers.

    We opted out of using the VMWare services to synchronize our VMs. The ESX hosts are configured to use NTP, however, so if we do decide to go with VMWare based synchronization of the DC’s, we should be good to go.

  4. 5 Adam June 9, 2008 at 5:25 am

    Hi, I have problem with do it in my environment. I want to clone DC Win2008 on ESX 3 and Ex2007. The problem starts after log in on new cloned DC in totally separated virtual network. The problem is with replication in AD and DNS. I simply clone 2 DC and bring them into other virtual network. Nothing else was done. FSMO roles are on both servers.

  5. 6 Alan Le September 1, 2009 at 15:05 pm

    Hi,

    You indicated that remove dis-function domain severs then step 4 Seize. so which one 1st.

    a. remove dis-function domain first?
    or b. Seize the FSMO 1st?

    By the way the when you [] -> [x] Global Catalog it will auto DNS for you. You don’t have to do Step 3, just transfer the DNS zones.

    Thanks,

    Alan

  6. 7 Jonathan September 17, 2009 at 0:47 am

    Hi,

    I’m trying to convert an AD using vmware converter. all goes well after converting the AD loads successfully but when i’m adding a user it says “cannot create object” pls help, thanks.

    pls forgive my construction of words i’m not good in english.

    • 8 SchemaMasta May 13, 2011 at 7:22 am

      When you need to virtualize a DC you must transfer all the FSMO roles to another DC, then demote the DC you want to virtualize. After it is mounted as a virtual, you can then promote it back to DC and transfer all the roles back to it.

  7. 9 Shelby November 5, 2012 at 0:08 am

    Hey would you mind letting me know which hosting company you’re working with? I’ve loaded your blog
    in 3 different web browsers and I must say this blog
    loads a lot faster then most. Can you suggest a good web
    hosting provider at a honest price? Thanks a lot, I appreciate it!

  8. 10 black friday ads November 9, 2012 at 3:51 am

    Oh my goodness! Awesome article dude! Thanks, However I am
    having problems with your RSS. I don’t understand why I cannot join it. Is there anybody getting the same RSS issues? Anyone who knows the solution will you kindly respond? Thanx!!

  9. 11 Black friday 2011 deals November 22, 2012 at 5:45 am

    This is really fascinating, You’re an overly professional blogger. I’ve joined your
    feed and sit up for in quest of more of your magnificent post.
    Additionally, I have shared your site in my social networks

  10. 12 lenovo black friday November 22, 2012 at 5:45 am

    You ought to be a part of a contest for one of the best websites on the internet.
    I’m going to recommend this web site!

  11. 13 joann craft store April 25, 2013 at 14:37 pm

    hi!,I love your writing very so much! proportion we communicate more approximately your article on AOL?

    I require a specialist on this space to unravel my problem.
    May be that is you! Looking ahead to look you.

  12. 14 www.govita.com.au June 18, 2013 at 18:34 pm

    chwytać Wagnera przedtem odbijaniem wieka oraz dodatkowo
    udowadnianiem, że miny kliknij po szczegółowe
    informacje (www.govita.com.au) trwają w charakterze odkrywcze, Frodo przeprosił go na pół godziny, jak
    nuże wymógł na zanim godne przyrzeczenie, że co więcej nie zbliży się do skrzynki
    ze stalową łapką do wyciągania gwoździ.
    Pół godziny przeciągnęło się do dwóch,
    mimo to finalnie wydołał zademonstrować wydruk
    dokumentu, kto wypracował z niemałym przekabacił w
    arc.

  13. 15 Das Ultime SEO Coaching - bestes SEO-Coaching Deutschlands July 24, 2013 at 13:21 pm

    Wow! Finally I got a web site from where I know how to truly get helpful
    information concerning my study and knowledge.

  14. 16 small bathroom renovations ideas August 3, 2013 at 12:40 pm

    remodel jack and jill bathrooming a small bathroom appear larger.
    It was exquisitely done and felt like a” cashmere hug”
    when you walked in the home because it is not
    just about knocking out the dining room for special occasions.
    They may only recover a portion of their time on a regular basis, such as t-shirts or jeans and cut
    the fabric to make custom covers for your existing pillows.

  15. 17 website names August 10, 2013 at 9:20 am

    I’m a little peeved that Ultimate Demon is truly so efficient. It makes all my manual diligence pointless

  16. 18 sciatica pain August 27, 2013 at 8:42 am

    Heya are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and set up my own.
    Do you need any coding expertise to make your own blog?
    Any help would be greatly appreciated!

  17. 19 link building techniques 2013 February 24, 2014 at 8:53 am

    Greate article.Keep posting suc kind of information on yor site.

    Im really impressed by your site.
    Hi there, You’ve performed aan incredible job. I will
    definitely digg it and personallly sugggest to my friends.
    I am sure they will be benefited from this site.

  18. 20 download divergent March 18, 2014 at 16:57 pm

    Just wish to say your article is as amazing. The clearness to your put up is simply great and that i can suppose
    you’re a professional on this subject. Fine along with your permission let me to take hold of your feed to keep up to date with approaching post.
    Thanks one million and please keep up the enjoyable work.

  19. 21 Game Tester Movie April 11, 2014 at 14:50 pm

    Howdy. I ran across your web site the utilization of windows live messenger. It is an very well created write-up. I’m going to you should definitely bookmark that plus revisit get more information of your respective valuable information and facts. Just publish. Let me undoubtedly give back.

  20. 22 seo services list April 28, 2014 at 12:43 pm

    What’s up it’s me, I am also visiting this website
    on a regular basis, this web site is truly pleasant and the users are actually sharing pleasant thoughts.

  21. 23 buy domains May 25, 2014 at 14:39 pm

    Wow! After all I got a web site from where I know
    how to actually obtain helpful information regarding my study and knowledge.

  22. 24 extract the zip file June 11, 2014 at 22:21 pm

    I love yoiur blog.. very nice colors & theme.
    Diid you esign this website yourself or did yyou hire someone to do it
    for you? Pllz respond as I’m looking to create my own blog and would like to know where u got this from.
    thanks

  23. 25 monitoren July 2, 2014 at 4:55 am

    This article provides clear idea designed for the new users of blogging, that truly how to do blogging and site-building.

  24. 26 Dell Bingham July 7, 2014 at 15:28 pm

    Here is what I have: I have a couple of Forest Controllers and a few DC’s. My FSMO roles are spread out among one Forest Controller (Schema Master and Domain Naming Master) and my PDC, RID Pool Manager, and Infrastructure Master are located on my DC. When I clone (using VMWARE) and “do the do” as stated above and then NETDOM QUERY FSMO, my Forest Controller still has its roles. Does this mean that in order for me to build my test environment to allow it to truly work, I would need to clone the Forest Controller too and move it into my private test environment????

  25. 27 Perfume August 18, 2014 at 20:44 pm

    I think this is among the most important information for me.
    And i am glad reading your article. But wanna remark on few general things,
    The site style is wonderful, the articles is really
    great : D. Good job, cheers

  26. 28 free download August 20, 2014 at 8:24 am

    The just like you understand my mind! You gaze to learn a whole lot close to this, as if you had written it in it or something like that. I’m that you just are able to do with some delaware. chemical. to push the content property slightly, but instead of of which, that may be great web site. A fantastic read through free download. I will certainly return to their office.

  27. 29 purchase neopoints October 1, 2014 at 19:02 pm

    Excellent article! We will be linking to this great content
    on our site. Keep up the great writing.

  28. 30 Monique October 16, 2014 at 22:09 pm

    Hey there! I’ve been following your website for some time now and finally got the bravery to go
    ahead and give you a shout out from Atascocita Texas!
    Just wanted to tell you keep up the good work!

  29. 31 free ads , May 10, 2016 at 6:40 am

    Yes! Finally someone writes about place free ads.


  1. 1 Replicate Technologies » Upgrading Microsoft Exchange Server Trackback on August 23, 2007 at 16:29 pm
  2. 2 The importance of a Test Environment « Ramblings of an IT Consultant Trackback on August 1, 2009 at 12:21 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Change a Lightbulb, change the world!

It only takes 18 seconds to change a bulb. If every American home replaced just one light bulb with an energy-efficient bulb, together we could save enough energy to light more than 2.6 million homes for a year. Find out how you can save energy and cash by making the switch to energy-efficient light bulbs... and check out how many have already sold in your area.

CFL lightbulb

Coconut Trees

100_2058

100_2057

100_2056

100_2055

100_2054

100_2053

100_2052

More Photos

Coral Reefs

March 2007
M T W T F S S
« Feb   Apr »
 1234
567891011
12131415161718
19202122232425
262728293031  

%d bloggers like this: