Cannot Remove mailbox from disconnected list.
I have spent about 10 hours on this and have gotten nowhere.I deleted a user from a Single Server Exchange 2007 (8.01.0375.002)install running on Server 2008 and I cannot remove his mailbox from the disconnected list. I receive this error:Remove-Mailbox : The mailbox identified by 'ef493753-909a-4684-a03c-5a08c1782187' does not exist in the Exchange mailbox database 'SERVER-1\First Storage Group\Mailbox Database'.At line:1 char:15+ Remove-mailbox <<<< -Database "Mailbox Database"I also receive this error when database maintenance is run:Failed to delete the mailbox of /O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=LOTERO with error 0x8004010f. I have set the Keep Deleted Mailboxes to 0 days and unchecked Do not permanently delete items until the database has been backed up.I have also verified that there is only one mailbox with this GUID and that the GUID I am trying to delete matches the mailbox.Any help would be greatly appreciated.
September 26th, 2009 9:53am

To delete (purge) the disconnect mailboxes from a database, you run the following command from your Exchange Management Shell: Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null} | foreach {Remove-mailbox -database $_.database -storemailboxidentity $_.mailboxguid} This command first retrieves all disconnected mailboxes from your server\database, and then runs the Remove-mailbox command for every mailbox. To verify that only the disconnected mailboxes will be removed, you run the following command first: Get-MailboxStatistics -database "server\database" | where {$_.disconnectdate -ne $null} Removing disconnected mailboxes in Exchange Server 2007 http://msmvps.com/blogs/andersonpatricio/archive/2007/10/08/removing-disconnected-mailboxes-in-exchange-server-2007.aspx Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
September 26th, 2009 2:15pm

Was this mailbox ever logged into? Can you reconnect it to another AD account?
September 26th, 2009 3:50pm

Vinod - I get the same error using your command as I do mine.Andy - Yes this mailbox was used. I have tried attaching it to another test account and then deleteing it again. Same errors.
Free Windows Admin Tool Kit Click here and download it now
September 26th, 2009 5:33pm

