Hi Daisy Zhou,
Thank you so much !. :)
it's worked ! I changed the MaxOfflineTimeInDays to 150 on both server ( primary and secondary)
Thanks,
Yaser VP
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The AD replication is working fine (verified using repadmin commands and active directory sites and services- ), but event ID 4012 continues to appear.
There was a time when my secondary domain controller was down for around 3 months. Now all are primary, and the secondary is active.
Would anyone be able to explain why I am still getting the event? Is there a workaround for this?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
Hi Daisy Zhou,
Thank you so much !. :)
it's worked ! I changed the MaxOfflineTimeInDays to 150 on both server ( primary and secondary)
Thanks,
Yaser VP
Hi Daisy Zhou,
Thanks for your update.
In my Event viewer, the log says that , The DFS Replication service stopped replication on the folder with the following local path: D:\Windows\SYSVOL\domain. This server has been disconnected from other partners for 146 days*, which is longer than the time allowed by the MaxOfflineTimeInDays parameter (60). DFS Replication considers the data in this folder to be stale, and this server will not replicate the folder until this error is corrected.*
From the above link (Event ID 4012 thread) i think i can try the commands " wmic.exe /namespace:\root\microsoftdfs path DfsrMachineConfig set MaxOfflineTimeInDays=150 "
In my opinion, the above commands will help to change the default 60 days to X days.
What are your thoughts on this? I'm looking forward to hearing from you.
Thanks,
Yaser VP
Hello Yaser vp,
Greetings!
Thank you for your update and sharing.
Best Regards,
Daisy Zhou
Hello Yaser vp,
Thank you for posting in Microsoft Community forum.
Please check the AD replication on PDC by running the commands below.
repadmin /showrepl >C:\rep1.txt
repadmin /replsum >C:\rep2.txt
repadmin /showrepl * /csv >c:\repsum.csv
If AD replication works fine, do you mean the event ID 4012 in the following thread?
DFS Replication issue with event ID 4012 (windows server 2016 - Microsoft Q&A
If so, it may be SYSVOL replication issue.
Please check it by the steps below:
Create folder1 in the path C:\Windows\SYSVOL\domain\Policies on PDC.
and create folder2 in the path C:\Windows\SYSVOL\domain\Policies on the second DC.
Check if folder1 is replicated to the second DC and if folder2 is replicated to the PDC.
I hope the information above is helpful.
If you have any question or concern, please feel free to let us know.
Best Regards,
Daisy Zhou
Thanks for your update.
I just created the two different folder on both ADs. then i manually replicated via Active directly site and services tab.
but the folder is not replicated ! .
C:\Windows\SYSVOL\domain\Policies - On Primary DC
C:\Windows\SYSVOL\domain\ - On Secondary AD ( Here I can't see the folder name called " Policies"). So here I created the folder.
And also, in Primary AD, i can see some folder " Policies and scripts " in domain folder, but i can't see these folder in Secondary AD.
please let me know your observation from above result.
Thanks,
Yaser VP