Error when trying to remove Exchange 2010 Mailbox Role

Home Forums Messaging Software Exchange 2007 / 2010 / 2013 Error when trying to remove Exchange 2010 Mailbox Role

This topic contains 2 replies, has 2 voices, and was last updated by  nsrpak 1 year, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • joshywahcho
    Member
    #167119

    Hi there,

    I’m in the midst of decommissioning an Exchange 2010 for one of my customers. There is another existing Exchange 2010 in place and all mailboxes, public folders etc have been moved over.

    However when it comes to the process of removing the mailbox role, it keeps failing with the following error. I’ve trawled through the internet, but can’t seem to find someone with a similar error as mine.

    Thank you in advance, and appreciate any one advise on where I can look at.
    I’d like to avoid doing a manual removal of the Exchange server if possible..


    nsrpak
    Member
    #391839

    Here are the error logs generated by the set up:

    [07/28/2017 04:38:30.0948] [1] The following 6 error(s) occurred during task execution:
    [07/28/2017 04:38:30.0948] [1] 0. ErrorRecord: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskExcepti on: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] [ERROR] The following error was generated when “$error.Clear();
    if ([Environment]::OSVersion.Version.Major -ge 6)
    {
    if ((get-service wsbexchange* | where {$_.name -eq “wsbexchange”}))
    {
    $reg = join-path (join-path $env:SystemRoot system32) reg.exe;
    $servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;
    if ((get-service wsbexchange).Status -eq “Running”)
    {
    Start-SetupProcess -Name:”$servicecmd” -Args:”stop wsbexchange”;
    }
    Start-SetupProcess -Name:”$servicecmd” -Args:”delete wsbexchange”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRCLSID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPIDwsbexchange.exe” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWindowsServerBackupApplication Support{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWSBAppExchangeHelper” /f”;
    }
    }
    ” was run: “Process execution failed with exit code 1.”.
    [07/28/2017 04:38:30.0948] [1] [ERROR] Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 1. ErrorRecord: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 1. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskExcepti on: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] [ERROR] The following error was generated when “$error.Clear();
    if ([Environment]::OSVersion.Version.Major -ge 6)
    {
    if ((get-service wsbexchange* | where {$_.name -eq “wsbexchange”}))
    {
    $reg = join-path (join-path $env:SystemRoot system32) reg.exe;
    $servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;
    if ((get-service wsbexchange).Status -eq “Running”)
    {
    Start-SetupProcess -Name:”$servicecmd” -Args:”stop wsbexchange”;
    }
    Start-SetupProcess -Name:”$servicecmd” -Args:”delete wsbexchange”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRCLSID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPIDwsbexchange.exe” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWindowsServerBackupApplication Support{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWSBAppExchangeHelper” /f”;
    }
    }
    ” was run: “Process execution failed with exit code 1.”.
    [07/28/2017 04:38:30.0948] [1] [ERROR] Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 2. ErrorRecord: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 2. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskExcepti on: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] [ERROR] The following error was generated when “$error.Clear();
    if ([Environment]::OSVersion.Version.Major -ge 6)
    {
    if ((get-service wsbexchange* | where {$_.name -eq “wsbexchange”}))
    {
    $reg = join-path (join-path $env:SystemRoot system32) reg.exe;
    $servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;
    if ((get-service wsbexchange).Status -eq “Running”)
    {
    Start-SetupProcess -Name:”$servicecmd” -Args:”stop wsbexchange”;
    }
    Start-SetupProcess -Name:”$servicecmd” -Args:”delete wsbexchange”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRCLSID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPIDwsbexchange.exe” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWindowsServerBackupApplication Support{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWSBAppExchangeHelper” /f”;
    }
    }
    ” was run: “Process execution failed with exit code 1.”.
    [07/28/2017 04:38:30.0948] [1] [ERROR] Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 3. ErrorRecord: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 3. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskExcepti on: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] [ERROR] The following error was generated when “$error.Clear();
    if ([Environment]::OSVersion.Version.Major -ge 6)
    {
    if ((get-service wsbexchange* | where {$_.name -eq “wsbexchange”}))
    {
    $reg = join-path (join-path $env:SystemRoot system32) reg.exe;
    $servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;
    if ((get-service wsbexchange).Status -eq “Running”)
    {
    Start-SetupProcess -Name:”$servicecmd” -Args:”stop wsbexchange”;
    }
    Start-SetupProcess -Name:”$servicecmd” -Args:”delete wsbexchange”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRCLSID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPIDwsbexchange.exe” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWindowsServerBackupApplication Support{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWSBAppExchangeHelper” /f”;
    }
    }
    ” was run: “Process execution failed with exit code 1.”.
    [07/28/2017 04:38:30.0948] [1] [ERROR] Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 4. ErrorRecord: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] 4. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskExcepti on: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0948] [1] [ERROR] The following error was generated when “$error.Clear();
    if ([Environment]::OSVersion.Version.Major -ge 6)
    {
    if ((get-service wsbexchange* | where {$_.name -eq “wsbexchange”}))
    {
    $reg = join-path (join-path $env:SystemRoot system32) reg.exe;
    $servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;
    if ((get-service wsbexchange).Status -eq “Running”)
    {
    Start-SetupProcess -Name:”$servicecmd” -Args:”stop wsbexchange”;
    }
    Start-SetupProcess -Name:”$servicecmd” -Args:”delete wsbexchange”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRCLSID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPIDwsbexchange.exe” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWindowsServerBackupApplication Support{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWSBAppExchangeHelper” /f”;
    }
    }
    ” was run: “Process execution failed with exit code 1.”.
    [07/28/2017 04:38:30.0948] [1] [ERROR] Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0964] [1] 5. ErrorRecord: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0964] [1] 5. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskExcepti on: Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0964] [1] [ERROR] The following error was generated when “$error.Clear();
    if ([Environment]::OSVersion.Version.Major -ge 6)
    {
    if ((get-service wsbexchange* | where {$_.name -eq “wsbexchange”}))
    {
    $reg = join-path (join-path $env:SystemRoot system32) reg.exe;
    $servicecmd = join-path (join-path $env:SystemRoot system32) sc.exe;
    if ((get-service wsbexchange).Status -eq “Running”)
    {
    Start-SetupProcess -Name:”$servicecmd” -Args:”stop wsbexchange”;
    }
    Start-SetupProcess -Name:”$servicecmd” -Args:”delete wsbexchange”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRCLSID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPID{D8A2E312-3B17-4293-B71E-CD72A7C04BF3}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKCRAPPIDwsbexchange.exe” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWindowsServerBackupApplication Support{76fe1ac4-15f7-4bcd-987e-8e1acb462fb7}” /f”;
    Start-SetupProcess -Name:”$reg” -Args:”delete ”HKLMSoftwareMicrosoftwindows ntcurrentversionWSBAppExchangeHelper” /f”;
    }
    }
    ” was run: “Process execution failed with exit code 1.”.
    [07/28/2017 04:38:30.0964] [1] [ERROR] Process execution failed with exit code 1.
    [07/28/2017 04:38:30.0964] [1] [ERROR-REFERENCE] Id=MailboxComponent___05b48d0df742416f87cbe69d2775 1979 Component=EXCHANGE14:CurrentReleaseSharedDatac enterSetup
    [07/28/2017 04:38:30.0964] [1] Setup is stopping now because of one or more critical errors.
    [07/28/2017 04:38:30.0964] [1] Finished executing component tasks.
    [07/28/2017 04:38:31.0213] [1] Ending processing Uninstall-MailboxRole
    [07/28/2017 04:38:35.0176] [0] End of Setup
    [07/28/2017 04:38:35.0176] [0] **********************************************


    nsrpak
    Member
    #391840

    Without much luck in finding a fix to do a clean uninstall and also considering MS no longer offers support for Exchange 2010, I’ve proceeded to do a manual removal of the exchange server.

    Emails are flowing well now, so all is good. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.