Unable to uninstall Exchange 2010 role, rpc error 0x6d9
I have 2 CAS/HUB servers and I want to rebuild the mailbox role server (W2k8R2) before I migrate from Exchange 2003. This server was getting a lot of powershell errors. I could not access the powershell virtual directory for the modules. I have deleted the arbitration mailboxes and took full control fo the wsman_schema.xml file to fix those uninstall errors. Now I get the following [08/03/2010 16:09:07.0216] [2] Checking the status of database "Mailbox Database 0644562817". [08/03/2010 16:09:07.0232] [2] Dismounting the database, "Mailbox Database 0644562817". [08/03/2010 16:09:07.0560] [2] [ERROR] Unexpected Error [08/03/2010 16:09:07.0654] [2] [ERROR] An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server MESSENGER9.central.edu. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase [08/03/2010 16:09:07.0701] [2] [ERROR] Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase [08/03/2010 16:09:07.0717] [2] Ending processing. [08/03/2010 16:09:07.0717] [2] Ending processing. [08/03/2010 16:09:07.0717] [1] The following 1 error(s) occurred during task execution: [08/03/2010 16:09:07.0717] [1] 0. ErrorRecord: An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server MESSENGER9.xx.xx. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase [08/03/2010 16:09:07.0717] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Storage.AmReplayServiceDownException: An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server MESSENGER9.xxx.xx. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase ---> Microsoft.Exchange.Rpc.RpcException: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase at ThrowRpcException(Int32 rpcStatus, String message) at Microsoft.Exchange.Rpc.RpcClientBase.ThrowRpcException(Int32 rpcStatus, String routineName) at Microsoft.Exchange.Rpc.ActiveManager.AmRpcClient.DismountDatabase(Guid guid, Int32 flags) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.<>c__DisplayClassc.<DismountDatabase>b__b(String ) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.<>c__DisplayClass4a.<RunDatabaseRpcWithReferral>b__46() at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRetryableOperation(String serverName, RpcClientOperation rpcOperation) --- End of inner exception stack trace --- at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientHandleRpcException(RpcException ex, String serverName) at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRetryableOperation(String serverName, RpcClientOperation rpcOperation) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, Database database, String targetServer, AmRpcClient& rpcClient, InternalRpcOperation rpcOperation) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.DismountDatabase(Database database, Int32 flags) at Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveDatabaseTask`1.DismountDatabase() [08/03/2010 16:09:07.0717] [1] [ERROR] The following error was generated when "$error.Clear(); get-MailboxDatabase -server $RoleFqdnOrName | remove-MailboxDatabase" was run: "An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server MESSENGER9.xxx.xxx. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase". [08/03/2010 16:09:07.0717] [1] [ERROR] An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server MESSENGER9.central.edu. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase [08/03/2010 16:09:07.0717] [1] [ERROR] Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase [08/03/2010 16:09:07.0717] [1] [WARNING] <<< Setup failed to execute a task. Dumping all variables.... >>> [08/03/2010 16:09:07.0717] [1] $ = $null [08/03/2010 16:09:07.0717] [1] ? = True [08/03/2010 16:09:07.0717] [1] ^ = $null [08/03/2010 16:09:07.0717] [1] _ = $null [08/03/2010 16:09:07.0717] [1] ADServerSettings = Microsoft.Exchange.Data.Directory.SetupServerSettings [08/03/2010 16:09:07.0717] [1] args = $null [08/03/2010 16:09:07.0717] [1] comClassFile = D:\Program Files\Microsoft\Exchange Server\V14\bin\Monitoring\AMD64\DiagnosticCmdletController.dll [08/03/2010 16:09:07.0717] [1] ConfirmPreference = None [08/03/2010 16:09:07.0717] [1] ConsoleFileName = [08/03/2010 16:09:07.0717] [1] DebugPreference = SilentlyContinue [08/03/2010 16:09:07.0717] [1] Error = System.Collections.ArrayList {An Active Manager operation failed. Error: The Microsoft Exchange Replication service may not be running on server MESSENGER9.xxx.xxx. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_MountDatabase; } [08/03/2010 16:09:07.0717] [1] ErrorActionPreference = Continue [08/03/2010 16:09:07.0717] [1] ErrorView = NormalView [08/03/2010 16:09:07.0717] [1] ExchangePropertyContainer = Microsoft.Exchange.Configuration.Tasks.ExchangePropertyContainer [08/03/2010 16:09:07.0717] [1] ExecutionContext = System.Management.Automation.EngineIntrinsics [08/03/2010 16:09:07.0717] [1] false = False [08/03/2010 16:09:07.0717] [1] FormatEnumerationLimit = 4 [08/03/2010 16:09:07.0717] [1] HOME = H:\ [08/03/2010 16:09:07.0717] [1] Host = System.Management.Automation.Internal.Host.InternalHost [08/03/2010 16:09:07.0717] [1] input = $null [08/03/2010 16:09:07.0717] [1] LASTEXITCODE = 0 [08/03/2010 16:09:07.0717] [1] MaximumAliasCount = 4096 [08/03/2010 16:09:07.0717] [1] MaximumDriveCount = 4096 [08/03/2010 16:09:07.0717] [1] MaximumErrorCount = 256 [08/03/2010 16:09:07.0717] [1] MaximumFunctionCount = 4096 [08/03/2010 16:09:07.0717] [1] MaximumHistoryCount = 64 [08/03/2010 16:09:07.0717] [1] MaximumVariableCount = 4096 [08/03/2010 16:09:07.0717] [1] modulePath = D:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.Infoworker.Common.Mailtips.GroupMetricsReaderInterop.dll [08/03/2010 16:09:07.0717] [1] MyInvocation = $null [08/03/2010 16:09:07.0717] [1] NestedPromptLevel = 0 [08/03/2010 16:09:07.0717] [1] null = $null [08/03/2010 16:09:07.0717] [1] OutputEncoding = System.Text.ASCIIEncoding [08/03/2010 16:09:07.0717] [1] PID = 1064 [08/03/2010 16:09:07.0717] [1] ProgressPreference = Continue [08/03/2010 16:09:07.0717] [1] PSBoundParameters = System.Collections.Generic.Dictionary`2[System.String,System.Object] [08/03/2010 16:09:07.0717] [1] PSCulture = en-US [08/03/2010 16:09:07.0717] [1] PSEmailServer = [08/03/2010 16:09:07.0717] [1] PSHOME = C:\Windows\System32\WindowsPowerShell\v1.0 [08/03/2010 16:09:07.0717] [1] PSSessionApplicationName = wsman [08/03/2010 16:09:07.0717] [1] PSSessionConfigurationName = http://schemas.microsoft.com/powershell/Microsoft.PowerShell [08/03/2010 16:09:07.0717] [1] PSSessionOption = System.Management.Automation.Remoting.PSSessionOption [08/03/2010 16:09:07.0717] [1] PSUICulture = en-US [08/03/2010 16:09:07.0717] [1] PSVersionTable = System.Collections.Hashtable {System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; } [08/03/2010 16:09:07.0717] [1] PWD = C:\Windows\system32 [08/03/2010 16:09:07.0717] [1] reg = C:\Windows\system32\reg.exe [08/03/2010 16:09:07.0717] [1] regasmPath = C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exe [08/03/2010 16:09:07.0717] [1] regsvr = C:\Windows\system32\regsvr32.exe [08/03/2010 16:09:07.0717] [1] regSvr32WOW = C:\Windows\sysWOW64\regsvr32.exe [08/03/2010 16:09:07.0717] [1] ReportErrorShowExceptionClass = 0 [08/03/2010 16:09:07.0717] [1] ReportErrorShowInnerException = 0 [08/03/2010 16:09:07.0717] [1] ReportErrorShowSource = 1 [08/03/2010 16:09:07.0717] [1] ReportErrorShowStackTrace = 0 [08/03/2010 16:09:07.0717] [1] RoleBinPath = D:\Program Files\Microsoft\Exchange Server\V14\Bin [08/03/2010 16:09:07.0717] [1] RoleDatacenterPath = D:\Program Files\Microsoft\Exchange Server\V14\Datacenter [08/03/2010 16:09:07.0717] [1] RoleDomainController = controller4.xxx.xxx [08/03/2010 16:09:07.0717] [1] RoleFqdnOrName = Messenger9.xxx.xxx [08/03/2010 16:09:07.0717] [1] RoleInstallationMode = Uninstall [08/03/2010 16:09:07.0717] [1] RoleInstallPath = D:\Program Files\Microsoft\Exchange Server\V14\ [08/03/2010 16:09:07.0717] [1] RoleInvocationID = 20100803-1107380489738136330 [08/03/2010 16:09:07.0717] [1] RoleIsAdminToolsRoleInstalled = True [08/03/2010 16:09:07.0717] [1] RoleIsDatacenter = False [08/03/2010 16:09:07.0717] [1] RoleLanguagePacksPath = D:\Exchange install\ [08/03/2010 16:09:07.0717] [1] RoleLoggedOnUser = Redacted [08/03/2010 16:09:07.0717] [1] RoleLoggingPath = D:\Program Files\Microsoft\Exchange Server\V14\Logging [08/03/2010 16:09:07.0717] [1] RoleNetBIOSName = MESSENGER9 [08/03/2010 16:09:07.0717] [1] RolePreviousVersion = $null [08/03/2010 16:09:07.0717] [1] RoleProductPlatform = amd64 [08/03/2010 16:09:07.0717] [1] RoleRoleName = MailboxRole [08/03/2010 16:09:07.0717] [1] RoleRoles = AdminToolsRole [08/03/2010 16:09:07.0717] [1] RoleSetupLoggingPath = C:\ExchangeSetupLogs [08/03/2010 16:09:07.0717] [1] RoleTargetVersion = 14.00.0702.001 [08/03/2010 16:09:07.0717] [1] servicecmd = C:\Windows\system32\sc.exe [08/03/2010 16:09:07.0717] [1] ShellId = Microsoft.PowerShell [08/03/2010 16:09:07.0717] [1] StackTrace = $null [08/03/2010 16:09:07.0717] [1] this = $null [08/03/2010 16:09:07.0717] [1] true = True [08/03/2010 16:09:07.0717] [1] VerbosePreference = SilentlyContinue [08/03/2010 16:09:07.0717] [1] WarningPreference = Continue [08/03/2010 16:09:07.0717] [1] WhatIfPreference = False [08/03/2010 16:09:07.0717] [1] [WARNING] <<< Variable dumping complete. >> [08/03/2010 16:09:07.0717] [1] Setup is stopping now because of one or more critical errors. [08/03/2010 16:09:07.0717] [1] Finished executing component tasks. [08/03/2010 16:09:07.0779] [1] Ending processing.
August 3rd, 2010 7:54pm

