The File Replication Service on computer %1 is stopping because the database %2 is corrupted. The database can be recovered ...

The File Replication Service on computer %1 is stopping because the database %2 is corrupted. 
 
The database can be recovered by typing "esentutl /d %2 /l%3 /s%4". 
 
Once the database has been successfully recovered the File Replication Service can be restarted by typing "net start ntfrs".