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:
csvde -f C:\exportAD.csv -m -n -o "primaryGroupID,lockoutTime" -j C:\Logs\
I then edit the csv file, deleting a few lines which will not import, and changing the Domain and Machine name, then import it on the second machine using:
csvde -i -f C:\exportAD.csv -k -j C:\Logs\
However, this does not the group memberships present in the original.
Any ideas?
-Frink
The reason is probably that the groups have different SIDs in each domain. You do realise that you can not export passwords using CSVDE?
Have you considered the Active Directory Migration Toolkit?
In the end I used:
I then edited the export_AD.csv file as follows:
Then import: