I removed Sharepoint from the FIM service (don’t do this!) and then I wanted to remove FIM service. The uninstall just kept failing. And it would not allow you to install as well. Its looking for the Portal parts. So I had to do manual cleanup (Risky). I did a complete remove of MIM, this was Dev and early stages so I could afford that.
- Delete the FIM service and portal folders
- Delete the FIM service database
- Delete MIM references in the registry. Including remove from the uninstall list.
Reboot and you should be good.