Using repadmin in batch to replicate instantly

iNc0g
iNc0g used Ask the Experts™
on
Which will be the correct command syntax to use in order to replicate my 3 DC's ?
Sites and Services
I make the changes in DC01, need to replicate these changes to DC02 and DC03 instantly

repadmin /syncall DC01 /force ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If you click on NTDS settings and see transport links between DC01 & DC02 or DC01 & DC03 you can right click on those links and select "replicate now"
Top Expert 2013

Commented:
The way you are using it it will sync with the configuration partition (by default) you are also not going across the site

use the example here

http://technet.microsoft.com/en-us/library/cc835086(WS.10).aspx

notice the /e switch to cross site boundaries and the /d switch which translates the GUID name to the distinguished name.

Thanks

Mike
Commented:
Run the exactly same below command, it will start replication of all the dc in a enterprise of all the partition. You can use the same command for replicating individual directory [artition

The directory partition like domain,configuration schema will be synced in all the dc in the domain or enterprise.

Repadmin /syncall /A/E/P/D

E: Enterprise
P:Push

If the above cmd completes successfully then all the dc are in sync with each other.

The Mike has given good link but it used to sync target dc only with the source dc.
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Author

Commented:
Awinish - running the command: Repadmin /syncall /A/E/P/D
returns th msg in the pic.
111.JPG

Commented:
The account has to be member of domain admin & enterprise admin group.

Author

Commented:
My user account is member of domain admin & enterprise admin groups.
I ran the command on the DC01 server itself and it worked so if I want to run it from my PC
I assume I should type: repadmin /syncall DC01 /A/E/P/D

is that correct ?

Author

Commented:
Also, I noticed when I update GPO on computer level, I run the command repadmin (from my pc) and restart the target PC but the changes still did not apply to that computer.. only after a while and another restart i see the changes.

Commented:
GPO takes default 90 min to apply on client system.So,you have to give sometime else run gpupdate /force & sometime restart is required.
Top Expert 2013

Commented:
90 minutes plus a 30 minute offset, also if nothing has changed the GPO won't apply again.  Security policies are applied every 16 hours (with the same offset) even if nothing changed in the policy.

Thanks

Mike

Commented:
Yes, Mike is correct,Client keeps on querying domain controller after every 16hours for the changes & if they find there is any change in gpo its applied else it wait for another 16 hours to poll.

The bandwidth & system has to be healthy to apply the GPO with max effect.

You can also use userenv loggin to find out the GPO applied or not & where it failed.


Author

Commented:
Alrighty then.

So based on the topolgy shown in the pic above, running the command: repadmin /syncall DC01 /A/E/P/D , from my PC (I have the needed rights) , supposed to apply changes made in active directory (not GPO) immediately throughout the 3 DC's ?

Commented:
Repadmin syncall will sync all dc's to equivalent data considering GPO & sysvol where as client takes time to apply sometime also depends on network bandwidth.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial