none
Uninstalling CAS role on Exchange 2010

    Question

  • Is there any other way to uninstall CAS role on Exchange 2010? i tried uninstall thru add/remove programs and exchange setup and exchange repair.

    James

    Friday, October 26, 2012 1:26 AM

Answers

  • What was the problem when you used, e.g. Programs and Features (from Control Panel) to remove the role?


    Alexei

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:32 AM
  • Is there any other way to uninstall CAS role on Exchange 2010? i tried uninstall thru add/remove programs and exchange setup and exchange repair.

    James

    The suggested way is to use add\remove program,refrain from using adsiedit to remove.

    What error you get while un-installing ?


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:33 AM
  • process execution failed with exit code 1168

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:38 AM
  • process execution failed with exit code 1168

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:38 AM
  • process execution failed with exit code 1168

    James


    http://social.technet.microsoft.com/Forums/lv/exchange2010/thread/64641a77-b2a0-4265-9e07-c21ced1a971f

    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:43 AM
  • That's a generic error.  We're going to need more info from the ExchangeSetup.log file, typically in C:\ExchangeSetupLogs.


    Alexei

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:49 AM
    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 2:06 AM
  • Is there any other way to uninstall CAS role on Exchange 2010? i tried uninstall thru add/remove programs and exchange setup and exchange repair.

    James


    Yes, use the below in an elevated command prompt from the directory where you have the Exchange binaries (SP2 if you have that installed)
    setup.com /mode:uninstall /roles:CA


    Martina Miskovic

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 4:35 AM
  • [10/26/2012 15:04:10.0457] [0] Setup will run the task 'Uninstall-ClientAccessRole'
    [10/26/2012 15:04:10.0457] [1] Setup launched task 'Uninstall-ClientAccessRole -DomainController 'tdc-rdu-71.test.spiritaero.info'' 
    [10/26/2012 15:04:10.0472] [1] Active Directory session settings for 'Uninstall-ClientAccessRole' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:10.0472] [1] Beginning processing Uninstall-ClientAccessRole -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:10.0504] [1] Attempting Uninstall for ClientAccessRole.
    [10/26/2012 15:04:10.0504] [1] The following roles are current: AdminToolsRole
    [10/26/2012 15:04:11.0879] [1] Reading components for the role 'AdminToolsRole' from 'res://AdminToolsRoleDefinition.xml'
    [10/26/2012 15:04:11.0894] [1] Found 5 components
    [10/26/2012 15:04:11.0894] [1] Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'Datacenter File Copy Component' with 1 task information blocks from 'res://DatacenterFileCopyComponent.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'Datacenter Admin Tools Component' with 1 task information blocks from 'res://DatacenterAdminToolsComponent.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
    [10/26/2012 15:04:11.0910] [1] Reading components for the role 'ClientAccessRole' from 'res://ClientAccessRoleDefinition.xml'
    [10/26/2012 15:04:11.0910] [1] Found 50 components
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'All Roles Precompile Management Binaries' with 36 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'ClientAccess Permissions Configuration' with 1 task information blocks from 'res://ClientAccessLocalPermissionsComponent.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'Common Perf Counters ' with 4 task information blocks from 'res://CommonPerfCountersComponent.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Provision Server' with 10 task information blocks from 'res://ProvisionServerComponent.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'All Active-Directory Roles Common' with 10 task information blocks from 'res://AllADRolesCommon.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Datacenter Server License' with 1 task information blocks from 'res://DatacenterLicenseServer.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Exchange 2003 Registry Configuration' with 1 task information blocks from 'res://LegacyRegistryMarkersComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'Client Access Perf Counters' with 27 task information blocks from 'res://ClientAccessPerfCountersComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'Client Access Configuration' with 22 task information blocks from 'res://ClientAccessComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'POP/IMAP Configuration' with 12 task information blocks from 'res://PopImapComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'ClientAccessExchangeCertificate' with 1 task information blocks from 'res://ClientAccessExchangeCertificate.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'OWA Configuration' with 10 task information blocks from 'res://ClientAccessOwaComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'ECP Configuration' with 3 task information blocks from 'res://ClientAccessEcpComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'RPC-over-HTTP Proxy Configuration' with 4 task information blocks from 'res://ClientAccessRpcProxyComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Client Access Services Configuration' with 20 task information blocks from 'res://ServicesComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Data Storage Configuration' with 1 task information blocks from 'res://DataStorageComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Service Host Configuration' with 3 task information blocks from 'res://ServiceHostComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Protected Service Host Configuration' with 3 task information blocks from 'res://ProtectedServiceHostComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'RPC Client Access Service Configuration' with 4 task information blocks from 'res://RpcClientAccessComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'RPC Client Access Protocol Configuration' with 1 task information blocks from 'res://RpcClientAccessConfiguration.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Address Book Service Configuration' with 3 task information blocks from 'res://AddressBookComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task information blocks from 'res://RpcEpmapFirewallException.xml'
    [10/26/2012 15:04:12.0004] [1] Loaded component 'Enable Remote IIS Admin RPC firewall exception' with 1 task information blocks from 'res://RemoteIISAdminFirewallException.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'Enable RPC over HTTP redirector firewall exception' with 1 task information blocks from 'res://RpcHttpRedirectorException.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'Monitoring Service Configuration' with 5 task information blocks from 'res://MonitoringComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'PowerShell Configuration' with 4 task information blocks from 'res://PowerShellComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service OAB Perf Counters' with 1 task information blocks from 'res://FDS_OAB_PerfCountersComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service Group Metrics Perf Counters' with 1 task information blocks from 'res://FDS_GM_PerfCountersComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service Configuration' with 1 task information blocks from 'res://FileDistributionServiceComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'WSMan IIS Hosting Configuration' with 1 task information blocks from 'res://WSManIISHostingConfigurationComponent.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Client Access Service Control' with 1 task information blocks from 'res://ClientAccessServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Service Host Service Control' with 1 task information blocks from 'res://ServiceHostServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Protected Service Host Service Control' with 1 task information blocks from 'res://ProtectedServiceHostServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'RPC Client Access Service Control' with 1 task information blocks from 'res://RpcClientAccessServiceControl.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'File distribution Service Control' with 1 task information blocks from 'res://FileDistributionServiceControl.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Common Configuration' with 6 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Client Access Perf Counters' with 9 task information blocks from 'res://DatacenterClientAccessPerfCountersComponent.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter ServiceHost Configuration' with 1 task information blocks from 'res://DatacenterServiceHostComponent.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Live ID perf Counters' with 1 task information blocks from 'res://DatacenterLiveIDPerfCountersComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter Client Access Configuration' with 97 task information blocks from 'res://DatacenterClientAccessComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter All Roles LiveID RPS Configuration' with 3 task information blocks from 'res://DatacenterLiveIdRpsComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter Transport Log Search Service' with 2 task information blocks from 'res://DatacenterTransportLogSearchServiceComponent.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'Datacenter Common Configuration Last' with 3 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'Client Access SBS Configuration' with 2 task information blocks from 'res://SbsClientAccessComponent.xml'
    [10/26/2012 15:04:12.0097] [1] Loaded component 'Common SBS Configuration' with 1 task information blocks from 'res://SbsAllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0097] [1] Loaded component 'Partner Hosted Client Access Configuration' with 1 task information blocks from 'res://PartnerHostedClientAccessComponent.xml'
    [10/26/2012 15:04:12.0097] [1] The component 'All Roles Common First - Run Once' is shared with a role that's already configured.
    [10/26/2012 15:04:12.0097] [1] Adding 'All Roles Common First' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'All Roles Precompile Management Binaries'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ClientAccess Permissions Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Common Perf Counters '
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Provision Server'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'All Active-Directory Roles Common'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Server License'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Exchange 2003 Registry Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'POP/IMAP Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ClientAccessExchangeCertificate'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'OWA Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ECP Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC-over-HTTP Proxy Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Services Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Data Storage Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Service Host Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Protected Service Host Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Protocol Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Address Book Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable RPC-EPMAP firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable Remote IIS Admin RPC firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable RPC over HTTP redirector firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Monitoring Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'PowerShell Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service OAB Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service Group Metrics Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'WSMan IIS Hosting Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Active Directory Topology Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Service Host Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Protected Service Host Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File distribution Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Common Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Client Access Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter ServiceHost Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Live ID perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter All Roles LiveID RPS Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Transport Log Search Service'
    [10/26/2012 15:04:12.0097] [1] Adding 'Datacenter Common Configuration Last' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding 'All Roles Common Last' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access SBS Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding 'Common SBS Configuration' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Partner Hosted Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] The following roles are installed: AdminToolsRole
    [10/26/2012 15:04:12.0097] [1] Writing informational script to 'C:\ExchangeSetupLogs\Uninstall-ClientAccessRole-20121026-1004120097474402195.ps1'
    [10/26/2012 15:04:12.0097] [1] Executing: $RoleBinPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Bin'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleDatacenterPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Datacenter'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleDomainController = 'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleFqdnOrName = 'xca-rdu-72.test.spiritaero.info'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInstallationMode = 'Uninstall'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInstallPath = 'C:\Program Files\Microsoft\Exchange Server\V14\'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInvocationID = '20121026-1004120097474402195'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsAdminToolsRoleInstalled = $True
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsDatacenter = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsPartnerHosted = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsServerSbs = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLanguagePacksPath = 'Z:\SP1\'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLoggedOnUser = 'TEST\p9019638'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLoggingPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Logging'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleNetBIOSName = 'xca-rdu-72'
    [10/26/2012 15:04:12.0144] [1] Executing: $RolePreviousVersion = $null
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleProductPlatform = 'amd64'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleRoleName = 'ClientAccessRole'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleRoles = 'AdminToolsRole'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleTargetVersion = '14.01.0339.001'
    [10/26/2012 15:04:12.0144] [1] Reversing task list to uninstall for Exchange 2010 SP1.
    [10/26/2012 15:04:12.0144] [1] Setup failed previously while performing the action Uninstall.  Looking for the failed task with ID ClientAccessOwaComponent___7e91f829edc047b3823236876bc9d320.
    [10/26/2012 15:04:12.0144] [1] 99 tasks were found to execute.
    [10/26/2012 15:04:12.0144] [1] Processing component 'OWA Configuration' (Installing/Removing Outlook Web App Component.).
    [10/26/2012 15:04:12.0160] [1] Executing:
              Get-OabVirtualDirectory -Server:$RoleFqdnOrName -DomainController $RoleDomainController| Remove-OabVirtualDirectory -DomainController $RoleDomainController
           
    [10/26/2012 15:04:12.0175] [2] Active Directory session settings for 'Get-OabVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:12.0175] [2] Beginning processing Get-OabVirtualDirectory -Server:'xca-rdu-72.test.spiritaero.info' -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0191] [2] Active Directory session settings for 'Remove-OabVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:12.0191] [2] Beginning processing Remove-OabVirtualDirectory -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0191] [2] Searching objects "xca-rdu-72.test.spiritaero.info" of type "Server" under the root "$null".
    [10/26/2012 15:04:12.0222] [2] Previous operation run on domain controller 'tdc-rdu-71.test.spiritaero.info'.
    [10/26/2012 15:04:12.0254] [2] [ERROR] Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0254] [2] Ending processing Get-OabVirtualDirectory
    [10/26/2012 15:04:12.0254] [2] Ending processing Remove-OabVirtualDirectory
    [10/26/2012 15:04:12.0269] [1] The following 1 error(s) occurred during task execution:
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, OptionalIdentityData optionalData, Nullable`1 notFoundError, Nullable`1 multipleFoundError, ExchangeErrorCategory errorCategory)
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, Nullable`1 multipleFoundError)
       at Microsoft.Exchange.Management.SystemConfigurationTasks.GetVirtualDirectory`1.InternalValidate()
       at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
    [10/26/2012 15:04:12.0269] [1] [ERROR] The following error was generated when "$error.Clear();
              Get-OabVirtualDirectory -Server:$RoleFqdnOrName -DomainController $RoleDomainController| Remove-OabVirtualDirectory -DomainController $RoleDomainController
            " was run: "Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.".
    [10/26/2012 15:04:12.0269] [1] [ERROR] Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0269] [1] [ERROR-REFERENCE] Id=ClientAccessOwaComponent___7e91f829edc047b3823236876bc9d320 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    [10/26/2012 15:04:12.0269] [1] Setup is stopping now because of one or more critical errors.
    [10/26/2012 15:04:12.0269] [1] Finished executing component tasks.
    [10/26/2012 15:04:12.0300] [1] Ending processing Uninstall-ClientAccessRole
    [10/26/2012 15:04:12.0300] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
    [10/26/2012 15:04:12.0316] [0] End of Setup
    [10/26/2012 15:04:12.0316] [0] **********************************************

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:07 PM
  • http://social.technet.microsoft.com/Forums/en-US/exchangesvrgenerallegacy/thread/ca31af78-d31d-435d-be9b-9207f5b5c6e6

    This one is for 2K7, have a look, this may give you some clue.


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:24 PM
  • Nope that doesn't work either.

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:42 PM
  • Okay, as a last resort you can rebuild the corrupted CAS server.

    While rebuilding, you need to use the recovery mode of installation.

    http://exchangeserverpro.com/exchange-server-2010-client-access-server-backup-and-recovery


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    Friday, October 26, 2012 5:10 PM
  • http://social.technet.microsoft.com/Forums/en-US/exchangesvrgenerallegacy/thread/ca31af78-d31d-435d-be9b-9207f5b5c6e6

    This one is for 2K7, have a look, this may give you some clue.


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    I think you'd better not to manually remove the Exchange Server 2010.

    You can reinstall the server and  run a recoverserver switch, after the installation, try to uninstall it in the correct way.

    Thanks,

    Evan



    Evan Liu

    TechNet Community Support

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Monday, October 29, 2012 3:14 PM
    Moderator

All replies

  • What was the problem when you used, e.g. Programs and Features (from Control Panel) to remove the role?


    Alexei

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:32 AM
  • Is there any other way to uninstall CAS role on Exchange 2010? i tried uninstall thru add/remove programs and exchange setup and exchange repair.

    James

    The suggested way is to use add\remove program,refrain from using adsiedit to remove.

    What error you get while un-installing ?


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:33 AM
  • process execution failed with exit code 1168

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:38 AM
  • process execution failed with exit code 1168

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:38 AM
  • process execution failed with exit code 1168

    James


    http://social.technet.microsoft.com/Forums/lv/exchange2010/thread/64641a77-b2a0-4265-9e07-c21ced1a971f

    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:43 AM
  • That's a generic error.  We're going to need more info from the ExchangeSetup.log file, typically in C:\ExchangeSetupLogs.


    Alexei

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 1:49 AM
    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 2:06 AM
  • Is there any other way to uninstall CAS role on Exchange 2010? i tried uninstall thru add/remove programs and exchange setup and exchange repair.

    James


    Yes, use the below in an elevated command prompt from the directory where you have the Exchange binaries (SP2 if you have that installed)
    setup.com /mode:uninstall /roles:CA


    Martina Miskovic

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:51 PM
    Friday, October 26, 2012 4:35 AM
  • [10/26/2012 15:04:10.0457] [0] Setup will run the task 'Uninstall-ClientAccessRole'
    [10/26/2012 15:04:10.0457] [1] Setup launched task 'Uninstall-ClientAccessRole -DomainController 'tdc-rdu-71.test.spiritaero.info'' 
    [10/26/2012 15:04:10.0472] [1] Active Directory session settings for 'Uninstall-ClientAccessRole' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:10.0472] [1] Beginning processing Uninstall-ClientAccessRole -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:10.0504] [1] Attempting Uninstall for ClientAccessRole.
    [10/26/2012 15:04:10.0504] [1] The following roles are current: AdminToolsRole
    [10/26/2012 15:04:11.0879] [1] Reading components for the role 'AdminToolsRole' from 'res://AdminToolsRoleDefinition.xml'
    [10/26/2012 15:04:11.0894] [1] Found 5 components
    [10/26/2012 15:04:11.0894] [1] Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'Datacenter File Copy Component' with 1 task information blocks from 'res://DatacenterFileCopyComponent.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'Datacenter Admin Tools Component' with 1 task information blocks from 'res://DatacenterAdminToolsComponent.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
    [10/26/2012 15:04:11.0910] [1] Reading components for the role 'ClientAccessRole' from 'res://ClientAccessRoleDefinition.xml'
    [10/26/2012 15:04:11.0910] [1] Found 50 components
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'All Roles Precompile Management Binaries' with 36 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'ClientAccess Permissions Configuration' with 1 task information blocks from 'res://ClientAccessLocalPermissionsComponent.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'Common Perf Counters ' with 4 task information blocks from 'res://CommonPerfCountersComponent.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Provision Server' with 10 task information blocks from 'res://ProvisionServerComponent.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'All Active-Directory Roles Common' with 10 task information blocks from 'res://AllADRolesCommon.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Datacenter Server License' with 1 task information blocks from 'res://DatacenterLicenseServer.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Exchange 2003 Registry Configuration' with 1 task information blocks from 'res://LegacyRegistryMarkersComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'Client Access Perf Counters' with 27 task information blocks from 'res://ClientAccessPerfCountersComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'Client Access Configuration' with 22 task information blocks from 'res://ClientAccessComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'POP/IMAP Configuration' with 12 task information blocks from 'res://PopImapComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'ClientAccessExchangeCertificate' with 1 task information blocks from 'res://ClientAccessExchangeCertificate.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'OWA Configuration' with 10 task information blocks from 'res://ClientAccessOwaComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'ECP Configuration' with 3 task information blocks from 'res://ClientAccessEcpComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'RPC-over-HTTP Proxy Configuration' with 4 task information blocks from 'res://ClientAccessRpcProxyComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Client Access Services Configuration' with 20 task information blocks from 'res://ServicesComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Data Storage Configuration' with 1 task information blocks from 'res://DataStorageComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Service Host Configuration' with 3 task information blocks from 'res://ServiceHostComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Protected Service Host Configuration' with 3 task information blocks from 'res://ProtectedServiceHostComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'RPC Client Access Service Configuration' with 4 task information blocks from 'res://RpcClientAccessComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'RPC Client Access Protocol Configuration' with 1 task information blocks from 'res://RpcClientAccessConfiguration.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Address Book Service Configuration' with 3 task information blocks from 'res://AddressBookComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task information blocks from 'res://RpcEpmapFirewallException.xml'
    [10/26/2012 15:04:12.0004] [1] Loaded component 'Enable Remote IIS Admin RPC firewall exception' with 1 task information blocks from 'res://RemoteIISAdminFirewallException.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'Enable RPC over HTTP redirector firewall exception' with 1 task information blocks from 'res://RpcHttpRedirectorException.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'Monitoring Service Configuration' with 5 task information blocks from 'res://MonitoringComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'PowerShell Configuration' with 4 task information blocks from 'res://PowerShellComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service OAB Perf Counters' with 1 task information blocks from 'res://FDS_OAB_PerfCountersComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service Group Metrics Perf Counters' with 1 task information blocks from 'res://FDS_GM_PerfCountersComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service Configuration' with 1 task information blocks from 'res://FileDistributionServiceComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'WSMan IIS Hosting Configuration' with 1 task information blocks from 'res://WSManIISHostingConfigurationComponent.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Client Access Service Control' with 1 task information blocks from 'res://ClientAccessServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Service Host Service Control' with 1 task information blocks from 'res://ServiceHostServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Protected Service Host Service Control' with 1 task information blocks from 'res://ProtectedServiceHostServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'RPC Client Access Service Control' with 1 task information blocks from 'res://RpcClientAccessServiceControl.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'File distribution Service Control' with 1 task information blocks from 'res://FileDistributionServiceControl.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Common Configuration' with 6 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Client Access Perf Counters' with 9 task information blocks from 'res://DatacenterClientAccessPerfCountersComponent.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter ServiceHost Configuration' with 1 task information blocks from 'res://DatacenterServiceHostComponent.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Live ID perf Counters' with 1 task information blocks from 'res://DatacenterLiveIDPerfCountersComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter Client Access Configuration' with 97 task information blocks from 'res://DatacenterClientAccessComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter All Roles LiveID RPS Configuration' with 3 task information blocks from 'res://DatacenterLiveIdRpsComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter Transport Log Search Service' with 2 task information blocks from 'res://DatacenterTransportLogSearchServiceComponent.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'Datacenter Common Configuration Last' with 3 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'Client Access SBS Configuration' with 2 task information blocks from 'res://SbsClientAccessComponent.xml'
    [10/26/2012 15:04:12.0097] [1] Loaded component 'Common SBS Configuration' with 1 task information blocks from 'res://SbsAllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0097] [1] Loaded component 'Partner Hosted Client Access Configuration' with 1 task information blocks from 'res://PartnerHostedClientAccessComponent.xml'
    [10/26/2012 15:04:12.0097] [1] The component 'All Roles Common First - Run Once' is shared with a role that's already configured.
    [10/26/2012 15:04:12.0097] [1] Adding 'All Roles Common First' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'All Roles Precompile Management Binaries'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ClientAccess Permissions Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Common Perf Counters '
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Provision Server'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'All Active-Directory Roles Common'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Server License'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Exchange 2003 Registry Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'POP/IMAP Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ClientAccessExchangeCertificate'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'OWA Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ECP Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC-over-HTTP Proxy Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Services Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Data Storage Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Service Host Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Protected Service Host Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Protocol Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Address Book Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable RPC-EPMAP firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable Remote IIS Admin RPC firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable RPC over HTTP redirector firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Monitoring Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'PowerShell Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service OAB Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service Group Metrics Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'WSMan IIS Hosting Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Active Directory Topology Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Service Host Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Protected Service Host Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File distribution Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Common Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Client Access Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter ServiceHost Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Live ID perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter All Roles LiveID RPS Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Transport Log Search Service'
    [10/26/2012 15:04:12.0097] [1] Adding 'Datacenter Common Configuration Last' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding 'All Roles Common Last' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access SBS Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding 'Common SBS Configuration' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Partner Hosted Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] The following roles are installed: AdminToolsRole
    [10/26/2012 15:04:12.0097] [1] Writing informational script to 'C:\ExchangeSetupLogs\Uninstall-ClientAccessRole-20121026-1004120097474402195.ps1'
    [10/26/2012 15:04:12.0097] [1] Executing: $RoleBinPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Bin'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleDatacenterPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Datacenter'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleDomainController = 'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleFqdnOrName = 'xca-rdu-72.test.spiritaero.info'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInstallationMode = 'Uninstall'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInstallPath = 'C:\Program Files\Microsoft\Exchange Server\V14\'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInvocationID = '20121026-1004120097474402195'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsAdminToolsRoleInstalled = $True
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsDatacenter = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsPartnerHosted = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsServerSbs = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLanguagePacksPath = 'Z:\SP1\'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLoggedOnUser = 'TEST\p9019638'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLoggingPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Logging'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleNetBIOSName = 'xca-rdu-72'
    [10/26/2012 15:04:12.0144] [1] Executing: $RolePreviousVersion = $null
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleProductPlatform = 'amd64'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleRoleName = 'ClientAccessRole'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleRoles = 'AdminToolsRole'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleTargetVersion = '14.01.0339.001'
    [10/26/2012 15:04:12.0144] [1] Reversing task list to uninstall for Exchange 2010 SP1.
    [10/26/2012 15:04:12.0144] [1] Setup failed previously while performing the action Uninstall.  Looking for the failed task with ID ClientAccessOwaComponent___7e91f829edc047b3823236876bc9d320.
    [10/26/2012 15:04:12.0144] [1] 99 tasks were found to execute.
    [10/26/2012 15:04:12.0144] [1] Processing component 'OWA Configuration' (Installing/Removing Outlook Web App Component.).
    [10/26/2012 15:04:12.0160] [1] Executing:
              Get-OabVirtualDirectory -Server:$RoleFqdnOrName -DomainController $RoleDomainController| Remove-OabVirtualDirectory -DomainController $RoleDomainController
           
    [10/26/2012 15:04:12.0175] [2] Active Directory session settings for 'Get-OabVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:12.0175] [2] Beginning processing Get-OabVirtualDirectory -Server:'xca-rdu-72.test.spiritaero.info' -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0191] [2] Active Directory session settings for 'Remove-OabVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:12.0191] [2] Beginning processing Remove-OabVirtualDirectory -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0191] [2] Searching objects "xca-rdu-72.test.spiritaero.info" of type "Server" under the root "$null".
    [10/26/2012 15:04:12.0222] [2] Previous operation run on domain controller 'tdc-rdu-71.test.spiritaero.info'.
    [10/26/2012 15:04:12.0254] [2] [ERROR] Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0254] [2] Ending processing Get-OabVirtualDirectory
    [10/26/2012 15:04:12.0254] [2] Ending processing Remove-OabVirtualDirectory
    [10/26/2012 15:04:12.0269] [1] The following 1 error(s) occurred during task execution:
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, OptionalIdentityData optionalData, Nullable`1 notFoundError, Nullable`1 multipleFoundError, ExchangeErrorCategory errorCategory)
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, Nullable`1 multipleFoundError)
       at Microsoft.Exchange.Management.SystemConfigurationTasks.GetVirtualDirectory`1.InternalValidate()
       at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
    [10/26/2012 15:04:12.0269] [1] [ERROR] The following error was generated when "$error.Clear();
              Get-OabVirtualDirectory -Server:$RoleFqdnOrName -DomainController $RoleDomainController| Remove-OabVirtualDirectory -DomainController $RoleDomainController
            " was run: "Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.".
    [10/26/2012 15:04:12.0269] [1] [ERROR] Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0269] [1] [ERROR-REFERENCE] Id=ClientAccessOwaComponent___7e91f829edc047b3823236876bc9d320 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    [10/26/2012 15:04:12.0269] [1] Setup is stopping now because of one or more critical errors.
    [10/26/2012 15:04:12.0269] [1] Finished executing component tasks.
    [10/26/2012 15:04:12.0300] [1] Ending processing Uninstall-ClientAccessRole
    [10/26/2012 15:04:12.0300] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
    [10/26/2012 15:04:12.0316] [0] End of Setup
    [10/26/2012 15:04:12.0316] [0] **********************************************

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:07 PM
  • I tried it doesn't work: Here's the log file below.

    [10/26/2012 15:04:10.0457] [0] Setup will run the task 'Uninstall-ClientAccessRole'
    [10/26/2012 15:04:10.0457] [1] Setup launched task 'Uninstall-ClientAccessRole -DomainController 'tdc-rdu-71.test.spiritaero.info'' 
    [10/26/2012 15:04:10.0472] [1] Active Directory session settings for 'Uninstall-ClientAccessRole' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:10.0472] [1] Beginning processing Uninstall-ClientAccessRole -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:10.0504] [1] Attempting Uninstall for ClientAccessRole.
    [10/26/2012 15:04:10.0504] [1] The following roles are current: AdminToolsRole
    [10/26/2012 15:04:11.0879] [1] Reading components for the role 'AdminToolsRole' from 'res://AdminToolsRoleDefinition.xml'
    [10/26/2012 15:04:11.0894] [1] Found 5 components
    [10/26/2012 15:04:11.0894] [1] Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'Datacenter File Copy Component' with 1 task information blocks from 'res://DatacenterFileCopyComponent.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'Datacenter Admin Tools Component' with 1 task information blocks from 'res://DatacenterAdminToolsComponent.xml'
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
    [10/26/2012 15:04:11.0910] [1] Reading components for the role 'ClientAccessRole' from 'res://ClientAccessRoleDefinition.xml'
    [10/26/2012 15:04:11.0910] [1] Found 50 components
    [10/26/2012 15:04:11.0910] [1] Loaded component 'All Roles Common First - Run Once' with 2 task information blocks from 'res://AllRolesCommonFirst_RunOnce.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'All Roles Common First' with 8 task information blocks from 'res://AllRolesCommonFirst.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'All Roles Precompile Management Binaries' with 36 task information blocks from 'res://AllRolesPrecompileManagementBinaries.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'ClientAccess Permissions Configuration' with 1 task information blocks from 'res://ClientAccessLocalPermissionsComponent.xml'
    [10/26/2012 15:04:11.0925] [1] Loaded component 'Common Perf Counters ' with 4 task information blocks from 'res://CommonPerfCountersComponent.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Provision Server' with 10 task information blocks from 'res://ProvisionServerComponent.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'All Active-Directory Roles Common' with 10 task information blocks from 'res://AllADRolesCommon.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Datacenter Server License' with 1 task information blocks from 'res://DatacenterLicenseServer.xml'
    [10/26/2012 15:04:11.0941] [1] Loaded component 'Exchange 2003 Registry Configuration' with 1 task information blocks from 'res://LegacyRegistryMarkersComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'Client Access Perf Counters' with 27 task information blocks from 'res://ClientAccessPerfCountersComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'Client Access Configuration' with 22 task information blocks from 'res://ClientAccessComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'POP/IMAP Configuration' with 12 task information blocks from 'res://PopImapComponent.xml'
    [10/26/2012 15:04:11.0957] [1] Loaded component 'ClientAccessExchangeCertificate' with 1 task information blocks from 'res://ClientAccessExchangeCertificate.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'OWA Configuration' with 10 task information blocks from 'res://ClientAccessOwaComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'ECP Configuration' with 3 task information blocks from 'res://ClientAccessEcpComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'RPC-over-HTTP Proxy Configuration' with 4 task information blocks from 'res://ClientAccessRpcProxyComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Client Access Services Configuration' with 20 task information blocks from 'res://ServicesComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Data Storage Configuration' with 1 task information blocks from 'res://DataStorageComponent.xml'
    [10/26/2012 15:04:11.0972] [1] Loaded component 'Service Host Configuration' with 3 task information blocks from 'res://ServiceHostComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Protected Service Host Configuration' with 3 task information blocks from 'res://ProtectedServiceHostComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'RPC Client Access Service Configuration' with 4 task information blocks from 'res://RpcClientAccessComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'RPC Client Access Protocol Configuration' with 1 task information blocks from 'res://RpcClientAccessConfiguration.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Address Book Service Configuration' with 3 task information blocks from 'res://AddressBookComponent.xml'
    [10/26/2012 15:04:11.0988] [1] Loaded component 'Enable RPC-EPMAP firewall exception' with 1 task information blocks from 'res://RpcEpmapFirewallException.xml'
    [10/26/2012 15:04:12.0004] [1] Loaded component 'Enable Remote IIS Admin RPC firewall exception' with 1 task information blocks from 'res://RemoteIISAdminFirewallException.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'Enable RPC over HTTP redirector firewall exception' with 1 task information blocks from 'res://RpcHttpRedirectorException.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'Monitoring Service Configuration' with 5 task information blocks from 'res://MonitoringComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'PowerShell Configuration' with 4 task information blocks from 'res://PowerShellComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service OAB Perf Counters' with 1 task information blocks from 'res://FDS_OAB_PerfCountersComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service Group Metrics Perf Counters' with 1 task information blocks from 'res://FDS_GM_PerfCountersComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'File Distribution Service Configuration' with 1 task information blocks from 'res://FileDistributionServiceComponent.xml'
    [10/26/2012 15:04:12.0019] [1] Loaded component 'WSMan IIS Hosting Configuration' with 1 task information blocks from 'res://WSManIISHostingConfigurationComponent.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Active Directory Topology Service Configuration' with 3 task information blocks from 'res://AllADRolesCommonServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Client Access Service Control' with 1 task information blocks from 'res://ClientAccessServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Service Host Service Control' with 1 task information blocks from 'res://ServiceHostServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'Protected Service Host Service Control' with 1 task information blocks from 'res://ProtectedServiceHostServiceControl.xml'
    [10/26/2012 15:04:12.0035] [1] Loaded component 'RPC Client Access Service Control' with 1 task information blocks from 'res://RpcClientAccessServiceControl.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'File distribution Service Control' with 1 task information blocks from 'res://FileDistributionServiceControl.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Common Configuration' with 6 task information blocks from 'res://DatacenterAllRolesCommonFirst.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Client Access Perf Counters' with 9 task information blocks from 'res://DatacenterClientAccessPerfCountersComponent.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter ServiceHost Configuration' with 1 task information blocks from 'res://DatacenterServiceHostComponent.xml'
    [10/26/2012 15:04:12.0050] [1] Loaded component 'Datacenter Live ID perf Counters' with 1 task information blocks from 'res://DatacenterLiveIDPerfCountersComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter Client Access Configuration' with 97 task information blocks from 'res://DatacenterClientAccessComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter All Roles LiveID RPS Configuration' with 3 task information blocks from 'res://DatacenterLiveIdRpsComponent.xml'
    [10/26/2012 15:04:12.0066] [1] Loaded component 'Datacenter Transport Log Search Service' with 2 task information blocks from 'res://DatacenterTransportLogSearchServiceComponent.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'Datacenter Common Configuration Last' with 3 task information blocks from 'res://DatacenterAllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'All Roles Common Last' with 6 task information blocks from 'res://AllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0082] [1] Loaded component 'Client Access SBS Configuration' with 2 task information blocks from 'res://SbsClientAccessComponent.xml'
    [10/26/2012 15:04:12.0097] [1] Loaded component 'Common SBS Configuration' with 1 task information blocks from 'res://SbsAllRolesCommonLast.xml'
    [10/26/2012 15:04:12.0097] [1] Loaded component 'Partner Hosted Client Access Configuration' with 1 task information blocks from 'res://PartnerHostedClientAccessComponent.xml'
    [10/26/2012 15:04:12.0097] [1] The component 'All Roles Common First - Run Once' is shared with a role that's already configured.
    [10/26/2012 15:04:12.0097] [1] Adding 'All Roles Common First' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'All Roles Precompile Management Binaries'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ClientAccess Permissions Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Common Perf Counters '
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Provision Server'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'All Active-Directory Roles Common'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Server License'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Exchange 2003 Registry Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'POP/IMAP Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ClientAccessExchangeCertificate'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'OWA Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'ECP Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC-over-HTTP Proxy Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Services Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Data Storage Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Service Host Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Protected Service Host Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Protocol Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Address Book Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable RPC-EPMAP firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable Remote IIS Admin RPC firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Enable RPC over HTTP redirector firewall exception'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Monitoring Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'PowerShell Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service OAB Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service Group Metrics Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File Distribution Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'WSMan IIS Hosting Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Active Directory Topology Service Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Service Host Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Protected Service Host Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'RPC Client Access Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'File distribution Service Control'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Common Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Client Access Perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter ServiceHost Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Live ID perf Counters'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter All Roles LiveID RPS Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Datacenter Transport Log Search Service'
    [10/26/2012 15:04:12.0097] [1] Adding 'Datacenter Common Configuration Last' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding 'All Roles Common Last' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Client Access SBS Configuration'
    [10/26/2012 15:04:12.0097] [1] Adding 'Common SBS Configuration' because it's marked AlwaysExecute.
    [10/26/2012 15:04:12.0097] [1] Adding unique component 'Partner Hosted Client Access Configuration'
    [10/26/2012 15:04:12.0097] [1] The following roles are installed: AdminToolsRole
    [10/26/2012 15:04:12.0097] [1] Writing informational script to 'C:\ExchangeSetupLogs\Uninstall-ClientAccessRole-20121026-1004120097474402195.ps1'
    [10/26/2012 15:04:12.0097] [1] Executing: $RoleBinPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Bin'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleDatacenterPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Datacenter'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleDomainController = 'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleFqdnOrName = 'xca-rdu-72.test.spiritaero.info'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInstallationMode = 'Uninstall'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInstallPath = 'C:\Program Files\Microsoft\Exchange Server\V14\'
    [10/26/2012 15:04:12.0113] [1] Executing: $RoleInvocationID = '20121026-1004120097474402195'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsAdminToolsRoleInstalled = $True
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsDatacenter = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsPartnerHosted = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleIsServerSbs = $False
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLanguagePacksPath = 'Z:\SP1\'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLoggedOnUser = 'TEST\p9019638'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleLoggingPath = 'C:\Program Files\Microsoft\Exchange Server\V14\Logging'
    [10/26/2012 15:04:12.0129] [1] Executing: $RoleNetBIOSName = 'xca-rdu-72'
    [10/26/2012 15:04:12.0144] [1] Executing: $RolePreviousVersion = $null
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleProductPlatform = 'amd64'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleRoleName = 'ClientAccessRole'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleRoles = 'AdminToolsRole'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleSetupLoggingPath = 'C:\ExchangeSetupLogs'
    [10/26/2012 15:04:12.0144] [1] Executing: $RoleTargetVersion = '14.01.0339.001'
    [10/26/2012 15:04:12.0144] [1] Reversing task list to uninstall for Exchange 2010 SP1.
    [10/26/2012 15:04:12.0144] [1] Setup failed previously while performing the action Uninstall.  Looking for the failed task with ID ClientAccessOwaComponent___7e91f829edc047b3823236876bc9d320.
    [10/26/2012 15:04:12.0144] [1] 99 tasks were found to execute.
    [10/26/2012 15:04:12.0144] [1] Processing component 'OWA Configuration' (Installing/Removing Outlook Web App Component.).
    [10/26/2012 15:04:12.0160] [1] Executing:
              Get-OabVirtualDirectory -Server:$RoleFqdnOrName -DomainController $RoleDomainController| Remove-OabVirtualDirectory -DomainController $RoleDomainController
           
    [10/26/2012 15:04:12.0175] [2] Active Directory session settings for 'Get-OabVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:12.0175] [2] Beginning processing Get-OabVirtualDirectory -Server:'xca-rdu-72.test.spiritaero.info' -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0191] [2] Active Directory session settings for 'Remove-OabVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'tdc-rdu-71.test.spiritaero.info', Preferred Global Catalog: 'tdc-rdu-71.test.spiritaero.info', Preferred Domain Controllers: '{ tdc-rdu-71.test.spiritaero.info }'
    [10/26/2012 15:04:12.0191] [2] Beginning processing Remove-OabVirtualDirectory -DomainController:'tdc-rdu-71.test.spiritaero.info'
    [10/26/2012 15:04:12.0191] [2] Searching objects "xca-rdu-72.test.spiritaero.info" of type "Server" under the root "$null".
    [10/26/2012 15:04:12.0222] [2] Previous operation run on domain controller 'tdc-rdu-71.test.spiritaero.info'.
    [10/26/2012 15:04:12.0254] [2] [ERROR] Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0254] [2] Ending processing Get-OabVirtualDirectory
    [10/26/2012 15:04:12.0254] [2] Ending processing Remove-OabVirtualDirectory
    [10/26/2012 15:04:12.0269] [1] The following 1 error(s) occurred during task execution:
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Microsoft.Exchange.Configuration.Tasks.ManagementObjectNotFoundException: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, OptionalIdentityData optionalData, Nullable`1 notFoundError, Nullable`1 multipleFoundError, ExchangeErrorCategory errorCategory)
       at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.GetDataObject[TObject](IIdentityParameter id, IConfigDataProvider session, ObjectId rootID, Nullable`1 notFoundError, Nullable`1 multipleFoundError)
       at Microsoft.Exchange.Management.SystemConfigurationTasks.GetVirtualDirectory`1.InternalValidate()
       at Microsoft.Exchange.Configuration.Tasks.Task.ProcessRecord()
    [10/26/2012 15:04:12.0269] [1] [ERROR] The following error was generated when "$error.Clear();
              Get-OabVirtualDirectory -Server:$RoleFqdnOrName -DomainController $RoleDomainController| Remove-OabVirtualDirectory -DomainController $RoleDomainController
            " was run: "Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.".
    [10/26/2012 15:04:12.0269] [1] [ERROR] Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.
    [10/26/2012 15:04:12.0269] [1] [ERROR-REFERENCE] Id=ClientAccessOwaComponent___7e91f829edc047b3823236876bc9d320 Component=EXCHANGE14:\Current\Release\Shared\Datacenter\Setup
    [10/26/2012 15:04:12.0269] [1] Setup is stopping now because of one or more critical errors.
    [10/26/2012 15:04:12.0269] [1] Finished executing component tasks.
    [10/26/2012 15:04:12.0300] [1] Ending processing Uninstall-ClientAccessRole
    [10/26/2012 15:04:12.0300] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
    [10/26/2012 15:04:12.0316] [0] End of Setup
    [10/26/2012 15:04:12.0316] [0] **********************************************


    James

    Friday, October 26, 2012 3:14 PM
  • http://social.technet.microsoft.com/Forums/en-US/exchangesvrgenerallegacy/thread/ca31af78-d31d-435d-be9b-9207f5b5c6e6

    This one is for 2K7, have a look, this may give you some clue.


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:24 PM
  • I tried it doesn't work: Here's the log file below.

    [10/26/2012 15:04:12.0254] [2] Ending processing Get-OabVirtualDirectory
    [10/26/2012 15:04:12.0254] [2] Ending processing Remove-OabVirtualDirectory
    [10/26/2012 15:04:12.0269] [1] The following 1 error(s) occurred during task execution:
    [10/26/2012 15:04:12.0269] [1] 0.  ErrorRecord: Exchange server "xca-rdu-72.test.spiritaero.info" was not found. Please make sure you typed the name correctly.

    .


    James


    Hi,
    Was this CAS Server in any way "broken"?
    What if you remove the OabVirtualdirectory manually before you try an uninstall the Role...Does that work?

    Martina Miskovic


    • Edited by Martina_MiskovicMVP Friday, October 26, 2012 3:37 PM
    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    • Unmarked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:36 PM
  • Nope that doesn't work either.

    James

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Friday, October 26, 2012 3:42 PM
  • Okay, as a last resort you can rebuild the corrupted CAS server.

    While rebuilding, you need to use the recovery mode of installation.

    http://exchangeserverpro.com/exchange-server-2010-client-access-server-backup-and-recovery


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    Friday, October 26, 2012 5:10 PM
  • http://social.technet.microsoft.com/Forums/en-US/exchangesvrgenerallegacy/thread/ca31af78-d31d-435d-be9b-9207f5b5c6e6

    This one is for 2K7, have a look, this may give you some clue.


    ExchangeGeek

    (MCITP,Enterprise Messaging Administrator)

    **My posts are provided “AS IS” without warranty of any kind**

    I think you'd better not to manually remove the Exchange Server 2010.

    You can reinstall the server and  run a recoverserver switch, after the installation, try to uninstall it in the correct way.

    Thanks,

    Evan



    Evan Liu

    TechNet Community Support

    • Marked as answer by JJOHN7 Tuesday, December 8, 2015 9:52 PM
    Monday, October 29, 2012 3:14 PM
    Moderator
  • The CMD "setup.com /mode:uninstall /roles:CA" worked flawlessly for me. I needed to uninstall CAS role from two Exchange Nodes in order to build two new Nodes and have CAS roles on them and then implement NLB. I removed CAS from existing Nodes and left HUB and MBX roles intact. Thanks Martina!

    Friday, July 6, 2018 8:57 PM