If you manage a lot of BlackBerry devices for an enterprise or you are the local “Fix my BlackBerry” guy, you will come across a common problem of needing to remove an IT policy for a BlackBerry after it has been disconnected from the BlackBerry Enterprise Server (BES). For what ever reason a blank IT policy was not sent to the device before it was removed from BES, you switched to a new device which removed the old one from BES but leaves the IT policy in place, for consumers you may have bought a used BlackBerry that has an IT policy still on it. Whatever the reason is you want that damn IT policy gone!
If you have BlackBerry Desktop Software installed then you have all the tools to do this yourself with no BES server required or IT degree. If you look at the KB article from RIM you can follow Method 3 for PCs or Method 4 for MACs. I personally have had to do this 50 times and I always forget what the switch is or where the loader.exe is located or something that forces me to look up the KB article again. One other thing is this is a very permanent operation and there is no “are you sure?” question, the process starts and there is no stopping it! To make my job easier I decided to create a little batch script to do this for me which forces you to enter “BlackBerry” before proceeding. It’s a nice little script that I thought I would share it with the world. You are free to use and modify this script in any way.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
@echo off echo Running this command will do the following: echo. echo Erase all data on your BlackBerry internal memory echo Erase all IT policies echo Remove all 3rd party applications echo Reset the BlackBerry to factory defaults echo NOTE! This command will not remove any data from your MicroSD card echo. echo. echo. echo PLEASE MAKE SURE YOU HAVE A BACKUP FIRST IF REQUIRED!!!!! :tryagain echo. echo. echo To confirm you want to wipe the device please type in the word BlackBerry echo exactly as displayed below and press enter. If there is a password set echo you will be required to enter it. To cancel this action, close this window. echo. echo BlackBerrySET /P CONFIRM= if {%CONFIRM%}=={BlackBerry} (goto :wipeit) goto :error :wipeit "C:\Program Files (x86)\Common Files\Research In Motion\Apploader\loader.exe" /resettofactory echo. echo Device Wipe Initiated goto exit :error echo. echo The word BlackBerry was not received exactly as displayed. Please try again! goto tryagain :exit pause exit |
Save the following above text to a text file and save as “Wipe Device To Factory Defaults.cmd” Please note I am working on a 64 bit system so the path to my Program Files has a (x86) in it. If you are running on a 32 bit system you will need to remove the ” (x86)” from the path to get it to work. This is the only modification required and only if you are running this on a 32 bit system.
© Caspan 2011