Ok, try running clean-mailboxdatabase (http://technet.microsoft.com/en-us/library/bb124076.aspx) , then see if you can purge. ( even though it shouldnt make a difference!)What happens if you set deleted mailbox retention to some other value than 0 and then attempt to purge the mailbox?And, I know this is cop-out, but you may want to apply Exchange 2007 Sp2 as well.
September 26th, 2009 5:58pm

Hey Andy,I went ahead and ran clean-mailboxdatabase again, no changesI also set the retention time to two days and ran clean-mailboxdatabase and remove-mailbox, no change.I have just finished installing SP2. I rebooted and ran clean-mailboxdatabase and remove-mailbox again. no change.We only have about 10 mailboxes. I am starting to fear that the DB is complelely screwed up. I attempted to move the bad mailbox to a new store and got some other random error.I am tempted to create a new store and move all of the good mailboxes over. I also have two free MS tech support incidennts from TechNET that I could use.I am stumped. Any help or advice would be appreciated.
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2009 12:37am

What was the error when you tried to move the mailbox?
September 27th, 2009 12:39am

The Error I get when I attempt to move the mailbox is:Summary: 1 item(s). 0 succeeded, 1 failed. Elapsed time: 00:00:13 Luis OteroFailed Error:Error was found for Luis Otero (e-mail address deleted by me) because: Error occurred in the step: Moving messages. Failed to copy messages to the destination mailbox store with error: MAPI or an unspecified service provider.ID no: 00000000-0000-00000000, error code: -1056749164 Exchange Management Shell command attempted:'FQDN removed by me/Users/Luis Otero' | move-mailbox -BadItemLimit '1000' -TargetDatabase 'SERVER-1\Recovery\Recovery' Elapsed Time: 00:00:13The recovery store is just one I created for this task. It has never been used before.Thanks!
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2009 3:11am

That error smells like a permissions issue.The "recovery store" isnt a recovery storage group store, correct? Its a regular mailbox store? Just want to verify.Does this mailbox have any items in it? Can you clear them out from all the folders and dumpsterand then see if you can purge the mailbox after disconnecting it again?
September 27th, 2009 5:53am

No the recovery store is just a normal store that I created. When I try to login into the mailbox via OWA I get: The item that you attempted to access no longer exists. The item was not found. You or a delegate may have moved or deleted the item while using Microsoft Outlook or Outlook Web Access from another computer or from a mobile device. I have not tried logging in via a full Outlook yet. I am doing most of this via remote from home right now. There are items in the mailbox, but I exported everything to a PST before I deleted the mailbox. If I can get in I can purge everything.
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2009 8:05am

On Sun, 27-Sep-09 05:05:06 GMT, CJSweeney wrote:>>>No the recovery store is just a normal store that I created. >>When I try to login into the mailbox via OWA I get: >>The item that you attempted to access no longer exists. The item was not found. You or a delegate may have moved or deleted the item while using Microsoft Outlook or Outlook Web Access from another computer or from a mobile device. >>>There are items in the mailbox, but I exported everything to a PST before I deleted the mailbox. If I can get in I can purge everything. Dismount the database and run isinteg on it -- at least twice. Make abackup first.Isinteg will report the errors, warnings, and fixes. Run it as manytimes as necessary until the numbers stop changing (if you're luckythey'll all be zero). Then mount the database and see if you can movethe mailbox.You may, yet, have to run "eseutil /d" on the database if the problemlies with the structure of the database and not just within data itcontains. If you do, be sure to run isinteg afterwards -- before youlet users back onto their mailboxes.---Rich MatheisenMCSE+I, Exchange MVP--- Rich Matheisen MCSE+I, Exchange MVP
September 27th, 2009 6:54pm

I ran isinteg and got some warnings but no errors. However, I did not run it in 'fix' mode. What options/command should I use?Thanks!
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2009 7:30pm

ISINTEG -s servername -fix -test alltests
September 27th, 2009 8:02pm

Well I ran isinteg alltestsand it fixed six mailbox errors and a few other things. I ran it a second time and got 0 warnings and 0 errors and 0 fixes.I remounted and attempted to move/delete the mailbox and got the same errors.I ran eseutil /d and isinteg twice, remounted and then attempted to move/delete the mailbox and got the same errors.After both I also tried logging in via OWA and got the same error.I just looked and we only have 10 mailboxes and a 1.4GB Mailbox Data Store. If I can't get this fixed would it make sense to simply try and move the working mailboxes to a new store and dump this one?I also just wanted to say thanks for all of your help so far.
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2009 10:25pm

On Sun, 27-Sep-09 19:25:11 GMT, CJSweeney wrote: Store. If I can't get this fixed would it make sense to simply try and move the working mailboxes to a new store and dump this one?I also just wanted to say thanks for all of your help so far. Yes, it'd make more sense than continuing to try to recover thismailbox.I you have the contents of the mailbox in a PST (IIRC you said youdid) then you've already got what you can out of it.---Rich MatheisenMCSE+I, Exchange MVP--- Rich Matheisen MCSE+I, Exchange MVP
September 27th, 2009 11:40pm

Actually I was just trying to remove it from the data store. No matter what I do I cannot get it purged.
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2009 12:04am

I am getting ready to create a new data store to move the working mailboxes to. I have done some searching but I cannot find a straight answer to the following:How many users should be in a Mailbox Database?Does having two mailbox data bases under one store affect anything? Should I create two stores and two mailbox databases or one store and two mailbox databases?Since all of this happened I was conisdering placing our two largest and most important users in their own mailbox database and the other eight users in a seperate mailbox database. Is this advisable or a really bad idea?Thanks!
September 28th, 2009 5:55am

On Mon, 28-Sep-09 02:55:00 GMT, CJSweeney wrote:>I am getting ready to create a new data store to move the working mailboxes to. I have done some searching but I cannot find a straight answer to the following:How many users should be in a Mailbox Database?How long is a piece of string? :-)The number of users isn't usually the basis for determining the sizeof the mailbox database. Usually the limit is determined by howquickly you can backup and restore a database.ize of the mailbox toabout 100MB unless you're running Exchange 2007 CCR. In that case thelimits should be about 200MB.So, turn the question around and start by asking how long you can bewithout a database if you had to restore it? If you're backup can runat 50GB/hr and you can tolerate a one hour (plus a little more)outage, then 50GB would be your maximum mailbox size.How many mailboxes can fit into 50GB? That depends on the maximum sizeof the mailboxes plus keeping about 20% free space in the database,plus accounting for deleted item retention, plus the general overheadoccupied by things like indexes.>Does having two mailbox data bases under one store affect anything? Again, it depends. The recommendation is to have one database perstorage group. If you're using CCR or SCR then that's a hard limit,not a recommendation. Go with one per storage group and you won't gowrong. :-)es?Two storage groups with one database per storage group.>Since all of this happened I was conisdering placing our two largest and most important users in their own mailbox database and the other eight users in a seperate mailbox database. Is this advisable or a really bad idea?Thanks! For ten users? I don't think it matters all that much -- unless those"important users" have 20GB mailboxes!---Rich MatheisenMCSE+I, Exchange MVP--- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2009 6:54am

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

Other recent topics Other recent topics