Announcement

Collapse
No announcement yet.

Migrate Active Directory Structure

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Migrate Active Directory Structure

    Well it's me again with my questions.

    After i create a trust between two domains, can i copy,migrate,replicate (whatever the correct word is) the structure of the Active Directory from the source to the Target domain?

    I used ADMT v2 i works fine, but it can't copy the structure. (or at least i haven't found it)


    Thanx in advance...

  • #2
    Take a look at two scripts that come with GPMC:
    CreateXMLFromEnvironment.wsf
    CreateEnvironmentFromXML.wsf

    First can dump the OU structure to an XML file and the second can create teh structure from the XML file.

    More details in the GPMC help file (gpmc.chm) that comes with GPMC.
    Guy Teverovsky
    "Smith & Wesson - the original point and click interface"

    Comment


    • #3
      Thanx!!
      It worked very well!!!

      is there a chance copying the users as well in the appropriate OU's?




      Thanx again....

      Comment


      • #4
        Use the /IncludeUsers switch
        But remember: this is not a good method for migrating the accounts. It will not do sidHistory, will not take care of the passwords, etc... Those scripts are good for creating test environments, etc..
        Guy Teverovsky
        "Smith & Wesson - the original point and click interface"

        Comment


        • #5
          Well after you suggestion
          Originally posted by guyt
          More details in the GPMC help file (gpmc.chm) that comes with GPMC.
          i used the /IncludeUsers switch. When "restoring" the xml to the target domain it asked for a common password for all users.

          I wouldn't mind not migrating the passwords. I can use ADModify.net to set the option to "Set password at next logon" for all users.

          The problem may be the security on the folders so SIDHistory would be a better option like you said.


          Thanx...

          Comment

          Working...
          X