Install Exchange 2013 SP1 failed, was generated when $error.Clear


When I try to deploy new Exchange 2013 SP1 on my lab failed, because i have before Exchange Server and i uninstall it with all files from Active Directory.

Error: The following error was generated when “$error.Clear();
if ($RoleIsDatacenter -ne $true -and $RoleIsDatacenterDedicated -ne $true)

This issue is as below screen Shot



To resolve this issue, you need to follow below steps:

  1. In AD Users and Computers, delete all those old Exchange mailbox type system accounts (Exchange Online-ApplicationAccount, Federatedemail, DiscoverySearchMailbox, HealthMailbox, Migration, SystemMailbox). In my case, i find migration account under users OU so i deleted it.
  2. Then rerun step again, it should be run successfully.
This entry was posted in Exchange Sever. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s