So you need to clean up corrupt calendar items in outlook / exchange?
GregoryHall last edited by
I have been answering questions on the forum and it came up that someone’s IPhone was not syncing some calendar items while other calendar events synced fine, with no real difference in how the appointments are created. After researching this I came across a tool that allows you to scan the problem mailbox or all the mailboxes on an exchange server and moving the corrupted items into a folder in the users Mailbox for remediation or deletion. After realizing this was a big part of Exchange administration I thought I would put together a How To so I would remember and others would have the benefit.
- Download CalCheck from Microsoft
Get the 32 bit version the 64 bit is not really usable on all platforms.
- Extract the Zip
Find the download and extract the zip to a convenient location.
Run the CalCheck.exe application and choose the correct Outlook Profile to run the Calendar scan against.
- Check The Log Report
Open up the folder you extracted with CalCheck.exe in it and find the log file named CalCheck.txt
This will list all the calendar errors and specific references to why the errors will cause sync issues.
Give this to your end user or boss as evidence of the core issues
- Fix Errors
CalCheck will not delete any errors but it will report and move those errors to a new folder it creates in the users Mailbox called, you guess it, CalCheck.
You can force it to run the fix switch from the command line.
Windows key + R to get the Run dialoge
CD to the folder with CalCheck
Choose the Outlook profile you want to run against and let it go. It will then scan, overwrite the log, create a CalCheck folder in the users mailbox and move any errored items over to that folder for delete or fix.
I also like to run this with the -r switch as it will create a report email and place it in the users inbox listing all the corruption for all to see.
C:\CalCheck_x86\CalCheck.exe -f -r
After the check is complete go back to the users Outlook and you will see a new CalCheck folder listed under the Mailbox.
Locate items that are unwanted and delete them
Recreate any appointments that have corruption and be sure to fill out all the info on the appointment form so as not to reintroduce the issue.
- Admin: How To Scan Every Mailbox And Report Corruption
You can also run this tool via command line and have it enumerate and scan all the mailboxes on the exchange server.
You will need to run this from a profile that has administrator rights to all the mailboxes on the server.
- Admin: Multi Mailbox Mode: Set User To Full Access
Works in Exchange 2010 and higher
Give Full Access Rights on the server to all Mailboxes to one user.
Use PowerShell for this Changing OUName and UsersName to the correct admin user.
Get-Mailbox -OrganizationalUnit “OUName” | Add-MailboxPermission -User “UsersName” -AccessRights FullAccess
- Admin: Multi Mailbox Mode: Create Mailbox List Text File
Change ServerName and Set the Path and File Name
Get-Mailbox -Server “ServerName” | fl Name, LegacyExchangeDN | Out-File <path and file name> -width 200Copy the file to the machine you will run CalCheck on or put it on a share you can access.
- Admin: Multi Mailbox Mode: Run CalCheck Against All Mailboxes
Log on to the machine you have Outlook installed as the user you gave full access to in step 6.Create a new Outlook Profile and connect it to exchange for the full access user.
Download CalCheck 32 bit from MS and install it
Extract the download to C:\CalCheck
Copy the Mailbox list text file to the C:\CalCheck Directory
Open a Command Prompt and CD C:\CalCheck Directory
CalCheck -L C:\CalCheck\Mailboxlist.txt -F -R
The CalCheck -F on the end users machine that is experiencing Calendar sync issues to the phones is the quickest way to get calendar sync issues resolved.
Using the Admin Mode to keep that corruption at bay is the next layer to a happy end user experience.
- Download CalCheck from Microsoft
scottalanmiller last edited by
Minion Queen Banned last edited by
Reid Cooper last edited by
Dashrender last edited by
I have a similar thread running around somewhere.
Thanks for this I'll be running it on Monday.