Is it a standalone mailbox server, not DAG member? Please check the status of the Microsoft Exchange Replication service on the server Please check the health of database (eseutil /mh) Please check in the registry HKLM-Software-Microsoft-Exchange Server-V14-MailboxRole, see if there’s a watermark key. If yes, please remove it Resources: Troubleshooting RPC Endpoint Mapper errorsJames Luo TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx) If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
August 4th, 2010 5:49am

It is a standalone server and not part of a DAG. It is the only mailbox server I had built at the time. I just finished the install on my second mailbox server. The Exchange Replication service does not exist. The following are the Exchange services still on the server: Microsoft Exchange Active Directory Topology, Microsoft Exchange Information Store, Microsoft Exchange System Attendant. The registry key did exist.
August 4th, 2010 11:14pm

I run the uninstall again and now the error is: [08/04/2010 20:15:34.0201] [2] Searching objects of type "ADPowerShellVirtualDirectory" with filter "$null", scope "SubTree" under the root "MESSENGER9". [08/04/2010 20:15:34.0201] [2] Previous operation run on domain controller 'controller4.xx.xx'. [08/04/2010 20:15:34.0201] [2] Preparing to output objects. The maximum size of the result set is "unlimited". [08/04/2010 20:15:34.0201] [2] Ending processing. [08/04/2010 20:15:34.0201] [2] Ending processing. [08/04/2010 20:15:34.0201] [1] Processing component 'MailboxExchangeCertificate' (Installing Exchange Mailbox Certificates). [08/04/2010 20:15:34.0201] [1] Processing component 'Monitoring Service Configuration' (Installing the Exchange Monitoring service.). [08/04/2010 20:15:34.0201] [1] Executing 'if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s /u `"$comClassFile`"" -Timeout:120000; }' failed. The error is: False [08/04/2010 20:15:34.0201] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s /u `"$comClassFile`"" -Timeout:120000; }'. [08/04/2010 20:15:34.0216] [2] Active Directory session settings for 'Start-SetupProcess' are: View Entire Forest: 'True', Configuration Domain Controller: 'controller4.central.edu', Preferred Global Catalog: 'controller4.central.edu', Preferred Domain Controllers: '{ controller4.central.edu }' [08/04/2010 20:15:34.0216] [2] Runspace context: Executing user: central.edu/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/04/2010 20:15:34.0216] [2] Beginning processing. [08/04/2010 20:15:34.0216] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/04/2010 20:15:34.0216] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/04/2010 20:15:34.0216] [2] Resolved current organization: . [08/04/2010 20:15:34.0216] [2] Starting: C:\Windows\sysWOW64\regsvr32.exe with arguments: /s /u "D:\Program Files\Microsoft\Exchange Server\V14\bin\Monitoring\x86\DiagnosticCmdletController.dll" [08/04/2010 20:15:34.0341] [2] Process standard output: [08/04/2010 20:15:34.0357] [2] Process standard error: [08/04/2010 20:15:34.0419] [2] [ERROR] Unexpected Error [08/04/2010 20:15:34.0419] [2] [ERROR] Process execution failed with exit code 5. [08/04/2010 20:15:34.0419] [2] Ending processing. [08/04/2010 20:15:34.0419] [1] The following 1 error(s) occurred during task execution: [08/04/2010 20:15:34.0419] [1] 0. ErrorRecord: Process execution failed with exit code 5. [08/04/2010 20:15:34.0419] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskException: Process execution failed with exit code 5. [08/04/2010 20:15:34.0419] [1] [ERROR] The following error was generated when "$error.Clear(); if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s /u `"$comClassFile`"" -Timeout:120000; }" was run: "Process execution failed with exit code 5.". [08/04/2010 20:15:34.0419] [1] [ERROR] Process execution failed with exit code 5. [08/04/2010 20:15:34.0419] [1] [WARNING] <<< Setup failed to execute a task. Dumping all variables.... >>> [08/04/2010 20:15:34.0419] [1] $ = $null [08/04/2010 20:15:34.0419] [1] ? = True [08/04/2010 20:15:34.0419] [1] ^ = $null [08/04/2010 20:15:34.0419] [1] _ = $null [08/04/2010 20:15:34.0419] [1] a = \\MESSENGER9\root\cimv2:Win32_OperatingSystem=@ [08/04/2010 20:15:34.0419] [1] ADServerSettings = Microsoft.Exchange.Data.Directory.SetupServerSettings [08/04/2010 20:15:34.0419] [1] args = $null [08/04/2010 20:15:34.0419] [1] comClassFile = D:\Program Files\Microsoft\Exchange Server\V14\bin\Monitoring\x86\DiagnosticCmdletController.dll [08/04/2010 20:15:34.0419] [1] ConfirmPreference = None [08/04/2010 20:15:34.0419] [1] ConsoleFileName = [08/04/2010 20:15:34.0419] [1] DebugPreference = SilentlyContinue [08/04/2010 20:15:34.0419] [1] Error = System.Collections.ArrayList {Process execution failed with exit code 5.; } [08/04/2010 20:15:34.0419] [1] ErrorActionPreference = Continue [08/04/2010 20:15:34.0419] [1] ErrorView = NormalView [08/04/2010 20:15:34.0419] [1] ExchangePropertyContainer = Microsoft.Exchange.Configuration.Tasks.ExchangePropertyContainer [08/04/2010 20:15:34.0419] [1] ExecutionContext = System.Management.Automation.EngineIntrinsics [08/04/2010 20:15:34.0419] [1] false = False [08/04/2010 20:15:34.0419] [1] FormatEnumerationLimit = 4 [08/04/2010 20:15:34.0419] [1] HOME = H:\ [08/04/2010 20:15:34.0419] [1] Host = System.Management.Automation.Internal.Host.InternalHost [08/04/2010 20:15:34.0419] [1] input = $null [08/04/2010 20:15:34.0419] [1] MaximumAliasCount = 4096 [08/04/2010 20:15:34.0419] [1] MaximumDriveCount = 4096 [08/04/2010 20:15:34.0419] [1] MaximumErrorCount = 256 [08/04/2010 20:15:34.0419] [1] MaximumFunctionCount = 4096 [08/04/2010 20:15:34.0419] [1] MaximumHistoryCount = 64 [08/04/2010 20:15:34.0419] [1] MaximumVariableCount = 4096 [08/04/2010 20:15:34.0419] [1] MyInvocation = $null [08/04/2010 20:15:34.0419] [1] NestedPromptLevel = 0 [08/04/2010 20:15:34.0419] [1] null = $null [08/04/2010 20:15:34.0419] [1] OutputEncoding = System.Text.ASCIIEncoding [08/04/2010 20:15:34.0419] [1] PID = 3860 [08/04/2010 20:15:34.0419] [1] ProgressPreference = Continue [08/04/2010 20:15:34.0419] [1] PSBoundParameters = System.Collections.Generic.Dictionary`2[System.String,System.Object] [08/04/2010 20:15:34.0419] [1] PSCulture = en-US [08/04/2010 20:15:34.0419] [1] PSEmailServer = [08/04/2010 20:15:34.0419] [1] PSHOME = C:\Windows\System32\WindowsPowerShell\v1.0 [08/04/2010 20:15:34.0419] [1] PSSessionApplicationName = wsman [08/04/2010 20:15:34.0419] [1] PSSessionConfigurationName = http://schemas.microsoft.com/powershell/Microsoft.PowerShell [08/04/2010 20:15:34.0419] [1] PSSessionOption = System.Management.Automation.Remoting.PSSessionOption [08/04/2010 20:15:34.0419] [1] PSUICulture = en-US [08/04/2010 20:15:34.0419] [1] PSVersionTable = System.Collections.Hashtable {System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; } [08/04/2010 20:15:34.0419] [1] PWD = C:\Windows\system32 [08/04/2010 20:15:34.0419] [1] regSvr32WOW = C:\Windows\sysWOW64\regsvr32.exe [08/04/2010 20:15:34.0419] [1] ReportErrorShowExceptionClass = 0 [08/04/2010 20:15:34.0419] [1] ReportErrorShowInnerException = 0 [08/04/2010 20:15:34.0419] [1] ReportErrorShowSource = 1 [08/04/2010 20:15:34.0419] [1] ReportErrorShowStackTrace = 0 [08/04/2010 20:15:34.0419] [1] RoleBinPath = D:\Program Files\Microsoft\Exchange Server\V14\Bin [08/04/2010 20:15:34.0419] [1] RoleDatacenterPath = D:\Program Files\Microsoft\Exchange Server\V14\Datacenter [08/04/2010 20:15:34.0419] [1] RoleDomainController = controller4.central.edu [08/04/2010 20:15:34.0419] [1] RoleFqdnOrName = Messenger9.xx.xx [08/04/2010 20:15:34.0419] [1] RoleInstallationMode = Uninstall [08/04/2010 20:15:34.0419] [1] RoleInstallPath = D:\Program Files\Microsoft\Exchange Server\V14\ [08/04/2010 20:15:34.0419] [1] RoleInvocationID = 20100804-15152000601367105781 [08/04/2010 20:15:34.0419] [1] RoleIsAdminToolsRoleInstalled = True [08/04/2010 20:15:34.0419] [1] RoleIsDatacenter = False [08/04/2010 20:15:34.0419] [1] RoleLanguagePacksPath = D:\Exchange install\ [08/04/2010 20:15:34.0419] [1] RoleLoggedOnUser = redacted [08/04/2010 20:15:34.0419] [1] RoleLoggingPath = D:\Program Files\Microsoft\Exchange Server\V14\Logging [08/04/2010 20:15:34.0419] [1] RoleNetBIOSName = MESSENGER9 [08/04/2010 20:15:34.0419] [1] RolePreviousVersion = $null [08/04/2010 20:15:34.0419] [1] RoleProductPlatform = amd64 [08/04/2010 20:15:34.0419] [1] RoleRoleName = MailboxRole [08/04/2010 20:15:34.0419] [1] RoleRoles = AdminToolsRole [08/04/2010 20:15:34.0419] [1] RoleSetupLoggingPath = C:\ExchangeSetupLogs [08/04/2010 20:15:34.0419] [1] RoleTargetVersion = 14.00.0702.001 [08/04/2010 20:15:34.0419] [1] ShellId = Microsoft.PowerShell [08/04/2010 20:15:34.0419] [1] StackTrace = $null [08/04/2010 20:15:34.0419] [1] this = $null [08/04/2010 20:15:34.0419] [1] true = True [08/04/2010 20:15:34.0419] [1] VerbosePreference = SilentlyContinue [08/04/2010 20:15:34.0419] [1] WarningPreference = Continue [08/04/2010 20:15:34.0419] [1] WhatIfPreference = False [08/04/2010 20:15:34.0419] [1] [WARNING] <<< Variable dumping complete. >> [08/04/2010 20:15:34.0419] [1] Setup is stopping now because of one or more critical errors. [08/04/2010 20:15:34.0419] [1] Finished executing component tasks. [08/04/2010 20:15:34.0482] [1] Ending processing.
Free Windows Admin Tool Kit Click here and download it now
August 4th, 2010 11:24pm

