Here is some notes from a recent issue error that I encountered at a client.
This error may be seen on Exchange Server 2010 SP1, when removing or adding a Database Copy to the Database Availability Group (DAG).
This error will look like this:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:00
Registry key has subkeys and recursive removes are not supported by this method.
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.
Exchange Management Shell command attempted:
Add-MailboxDatabaseCopy –Identity ‘EXDB02’ –MailboxServer ‘EXCH-MBX-01’ -ActivationPreference ’1′
Elapsed Time: 00:00:00
This error may occur for both adding and removing database copies. When removing a database copy from a DAG member the action is shown as successful despite the error, but when adding a database copy to a DAG member the action is not successful.
This is a known issue with Exchange 2010 SP1, previously reported by the Microsoft Exchange Team.
The work around is to locate the Registry key and delete it.
To locate the Registry key, you will need the GUID of the database. The GUID can be retrieve using this command:
Get-MailboxDatabase “EXDB02” | fl name,guid
It will list the name and the GUID of the database.
Once the GUID is found, you can delete it using the GUI (Regedit):
Locate DumpsterInfo in the registry and delete it, it is found under:
or you can delete it using this Powershell command:
After you have removed the registry key, you should be able to add the database copy to the Exchange server.
Other resources: Tim McMichael has also written about this issue: