Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I run this cmdlet, I get the following result:

Get-MailboxFolderStatistics user | ft FolderPath, FolderSize -autosize

FolderPath                    FolderSize
----------                    ----------
/Top of Information Store     156 B (156 bytes)  
/Calendar                     244.2 KB (250,025 bytes)  
/Contacts                     1.223 MB (1,282,252 bytes)  
/Contacts/SenderPhotoContacts 30.41 KB (31,139 bytes)  
/Conversation Action Settings 0 B (0 bytes)  
/Conversation History         206.2 KB (211,147 bytes)  
/Deleted Items                1.449 MB (1,519,602 bytes)  
/Drafts                       472 B (472 bytes)  
/Inbox                        618 MB (648,025,798 bytes)  
/Journal                      144 B (144 bytes)  
/Junk E-Mail                  131.9 KB (135,089 bytes)  
/News Feed                    0 B (0 bytes)  
/Notes                        1.847 KB (1,891 bytes)  
/Outbox                       0 B (0 bytes)  
/Quick Step Settings          0 B (0 bytes)  
/RSS Feeds                    0 B (0 bytes)  
/Sent Items                   6.754 KB (6,916 bytes)  
/Suggested Contacts           9.316 KB (9,540 bytes)  
/Sync Issues                  0 B (0 bytes)  
/Sync Issues/Conflicts        0 B (0 bytes)  
/Sync Issues/Local Failures   0 B (0 bytes)  
/Sync Issues/Server Failures  0 B (0 bytes)  
/Tasks                        7.994 KB (8,186 bytes)  
/Recoverable Items            12.16 MB (12,748,519 bytes)  
/Deletions                    0 B (0 bytes)  
/Purges                       0 B (0 bytes)  
/Versions                     0 B (0 bytes)  

But when I open the mailbox using both Outlook and OWA, the deleted items folder is empty. I'm guessing it's corrupted or something like that. Is it possible to recover it somehow?

Thanks.

share|improve this question
    
I've just ran a quick test (by all means not scientific, but a test regardless) on an Exchange 2010 VM I have. When I delete everything from my Deleted Items, the Get-MailboxFolderStatistics shows 0 items and 0 bytes, so you definitely have something a bit peculiar going on. –  Ben Pilbrow Dec 22 '10 at 22:10
    
I've asked around for more information and I just got told that the user has been deleted from the Exchange, and someone recovered it from the disconnected mailbox to a different user. Can it have something to do with different GUID or something like that? –  Ken Dec 23 '10 at 2:37

3 Answers 3

Have you tried reseting the server? at times it actually clears any uneeded files.

share|improve this answer
    
I don't have the permission to restart the server and if I asked for it, I'd have to give a solid reason to. –  Ken Dec 23 '10 at 2:42
    
@John Riselvato this is quite clearly a server side issue. Restarting the client computer isnt going to help. –  t1nt1n Mar 5 '12 at 12:03
    
@t1nt1n I know this. This was answered 2 years ago buddy. I fixed my answer, i did mean reset the server not the clients computer. –  John Riselvato Mar 5 '12 at 13:50
1  
@JohnRiselvato Thanks for editing. We sometimes have a clean up. As if someone googles this it will be wrong. But now they have the right info :) –  t1nt1n Mar 5 '12 at 14:05

Does Get-MailboxStatistics user | ft DeletedItemCount, TotalDeletedItemSize show you anything different (just out of curiosity really)?

As for reasons why you get this output, I have found there is a slight delay on the Get-MailboxStatistics and Get-MailboxFolderStatistics cmdlets so they might show stale data for a few minutes, but I am assuming because you've asked here that it's been longer than a few minutes.

Logical mailbox corruption is certainly possible, and Exchange provides a cmdlet to run a check on a mailbox. When you run this command it will disrupt the mailbox, so either do it while the user is not around or let them know their mailbox will be offline for a while.

Issue the command New-MailboxRepairRequest -Mailbox user -CorruptionType SearchFolder,AggregateCounts,ProvisionedFolder,FolderView -DetectOnly to run a check for logical mailbox corruption. If the cmdlet reports corruption, you can take out the -DetectOnly parameter to actually perform a mailbox repair. Please note that this is potentially a destructive operation (i.e it may delete items which are corrupted) so for good measures, you should always have a known good mailbox database backup handy just in case.

share|improve this answer
    
Issuing the Get-MailboxStatistics gives me the following output: DeletedItemCount : 2617 TotalDeletedItemSize : 12.17 MB (12,756,497 bytes). I can't run the repair command since we haven't upgraded to SP1. Should I export the mailbox to a development server so I can run the command? But I think the corrupted data might not be exported. –  Ken Dec 23 '10 at 2:21

My guess is that what you are seeing is messages that have been hard deleted from the mailbox, but that are still in the Exchange database "dumpter". These would be the messages that you can recover (from Outlook) by selecting "recover deleted items" in the tools options. Those messages would still be associated with the mailbox, which is why you'd see them. Those messages are also the ones associated with the "keep deleted items for x days" in your Exchange database properties.

At least, that's how it was in 03 and 07.

share|improve this answer
    
I might be wrong on this, but I was under the impression hard deleted items went into the Recoverable Items, Deletions and Purges system folders. –  Ben Pilbrow Dec 22 '10 at 19:40
    
@Ben, after looking at a couple articles, it looks like hard delete (shift-delete) has been renamed soft delete. Either that, or my terminology is WAY off (which has been known to happen). In either case, I still think that this is what he is seeing. –  Holocryptic Dec 22 '10 at 19:51
    
@Ben, and you are right, they did re-architect the dumpster process in 2010 and that is where the deleted items go. Anyways, I found this link, maybe it will help someone. My brain hurts right now. technet.microsoft.com/en-us/library/ee364755.aspx –  Holocryptic Dec 22 '10 at 19:59
    
@Holocryptic - see this TechNet article about deleted items. Everything deleted goes into one of the folders under Recoverable Items. –  Ben Pilbrow Dec 22 '10 at 20:05
    
Heh you found the article I linked to while I was writing my comment :) –  Ben Pilbrow Dec 22 '10 at 20:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.