Exchange 2010/Domain Controller combo server running on Windows 2008 R2.
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.
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.
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.
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.