question

AndrewGarland-9943 avatar image
0 Votes"
AndrewGarland-9943 asked AndrewGarland-9943 answered

Errors Uninstalling Exchange 2013 CU23

We have an Exchange on prem estate consisting of Exchange 2013/2016 in coexistence.
All mailflow has been moved onto the Exchange 2016 servers, including EOL hybrid. We've confirmed there is no traffic going through Exchange 2013 anymore, and all mailboxes have been migrated off Exchange 2013. Our intent is now to uninstalled Exchange 2013.


I'm currently getting errors when attempting to uninstall Exchange 2013 CU 23 from one of the servers.
When I first attempted to uninstall it I did so from Program and Features.
The uninstall got as far as step 3 and then errored/stopped. Now is I attempt to run the uninstall again from Program and Features I get the error "An incomplete installation was detected. Run setup to complete Exchange Installation."

146844-image.png



I've also attempted to uninstall Exchange from elevated command line against a freshly extracted download of Exch2013 CU23 using the command "setup.exe /mode:uninstall /IAcceptExchangeServerLicenseTerms"
This gets as far as configuring the Client Access service, hangs on 19%, and then fails.

When I review the ExchangeSetupLogs I get the below (server names and service accounts removed)



[11/05/2021 09:34:21.0300] [2] Ending processing Write-ExchangeSetupLog
11/05/2021 09:34:21.0378 Finished executing component tasks.
11/05/2021 09:34:21.0394 Ending processing Start-PreSetup
[11/05/2021 09:34:21.0394] [0]
*
[11/05/2021 09:34:21.0394] [0] Setup will run the task 'Uninstall-ClientAccessRole'
11/05/2021 09:34:21.0394 Setup launched task 'Uninstall-ClientAccessRole -DomainController 'REDACTED''
11/05/2021 09:34:21.0409 Active Directory session settings for 'Uninstall-ClientAccessRole' are: View Entire Forest: 'True', Configuration Domain Controller: 'REDACTED', Preferred Global Catalog: 'REDACTED', Preferred Domain Controllers: '{ REDACTED }'
11/05/2021 09:34:21.0409 User specified parameters: -DomainController:'REDACTED'
11/05/2021 09:34:21.0409 Beginning processing Uninstall-ClientAccessRole
11/05/2021 09:34:21.0425 Attempting Uninstall for ClientAccessRole.
11/05/2021 09:34:21.0425 The following roles are current: BridgeheadRole FrontendTransportRole AdminToolsRole CafeRole
11/05/2021 09:34:21.0550 Reading components for the role 'BridgeheadRole' from 'res://BridgeheadRoleDefinition.xml'
11/05/2021 09:34:21.0566 Found 54 components
11/05/2021 09:34:21.0581 Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
11/05/2021 09:34:21.0581 Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
11/05/2021 09:34:21.0581 Loaded component 'All Roles Precompile Management Binaries' with 40 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
11/05/2021 09:34:21.0597 Loaded component 'Bridgehead Permissions Configuration' with 1 task information blocks from 'res://BridgeheadLocalPermissionsComponent.xml'
11/05/2021 09:34:21.0597 Loaded component 'Common Perf Counters ' with 22 task information blocks from 'res://CommonPerfCountersComponent.xml'
11/05/2021 09:34:21.0597 Loaded component 'Provision Server' with 12 task information blocks from 'res://ProvisionServerComponent.xml'
11/05/2021 09:34:21.0612 Loaded component 'All Active-Directory Roles Common' with 13 task information blocks from 'res://AllADRolesCommon.xml'
11/05/2021 09:34:21.0612 Loaded component 'Health Manager' with 11 task information blocks from 'res://HealthManagerComponent.xml'
11/05/2021 09:34:21.0612 Loaded component 'Exchange 2003 Pseudo-MTA Configuration' with 1 task information blocks from 'res://LegacyMTAComponent.xml'
11/05/2021 09:34:21.0612 Loaded component 'Exchange 2003 SMTP VSI Configuration' with 1 task information blocks from 'res://LegacySMTPComponent.xml'
11/05/2021 09:34:21.0628 Loaded component 'Transport Perf Counters' with 37 task information blocks from 'res://TransportPerfCountersComponent.xml'
11/05/2021 09:34:21.0628 Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task information blocks from 'res://RpcEpmapFirewallException.xml'
11/05/2021 09:34:21.0628 Loaded component 'Enable Remote IIS Admin RPC firewall exception' with 1 task information blocks from 'res://RemoteIISAdminFirewallException.xml'
11/05/2021 09:34:21.0628 Loaded component 'Bridgehead Role Setter' with 3 task information blocks from 'res://BridgeheadRoleSetterComponent.xml'
11/05/2021 09:34:21.0628 Loaded component 'Transport Common Configuration' with 23 task information blocks from 'res://TransportCommonComponent.xml'
11/05/2021 09:34:21.0644 Loaded component 'Transport Common Configuration' with 0 task information blocks from 'res://BridgeHeadAndGatewayTransportCommonComponent.xml'
11/05/2021 09:34:21.0644 Loaded component 'Datacenter Bridgehead AMService component' with 3 task information blocks from 'res://DatacenterBridgeheadAMServiceComponent.xml'
11/05/2021 09:34:21.0644 Loaded component 'Bridgehead Perf Counters' with 24 task information blocks from 'res://BridgeheadPerfCountersComponent.xml'
11/05/2021 09:34:21.0644 Loaded component 'Bridgehead Configuration' with 53 task information blocks from 'res://BridgeheadComponent.xml'
11/05/2021 09:34:21.0644 Loaded component 'Transport Log Search Service' with 2 task information blocks from 'res://TransportLogSearchServiceComponent.xml'
11/05/2021 09:34:21.0644 Loaded component 'Data Storage Configuration' with 1 task information blocks from 'res://DataStorageComponent.xml'
11/05/2021 09:34:21.0659 Loaded component 'Monitoring Service Configuration' with 3 task information blocks from 'res://MonitoringComponent.xml'
11/05/2021 09:34:21.0659 Loaded component 'Search Foundation Service Configuration' with 2 task information blocks from 'res://SearchFoundationComponent.xml'
11/05/2021 09:34:21.0659 Loaded component 'Service Host Configuration' with 3 task information blocks from 'res://ServiceHostComponent.xml'
11/05/2021 09:34:21.0659 Loaded component 'Protected Service Host Configuration' with 4 task information blocks from 'res://ProtectedServiceHostComponent.xml'
11/05/2021 09:34:21.0659 Loaded component 'BridgeheadExchangeCertificate' with 1 task information blocks from 'res://BridgeheadExchangeCertificate.xml'
11/05/2021 09:34:21.0675 Loaded component 'PowerShell Configuration' with 6 task information blocks from 'res://PowerShellComponent.xml'
11/05/2021 09:34:21.0675 Loaded component 'WSMan IIS Hosting Configuration' with 1 task information blocks from 'res://WSManIISHostingConfigurationComponent.xml'
11/05/2021 09:34:21.0675 Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
11/05/2021 09:34:21.0675 Loaded component 'Malware Filtering Configuration' with 1 task information blocks from 'res://MalwareFilteringComponent.xml'
11/05/2021 09:34:21.0675 Loaded component 'Datacenter Bridgehead Antimalware component' with 6 task information blocks from 'res://DatacenterBridgeheadAntimalwareComponent.xml'
11/05/2021 09:34:21.0675 Loaded component 'Bridgehead Service Configuration' with 6 task information blocks from 'res://BridgeheadServiceControl.xml'
11/05/2021 09:34:21.0675 Loaded component 'Transport Common Service Control' with 1 task information blocks from 'res://TransportCommonServiceControl.xml'
11/05/2021 09:34:21.0675 Loaded component 'Service Host Service Control' with 1 task information blocks from 'res://ServiceHostServiceControl.xml'
11/05/2021 09:34:21.0690 Loaded component 'Protected Service Host Service Control' with 1 task information blocks from 'res://ProtectedServiceHostServiceControl.xml'
11/05/2021 09:34:21.0690 Loaded component 'Datacenter Common Configuration' with 8 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
11/05/2021 09:34:21.0690 Loaded component 'Datacenter ServiceHost Configuration' with 2 task information blocks from 'res://DatacenterServiceHostComponent.xml'
11/05/2021 09:34:21.0690 Loaded component 'Datacenter Live ID perf Counters' with 1 task information blocks from 'res://DatacenterLiveIDPerfCountersComponent.xml'
11/05/2021 09:34:21.0690 Loaded component 'Datacenter Bridgehead Configuration' with 15 task information blocks from 'res://DatacenterBridgeheadComponent.xml'
11/05/2021 09:34:21.0690 Loaded component 'AntiSpam Spam Filter Configuration' with 21 task information blocks from 'res://DatacenterBridgeheadAntispamComponent.xml'
11/05/2021 09:34:21.0690 Loaded component 'HubTransport Ffo only component' with 10 task information blocks from 'res://FfoDatacenterBridgeheadComponent.xml'
11/05/2021 09:34:21.0706 Loaded component 'HubTransport ExO only component' with 23 task information blocks from 'res://ExODatacenterBridgeheadComponent.xml'
11/05/2021 09:34:21.0706 Loaded component 'Datacenter Bridgehead Perf Counters' with 9 task information blocks from 'res://DatacenterBridgeheadPerfCountersComponent.xml'
11/05/2021 09:34:21.0706 Loaded component 'Datacenter Bridgehead Perf Counters Exo Only Component' with 7 task information blocks from 'res://ExoDatacenterBridgeheadPerfCountersComponent.xml'
11/05/2021 09:34:21.0706 Loaded component 'Datacenter All Roles LiveID RPS Configuration' with 4 task information blocks from 'res://DatacenterLiveIdRpsComponent.xml'
11/05/2021 09:34:21.0706 Loaded component 'Datacenter Diagnostics Component' with 2 task information blocks from 'res://DatacenterDiagnosticsComponent.xml'
11/05/2021 09:34:21.0722 Loaded component 'Diagnostics Component' with 3 task information blocks from 'res://DiagnosticsComponent.xml'
11/05/2021 09:34:21.0722 Loaded component 'AuditService Component' with 3 task information blocks from 'res://DatacenterAuditServiceComponent.xml'
11/05/2021 09:34:21.0722 Loaded component 'Datacenter Optics Configuration' with 1 task information blocks from 'res://DatacenterOpticsComponent.xml'
11/05/2021 09:34:21.0722 Loaded component 'Ffo datacenter monitoring component' with 1 task information blocks from 'res://FfoDatacenterMonitoringComponent.xml'
11/05/2021 09:34:21.0722 Loaded component 'Datacenter Common Configuration Last' with 13 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
11/05/2021 09:34:21.0722 Loaded component 'Ffo Datacenter Common Configuration Last' with 2 task information blocks from 'res://FfoDatacenterAllRolesCommonLast.xml'
11/05/2021 09:34:21.0722 Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
11/05/2021 09:34:21.0722 Loaded component 'Datacenter Exchange Streaming Optics Component' with 1 task information blocks from 'res://ExchangeStreamingOpticsComponent.xml'
11/05/2021 09:34:21.0722 Reading components for the role 'FrontendTransportRole' from 'res://FrontendTransportRoleDefinition.xml'
11/05/2021 09:34:21.0737 Found 45 components
11/05/2021 09:34:21.0737 Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
11/05/2021 09:34:21.0737 Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
11/05/2021 09:34:21.0737 Loaded component 'All Roles Precompile Management Binaries' with 40 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
11/05/2021 09:34:21.0737 Loaded component 'Frontend Transport Permissions Configuration' with 1 task information blocks from 'res://FrontendTransportLocalPermissionsComponent.xml'
11/05/2021 09:34:21.0737 Loaded component 'Common Perf Counters ' with 22 task information blocks from 'res://CommonPerfCountersComponent.xml'
11/05/2021 09:34:21.0737 Loaded component 'Provision Server' with 12 task information blocks from 'res://ProvisionServerComponent.xml'
11/05/2021 09:34:21.0753 Loaded component 'All Active-Directory Roles Common' with 13 task information blocks from 'res://AllADRolesCommon.xml'
11/05/2021 09:34:21.0753 Loaded component 'Health Manager' with 11 task information blocks from 'res://HealthManagerComponent.xml'
11/05/2021 09:34:21.0753 Loaded component 'Datacenter Server License' with 1 task information blocks from 'res://DatacenterLicenseServer.xml'
11/05/2021 09:34:21.0753 Loaded component 'Exchange 2003 Pseudo-MTA Configuration' with 1 task information blocks from 'res://LegacyMTAComponent.xml'
11/05/2021 09:34:21.0753 Loaded component 'Exchange 2003 SMTP VSI Configuration' with 1 task information blocks from 'res://LegacySMTPComponent.xml'
11/05/2021 09:34:21.0753 Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task information blocks from 'res://RpcEpmapFirewallException.xml'
11/05/2021 09:34:21.0753 Loaded component 'Enable Remote IIS Admin RPC firewall exception' with 1 task information blocks from 'res://RemoteIISAdminFirewallException.xml'
11/05/2021 09:34:21.0753 Loaded component 'Front End Role Setter' with 1 task information blocks from 'res://FrontendTransportRoleSetterComponent.xml'
11/05/2021 09:34:21.0753 Loaded component 'Transport Common Configuration' with 23 task information blocks from 'res://TransportCommonComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'Frontend Perf Counters' with 20 task information blocks from 'res://FrontendTransportPerfCountersComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'FrontentTransport Configuration' with 8 task information blocks from 'res://FrontendTransportComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'Data Storage Configuration' with 1 task information blocks from 'res://DataStorageComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'Monitoring Service Configuration' with 3 task information blocks from 'res://MonitoringComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'Service Host Configuration' with 3 task information blocks from 'res://ServiceHostComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'Protected Service Host Configuration' with 4 task information blocks from 'res://ProtectedServiceHostComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'BridgeheadExchangeCertificate' with 1 task information blocks from 'res://BridgeheadExchangeCertificate.xml'
11/05/2021 09:34:21.0769 Loaded component 'PowerShell Configuration' with 6 task information blocks from 'res://PowerShellComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'WSMan IIS Hosting Configuration' with 1 task information blocks from 'res://WSManIISHostingConfigurationComponent.xml'
11/05/2021 09:34:21.0769 Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
11/05/2021 09:34:21.0784 Loaded component 'Transport Common Service Control' with 1 task information blocks from 'res://TransportCommonServiceControl.xml'
11/05/2021 09:34:21.0784 Loaded component 'Service Host Service Control' with 1 task information blocks from 'res://ServiceHostServiceControl.xml'
11/05/2021 09:34:21.0784 Loaded component 'Protected Service Host Service Control' with 1 task information blocks from 'res://ProtectedServiceHostServiceControl.xml'
11/05/2021 09:34:21.0784 Loaded component 'Datacenter Common Configuration' with 8 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
11/05/2021 09:34:21.0784 Loaded component 'Datacenter ServiceHost Configuration' with 2 task information blocks from 'res://DatacenterServiceHostComponent.xml'
11/05/2021 09:34:21.0784 Loaded component 'Datacenter Live ID perf Counters' with 1 task information blocks from 'res://DatacenterLiveIDPerfCountersComponent.xml'
11/05/2021 09:34:21.0784 Loaded component 'Datacenter FrontendTransport Configuration' with 9 task information blocks from 'res://DatacenterFrontendTransportComponent.xml'
11/05/2021 09:34:21.0784 Loaded component 'Datacenter Bridgehead Perf Counters' with 9 task information blocks from 'res://DatacenterBridgeheadPerfCountersComponent.xml'
11/05/2021 09:34:21.0784 Loaded component 'Datacenter Bridgehead Perf Counters Exo Only Component' with 7 task information blocks from 'res://ExoDatacenterBridgeheadPerfCountersComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'Datacenter All Roles LiveID RPS Configuration' with 4 task information blocks from 'res://DatacenterLiveIdRpsComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'Datacenter Diagnostics Component' with 2 task information blocks from 'res://DatacenterDiagnosticsComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'AuditService Component' with 3 task information blocks from 'res://DatacenterAuditServiceComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'Diagnostics Component' with 3 task information blocks from 'res://DiagnosticsComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'Datacenter Optics Configuration' with 1 task information blocks from 'res://DatacenterOpticsComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'Frontdoor Ffo only component' with 41 task information blocks from 'res://FfoDatacenterFrontdoorComponent.xml'
11/05/2021 09:34:21.0800 Loaded component 'FrontendTransport ExO only component' with 6 task information blocks from 'res://ExoDatacenterFrontendTransportComponent.xml'
11/05/2021 09:34:21.0815 Loaded component 'Ffo datacenter monitoring component' with 1 task information blocks from 'res://FfoDatacenterMonitoringComponent.xml'
11/05/2021 09:34:21.0815 Loaded component 'Datacenter Common Configuration Last' with 13 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
11/05/2021 09:34:21.0815 Loaded component 'Ffo Datacenter Common Configuration Last' with 2 task information blocks from 'res://FfoDatacenterAllRolesCommonLast.xml'
11/05/2021 09:34:21.0815 Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
11/05/2021 09:34:21.0815 Reading components for the role 'AdminToolsRole' from 'res://AdminToolsRoleDefinition.xml'
11/05/2021 09:34:21.0815 Found 6 components
11/05/2021 09:34:21.0815 Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
11/05/2021 09:34:21.0815 Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
11/05/2021 09:34:21.0815 Loaded component 'Admin Tools Configuration' with 1 task information blocks from 'res://AdminToolsComponent.xml'
11/05/2021 09:34:21.0831 Loaded component 'Datacenter File Copy Component' with 1 task information blocks from 'res://DatacenterFileCopyComponent.xml'
11/05/2021 09:34:21.0831 Loaded component 'Datacenter Admin Tools Component' with 1 task information blocks from 'res://DatacenterAdminToolsComponent.xml'
11/05/2021 09:34:21.0831 Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
11/05/2021 09:34:21.0831 Reading components for the role 'CafeRole' from 'res://CafeRoleDefinition.xml'
11/05/2021 09:34:21.0831 Found 25 components
11/05/2021 09:34:21.0831 Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
11/05/2021 09:34:21.0831 Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
11/05/2021 09:34:21.0831 Loaded component 'All Roles Precompile Management Binaries' with 40 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
11/05/2021 09:34:21.0831 Loaded component 'Cafe Permissions Configuration' with 1 task information blocks from 'res://CafeLocalPermissionsComponent.xml'
11/05/2021 09:34:21.0847 Loaded component 'Common Perf Counters ' with 22 task information blocks from 'res://CommonPerfCountersComponent.xml'
11/05/2021 09:34:21.0847 Loaded component 'Provision Server' with 12 task information blocks from 'res://ProvisionServerComponent.xml'
11/05/2021 09:34:21.0847 Loaded component 'All Active-Directory Roles Common' with 13 task information blocks from 'res://AllADRolesCommon.xml'
11/05/2021 09:34:21.0847 Loaded component 'Health Manager' with 11 task information blocks from 'res://HealthManagerComponent.xml'
11/05/2021 09:34:21.0847 Loaded component 'Exchange 2003 Registry Configuration' with 1 task information blocks from 'res://LegacyRegistryMarkersComponent.xml'
11/05/2021 09:34:21.0847 Loaded component 'Unified Messaging Call Router Perf Counters' with 12 task information blocks from 'res://CafePerfCountersComponent.xml'
11/05/2021 09:34:21.0847 Loaded component 'POP/IMAP Configuration' with 12 task information blocks from 'res://PopImapComponent.xml'
11/05/2021 09:34:21.0862 Loaded component 'CAFE Component Configuration' with 54 task information blocks from 'res://CafeComponent.xml'
11/05/2021 09:34:21.0862 Loaded component 'Enterprise Shared Cache Service Configuration' with 1 task information blocks from 'res://SharedCacheComponent.xml'
11/05/2021 09:34:21.0862 Loaded component 'Datacenter Shared Cache Service Configuration' with 3 task information blocks from 'res://DatacenterSharedCacheComponent.xml'
11/05/2021 09:34:21.0862 Loaded component 'MSA RPS Service Configuration' with 2 task information blocks from 'res://MSARPSServiceComponent.xml'
11/05/2021 09:34:21.0862 Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
11/05/2021 09:34:21.0862 Loaded component 'Datacenter Common Configuration' with 8 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
11/05/2021 09:34:21.0878 Loaded component 'Datacenter CAFE Component Configuration' with 88 task information blocks from 'res://DatacenterCafeComponent.xml'
11/05/2021 09:34:21.0878 Loaded component 'Datacenter Server License' with 1 task information blocks from 'res://DatacenterLicenseServer.xml'
11/05/2021 09:34:21.0878 Loaded component 'Datacenter Diagnostics Component' with 2 task information blocks from 'res://DatacenterDiagnosticsComponent.xml'
11/05/2021 09:34:21.0878 Loaded component 'AuditService Component' with 3 task information blocks from 'res://DatacenterAuditServiceComponent.xml'
11/05/2021 09:34:21.0878 Loaded component 'Diagnostics Component' with 3 task information blocks from 'res://DiagnosticsComponent.xml'
11/05/2021 09:34:21.0878 Loaded component 'Datacenter Optics Configuration' with 1 task information blocks from 'res://DatacenterOpticsComponent.xml'
11/05/2021 09:34:21.0878 Loaded component 'Datacenter Common Configuration Last' with 13 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
11/05/2021 09:34:21.0894 Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
11/05/2021 09:34:21.0894 Reading components for the role 'ClientAccessRole' from 'res://ClientAccessRoleDefinition.xml'
11/05/2021 09:34:21.0894 Found 52 components
11/05/2021 09:34:21.0894 Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
11/05/2021 09:34:21.0894 Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
11/05/2021 09:34:21.0894 Loaded component 'All Roles Precompile Management Binaries' with 40 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
11/05/2021 09:34:21.0894 Loaded component 'ClientAccess Permissions Configuration' with 1 task information blocks from 'res://ClientAccessLocalPermissionsComponent.xml'
11/05/2021 09:34:21.0894 Loaded component 'Common Perf Counters ' with 22 task information blocks from 'res://CommonPerfCountersComponent.xml'
11/05/2021 09:34:21.0909 Loaded component 'Datacenter Central Admin Perf Counters' with 4 task information blocks from 'res://DatacenterCentralAdminPerfCountersComponent.xml'
11/05/2021 09:34:21.0909 Loaded component 'Provision Server' with 12 task information blocks from 'res://ProvisionServerComponent.xml'
11/05/2021 09:34:21.0909 Loaded component 'All Active-Directory Roles Common' with 13 task information blocks from 'res://AllADRolesCommon.xml'
11/05/2021 09:34:21.0909 Loaded component 'Health Manager' with 11 task information blocks from 'res://HealthManagerComponent.xml'
11/05/2021 09:34:21.0909 Loaded component 'Exchange 2003 Registry Configuration' with 1 task information blocks from 'res://LegacyRegistryMarkersComponent.xml'
11/05/2021 09:34:21.0909 Loaded component 'Client Access Perf Counters' with 44 task information blocks from 'res://ClientAccessPerfCountersComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'Client Access Configuration' with 32 task information blocks from 'res://ClientAccessComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'POP/IMAP Backend Configuration' with 12 task information blocks from 'res://PopImapBeComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'ClientAccessExchangeCertificate' with 1 task information blocks from 'res://ClientAccessExchangeCertificate.xml'
11/05/2021 09:34:21.0925 Loaded component 'OWA Configuration' with 7 task information blocks from 'res://ClientAccessOwaComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'OAB Configuration' with 3 task information blocks from 'res://ClientAccessOabComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'ECP Configuration' with 4 task information blocks from 'res://ClientAccessEcpComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'RPC-over-HTTP Proxy Configuration' with 4 task information blocks from 'res://ClientAccessRpcProxyComponent.xml'
11/05/2021 09:34:21.0925 Loaded component 'Client Access Services Configuration' with 16 task information blocks from 'res://ServicesComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'Data Storage Configuration' with 1 task information blocks from 'res://DataStorageComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'Service Host Configuration' with 3 task information blocks from 'res://ServiceHostComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'Protected Service Host Configuration' with 4 task information blocks from 'res://ProtectedServiceHostComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'RPC Client Access Service Configuration' with 4 task information blocks from 'res://RpcClientAccessComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'Address Book Service Configuration' with 1 task information blocks from 'res://AddressBookComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task information blocks from 'res://RpcEpmapFirewallException.xml'
11/05/2021 09:34:21.0940 Loaded component 'Enable Remote IIS Admin RPC firewall exception' with 1 task information blocks from 'res://RemoteIISAdminFirewallException.xml'
11/05/2021 09:34:21.0940 Loaded component 'Enable RPC over HTTP redirector firewall exception' with 1 task information blocks from 'res://RpcHttpRedirectorException.xml'
11/05/2021 09:34:21.0940 Loaded component 'Monitoring Service Configuration' with 3 task information blocks from 'res://MonitoringComponent.xml'
11/05/2021 09:34:21.0940 Loaded component 'PowerShell Configuration' with 6 task information blocks from 'res://PowerShellComponent.xml'
11/05/2021 09:34:21.0956 Loaded component 'File Distribution Service Configuration' with 1 task information blocks from 'res://FileDistributionServiceComponent.xml'
11/05/2021 09:34:21.0956 Loaded component 'WSMan IIS Hosting Configuration' with 1 task information blocks from 'res://WSManIISHostingConfigurationComponent.xml'
11/05/2021 09:34:21.0956 Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
11/05/2021 09:34:21.0956 Loaded component 'Client Access Service Control' with 1 task information blocks from 'res://ClientAccessServiceControl.xml'
11/05/2021 09:34:21.0956 Loaded component 'Service Host Service Control' with 1 task information blocks from 'res://ServiceHostServiceControl.xml'
11/05/2021 09:34:21.0956 Loaded component 'Protected Service Host Service Control' with 1 task information blocks from 'res://ProtectedServiceHostServiceControl.xml'
11/05/2021 09:34:21.0956 Loaded component 'RPC Client Access Service Control' with 1 task information blocks from 'res://RpcClientAccessServiceControl.xml'
11/05/2021 09:34:21.0956 Loaded component 'File distribution Service Control' with 1 task information blocks from 'res://FileDistributionServiceControl.xml'
11/05/2021 09:34:21.0956 Loaded component 'Datacenter Common Configuration' with 8 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
11/05/2021 09:34:21.0956 Loaded component 'Datacenter Client Access Perf Counters' with 15 task information blocks from 'res://DatacenterClientAccessPerfCountersComponent.xml'
11/05/2021 09:34:21.0956 Loaded component 'Datacenter ServiceHost Configuration' with 2 task information blocks from 'res://DatacenterServiceHostComponent.xml'
11/05/2021 09:34:21.0972 Loaded component 'Datacenter Live ID perf Counters' with 1 task information blocks from 'res://DatacenterLiveIDPerfCountersComponent.xml'
11/05/2021 09:34:21.0972 Loaded component 'Datacenter Client Access Configuration' with 106 task information blocks from 'res://DatacenterClientAccessComponent.xml'
11/05/2021 09:34:21.0972 Loaded component 'Datacenter All Roles LiveID RPS Configuration' with 4 task information blocks from 'res://DatacenterLiveIdRpsComponent.xml'
11/05/2021 09:34:21.0972 Loaded component 'Datacenter Transport Log Search Service' with 2 task information blocks from 'res://DatacenterTransportLogSearchServiceComponent.xml'
11/05/2021 09:34:21.0987 Loaded component 'Datacenter Diagnostics Component' with 2 task information blocks from 'res://DatacenterDiagnosticsComponent.xml'
11/05/2021 09:34:21.0987 Loaded component 'Diagnostics Component' with 3 task information blocks from 'res://DiagnosticsComponent.xml'
11/05/2021 09:34:21.0987 Loaded component 'AuditService Component' with 3 task information blocks from 'res://DatacenterAuditServiceComponent.xml'
11/05/2021 09:34:21.0987 Loaded component 'Datacenter Optics Configuration' with 1 task information blocks from 'res://DatacenterOpticsComponent.xml'
11/05/2021 09:34:21.0987 Loaded component 'Datacenter Common Configuration Last' with 13 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
11/05/2021 09:34:21.0987 Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
11/05/2021 09:34:21.0987 Loaded component 'Partner Hosted Client Access Configuration' with 1 task information blocks from 'res://PartnerHostedClientAccessComponent.xml'
11/05/2021 09:34:21.0987 Loaded component 'Visualization Framework install tasks' with 1 task information blocks from 'res://VisualizationFrameworkComponent.xml'
11/05/2021 09:34:22.0003 The component 'All Roles Common First - Run Once' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding 'All Roles Common First' because it's marked AlwaysExecute.
11/05/2021 09:34:22.0003 The component 'All Roles Precompile Management Binaries' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'ClientAccess Permissions Configuration'
11/05/2021 09:34:22.0003 The component 'Common Perf Counters ' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Datacenter Central Admin Perf Counters'
11/05/2021 09:34:22.0003 The component 'Provision Server' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'All Active-Directory Roles Common' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Health Manager' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Exchange 2003 Registry Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Client Access Perf Counters'
11/05/2021 09:34:22.0003 Adding unique component 'Client Access Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'POP/IMAP Backend Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'ClientAccessExchangeCertificate'
11/05/2021 09:34:22.0003 Adding unique component 'OWA Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'OAB Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'ECP Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'RPC-over-HTTP Proxy Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'Client Access Services Configuration'
11/05/2021 09:34:22.0003 The component 'Data Storage Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Service Host Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Protected Service Host Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'RPC Client Access Service Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'Address Book Service Configuration'
11/05/2021 09:34:22.0003 The component 'Enable RPC-EPMAP firewall exception' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Enable Remote IIS Admin RPC firewall exception' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Enable RPC over HTTP redirector firewall exception'
11/05/2021 09:34:22.0003 The component 'Monitoring Service Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'PowerShell Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'File Distribution Service Configuration'
11/05/2021 09:34:22.0003 The component 'WSMan IIS Hosting Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Active Directory Topology Service Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Client Access Service Control'
11/05/2021 09:34:22.0003 The component 'Service Host Service Control' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Protected Service Host Service Control' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'RPC Client Access Service Control'
11/05/2021 09:34:22.0003 Adding unique component 'File distribution Service Control'
11/05/2021 09:34:22.0003 The component 'Datacenter Common Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Datacenter Client Access Perf Counters'
11/05/2021 09:34:22.0003 The component 'Datacenter ServiceHost Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Datacenter Live ID perf Counters' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Datacenter Client Access Configuration'
11/05/2021 09:34:22.0003 The component 'Datacenter All Roles LiveID RPS Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding unique component 'Datacenter Transport Log Search Service'
11/05/2021 09:34:22.0003 The component 'Datacenter Diagnostics Component' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Diagnostics Component' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'AuditService Component' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 The component 'Datacenter Optics Configuration' is shared with a role that's already configured.
11/05/2021 09:34:22.0003 Adding 'Datacenter Common Configuration Last' because it's marked AlwaysExecute.
11/05/2021 09:34:22.0003 Adding 'All Roles Common Last' because it's marked AlwaysExecute.
11/05/2021 09:34:22.0003 Adding unique component 'Partner Hosted Client Access Configuration'
11/05/2021 09:34:22.0003 Adding unique component 'Visualization Framework install tasks'
11/05/2021 09:34:22.0003 The following roles are installed: BridgeheadRole FrontendTransportRole AdminToolsRole CafeRole
11/05/2021 09:34:22.0003 Writing informational script to 'C:\ExchangeSetupLogs\Uninstall-ClientAccessRole-20211105-09342200031280944281.ps1'
11/05/2021 09:34:22.0018 Executing: $RoleAllRoles = 'BridgeheadRole,GatewayRole,ClientAccessRole,MailboxRole,UnifiedMessagingRole,FrontendTransportRole,AdminToolsRole,MonitoringRole,CentralAdminRole,CentralAdminDatabaseRole,CentralAdminFrontEndRole,LanguagePacksRole,CafeRole,FfoWebServiceRole,OSPRole'
11/05/2021 09:34:22.0018 Executing: $RoleBinPath = 'D:\Program Files\Microsoft\Exchange Server\V15\Bin'
11/05/2021 09:34:22.0034 Executing: $RoleDatacenterPath = 'D:\Program Files\Microsoft\Exchange Server\V15\Datacenter'
11/05/2021 09:34:22.0034 Executing: $RoleDomainController = 'REDACTED'
11/05/2021 09:34:22.0050 Executing: $RoleFqdnOrName = 'REDACTED'
11/05/2021 09:34:22.0050 Executing: $RoleInstallationMode = 'Uninstall'
11/05/2021 09:34:22.0065 Executing: $RoleInstallPath = 'D:\Program Files\Microsoft\Exchange Server\V15\'
11/05/2021 09:34:22.0065 Executing: $RoleInvocationID = '20211105-09342200031280944281'
11/05/2021 09:34:22.0081 Executing: $RoleIsAdminToolsRoleInstalled = $True
11/05/2021 09:34:22.0081 Executing: $RoleIsBridgeheadRoleInstalled = $True
11/05/2021 09:34:22.0097 Executing: $RoleIsCafeRoleInstalled = $True
11/05/2021 09:34:22.0097 Executing: $RoleIsDatacenter = $False
11/05/2021 09:34:22.0112 Executing: $RoleIsDatacenterDedicated = $False
11/05/2021 09:34:22.0112 Executing: $RoleIsFfo = $False
11/05/2021 09:34:22.0128 Executing: $RoleIsFrontendTransportRoleInstalled = $True
11/05/2021 09:34:22.0128 Executing: $RoleIsPartnerHosted = $False
11/05/2021 09:34:22.0143 Executing: $RoleLanguagePacksPath = 'C:\Temp\zeroday\CU23-Extract\'
11/05/2021 09:34:22.0143 Executing: $RoleLoggedOnUser = 'REDACTED'
11/05/2021 09:34:22.0159 Executing: $RoleLoggingPath = 'D:\Program Files\Microsoft\Exchange Server\V15\Logging'
11/05/2021 09:34:22.0175 Executing: $RoleNetBIOSName = 'REDACTED'
11/05/2021 09:34:22.0190 Executing: $RolePreviousVersion = $null
11/05/2021 09:34:22.0206 Executing: $RoleProductPlatform = 'amd64'
11/05/2021 09:34:22.0221 Executing: $RoleRoleName = 'ClientAccessRole'
11/05/2021 09:34:22.0221 Executing: $RoleRoles = 'BridgeheadRole,FrontendTransportRole,AdminToolsRole,CafeRole'
11/05/2021 09:34:22.0237 Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs'
11/05/2021 09:34:22.0237 Executing: $RoleTargetVersion = '15.00.1497.012'
11/05/2021 09:34:22.0253 Reversing task list to uninstall for Exchange.
11/05/2021 09:34:22.0253 Setup failed previously while performing the action Uninstall. Looking for the failed task with ID ServicesComponent___ca981854eaa74c1ca684178d9ea52fff.
11/05/2021 09:34:22.0253 93 tasks were found to run.
11/05/2021 09:34:22.0253 Processing component 'Client Access Services Configuration' (Configuring Client Access services.).
11/05/2021 09:34:22.0253 Executing:
get-WebServicesVirtualDirectory -ShowMailboxVirtualDirectories -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController -Force;