Please try to the resolution in the KB 951183 which is similar to your symptom Please remove the watermark before try the uninstallationJames Luo TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx) If you have any feedback on our support, please contact tngfb@microsoft.com
August 5th, 2010 5:14am

I removed the watermark. Rebooted the server and checked that the watermark was gone, which it was. I then registered the DiagnosticCmdletController.dll file successfully and I still receive the same error when I attempt an uninstall. Setup log [08/05/2010 14:57:57.0732] [2] The maximum wait for the operation is set to '00:15:00'. [08/05/2010 14:57:57.0732] [2] Service checkpoint has progressed. Previous checkpoint='0' - Current checkpoint='1'. [08/05/2010 14:57:57.0732] [2] Will wait '20000' milliseconds for the service 'W3SVC' to reach status 'Stopped'. [08/05/2010 14:57:57.0982] [2] Service 'W3SVC' has successfully reached status 'Stopped on this server while waiting for status change. [08/05/2010 14:57:57.0982] [2] Ending processing. [08/05/2010 14:57:57.0982] [1] Executing '$a = get-wmiobject win32_operatingsystem; if( ([int]($a.version.split(".")[0])) -lt 6 ) { stop-SetupService -ServiceName HTTPFilter }' failed. The error is: False [08/05/2010 14:57:57.0982] [2] Launching sub-task '$error.Clear(); $a = get-wmiobject win32_operatingsystem; if( ([int]($a.version.split(".")[0])) -lt 6 ) { stop-SetupService -ServiceName HTTPFilter }'. [08/05/2010 14:57:58.0701] [1] Executing 'stop-SetupService -ServiceName IISAdmin' failed. The error is: False [08/05/2010 14:57:58.0701] [2] Launching sub-task '$error.Clear(); stop-SetupService -ServiceName IISAdmin'. [08/05/2010 14:57:58.0701] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:57:58.0701] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:57:58.0701] [2] Beginning processing. [08/05/2010 14:57:58.0701] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:57:58.0701] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:57:58.0701] [2] Resolved current organization: . [08/05/2010 14:57:58.0701] [2] The maximum wait for the operation is set to '00:15:00'. [08/05/2010 14:57:58.0701] [2] Service checkpoint has progressed. Previous checkpoint='0' - Current checkpoint='1'. [08/05/2010 14:57:58.0701] [2] Will wait '10000' milliseconds for the service 'IISAdmin' to reach status 'Stopped'. [08/05/2010 14:58:03.0952] [2] Service 'IISAdmin' has successfully reached status 'Stopped on this server while waiting for status change. [08/05/2010 14:58:03.0952] [2] Ending processing. [08/05/2010 14:58:03.0952] [1] Executing 'remove-firewallexception -BinaryPath ($RoleInstallPath + "\bin\msftesql.exe") -Name "MSFteSql"' failed. The error is: False [08/05/2010 14:58:03.0952] [2] Launching sub-task '$error.Clear(); remove-firewallexception -BinaryPath ($RoleInstallPath + "\bin\msftesql.exe") -Name "MSFteSql"'. [08/05/2010 14:58:03.0983] [2] Active Directory session settings for 'remove-firewallexception' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:03.0983] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:03.0983] [2] Beginning processing. [08/05/2010 14:58:03.0983] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:03.0983] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:03.0983] [2] Resolved current organization: . [08/05/2010 14:58:05.0405] [2] Ending processing. [08/05/2010 14:58:05.0405] [1] Executing 'remove-firewallexception -BinaryPath ($RoleInstallPath + "\bin\mad.exe") -Name "MSExchangeSA"' failed. The error is: False [08/05/2010 14:58:05.0405] [2] Launching sub-task '$error.Clear(); remove-firewallexception -BinaryPath ($RoleInstallPath + "\bin\mad.exe") -Name "MSExchangeSA"'. [08/05/2010 14:58:05.0405] [2] Active Directory session settings for 'remove-firewallexception' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:05.0405] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:05.0405] [2] Beginning processing. [08/05/2010 14:58:05.0405] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:05.0421] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:05.0421] [2] Resolved current organization: . [08/05/2010 14:58:05.0546] [2] Ending processing. [08/05/2010 14:58:05.0546] [1] Executing 'remove-firewallexception -FirewallRule (New-Object Microsoft.Exchange.Security.WindowsFirewall.MSExchangeISPortsFirewallRule)' failed. The error is: False [08/05/2010 14:58:05.0546] [2] Launching sub-task '$error.Clear(); remove-firewallexception -FirewallRule (New-Object Microsoft.Exchange.Security.WindowsFirewall.MSExchangeISPortsFirewallRule)'. [08/05/2010 14:58:05.0577] [2] Active Directory session settings for 'remove-firewallexception' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:05.0577] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:05.0577] [2] Beginning processing. [08/05/2010 14:58:05.0577] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:05.0577] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:05.0577] [2] Resolved current organization: . [08/05/2010 14:58:05.0780] [2] Ending processing. [08/05/2010 14:58:05.0780] [1] Executing 'remove-firewallexception -BinaryPath ($RoleInstallPath + "\bin\store.exe") -Name "MSExchangeIS"' failed. The error is: False [08/05/2010 14:58:05.0780] [2] Launching sub-task '$error.Clear(); remove-firewallexception -BinaryPath ($RoleInstallPath + "\bin\store.exe") -Name "MSExchangeIS"'. [08/05/2010 14:58:05.0780] [2] Active Directory session settings for 'remove-firewallexception' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:05.0780] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:05.0780] [2] Beginning processing. [08/05/2010 14:58:05.0780] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:05.0780] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:05.0780] [2] Resolved current organization: . [08/05/2010 14:58:05.0905] [2] Ending processing. [08/05/2010 14:58:05.0905] [1] Processing component 'Service Host Service Control' (Stopping MSExchangeServiceHost Service.). [08/05/2010 14:58:05.0905] [1] Executing 'stop-SetupService -ServiceName MSExchangeServiceHost' failed. The error is: False [08/05/2010 14:58:05.0905] [2] Launching sub-task '$error.Clear(); stop-SetupService -ServiceName MSExchangeServiceHost'. [08/05/2010 14:58:05.0905] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:05.0905] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:05.0905] [2] Beginning processing. [08/05/2010 14:58:05.0905] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:05.0905] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:05.0905] [2] Resolved current organization: . [08/05/2010 14:58:05.0905] [2] [WARNING] Service 'MSExchangeServiceHost' isn't installed on this server. [08/05/2010 14:58:05.0905] [2] Ending processing. [08/05/2010 14:58:05.0952] [1] Processing component 'Transport Common Service Control' (Starting Microsoft Exchange Transport Log Search service). [08/05/2010 14:58:05.0952] [1] Executing 'stop-SetupService -ServiceName MSExchangeTransportLogSearch' failed. The error is: False [08/05/2010 14:58:05.0952] [2] Launching sub-task '$error.Clear(); stop-SetupService -ServiceName MSExchangeTransportLogSearch'. [08/05/2010 14:58:05.0952] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:05.0952] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:05.0952] [2] Beginning processing. [08/05/2010 14:58:05.0952] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:05.0952] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:05.0952] [2] Resolved current organization: . [08/05/2010 14:58:05.0952] [2] [WARNING] Service 'MSExchangeTransportLogSearch' isn't installed on this server. [08/05/2010 14:58:05.0952] [2] Ending processing. [08/05/2010 14:58:05.0952] [1] Processing component 'Mailbox System Attendant Dependent Tasks' (Configuring tasks dependent on the System Attendant service.). [08/05/2010 14:58:05.0952] [1] Executing 'get-PublicFolderDatabase -server $RoleFqdnOrName | remove-PublicFolderDatabase -RemoveLastAllowed' failed. The error is: False [08/05/2010 14:58:05.0952] [2] Launching sub-task '$error.Clear(); get-PublicFolderDatabase -server $RoleFqdnOrName | remove-PublicFolderDatabase -RemoveLastAllowed'. [08/05/2010 14:58:06.0186] [2] Active Directory session settings for 'Get-PublicFolderDatabase' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:06.0186] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:06.0186] [2] Beginning processing. [08/05/2010 14:58:06.0186] [2] Active Directory session settings for 'Remove-PublicFolderDatabase' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:06.0186] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:06.0186] [2] Beginning processing. [08/05/2010 14:58:06.0186] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:06.0202] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:06.0249] [2] Searching objects "Messenger9.xxx.xxx" of type "Server" under the root "$null". [08/05/2010 14:58:06.0280] [2] Previous operation run on domain controller 'dc.xxx.xxx'. [08/05/2010 14:58:06.0280] [2] Resolved current organization: . [08/05/2010 14:58:06.0343] [2] Searching objects of type "PublicFolderDatabase" with filter "$null", scope "SubTree" under the root "MESSENGER9". [08/05/2010 14:58:06.0952] [2] Previous operation run on domain controller 'dc.xxx.xxx'. [08/05/2010 14:58:06.0952] [2] Preparing to output objects. The maximum size of the result set is "unlimited". [08/05/2010 14:58:06.0952] [2] Ending processing. [08/05/2010 14:58:06.0952] [2] Ending processing. [08/05/2010 14:58:06.0952] [1] Executing 'stop-SetupService -ServiceName MSExchangeRepl' failed. The error is: False [08/05/2010 14:58:06.0952] [2] Launching sub-task '$error.Clear(); stop-SetupService -ServiceName MSExchangeRepl'. [08/05/2010 14:58:06.0952] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:06.0952] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:06.0952] [2] Beginning processing. [08/05/2010 14:58:06.0952] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:06.0952] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:06.0952] [2] Resolved current organization: . [08/05/2010 14:58:06.0952] [2] [WARNING] Service 'MSExchangeRepl' isn't installed on this server. [08/05/2010 14:58:06.0952] [2] Ending processing. [08/05/2010 14:58:06.0952] [1] Executing 'stop-SetupService -ServiceName MSExchangeIS -MaximumWaitTime "unlimited"' failed. The error is: False [08/05/2010 14:58:06.0952] [2] Launching sub-task '$error.Clear(); stop-SetupService -ServiceName MSExchangeIS -MaximumWaitTime "unlimited"'. [08/05/2010 14:58:06.0952] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:06.0952] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:06.0952] [2] Beginning processing. [08/05/2010 14:58:06.0952] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:06.0952] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:06.0952] [2] Resolved current organization: . [08/05/2010 14:58:06.0952] [2] The maximum wait for the operation is set to 'unlimited'. [08/05/2010 14:58:06.0952] [2] Service checkpoint has progressed. Previous checkpoint='0' - Current checkpoint='1'. [08/05/2010 14:58:06.0952] [2] Will wait '60000' milliseconds for the service 'MSExchangeIS' to reach status 'Stopped'. [08/05/2010 14:58:08.0202] [2] Service 'MSExchangeIS' has successfully reached status 'Stopped on this server while waiting for status change. [08/05/2010 14:58:08.0202] [2] Ending processing. [08/05/2010 14:58:08.0202] [1] Executing 'stop-SetupService -ServiceName MSExchangeSA' failed. The error is: False [08/05/2010 14:58:08.0202] [2] Launching sub-task '$error.Clear(); stop-SetupService -ServiceName MSExchangeSA'. [08/05/2010 14:58:08.0218] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:08.0218] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:08.0218] [2] Beginning processing. [08/05/2010 14:58:08.0218] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:08.0218] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:08.0218] [2] Resolved current organization: . [08/05/2010 14:58:08.0218] [2] The maximum wait for the operation is set to '00:15:00'. [08/05/2010 14:58:08.0218] [2] [WARNING] Service checkpoint has not progressed. Previous checkpoint='0'- Current checkpoint='0'. [08/05/2010 14:58:08.0218] [2] Previous service status query time is '8/5/2010 9:58:08 AM'. [08/05/2010 14:58:08.0218] [2] Current service status query time is '8/5/2010 9:58:08 AM'. [08/05/2010 14:58:08.0218] [2] Will wait '5000' milliseconds for the service 'MSExchangeSA' to reach status 'Stopped'. [08/05/2010 14:58:10.0468] [2] Service 'MSExchangeSA' has successfully reached status 'Stopped on this server while waiting for status change. [08/05/2010 14:58:10.0468] [2] Ending processing. [08/05/2010 14:58:10.0468] [1] Processing component 'Active Directory Topology Service Configuration' (Configuring Microsoft Exchange Active Directory Topology service). [08/05/2010 14:58:10.0468] [1] Executing 'stop-setupservice -ServiceName MSExchangeADTopology' failed. The error is: False [08/05/2010 14:58:10.0468] [2] Launching sub-task '$error.Clear(); stop-setupservice -ServiceName MSExchangeADTopology'. [08/05/2010 14:58:10.0468] [2] Active Directory session settings for 'stop-SetupService' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:10.0468] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:10.0468] [2] Beginning processing. [08/05/2010 14:58:10.0468] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:10.0468] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:10.0468] [2] Resolved current organization: . [08/05/2010 14:58:10.0468] [2] The maximum wait for the operation is set to '00:15:00'. [08/05/2010 14:58:10.0468] [2] Service checkpoint has progressed. Previous checkpoint='0' - Current checkpoint='5'. [08/05/2010 14:58:10.0468] [2] Will wait '30000' milliseconds for the service 'MSExchangeADTopology' to reach status 'Stopped'. [08/05/2010 14:58:10.0718] [2] Service 'MSExchangeADTopology' has successfully reached status 'Stopped on this server while waiting for status change. [08/05/2010 14:58:10.0718] [2] Ending processing. [08/05/2010 14:58:10.0718] [1] Processing component 'WSMan IIS Hosting Configuration' (WSMan IIS Hosting Configuration Component). [08/05/2010 14:58:10.0718] [1] Executing 'unconfigure-WSManIISHosting;' failed. The error is: False [08/05/2010 14:58:10.0718] [2] Launching sub-task '$error.Clear(); unconfigure-WSManIISHosting;'. [08/05/2010 14:58:10.0718] [2] Active Directory session settings for 'Unconfigure-WSManIISHosting' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:10.0718] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:10.0718] [2] Beginning processing. [08/05/2010 14:58:10.0718] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:10.0718] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:10.0749] [2] Resolved current organization: . [08/05/2010 14:58:11.0109] [2] Ending processing. [08/05/2010 14:58:11.0109] [1] Processing component 'PowerShell Configuration' (Installing and configuring the Windows PowerShell virtual directories). [08/05/2010 14:58:11.0109] [1] Executing 'get-PowerShellVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | remove-PowerShellVirtualDirectory -DomainController $RoleDomainController;' failed. The error is: False [08/05/2010 14:58:11.0109] [2] Launching sub-task '$error.Clear(); get-PowerShellVirtualDirectory -server $RoleFqdnOrName -DomainController $RoleDomainController | remove-PowerShellVirtualDirectory -DomainController $RoleDomainController;'. [08/05/2010 14:58:11.0234] [2] Active Directory session settings for 'Get-PowerShellVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:11.0234] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:11.0234] [2] Beginning processing. [08/05/2010 14:58:11.0234] [2] Active Directory session settings for 'Remove-PowerShellVirtualDirectory' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:11.0234] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:11.0234] [2] Beginning processing. [08/05/2010 14:58:11.0234] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:11.0234] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:11.0234] [2] Searching objects "Messenger9.xxx.xxx" of type "Server" under the root "$null". [08/05/2010 14:58:11.0296] [2] Previous operation run on domain controller 'dc.xxx.xxx'. [08/05/2010 14:58:11.0296] [2] Resolved current organization: . [08/05/2010 14:58:11.0296] [2] Searching objects of type "ADPowerShellVirtualDirectory" with filter "$null", scope "SubTree" under the root "MESSENGER9". [08/05/2010 14:58:11.0296] [2] Previous operation run on domain controller 'dc.xxx.xxx'. [08/05/2010 14:58:11.0296] [2] Preparing to output objects. The maximum size of the result set is "unlimited". [08/05/2010 14:58:11.0296] [2] Ending processing. [08/05/2010 14:58:11.0296] [2] Ending processing. [08/05/2010 14:58:11.0328] [1] Processing component 'MailboxExchangeCertificate' (Installing Exchange Mailbox Certificates). [08/05/2010 14:58:11.0328] [1] Processing component 'Monitoring Service Configuration' (Installing the Exchange Monitoring service.). [08/05/2010 14:58:11.0328] [1] Executing 'if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s /u `"$comClassFile`"" -Timeout:120000; }' failed. The error is: False [08/05/2010 14:58:11.0328] [2] Launching sub-task '$error.Clear(); if ($RoleProductPlatform -ieq "amd64") { $comClassFile = join-path $RoleInstallPath "bin\Monitoring\x86\DiagnosticCmdletController.dll"; $regSvr32WOW = join-path (join-path $env:SystemRoot sysWOW64) regsvr32.exe; start-SetupProcess -Name:"$regSvr32WOW" -Args:"/s /u `"$comClassFile`"" -Timeout:120000; }'. [08/05/2010 14:58:11.0374] [2] Active Directory session settings for 'Start-SetupProcess' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:11.0374] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:11.0374] [2] Beginning processing. [08/05/2010 14:58:11.0374] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:11.0374] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:11.0374] [2] Resolved current organization: . [08/05/2010 14:58:11.0390] [2] Starting: C:\Windows\sysWOW64\regsvr32.exe with arguments: /s /u "D:\Program Files\Microsoft\Exchange Server\V14\bin\Monitoring\x86\DiagnosticCmdletController.dll" [08/05/2010 14:58:11.0484] [2] Process standard output: [08/05/2010 14:58:11.0484] [2] Process standard error: [08/05/2010 14:58:11.0484] [2] Ending processing. [08/05/2010 14:58:11.0484] [1] Executing '$comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $env:SystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s /u `"$comClassFile`"" -Timeout:120000;' failed. The error is: False [08/05/2010 14:58:11.0484] [2] Launching sub-task '$error.Clear(); $comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $env:SystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s /u `"$comClassFile`"" -Timeout:120000;'. [08/05/2010 14:58:11.0484] [2] Active Directory session settings for 'Start-SetupProcess' are: View Entire Forest: 'True', Configuration Domain Controller: 'dc.xxx.xxx', Preferred Global Catalog: 'dc.xxx.xxx', Preferred Domain Controllers: '{ dc.xxx.xxx }' [08/05/2010 14:58:11.0484] [2] Runspace context: Executing user: xxx.xxx/Employees/Lee Weers, Executing user organization: , Current organization: , RBAC-enabled: Disabled. [08/05/2010 14:58:11.0484] [2] Beginning processing. [08/05/2010 14:58:11.0484] [2] Instantiating handler with index 0 for cmdlet extension agent "Admin Audit Log Agent". [08/05/2010 14:58:11.0484] [2] Current ScopeSet is: {Domain Read Scope: {, }, Domain Write Scope(s): {, }, Configuration Scope: {, }, Server Configuration Scope(s): {, }, , Exclusive Scope: {, }} [08/05/2010 14:58:11.0484] [2] Resolved current organization: . [08/05/2010 14:58:11.0484] [2] Starting: C:\Windows\system32\regsvr32.exe with arguments: /s /u "D:\Program Files\Microsoft\Exchange Server\V14\bin\Monitoring\AMD64\DiagnosticCmdletController.dll" [08/05/2010 14:58:11.0765] [2] Process standard output: [08/05/2010 14:58:11.0765] [2] Process standard error: [08/05/2010 14:58:11.0812] [2] [ERROR] Unexpected Error [08/05/2010 14:58:11.0812] [2] [ERROR] Process execution failed with exit code 5. [08/05/2010 14:58:11.0812] [2] Ending processing. [08/05/2010 14:58:11.0875] [1] The following 1 error(s) occurred during task execution: [08/05/2010 14:58:11.0906] [1] 0. ErrorRecord: Process execution failed with exit code 5. [08/05/2010 14:58:11.0906] [1] 0. ErrorRecord: Microsoft.Exchange.Configuration.Tasks.TaskException: Process execution failed with exit code 5. [08/05/2010 14:58:11.0921] [1] [ERROR] The following error was generated when "$error.Clear(); $comClassFile = join-path $RoleInstallPath ([System.Environment]::ExpandEnvironmentVariables("bin\Monitoring\%PROCESSOR_ARCHITECTURE%\DiagnosticCmdletController.dll")); $regsvr = join-path (join-path $env:SystemRoot system32) regsvr32.exe; start-SetupProcess -Name:"$regsvr" -Args:"/s /u `"$comClassFile`"" -Timeout:120000;" was run: "Process execution failed with exit code 5.". [08/05/2010 14:58:11.0921] [1] [ERROR] Process execution failed with exit code 5. [08/05/2010 14:58:11.0921] [1] [WARNING] <<< Setup failed to execute a task. Dumping all variables.... >>> [08/05/2010 14:58:11.0921] [1] $ = $null [08/05/2010 14:58:11.0921] [1] ? = True [08/05/2010 14:58:11.0921] [1] ^ = $null [08/05/2010 14:58:11.0921] [1] _ = $null [08/05/2010 14:58:11.0921] [1] a = \\MESSENGER9\root\cimv2:Win32_OperatingSystem=@ [08/05/2010 14:58:11.0921] [1] ADServerSettings = Microsoft.Exchange.Data.Directory.SetupServerSettings [08/05/2010 14:58:11.0921] [1] args = $null [08/05/2010 14:58:11.0921] [1] comClassFile = D:\Program Files\Microsoft\Exchange Server\V14\bin\Monitoring\AMD64\DiagnosticCmdletController.dll [08/05/2010 14:58:11.0921] [1] ConfirmPreference = None [08/05/2010 14:58:11.0921] [1] ConsoleFileName = [08/05/2010 14:58:11.0921] [1] DebugPreference = SilentlyContinue [08/05/2010 14:58:11.0921] [1] Error = System.Collections.ArrayList {Process execution failed with exit code 5.; } [08/05/2010 14:58:11.0921] [1] ErrorActionPreference = Continue [08/05/2010 14:58:11.0921] [1] ErrorView = NormalView [08/05/2010 14:58:11.0921] [1] ExchangePropertyContainer = Microsoft.Exchange.Configuration.Tasks.ExchangePropertyContainer [08/05/2010 14:58:11.0921] [1] ExecutionContext = System.Management.Automation.EngineIntrinsics [08/05/2010 14:58:11.0921] [1] false = False [08/05/2010 14:58:11.0921] [1] FormatEnumerationLimit = 4 [08/05/2010 14:58:11.0921] [1] HOME = H:\ [08/05/2010 14:58:11.0921] [1] Host = System.Management.Automation.Internal.Host.InternalHost [08/05/2010 14:58:11.0921] [1] input = $null [08/05/2010 14:58:11.0921] [1] MaximumAliasCount = 4096 [08/05/2010 14:58:11.0921] [1] MaximumDriveCount = 4096 [08/05/2010 14:58:11.0921] [1] MaximumErrorCount = 256 [08/05/2010 14:58:11.0921] [1] MaximumFunctionCount = 4096 [08/05/2010 14:58:11.0921] [1] MaximumHistoryCount = 64 [08/05/2010 14:58:11.0921] [1] MaximumVariableCount = 4096 [08/05/2010 14:58:11.0921] [1] MyInvocation = $null [08/05/2010 14:58:11.0921] [1] NestedPromptLevel = 0 [08/05/2010 14:58:11.0921] [1] null = $null [08/05/2010 14:58:11.0921] [1] OutputEncoding = System.Text.ASCIIEncoding [08/05/2010 14:58:11.0921] [1] PID = 3620 [08/05/2010 14:58:11.0921] [1] ProgressPreference = Continue [08/05/2010 14:58:11.0921] [1] PSBoundParameters = System.Collections.Generic.Dictionary`2[System.String,System.Object] [08/05/2010 14:58:11.0921] [1] PSCulture = en-US [08/05/2010 14:58:11.0921] [1] PSEmailServer = [08/05/2010 14:58:11.0921] [1] PSHOME = C:\Windows\System32\WindowsPowerShell\v1.0 [08/05/2010 14:58:11.0921] [1] PSSessionApplicationName = wsman [08/05/2010 14:58:11.0921] [1] PSSessionConfigurationName = http://schemas.microsoft.com/powershell/Microsoft.PowerShell [08/05/2010 14:58:11.0921] [1] PSSessionOption = System.Management.Automation.Remoting.PSSessionOption [08/05/2010 14:58:11.0921] [1] PSUICulture = en-US [08/05/2010 14:58:11.0921] [1] PSVersionTable = System.Collections.Hashtable {System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; System.Collections.DictionaryEntry; } [08/05/2010 14:58:11.0921] [1] PWD = C:\Windows\system32 [08/05/2010 14:58:11.0921] [1] regsvr = C:\Windows\system32\regsvr32.exe [08/05/2010 14:58:11.0921] [1] regSvr32WOW = C:\Windows\sysWOW64\regsvr32.exe [08/05/2010 14:58:11.0921] [1] ReportErrorShowExceptionClass = 0 [08/05/2010 14:58:11.0921] [1] ReportErrorShowInnerException = 0 [08/05/2010 14:58:11.0921] [1] ReportErrorShowSource = 1 [08/05/2010 14:58:11.0921] [1] ReportErrorShowStackTrace = 0 [08/05/2010 14:58:11.0921] [1] RoleBinPath = D:\Program Files\Microsoft\Exchange Server\V14\Bin [08/05/2010 14:58:11.0921] [1] RoleDatacenterPath = D:\Program Files\Microsoft\Exchange Server\V14\Datacenter [08/05/2010 14:58:11.0921] [1] RoleDomainController = dc.xxx.xxx [08/05/2010 14:58:11.0921] [1] RoleFqdnOrName = Messenger9.xxx.xxx [08/05/2010 14:58:11.0921] [1] RoleInstallationMode = Uninstall [08/05/2010 14:58:11.0921] [1] RoleInstallPath = D:\Program Files\Microsoft\Exchange Server\V14\ [08/05/2010 14:58:11.0921] [1] RoleInvocationID = 20100805-09575307631893725516 [08/05/2010 14:58:11.0921] [1] RoleIsAdminToolsRoleInstalled = True [08/05/2010 14:58:11.0921] [1] RoleIsDatacenter = False [08/05/2010 14:58:11.0921] [1] RoleLanguagePacksPath = D:\Exchange install\ [08/05/2010 14:58:11.0921] [1] RoleLoggedOnUser = redacted [08/05/2010 14:58:11.0921] [1] RoleLoggingPath = D:\Program Files\Microsoft\Exchange Server\V14\Logging [08/05/2010 14:58:11.0921] [1] RoleNetBIOSName = MESSENGER9 [08/05/2010 14:58:11.0921] [1] RolePreviousVersion = $null [08/05/2010 14:58:11.0921] [1] RoleProductPlatform = amd64 [08/05/2010 14:58:11.0921] [1] RoleRoleName = MailboxRole [08/05/2010 14:58:11.0921] [1] RoleRoles = AdminToolsRole [08/05/2010 14:58:11.0921] [1] RoleSetupLoggingPath = C:\ExchangeSetupLogs [08/05/2010 14:58:11.0921] [1] RoleTargetVersion = 14.00.0702.001 [08/05/2010 14:58:11.0921] [1] ShellId = Microsoft.PowerShell [08/05/2010 14:58:11.0921] [1] StackTrace = $null [08/05/2010 14:58:11.0921] [1] this = $null [08/05/2010 14:58:11.0921] [1] true = True [08/05/2010 14:58:11.0921] [1] VerbosePreference = SilentlyContinue [08/05/2010 14:58:11.0921] [1] WarningPreference = Continue [08/05/2010 14:58:11.0921] [1] WhatIfPreference = False [08/05/2010 14:58:11.0921] [1] [WARNING] <<< Variable dumping complete. >> [08/05/2010 14:58:11.0921] [1] Setup is stopping now because of one or more critical errors. [08/05/2010 14:58:11.0921] [1] Finished executing component tasks. [08/05/2010 14:58:12.0062] [1] Ending processing.
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2010 8:41pm

Not only does the DiagnosticCmdletController.dll need to be registered in the exchange install path, you need to search for it and register it in any other place on any of the other drives you may find it on. I had to register is in the c:\windows\installer\$Patchedcache$\xxxxx\xxxx folder as well. Then the uninstall would succeed.
August 9th, 2010 8:39pm

“If the DiagnosticCmdletController.dll file is in several locations, repeat this step for each location” According to KB, yes, the file has to be registered in all locationsJames Luo TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx) If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
August 10th, 2010 4:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics