Active Directory
Discussion
Yes. Ldifde is your friend.
http://support.microsoft.com/kb/23767
You can also use a text editor to find and replace instances of a string in between the export and the import process, for example if the domain names or OU's are slightly different.
http://support.microsoft.com/kb/23767
You can also use a text editor to find and replace instances of a string in between the export and the import process, for example if the domain names or OU's are slightly different.
nickfrp said:
Thanks
so am i right in thinking i can run this command:
LDIFDE –f ADdump.ldf –s ATL-DC01
and it wil copy and not disrupt the exsisting AD in the domain?
so am i right in thinking i can run this command:
LDIFDE –f ADdump.ldf –s ATL-DC01
and it wil copy and not disrupt the exsisting AD in the domain?
Yup, although this will restrict the export to just users
ldifde -f ADdump.ldf -s ATL-DC01 -d "dc=Export,dc=com" -p subtree -r "(&(objectCategory=person)(objectClass=User)(givenname=*))" -l "cn,givenName,objectclass,samAccountName"
Substitute your domain details in this bit as that command is for a domain called export.com
"dc=Export,dc=com"
Avoid the -i flag on your live domain as that sets it to import mode.
other useful tools are csvde, plus adfind/admod are powerful ad tools.... can be found here www.joeware.net
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


