Ask a question

Patrik Karlsson

Error when uninstalling Exchange 2010 from SBS2011

Hi!

First attempt to run  setup.com /mode:uninstall  gave an error message that "Windows SBS Console" was open.

Closed the console and tried a second time. New error message that "DataCollectroSvc" could not be running.

Closed that as well and tried a third time.

Now the uninstallation process starts and goes on until "Stopping Services" that fails with error message:

[03-05-2020 10:32:12.0167] [1] The following 1 error(s) occurred during task execution:
[03-05-2020 10:32:12.0167] [1] 0.  ErrorRecord: Service 'Microsoft Exchange Information Store (MSExchangeIS)' cannot be configured due to the following error: The specified service has been marked for deletion
[03-05-2020 10:32:12.0167] [1] 0.  ErrorRecord: Microsoft.PowerShell.Commands.ServiceCommandException: Service 'Microsoft Exchange Information Store (MSExchangeIS)' cannot be configured due to the following error: The specified service has been marked for deletion ---> System.ComponentModel.Win32Exception: The specified service has been marked for deletion
   --- End of inner exception stack trace ---
[03-05-2020 10:32:12.0369] [1] [ERROR] The following error was generated when "$error.Clear(); 
          & $RoleBinPath\ServiceControl.ps1 DisableServices $RoleRoles.Replace('Role','').Split(',');
          & $RoleBinPath\ServiceControl.ps1 Stop $RoleRoles.Replace('Role','').Split(',')
        " was run: "Service 'Microsoft Exchange Information Store (MSExchangeIS)' cannot be configured due to the following error: The specified service has been marked for deletion".
[03-05-2020 10:32:12.0369] [1] [ERROR] Service 'Microsoft Exchange Information Store (MSExchangeIS)' cannot be configured due to the following error: The specified service has been marked for deletion
[03-05-2020 10:32:12.0369] [1] [ERROR] The specified service has been marked for deletion
[03-05-2020 10:32:12.0385] [1] [ERROR-REFERENCE] Id=AllRolesPreFileCopyComponent___2f7e3804a2b340c69e930798211fb8fd Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
[03-05-2020 10:32:12.0385] [1] Setup is stopping now because of one or more critical errors.
[03-05-2020 10:32:12.0385] [1] Finished executing component tasks.
[03-05-2020 10:32:12.0447] [1] Ending processing Start-PreFileCopy
[03-05-2020 10:32:12.0463] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
[03-05-2020 10:32:12.0525] [0] End of Setup
[03-05-2020 10:32:12.0525] [0] **********************************************
 

Perhaps the two first failed uninstall attempts is the cause of the last error?

In any case: How can I solve this?

/Patrik


asked03/05/2020 10:46
562 views
Add Comment
Mariette Knap

Can you reboot the server and run the uninstall again?

Patrik Karlsson

That was (like so often) the solution.

I wasn't sure if it would break anything to do a reboot, so thank you for your advice!


replied 03/05/2020 18:54
Last Activity 03/07/2020 06:39

1 Answer(s)

  • Mariette Knap
    Add Comment
Add an Answer