How to use/schedule the handheldcleanup.exe tool on Blackberry Enterprise Server (BES) when moving mailboxes in Microsoft Exchange

1. Create a batch file using following commands:

"C:\Program Files\Research In Motion\BlackBerry Enterprise Server\Utility\HandheldCleanup.exe" -u -p BlackBerryManager < name.txt

shutdown /r /f /t 120

2. Create a file called "name.txt" and type BES server’s computer name there

For example "EBBES". Make sure to press enter after that to add an extra empty line after that.
 

3. Schedule this script to run after mailboxes have been moved.

Comments