[11/05/2021 09:34:22.0300] [2] Active Directory session settings for 'Get-WebServicesVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'REDACTED', Preferred Global Catalog: 'REDACTED', Preferred Domain Controllers: '{ REDACTED }'
[11/05/2021 09:34:22.0300] [2] User specified parameters: -ShowMailboxVirtualDirectories:'True' -Server:'REDACTED' -DomainController:'REDACTED'
[11/05/2021 09:34:22.0300] [2] Beginning processing get-WebServicesVirtualDirectory
[11/05/2021 09:34:22.0300] [2] Active Directory session settings for 'Remove-WebServicesVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'REDACTED', Preferred Global Catalog: 'REDACTED', Preferred Domain Controllers: '{ REDACTED }'
[11/05/2021 09:34:22.0300] [2] User specified parameters: -DomainController:'REDACTED' -Force:'True'
[11/05/2021 09:34:22.0300] [2] Beginning processing remove-WebServicesVirtualDirectory
[11/05/2021 09:34:22.0315] [2] Searching objects "REDACTED" of type "Server" under the root "$null".
[11/05/2021 09:34:22.0331] [2] Previous operation run on domain controller 'REDACTED'.
[11/05/2021 09:34:22.0346] [2] Searching objects of type "ADWebServicesVirtualDirectory" with filter "$null", scope "SubTree" under the root "REDACTED".
[11/05/2021 09:34:22.0346] [2] Request filter in Get Task: (&(objectCategory=msExchWebServicesVirtualDirectory)(|(&(msExchVersion<=1125899906842624)(!(msExchVersion=1125899906842624)))(!(msExchVersion=)))).
[11/05/2021 09:34:22.0346] [2] Previous operation run on domain controller 'REDACTED'.
[11/05/2021 09:34:22.0346] [2] Preparing to output objects. The maximum size of the result set is "Unlimited".
[11/05/2021 09:36:22.0453] [2] [ERROR] An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355
[11/05/2021 09:36:22.0453] [2] [ERROR] Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/2/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED
[11/05/2021 09:36:22.0469] [2] [ERROR] Server execution failed
[11/05/2021 09:38:22.0729] [2] [ERROR] An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355
[11/05/2021 09:38:22.0729] [2] [ERROR] Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/1/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED
[11/05/2021 09:38:22.0729] [2] [ERROR] Server execution failed
[11/05/2021 09:38:22.0729] [2] Ending processing get-WebServicesVirtualDirectory
[11/05/2021 09:38:22.0729] [2] Ending processing remove-WebServicesVirtualDirectory
11/05/2021 09:38:22.0729 The following 2 error(s) occurred during task execution:
11/05/2021 09:38:22.0744 0. ErrorRecord: An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355
11/05/2021 09:38:22.0744 0. ErrorRecord: Microsoft.Exchange.Management.Metabase.IISGeneralCOMException: An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355 ---> Microsoft.Exchange.Management.Metabase.COMDetailException: Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/2/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED ---> System.Runtime.InteropServices.COMException: Server execution failed
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Exists(String path)
at Microsoft.Exchange.Management.Metabase.IisUtility.CreateIISDirectoryEntry(String iisDirectoryEntryPath, TaskErrorLoggingReThrowDelegate writeError, Object identity, Boolean reThrow)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
11/05/2021 09:38:22.0744 [ERROR] The following error was generated when "$error.Clear();
get-WebServicesVirtualDirectory -ShowMailboxVirtualDirectories -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController -Force;
" was run: "Microsoft.Exchange.Management.Metabase.IISGeneralCOMException: An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355 ---> Microsoft.Exchange.Management.Metabase.COMDetailException: Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/2/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED ---> System.Runtime.InteropServices.COMException: Server execution failed
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Exists(String path)
at Microsoft.Exchange.Management.Metabase.IisUtility.CreateIISDirectoryEntry(String iisDirectoryEntryPath, TaskErrorLoggingReThrowDelegate writeError, Object identity, Boolean reThrow)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---".
11/05/2021 09:38:22.0744 [ERROR] An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355
11/05/2021 09:38:22.0744 [ERROR] Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/2/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED
11/05/2021 09:38:22.0744 [ERROR] Server execution failed
11/05/2021 09:38:22.0744 1. ErrorRecord: An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355
11/05/2021 09:38:22.0744 1. ErrorRecord: Microsoft.Exchange.Management.Metabase.IISGeneralCOMException: An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355 ---> Microsoft.Exchange.Management.Metabase.COMDetailException: Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/1/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED ---> System.Runtime.InteropServices.COMException: Server execution failed
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Exists(String path)
at Microsoft.Exchange.Management.Metabase.IisUtility.CreateIISDirectoryEntry(String iisDirectoryEntryPath, TaskErrorLoggingReThrowDelegate writeError, Object identity, Boolean reThrow)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
11/05/2021 09:38:22.0744 [ERROR] The following error was generated when "$error.Clear();
get-WebServicesVirtualDirectory -ShowMailboxVirtualDirectories -Server $RoleFqdnOrName -DomainController $RoleDomainController | remove-WebServicesVirtualDirectory -DomainController $RoleDomainController -Force;
" was run: "Microsoft.Exchange.Management.Metabase.IISGeneralCOMException: An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355 ---> Microsoft.Exchange.Management.Metabase.COMDetailException: Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/1/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED ---> System.Runtime.InteropServices.COMException: Server execution failed
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Exists(String path)
at Microsoft.Exchange.Management.Metabase.IisUtility.CreateIISDirectoryEntry(String iisDirectoryEntryPath, TaskErrorLoggingReThrowDelegate writeError, Object identity, Boolean reThrow)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---".
11/05/2021 09:38:22.0744 [ERROR] An IIS directory entry couldn't be created. The error message is Server execution failed
. HResult = -2146959355
11/05/2021 09:38:22.0744 [ERROR] Server execution failed
.
Directory Path: IIS://REDACTED/W3SVC/1/ROOT/EWS
Detail:
server name: REDACTED
local machine name: REDACTED
local machine fqdn: REDACTED
11/05/2021 09:38:22.0744 [ERROR] Server execution failed
11/05/2021 09:38:22.0744 [ERROR-REFERENCE] Id=ServicesComponent___ca981854eaa74c1ca684178d9ea52fff Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
11/05/2021 09:38:22.0744 Setup is stopping now because of one or more critical errors.
11/05/2021 09:38:22.0744 Finished executing component tasks.
11/05/2021 09:38:22.0760 Ending processing Uninstall-ClientAccessRole
[11/05/2021 09:38:22.0775] [0] CurrentResult console.ProcessRunInternal:198: 1
[11/05/2021 09:38:22.0775] [0] CurrentResult launcherbase.maincore:90: 1
[11/05/2021 09:38:22.0775] [0] CurrentResult console.startmain:52: 1
[11/05/2021 09:38:22.0775] [0] CurrentResult SetupLauncherHelper.loadassembly:452: 1
[11/05/2021 09:38:22.0775] [0] The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
[11/05/2021 09:38:22.0775] [0] CurrentResult main.run:235: 1
[11/05/2021 09:38:22.0775] [0] CurrentResult setupbase.maincore:396: 1
[11/05/2021 09:38:22.0775] [0] End of Setup
[11/05/2021 09:38:22.0775] [0]
**



