Various troubleshooting scenarios in ILM, FIM and MIM handle the 25009 error. This page is a resource collection of the various troubleshooting articles for this error.
FIM Troubleshooting: Installation Error 25009 (SA admin rights missing) by Tim Macaulay.
FIM Troubleshooting: Synchronization Service setup is having trouble contacting SQL server by Peter Geelen.
More details at : MIM Troubleshooting: Sync engine installation failure - error 25009 <hr=0x80131700> by Peter Geelen.
MIM 2016 must have .NET Framework 3.5 installed from the Windows server features.
See: https://technet.microsoft.com/en-us/library/hh332708%28v=ws.10%29.aspx
Troubleshooting FIM: Error 25009: CONDITIONAL Failed - SET Options Incorrect 'ARITHABORT' by Tim Macaulay
MIM Troubleshooting: Sync engine installation failure - error 25009 <hr=0x80131700> by Peter Geelen.
MIM Troubleshooting: upgrade from ILM fails with error 25009 (<hr=0x80230406>) by Peter Geelen.
Lookup the error on the FIM/MIM Forum: https://social.technet.microsoft.com/Forums/en-US/home?searchTerm=25009