Exchange 2010 decommission error

I am decommissioning some Exchange 2010 servers  for a customer & I am running into a problem decommissioning the last mailbox server. I was able to uninstall Exchange itself but I have to run uninstall a 2nd time to uninstall the Exchange Management Tools. When I do the uninstall it gives this error:

The following error was generated when "$error.Clear();
      uninstall-ExsetDataAtom -AtomName OrgLevelCt -DomainController $RoleDomainController

" was run: "An error occurred with error code '3221684226' and message 'The system cannot find the file specified.'.".

An error occurred with error code '3221684226' and message 'The system cannot find the file specified.'.
Click here for help...

Trying to run the powershell cmdlet in the error message above it cannot find that cmdlet.

Any ideas short of opening a ticket w/ Microsoft?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simon Butler (Sembee)ConsultantCommented:
Is this a Windows 2008 R2 system?
If so, reinstall the prerequisites for that version of Windows 2008 R2.

Then reboot and try again. It is looking for something - probably AD tools or RSAT.

someITGuyAuthor Commented:
Ended up opening a ticket with Microsoft, here are the steps to resolve this issue:

As discussed, below is the summary of the steps performed to removed Hybrid configuration and uninstall Exchange 2010 server.

On-prem & On-line: Removed Organization Relationship
On-prem: Removed all the Send & Receive Connectors that were created.
On-prem: Removed Federation Trust from Exchange
On-prem: Removed domains that were added to the Email Address Policies
On-prem: Removed Office 365 domain from Accepted domain.
On-prem: Removed remote domains created by the Hybrid Configuration Wizard.
On-prem: Removed Hybrid Configuration object using ADSIEdit.
On-prem: Removed Public folders using ADSIEdit.
On-prem: Removed Arbitration mailboxes using ADSIEdit.
On-prem: Deleted the Mailbox database and Public database on the Exchange server (Mail03).
On-prem: Uninstalled the Exchange server successfully.

Steps to Uninstall Exchange from remaining Servers:

1)      Remove Mailbox databases from the Exchange server using Exchange Management Console\Organization Management\Database Management.
2)      Using the Control panel, uninstall the Exchange 2010 server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
someITGuyAuthor Commented:
It worked.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.