If I look in the EAC I can see the Exchange Database for the server I'm trying to uninstall has been removed, however its receive connectors are still there.
It's like it's now in a partially uninstalled state that I can't get past.

Can anyone advise how I compelete the uninstall of Exchange 2013 CU23?
My only requirement is that I dont break the Exchange 2016 servers in the process!

Thanks

office-exchange-server-itpro
image.png (9.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

joyceshen-MSFT avatar image
0 Votes"
joyceshen-MSFT answered joyceshen-MSFT commented

Hi @AndrewGarland-9943

If you failed to remove your Exchange server from control panel, we could consider using ADSIEDIT to meet this requirement. However please note: This is a risky operation and is not recommended by Microsoft. So it’s best to do a good job of backup to avoid subsequent problems.

Detailed steps can be seen here: REMOVE EXCHANGE SERVER USING ADSI EDIT
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

In addition, if you still want to recover your server then uninstall it, to resolve the error you encounter: The server cannot be recovered because Setup has detected that Exchange server roles are already installed. We could remove the value ConfiguredVersion from each Key that represents a role in Registry Editor... The path just like below lists

HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\AdminTools\ConfiguredVersion
HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\ClientAccessRole\ConfiguredVersion
HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\HubTransportRole\ConfiguredVersion
HKLM\SOFTWARE\Microsoft\ExchangeServer\v14\MailboxRole\ConfiguredVersion

This is a similar thread for your reference: Recover Server - Failed Install Disk


If an Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @joyceshen-MSFT

My own research had lead me to the same article on using ADSI EDIT.
The server I need to uninstall Exchange 2013 from (or just remove by force from the Exchange cluster) appears to be only referenced in the below location

CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Exchange,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=REDACTED,DC=REDACTED

Do you know if I were to delete the specific server from there, would that remove it from the EAC receive connectors, server roles, and virtual directories?

I'm going to try your registry edit suggestion first, and attempt an uninstall again. If that fails I think ADSI EDIT will be my only option.

Unfortunately I need to wait until tomorrow before I can try this before I can try this due to our change process.

Thanks,

0 Votes 0 ·

Hi @AndrewGarland-9943

If you have migrated from Exchange 2013 to 2019, and you confirmed that have no traffic going through Exchange 2013 anymore. For the operation about virtual directories and connectors should be performed before it get uninstalled. Like the steps in this article: How Do I Migrate from Exchange 2013 to 2019?

And yes, in ADSIEDIT: On the left hand pane, expand Configuration > CN = Configuration > CN=Services > CN = Microsoft Exchange > CN = <organization name> > CN=Administrative groups > CN=Exchange Server Administrative Groups > CN=Servers. This will display all the servers on the right hand pane. Choose the one that you want to remove.

And we still need to Cleaning up the left object of the server.

Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

0 Votes 0 ·
AndrewGarland-9943 avatar image
0 Votes"
AndrewGarland-9943 answered

As an update I've attempted to run a recovery install using the command

"setup /mode:recoverserver /IAcceptExchangeServerLicenseTerms"

This resulted in the error

"[11/05/2021 14:22:50.0124] [0] The server cannot be recovered because Setup has detected that Exchange server roles are already installed.
[11/05/2021 14:22:50.0171] [0] [ERROR] The following server roles are already installed: BridgeheadRole, ClientAccessRole, MailboxRole, UnifiedMessagingRole, FrontendTransportRole, AdminToolsRole, CafeRole."

Does anyone have any ideas how I might solve this?

Thanks,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndrewGarland-9943 avatar image
0 Votes"
AndrewGarland-9943 answered

Hi @joyceshen-MSFT

Deleting my Exchange 2013 server with ADSI EDIT worked, and the links you provided gave the correct steps to do so.

Unfortunately editing the registry did not work to recover the server.
It was too far gone!

Many thanks for the help

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.