Let me provide you fresh experience with Exchange 2010 SP3 upgrade.
In the first place, thank you Zbynek, because final solution was his idea!
Problem
Exchange 2010 SP3 upgrade unexpectedly failed for 2 servers from 9. Those servers had separated Exchange roles. So the following error occurred for MBX as well as HUB role.
[10/05/2013 18:58:41.0984] [2] Saving object "EXMBX02\PowerShell-Proxy (Default Web Site)" of type "ADPowerShellVirtualDirectory" and state "New". [10/05/2013 18:58:42.0015] [2] Previous operation run on domain controller 'DC03.contoso.local'. [10/05/2013 18:58:43.0481] [2] Searching objects "DEXMBX02\PowerShell-Proxy (Default Web Site)" of type "ADPowerShellVirtualDirectory" under the root "$null". [10/05/2013 18:58:43.0497] [2] Previous operation run on domain controller 'DC03.contoso.local'. [10/05/2013 18:58:43.0497] [2] Ending processing new-PowerShellVirtualDirectory [10/05/2013 18:58:43.0497] [1] The following 1 error(s) occurred during task execution: [10/05/2013 18:58:43.0497] [1] 0. ErrorRecord: A failure occurred while trying to update metabase properties. [10/05/2013 18:58:43.0497] [1] 0. ErrorRecord: Microsoft.Exchange.Data.Common.LocalizedException: A failure occurred while trying to update metabase properties. ---> System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
As can be seen it was IIS related problem (a failure occurred while trying to update metabase properties) especially with PowerShellVirtualDirectory.
Root Cause
Only suspicion:
- firewall or application (e.g. an anti-virus) was cutting the connection
- an application was locking the IIS metabase (e.g. a backup solution)
- not sufficient permissions
Solution
This solution is intended for separated (CAS, MBX, HUB) as well as multi roles.
1. Remove corrupted PowerShellVirtualDirectory:
* remove all virtual directories whether CAS role
Get-PowerShellVirtualDirectory EXMBX02\* | Remove-PowerShellVirtualDirectory
2. Recover Exchange server:
Setup /m:RecoverServer
Appendix
- Exchange SP3 fails upgrade on Hub Transport Role
http://social.technet.microsoft.com/Forums/exchange/en-US/74c7de22-da60-42b6-948e-24c75aad3808/exchange-sp3-fails-upgrade-on-hub-transport-role?forum=exchange2010 - Exchange 2010 SP1 or SP2 trouble with: The virtual directory ‘PowerShell’ already exists
http://www.arconi.com/index.php/blog/item/exchange-2010-sp1-or-sp2-trouble-with-the-virtual-directory-powershell-already-exists - Recover an Exchange Server
http://technet.microsoft.com/en-us/library/dd876880(v=exchg.141).aspx - Recover a Database Availability Group Member Server
http://technet.microsoft.com/en-us/library/dd638206(v=exchg.141).aspx - Call-ClusterExe: cluster.exe did not succeed, but 5058 was not a retry-able error code
http://clintboessen.blogspot.fi/2012/05/call-clusterexe-clusterexe-did-not.html
http://www.cdolar.com/2013/01/call-clusterexe-cluster-exe-did-not-succeed-but-5058-was-not-a-retry-able-error-code/