Hello,
In the scenario you described, when your PDC is restored and back online:
The Secondary DC will replicate data to the PDC. Any changes made on the Secondary DC (such as resetting passwords, creating users, etc.) while the PDC is offline will be replicated to the PDC.
The PDC will not overwrite changes on the Secondary DC: The PDC will not overwrite new data on the Secondary DC, but will receive new data from the Secondary DC.
Active Directory will automatically resolve any potential conflicts. Normally, newer changes on the Secondary DC will be retained, and the older data on the PDC will be updated.
It is recommended that after the Primary DC is restored, you can use the command repadmin /showrepl to check the synchronization status to ensure that all changes have been synchronized correctly.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.