Exchange 2010 EMC cannot access AD configuration data after you demote a DC


Environment:

Exchange 2010/Domain Controller combo server running on Windows 2008 R2.

Problem:

Demote Domain Controller role, causes Exchange Management Console fails to retrieve any Exchange information with error message “Active directory response: The LDAP server is unavailable.”  It’s still looking for the demoted DC although it’s been cleaned out of AD/DNS. All Exchange services start fine, and Exchange Shell works fine.

Reason:

     The obsolete information is cached in an Exchange Management Console file in the Windows profile for the user. EMC is trying to connect to orginal DC that is stored in the file.

Solution:

   Go to the following folder and delete the Exchange Management Console file.

   C:\users\<specific user>\AppData\Roaming\Microsoft\MMC\Exchange Management Console

   Close EMC and reopen it.

Reference: http://support.microsoft.com/kb/2019500

Retention Policy on Calendar Items in Exchange 2010


As we all know by now, you can no longer use Retention Policy and Retention Tags on Calendar items in Exchange 2010.  So, how would you clean up user’s old Calendar items? Managed Folder saves the day!

Here are the powershell commands to create ManagedFolder and policy:

New-ManagedFolder -Name ‘DefaultCalendar’ -DefaultFolderType Calendar -MustDisplayComment $false

New-ManagedContentSettings -FolderName DefaultCalendar -MessageClass IPM.Appointment -Name DefaultCalendarContentSettings -RetentionEnabled $true -RetentionAction MoveToDeletedItems -AgeLimitForRetention “1”

New-ManagedFolderMailboxPolicy -Name “DefaultCalendarPolicy” -ManagedFolderLinks DefaultCalendar

Set-mailbox -identity johndoe -ManagedFolderMailboxPolicy “DefaultCalendarPolicy”

Start-ManagedFolderAssistant -Identity Johndoe

The most important part is IPM.Appointment. I’ve tried other suggestions from technet such as “Calendar”, but this is the only one that works. 

Note, -AgeLimitForRetention “1” means one day. So the policy should move any Calendar items older than 1 day from your Calendar to Deleted Items folder.