File Replication Service is in an error state event id 13555 and 13552

Many of my readers may be thinking that my blog is full with disaster stories but problem is that I am in Server's Support and I mostly write about Issues, Problem and less write about new leanings. Today, again I was facing a Replication Issue on my Domain Controller. There were Events with ID's
=============================== EVENT ID 13555==========================
Event Type:        Error                      Event Source:    NtFrs
Event Category:                None                     Event ID:              13555
Date:                     6/25/2012            Time:                     5:04:37 PM
User:                     N/A                        Computer:          SATURN

Description:
The File Replication Service is in an error state. Files will not replicate to or from one or all of the replica sets on this computer until the following recovery steps are performed:
 Recovery Steps:
 [1] The error state may clear itself if you stop and restart the FRS service. This can be done by performing the following in a command window:
    net stop ntfrs
    net start ntfrs
 If this fails to clear up the problem then proceed as follows.
  [2] For Active Directory Domain Controllers that DO NOT host any DFS alternates or other replica sets with replication enabled:
 If there is at least one other Domain Controller in this domain then restore the "system state" of this DC from backup (using ntbackup or other backup-restore utility) and make it non-authoritative.
 If there are NO other Domain Controllers in this domain then restore the "system state" of this DC from backup (using ntbackup or other backup-restore utility) and choose the Advanced option which marks the sysvols as primary.
 If there are other Domain Controllers in this domain but ALL of them have this event log message then restore one of them as primary (data files from primary will replicate everywhere) and the others as non-authoritative.
 [3] For Active Directory Domain Controllers that host DFS alternates or other replica sets with replication enabled:
 (3-a) If the Dfs alternates on this DC do not have any other replication partners then copy the data under that Dfs share to a safe location.
 (3-b) If this server is the only Active Directory Domain Controller for this domain then, before going to (3-c),  make sure this server does not have any inbound or outbound connections to other servers that were formerly Domain Controllers for this domain but are now off the net (and will never be coming back online) or have been fresh installed without being demoted. To delete connections use the Sites and Services snapin and look for
Sites->NAME_OF_SITE->Servers->NAME_OF_SERVER->NTDS Settings->CONNECTIONS.
 (3-c) Restore the "system state" of this DC from backup (using ntbackup or other backup-restore utility) and make it non-authoritative.
 (3-d) Copy the data from step (3-a) above to the original location after the sysvol share is published.
 [4] For other Windows servers:
  (4-a)  If any of the DFS alternates or other replica sets hosted by this server do not have any other replication partners then copy the data under its share or replica tree root to a safe location.
 (4-b)  net stop ntfrs
 (4-c)  rd /s /q  c:\windows\ntfrs\jet
 (4-d)  net start ntfrs
 (4-e)  Copy the data from step (4-a) above to the original location after the service has initialized (5 minutes is a safe waiting time).
 Note: If this error message is in the eventlog of all the members of a particular replica set then perform steps (4-a) and (4-e) above on only one of the members.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
================================= EVENT ID  13552 =========================
Event Type:        Error                      Event Source:    NtFrs
Event Category:                None                     Event ID:              13552
Date:                     6/25/2012            Time:                     5:04:37 PM
User:                     N/A                        Computer:          SATURN

Description:
The File Replication Service is unable to add this computer to the following replica set:
    "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
 This could be caused by a number of problems such as:
  --  an invalid root path,
  --  a missing directory,
  --  a missing disk volume,
  --  a file system on the volume that does not support NTFS 5.0

The information below may help to resolve the problem:
Computer DNS name is "saturn.solexpert.blogspot.com"
Replica set member name is "SATURN"
Replica set root path is "c:\windows\sysvol\domain"
Replica staging directory path is "c:\windows\sysvol\staging\domain"
Replica working directory path is "c:\windows\ntfrs\jet"
Windows error status code is 
FRS error status code is FrsErrorMismatchedJournalId
Other event log messages may also help determine the problem.  Correct the problem and the service will attempt to restart replication automatically at a later time.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
=============================== EVENTS END =============================

Solution
1.       As per my experience, I fix it with a registry tweak can solve this issue, Steps for registry tweaks are:
1) Stop File Replication service via Start - Run - type in CMD, click ok. In the Command Prompt window type 'net stop ntfrs' and press enter
2) Use RegEdit to edit "BurFlags" in the key "HKLM\System\CurrentControlSet\Services\Ntfrs\Parameters\Backup/Restore\Process at Startup"
* edit the dword key "BurFlags" in Hex format.
* Change from 0 to D2 or D4
D2 - Non-Authoritative restore (pull from another DC)
D4 - Authoritative restore
2.      Start the File Replication service via Start > Run - type in CMD, click ok. In Command Prompt Windows type ‘net stop ntfrs’ and after that 'net start ntfrs' and Press Enter.

 Please have a look on this post for more detail;

http://solexpert.blogspot.com/2012/06/file-replication-service-is-having.html

Comments