---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
!1. Get hostname, Domain Name and naming context.
dsquery computer
!2.Verify Node A replication options.
"c:\program files\ap\apos\clone\"repadmin /options JIBSC54AP1A
!3. Verify Node B replication options.
"c:\program files\ap\apos\clone\"repadmin /options JIBSC54AP1B
!4. On Node A, Change registry setting to Allow Replication with Divergent and Corrupt Partner.
reg add \\192.168.169.1\HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters /v "Allow Replication With Divergent and Corrupt Partner" /t REG_DWORD /d 1 /f
reg add \\192.168.169.1\HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters /v "Strict Replication Consistency" /t REG_DWORD /d 0 /f
!If the Replication is successful, then go to step 20.
!Otherwise continue.
!8. On Node A, Stop Kerberos Key distribution center service and set it to manual.
fchstate -m kdc
fchstate -q kdc
net stop "Kerberos Key Distribution Center"
!9. On Node A, Reset Node B?s machine account password
set | findstr /i domain
netdom resetpwd /S:JIBSC54AP1B /UD:JIBSC54AP1D\Administrator /pd:YThlr2admIN
!(Where: <Password> is the Administrator password)
!10. On Node A, Reboot the node and reconnect to Node A.
@@prcboot
!11. On Node A, Restart Kerberos Key distribution Center service and set it to Automatic
! (Note: The KDC might hang when starting for the first time or you may get an error "The
!service did not respond in a timely manner" or "The Kerberos Key Distribution Center
!service could not be started.". Ignore this, Wait for 2-3 minutes and restart the service.)
fchstate -a kdc
fchstate -q kdc
net start "Kerberos Key Distribution Center"
!12. On Node B, Stop Kerberos Key distribution center service and set it to manual.
fchstate -m kdc
fchstate -q kdc
net stop "Kerberos Key Distribution Center"
!13. On Node B, Reset Node A?s machine account password:
!14. On Node B, Reboot the node and reconnect to Node B.
@@prcboot
!15. On Node B, Restart Kerberos Key distribution center service and set it to Automatic
!(Note: The KDC might hang when starting for the first time or you may get an error "The
!service did not respond in a timely manner" or "The Kerberos Key !Distribution Center
!service could not be started.". Ignore this, Wait for 2-3 minutes and restart the service.)
fchstate -a kdc
fchstate -q kdc
net start "Kerberos Key Distribution Center"
!16. On Node B, Reset the secure Channel by using command:
!20. It has been seen that in some cases the fault will re-occurs in a few
!minutes if setupservices is not performed.
!Execute the setupservices on both nodes, no reboot is needed.