Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export/Import Active Directory Users, Groups and Group Membership

Status
Not open for further replies.

Frink

Programmer
Mar 16, 2001
798
0
0
GB
Hallo,
I want to copy my Active Directory Users, Groups and Group Memberships from one DC to another using csvde, where the machines are identical except for the only the name of the Domain and Machine.
Note that each server is a DC and itself is the only member of the domain.
The command I am using for export is:
Code:
csvde -f C:\exportAD.csv -m -n -o "primaryGroupID,lockoutTime" -j C:\Logs\
I then edit the csv file to change the Domain and Machine name, then import it on the second machine using:
Code:
csvde -i -f C:\exportAD.csv -k -j C:\Logs\
However, this does not the group memberships present in the original.

Any ideas?

-Frink
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top