How to use Loader.exe and the ResettoFactory command to restore a BlackBerry smartphone to factory default settings from the BlackBerry Enterprise Server

Article ID: KB21918

Type: Support Content

Last Modified: 11-12-2013


Product(s) Affected:

  • BlackBerry Desktop Software for Windows
  • BES5
  • BlackBerry Enterprise Server 5.0 to 5.0 SP4
  • BlackBerry Desktop Manager 5.0 to 7.1

ResetToFactory is a command of Loader.exe and it wipes the data and deletes any IT policies present on the BlackBerry smartphone.

This command can only be used on directly connected devices via a USB cable. This is not an Over The Air command.

Performing the ResetToFactory process is accomplished by the following actions:

  1. Connect the BlackBerry smartphone to the computer via USB cable.
  2. On the BlackBerry Enterprise Server, open a command prompt.
  3. Type the following command:
    1. For Windows 32-bit:
      cd C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\etc\device\loader
    2. For Windows 64-bit:
      cd C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\etc\device\loader
  4. Run the Loader.exe /resettofactory command.
    Note: The above path is the default install location for Loader.exe and may differ depending on the installation path chosen by the Administrator.

For BlackBerry Desktop Manager installations on workstations, the typical location for the Loader.exe file is located here:

  • Windows 32-bit: C:\Program Files\Common Files\Research In Motion\AppLoader
  • Windows 64-bit: C:\Program Files(x86)\Common Files\Research In Motion\AppLoader
CollapseAdditional Information

For more information on other methods that can be used for performing the resettofactory commands, see KB18998.


By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.

Visit the BlackBerry Technical Solution Center at