Discussion Locked

Merging accounts of 2 domains

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I merge account databases of two domains. I want to get step-by-step instractions how to do it or a URL to desrription.
Thanks in advance.

3 replies

by ruturaj

You can use the Addusers.exe utility of NT Resource kit to do this easily:
1.) use this syntax to copy the users of one domain controller to another (You need to be logged in as administrator)
adduser \\dom1dc /d c:\dom1users.txt
2.)copy the fileover the network or to a floppy disk (if it is not too big) then to the Domain 2 (where you want the accounts merged) to the C:\ (root or anywhere)
3.)Login as administrator to Domain 2 DC and run
adduser \\dom2dc /c c:\dom1users.txt.
(below are some switches that you can use as required)
/? Display this help screen.
/c Create accounts specified in the file.
/d: Write current accounts to the specified file, opt. followed by {:u}.
u Write current accounts to the specified file in Unicode text format.
/p: Set's account creation options, followed by an comb. of {lced}
l Users do not have to change passwords at next logon.
c Users cannot change passwords.
e Passwords never expire. (implies loption)
d Accounts disabled.
/e Erase user accounts specified in the file.
/s:x Sets the separator character for the input/output file. Replace the
x with the character to be used for separating fields. (e.g. /s:~) Note: The separator character is a comma ',' by default.
/t Enables Terminal Services user properties to be created or viewed.
Use in conjunction with { /c | /d }.

This discussion is closed to new replies.