|
Question : Force replication with a script or cammand
|
|
I have 04 DC's , and I want to run a script or a a command from my desktop so that whenever I make change in any DC it forces replication to all other domain controllers. I know that you can do that manually in Active directory site and services.but I want something automatically. thanks
|
Answer : Force replication with a script or cammand
|
|
First, make sure you have Support Tools in the Microsoft Windows 2000 Server Resource Kit installed on your DCs.
repadmin /syncall DC1.Yourdomain.com dc=Yourdomain,dc=com repadmin /syncall DC2.Yourdomain.com dc=Yourdomain,dc=com repadmin /syncall DC3.Yourdomain.com dc=Yourdomain,dc=com
If you omit the naming context, the DC replicates the forest's schema and configuration naming contexts.
repadmin /syncall DC1.Yourdomain.com /force repadmin /syncall DC2.Yourdomain.com /force repadmin /syncall DC3.Yourdomain.com /force
change DC1, DC2, DC3 to your DC names
change Yourdomain to your domain name.
put your commands in a .bat file and run it.
Hope this helps.
|
|
|
|