Exchange 2007. Mailbox role uninstall failure. Error 5
I can`t uninstall Mailbox role. And i can`t uninstall all Exchange 2007.Setup tell me that:Mailbox RoleFailedError:Process execution failed with exit code 5.Elapsed Time: 00:00:10Remove Exchange FilesCancelledIn ExchangeSetup.log:[14.09.2007 14:08:14] [2] Starting: C:\WINDOWS\sysWOW64\regsvr32.exe arguments: /s /u "C:\Program Files\Microsoft\Exchange Server\bin\Monitoring\x86\DiagnosticCmdletController.dll"[14.09.2007 14:08:14] [2] Process standard output: [14.09.2007 14:08:14] [2] Process standard error: [14.09.2007 14:08:14] [2] [ERROR] Unexpected Error[14.09.2007 14:08:14] [2] [ERROR] Process execution failed with exit code 5.[14.09.2007 14:08:14] [2] Ending processing.[14.09.2007 14:08:14] [1] The following 1 error(s) occurred during task execution:[14.09.2007 14:08:14] [1] 0. ErrorRecord: Process execution failed with exit code 5.[14.09.2007 14:08:14] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskException: Process execution failed with exit code 5.[14.09.2007 14:08:14] [1] [ERROR] Process execution failed with exit code 5.[14.09.2007 14:08:14] [1] Setup is halting task execution because of one or more errors in a critical task.If i try to add another role, i recieve thesameerror.Please, help.
September 14th, 2007 12:15pm
I took have the same problem when I try to uninstall Exchange 2007 from a Test Server.
[9/17/2007 12:33:21 PM] [1] Found 79 tasks to execute[9/17/2007 12:33:21 PM] [1] Processing component 'Monitoring Service Configuration' (Installing the Exchange Monitoring service).[9/17/2007 12:33:21 PM] [1] Executing '$comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $envystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s /u `"$comClassFile`"" -Timeout:120000;', handleError = False[9/17/2007 12:33:21 PM] [2] Launching sub-task '$error.Clear(); $comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $envystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s /u `"$comClassFile`"" -Timeout:120000;'.[9/17/2007 12:33:21 PM] [2] Beginning processing.[9/17/2007 12:33:21 PM] [2] Starting: C:\WINDOWS\system32\regsvr32.exe arguments: /s /u "C:\Program Files\Microsoft\Exchange Server\bin\Monitoring\x86\DiagnosticCmdletController.dll"[9/17/2007 12:33:22 PM] [2] Process standard output: [9/17/2007 12:33:22 PM] [2] Process standard error: [9/17/2007 12:33:22 PM] [2] [ERROR] Unexpected Error[9/17/2007 12:33:22 PM] [2] [ERROR] Process execution failed with exit code 5.
Free Windows Admin Tool Kit Click here and download it now
September 17th, 2007 7:58pm
My Exchange setup log reported the same error while uninstalling the Hub Transport Server.
Starting: C:\WINDOWS\system32\regsvr32.exe arguments: /s /u "C:\Program Files\Microsoft\Exchange Server\bin\Monitoring\x86\DiagnosticCmdletController.dll"[9/17/2007 12:33:22 PM] [2] Process standard output: [9/17/2007 12:33:22 PM] [2] Process standard error:
I solved it by registerding the dll file again and running the uninstall and it worked like a charm.
Go to the ExchangeInstallationFolder\bin\Monitoring\x86\ and run regsvr32 DiagnosticCmdletController.dll. It will report that the registeration succeded sucessfully. Go to Add Remove Programs and uninstall the hub transport role.
Hope it helps... I lost 3 days trying to uninstall....!!
Cheers!
December 5th, 2007 11:43am
This post was a real god send when I was trying to remove a stobborn Hub transport role on a 2007 box.
Cheers you've saved me from wasting loads of time on a tight schedule.
Free Windows Admin Tool Kit Click here and download it now
August 17th, 2008 6:00pm
I'm having the same problem... unfortunately the solution didn't work for me.
Can anyone offer a tip for when regsvr32 reports "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."?
August 27th, 2008 11:18pm
Try the following command for removing Exchange 2007 completely regardless of errorMsiExec.exe /X{24B2C164-DE66-44FE-B468-A46D9D5E6B31}
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2009 11:08am