Link to home
Start Free TrialLog in
Avatar of hgeurts
hgeurtsFlag for Netherlands

asked on

How can I remove disconnected mailboxes that also exsist in Exchange

When I try to remove a disconnected mailbox that also has a mailbox that still exist in Exchange I get the following message:
[PS] C:\Documents and Settings\Admin-...r>remove-mailbox -database "MDB1" -Store MailboxIdentity "ae6e5628-9f35-46ac-8b05-78d84f9c74e1" -Confirm:$false Remove-Mailbox : The mailbox that you specified is connected to "RTC-IT". Only disconnected mailboxes can be reconnected. Specified mailbox: "ae6e5 628-9f35-46ac-8b05-78d84f9c74e1".

Does someone know how I can remove the disconnected mailbox but keep the one in use?



Mail-account-has-disconnected-st.pdf
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

First run the command
Clean-MailboxDatabase against the Databases ....
if you want to run against all then run
Get-MailboxDatabase | Clean-MailboxDatabase once done then try to remove through GUI once
Avatar of hgeurts

ASKER

This does not solve the problem.
I need to remove the double accounts The disconnected mailbox accounts are only 400KB in size and are stored on our old Exchange Server. And I want to remove these accounts.  On the new Exchange Cluster Environment the mailboxes also exist and are much larger up to 6GB.

I have this solution: http://social.technet.microsoft.com/forums/en-US/exchangesvrgeneral/thread/5272c9de-a8a0-4442-bf0b-94745e7fc12c/
but I want to do it via the exchange powershell
Wow so you mean after mailbox migration they are left behind ....

Stub object is left behind in the source database for certain users after a move mailbox operation is complete in Exchange 2003 Service Pack 2
http://support.microsoft.com/kb/940012
This is a known problem with Exchange 2003 SP2.
Avatar of hgeurts

ASKER

Is there also a solution for Exchange 2007 SP1?
Less then 5% of the users I migrated, had this problem. I also cannot explain why this happened
Its nothing to do with Exchange 2007 .... what happens is that in EMC you can also see the old server mailboxes .... So is the old server still alive or decomissioned ??
Avatar of hgeurts

ASKER

The old server is still alive. But I want to decomission the server asp. Is it save to decomission this server? All the users are migrated to the new server.  But some of those migrated users are also in the disconnected mailbox on the old server, and all those mailboxes contain just 2 items.
Try updating the Hotfix on the old server and once cleared we can go ahead with the decomission ....
The reason why i'm doing this now is if we decomission the old server we might have to manually disconnect one mailbox in EMC delete the old mailbox with no items and the re-joingthe New mailbox to the AD user again a big NO .... as its very risky
ASKER CERTIFIED SOLUTION
Avatar of hgeurts
hgeurts
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That was always there but that can cause issues in future so wanted to do everything gracefully so that there are no issue in the future or else i could have myself asked you to manually or forcefully remove the old server instance .... But anyways you took the decision