Uninstalling DirSync

One of Microsoft’s main feature claims for DirSync is that it has an appliance like setup. I have probably installed 100 DirSync servers, and can confirm that the install process for DirSync is as appliance like as it gets. The process of uninstalling DirSync is, however, nowhere near appliance like.

In a recent Office 365 migration project we had an issue with DirSync that turned out to be a conflict with a Tivoli product the customer had installed. During the troubleshooting process we retied uninstalling and reinstalling DirSync several times, and found out the process is rather a pain.

Here are the steps I followed.

  1. Programs and features – uninstall Dir sync
  2. Stop all SQL services
  3. Stop Dirsync services
  4. Uninstall SQL - Programs and features
  5. Uninstall windows azure active directory sync - Programs and features – uninstall Dir sync
  6. Delete dir on c drive – c:/program files/windows azure active dir sync.
  7. Delete Dir in C drive – c:/programfiles/SQL
  8. Delete all local FIM groups
  9. Remove MSOL-account from AD
  10. Reboot
  11. Log on as dir sync service account
  12. Re-download
  13. Disable any virus protection.
  14. Reinstall DirSync

Your mileage may vary as new versions of DirSync are released.