Configure Calendar Repair Assistant Settings

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

The Calendar Repair Assistant (CRA) is a configurable mailbox assistant that runs within the Microsoft Exchange Mailbox Assistants service on Microsoft Exchange Server 2010 Mailbox servers. The CRA detects and corrects inconsistencies that occur in single and recurring calendar items for mailboxes that are homed on the Mailbox server that is running the CRA. The purpose of this process is to make sure that recipients won't miss meetings or have unreliable meeting information.

In Exchange 2010 Service Pack 1 (SP1), the CRA was changed from a time-based assistant to a throttle-based assistant.

By default, the CRA is not set to run automatically. To configure the CRA to run and repair calendar inconsistencies, use the set-mailboxserver cmdlet in the Exchange Management Shell to set the work cycle and work cycle checkpoint. The Exchange Management Console cannot be used to configure calendar repair log settings.

You must use the following Set-MailboxServer cmdlet parameters to configure the CRA settings:

  • CalendarRepairIntervalEndWindow   This parameter specifies the number of days into the future to repair calendars. For example, if this parameter is set to 90, the CRA repairs calendars on the Mailbox server 90 days from the date it was set. The default value is 30 days.

  • CalendarRepairMissingItemFixDisabled   This parameter specifies that the CRA won't fix missing attendee calendar items for mailboxes homed on this Mailbox server. If an attendee is missing a calendar item, the item will be re-created. The default value is $false.

  • CalendarRepairWorkCycle and *CalendarRepairWorkCycleCheckpoint *  These parameters work together. The CalendarRepairWorkCycle parameter specifies the time span in which all mailboxes on the specified server will be scanned by the CRA. For example, if you specify seven days for this parameter, the CRA will process all mailboxes on this server every seven days. Calendars that have inconsistencies will be flagged and repaired according to the interval specified by the CalendarRepairWorkCycleCheckpoint parameter. For example, if you specify one day for this parameter, the CRA will query every day for new mailboxes that require processing.

Looking for other management tasks related to calendar repair? Check out Managing Calendars.

Use the Shell to change the calendar repair interval window

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Calendar repair" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to change the calendar repair interval window.

This example changes the number of days into the future that the CRA validates calendars to 90 days on Mailbox server MBX02.

Set-MailboxServer -Identity MBX02 -CalendarRepairIntervalEndWindow 90

For detailed syntax and parameter information, see Set-MailboxServer.

Use the Shell to set the calendar repair work cycle

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Calendar repair" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to set the calendar repair work cycle.

This example sets the CRA to check all mailboxes on the server MBX02 every seven days and to process all calendars that require repairs every day in that seven day cycle.

Set-MailboxServer -Identity MBX02 -CalendarRepairWorkCycle 7.00:00:00 -CalendarRepairWorkCycleCheckpoint 1.00:00:00

For detailed syntax and parameter information, see Set-MailboxServer.

Use the Shell to enable or disable the fixing of missing items

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Calendar repair" entry in the Mailbox Permissions topic.

Note

You can't use the EMC to enable or disable the fixing of missing items.

This example disables the automatic fixing of missing calendar items for Mailbox server MBX02.

Set-MailboxServer -Identity MBX02 -CalendarRepairMissingItemFixDisabled $true

For detailed syntax and parameter information, see Set-MailboxServer.

See Also

Concepts

Understanding Calendar Repair
Managing Calendars

 © 2010 Microsoft Corporation. All rights reserved.