Exchange log full – mailbox in quarantine

1 Oct

Sometimes when you experience Exchange log (disk) is full, and some mailboxes will have the status in quarantine. You can do the following:

  1. Check if any users are in quarantine (powershell)
    • Get-MailboxDatabase|Get-Mailbox |Get-Mailboxstatistics |Select Displayname,IsQuarantined |FT -Autosize | Export-Csv c:\temp\mailboxusers.csv
    • Get-MailboxStatistics -identity USERNAME| FL Isquarantined
  2. Solution
    1. Can wait on for the default 6 hours to let exchange release the quarantine
    2. Delete registry (doesn’t work all the time) – use following powershell to check registry for quarantine mailbox
      • Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\services\MSExchangeIS\$env:COMPUTERNAME\ |
        Where-Object {$_.pschildname -ne ‘logstate’ -and $_.pschildname -notlike ‘public*’} |
        Select-Object -ExpandProperty pschildname |
        ForEach-Object {
        Get-ChildItem -Path HKLM:\SYSTEM\CurrentControlSet\services\MSExchangeIS\$Env:COMPUTERNAME\$_\QuarantinedMailboxes |
        Select-Object -ExpandProperty pschildname |
        Get-Mailbox |
        Select-Object -Property name
        }
    3. dismount and mount the maildatabase (powershell)
      • Dismount-Database -Identity MAILBOXDB-Confirm:$False
      • Mount-Database -Identity MAILBOXDB -Confirm:$False
  3. Check status of the mailboxdatabase:
    • Get-MailboxDatabase -Identity MAILBOXDB -Status | Format-Table Name, Mounted, BackupInProgress, OnlineMaintenanceInProgress

 

Read more

http://blogs.technet.com/b/sjimmie/archive/2010/07/09/mailbox-quarantine.aspx

http://felipecgoncalves.blogspot.no/2011/08/how-to-check-exchange-databases-status.html

http://felipecgoncalves.blogspot.no/2011/08/how-to-dismountmount-mailbox-databases.html

http://mikefrobbins.com/2013/11/21/insane-powershell-one-liner-to-return-the-name-of-users-with-quarantined-mailboxes-in-exchange-2010/

http://blogs.technet.com/b/rmilne/archive/2014/01/13/how-to-set-mailbox-quarantine-in-exchange.aspx

http://technet.microsoft.com/nb-no/library/10a2b32c-b844-44f1-b750-d5150e0b249c.aspx

http://support2.microsoft.com/kb/2603736/en-us

http://technet.microsoft.com/library/bb331958.aspx#SH

http://whitecraneltd.blogspot.no/2013/02/exchange-2010-and-powershell.html

 http://www.falconitservices.com/support/KB/Lists/Posts/Post.aspx?ID=72

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: