You have a server that has the Microsoft Exchange Server 2010 Mailbox server role installed.
You install Exchange Server 2010 Service Pack 1 (SP1) on the server.
You run the Remove-MailboxDatabaseCopy cmdlet to remove a mailbox database copy from a database on the server.
In this scenario, you receive the following warning message:
WARNING: An unexpected error has occurred and a Watson dump is being generated: Registry key has subkeys and recursive removes are not supported by this method. Registry key has subkeys and recursive removes are not supported by this method. + CategoryInfo : NotSpecified: (:) [Remove-MailboxDatabaseCopy], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Exchange.Management.SystemConfigurationTasks.RemoveMailboxDatabaseCopy
Despite the warning message, the mailbox database copy is removed successfully.
You can run the Get-MailboxDatabaseCopyStatus cmdlet to view the status information about the mailbox database.
After this issue occurs, you receive the same warning message if you run the Add-MailboxDatabaseCopy cmdlet to add the same mailbox database copy back to the database on the server.
This issue occurs because the following registry key is not cleared when you install Exchange Server 2010 SP1 on the server: