Exchange 2010 SP2 Automapping issue

There’s a slight bug with the Exchange 2010 server, in that it automatically remaps any shared mailboxes you’ve used when the client is either Outlook 2007 or 2010.

If you’re mapped a mailbox in the past, an automapping feature kicks in and puts the mailbox back on your profile, even if you’re starting out with a brand new profile. To disable this, you have to log into your exchange server and issue some commands from the Exchange Powershell:

Add-MailboxPermission "domain\user" -User "domain\user2" -AccessRights FullAccess -AutoMapping:$false

domain\user = user mailbox you no longer want to view
domain\user2 = the primary user, usually the one you’re setting up

This has been tested on Exchange 2010 SP2 and SP1 successfully

Exchange 2010 – get list of disconnected mailboxes immediately

Once a mailbox is disabled from the Exchange 2010 console, it shows up in the disconnected mailboxes after the nightly maintenance.  Sometimes however, a company can change it’s mind at the last minute and decide to either hire someone back and that’s when the IT admin has to bring that disconnected mailbox back within the hour.

Instead of waiting around for the nightly maintenance to occur, you can force your Exchange 2010 server to pick up the mailboxes almost immediately.

1. First and foremost, re-enable the user’s Active Directory account, as it has all the proper SSID’s and is actually the name you want to restore.

2. Check the disconnected mail, if you just disabled it you likely will not see it
3. if you don’t see it there, you’ll have to manually do the mailbox cleanup (commonly known as maintenance.  Open up a Exchange power shell and issue the cmdlet:
Get-MailboxDatabase | Clean-MailboxDatabase

Be careful with this command, as it cleans all your mailstores.  If you have only one mailstore you want to run this command on, you have to use:
Clean-MailboxDatabas “Your Database Name”

4. Once you’ve done that, refresh your disconnected mailboxes and you should see the mailbox you want to reconnect:

5. From here, right click and reconnect the mailbox you want!