ILM Configuration: The miissku.exe process exited with error code -2146232832. Error.
ILM Configuration: The ValidateMiisEncryptionKey process returned False.
UserProfileApplication.SynchronizeMIIS: Failed to configure MIIS pre database, will attempt during next rerun.
Synchronization database is already initialized. Importing the encryption key for the database into the registry
Run as Administrator SharePoint Management Shell
$sync_db = "Sync DB"
$ups_service_app_name = "User Profile Service Application"
net stop sptimerv4
$syncdb=Get-SPDatabase | where {$_.Name -eq $sync_db}
$syncdb.Unprovision()
$syncdb.Status='Offline'
$ups = Get-SPServiceApplication | where {$_.Displayname -eq $ups_service_app_name }
$ups.ResetSynchronizationMachine()
$ups.ResetSynchronizationDatabase()
$syncdb.Provision()
net start sptimerv4
Start the UserProfileSyncService again
Ref: http://blogs.technet.com/b/sp/archive/2013/05/29/http-www-blogger-com-blogger-g-blogid-8070685728411204795-editor-target-post-postid-706076184673021818-onpublishedmenu-overviewstats-onclosedmenu-overviewstats-postnum-23-src-postname.aspx