Sunday, May 24, 2015

The setup wizard has detected a previous installation of the Directory Sync Tool

I have to uninstall and re-install Windows Azure Active Directory Sync Setup on my Lab server.
The uninstallation of Windows Azure Active Directory Sync Setup was successful from Program and Feature applet. However, when I tried to re-install Windows Azure Active Directory Sync Setup I have received below setup error.
The setup wizard has detected a previous installation of the Directory Sync Tool. The previous installation is incompatible with this newer configuration of the Directory Sync Tool.
Please uninstall the previous version of the Directory Sync tool and run this installation wizard again.

I have re-checked the installation status in Program and Feature applet and the Windows Azure Active Directory Sync Setup not there. I have restarted the server and tried again, received the same error.
Checked for any other Windows Azure Active Directory Sync Setup components in HKLM uninstall string in Windows registry and found a reference to Windows Azure Active Directory Sync Setup.
This is what we need to do to uninstall Windows Azure Active Directory Sync Setup completely;
1.    Launch Regedit
2.    Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current  
   Version\Uninstall\
3.    {DD320A76-8CBE-4338-ACFC-BA506106BE09} (This is the uninstall string which left
       behind)
4.    Use uninstall string to uninstall the existing component from command line by doing
       4.1    Launch Command window as administrator
       4.2    Type msiexec /x {DD320A76-8CBE-4338-ACFC-BA506106BE09}
       4.3    Click yes when asked for uninstall confirmation
       4.4    Once uninstall is complete, check for existence of other Windows Azure Active Directory  
       Sync Setup related components in uninstall registry string.

The above method should fix Windows Azure Active Directory Sync Setup re-install problem.

4 comments:

  1. Excellent write up. I am in the process of re-installing DirSync tool and started failing over and over.
    Thank you.

    ReplyDelete
  2. Thanks so much, this did the trick for me!

    ReplyDelete
  3. great thanks different GUID but it had left one

    ReplyDelete
  4. great thanks different GUID but it had left one

    ReplyDelete