Techieshelp.com

Uninstall Exchange 2016 Error -AtomName

exchange 2016 logo

While uninstalling Exchange 2016 from a test system I was working on I received the following error at stage 8 of 14.

Error:
The following error was generated when “$error.Clear();
uninstall-ExsetDataAtom -AtomName OrgLevelCt -DomainController $RoleDomainController” was run: “Microsoft.Exchange.Management.Deployment.ExsetdataException: An error occurred with error code ‘3221684226’ and message ‘The system cannot find the file specified.’.
at Microsoft.Exchange.Configuration.Tasks.Task.ThrowTerminatingError(Exception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.Deployment.ManageExsetdataAtom.HandleExsetdataReturnCode(UInt32 scErr)
at Microsoft.Exchange.Management.Deployment.ManageExsetdataAtom.UninstallAtom(AtomID atomID)
at Microsoft.Exchange.Management.Deployment.UninstallExsetdataAtom.InternalProcessRecord()
at Microsoft.Exchange.Configuration.Tasks.Task.b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)”

The section of the error we need to focus on is the “The system cannot find the file specified”, to remedy this we need to drop to powershell and run the following command.

Install-WindowsFeature RSAT-ADDS

We can then complete the removal of Exchange 2016 with the following, browse to your Exchange 2016 Media and run the following command.

setup /m:uninstall /IAcceptExchangeServerLicenseTerms