Link to home
Start Free TrialLog in
Avatar of LegendZM
LegendZMFlag for United States of America

asked on

Export active directory accounts/groups and import into another domain

We have 2 separate domains. There is no trust between the 2.

We'd like to export the user list from 1 domain, and import it into the other.

What is the easiest way with instructions on how to do this?
Avatar of Ahmed Abdel Salam
Ahmed Abdel Salam

you can try the Active Directory Migration Tool, or read the following:

http://download.microsoft.com/download/a/1/c/a1ce491e-03e2-445c-b83b-49b8bc1e0f37/SBS_P2P_Client_Migration.doc

This may help you
ASKER CERTIFIED SOLUTION
Avatar of hbustan
hbustan
Flag of Kuwait image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LegendZM

ASKER

hbustan, what do the 2 !! in the import LDIFDE command represent?
it should read "minus i":

ldife -i -f newuser.ldf -s NEWDOMAIN
So this will work to export from the old domain to the new domain?
when you say OLD DOMAIN / NEW DOMAIN
do you mean domain.local  or just the domain name?
Yes.

OLD Domain and NEW Domain are just references for the 1st domain you are exporting from and 2nd domain you are importing to.

Once you export, you can modify the .ldf file before importing to the 2nd domain for reasons such as your organizational units might be structured differently in the other domain or so. Usually a text editor (Even Notepad) is sufficient and a Search and Replace technique can be used for mass changes. If your domains are identical, then you can import immediately without modifications to the .ldf file.

Domain refers to the Domain name of the AD Domain