Edge Transport Setup Fails With ADAM Error

Exchange 2007

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

This topic provides information about how to troubleshoot Microsoft Exchange Server 2007 Setup if Setup fails with the following error:

 

ADAM install error: The name 'MSExchange' is already in use as an ADAM instance name. Type a different instance name. Check the Setup Logs.

The ExchangeSetup.log file also includes the following warning:

 

Process adamInstall.exe has finished with exit code 20007.

This issue occurs when the Microsoft Exchange Active Directory Application Mode (ADAM) service has already been installed during a previously failed installation.

To resolve the problem, remove the Exchange Server 2007 ADAM service.

To perform this procedure, the account you use must have membership in the local Administrators group. For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.

  1. Go to the following folder: C:\Windows\ADAM.

  2. Run the following command:

    adamuninstall.exe /force /i:MSExchange
    
    noteNote:
    If this command fails, you can run sc delete ADAM_MSExchange

After you have removed the ADAM service, you can continue with Exchange Setup.

 

Community Additions

ADD
Show: