Search WWW Search

Thursday, October 28, 2010

Setup failed to install ADAM.\r\n

When installing TMG\UAG you receive error Setup failed to install ADAM.\r\n. When you view the ISAADAM_INSTALL_XXX setup log file you see the error "The trust relationship between this workstation and the primary domain failed." In this case the issue was that the dynamic RPC port range was not allowed from the DMZ where TMG was installed to the DC's in the internal back office network.

Ensure you have the following ports open from UAG to the DC's in the internal network.

LDAP ports: 389, 636 (TCP)

Global catalog ports: 3268, 3269 (TCP)

RPC services: 1025-5000 (TCP) (I restricted the range on the DCs to range 49152 - 49407)

RPC portmapper listener: 135 (TCP)

RPC in NT 4.0: 139 (TCP)

Kerberos exchanges: 88 (TCP, UDP)

If firewall isn't an issue, it could be related to domain policy restrictions.

Troubleshooting ERROR: Setup failed to install ADAM.\r\n (0x80074e46) and 0x80070643 while trying to install TMG 2010

James Chong (MVP)
Security+, Project+, ITIL
xml:lang="en" lang="en"> MS Exchange Tips: Setup failed to install ADAM.\r\n