Sometimes I would have such devices with no access to their interface on the phone to go through the normal procedure and reset or wipe the phone to factory settings. So what should you do?
Firstly install the Blackberry Desktop Software which can be downloaded from the Blackberry site.
Open command line and make sure that you run it as Administrator
For 32bit browse to folder C:\Program Files\Common Files\Research In Motion\Apploader
For 64bit browse to folder C:\Program Files (x86)\Common Files\Research In Motion\Apploader
Type loader.exe /resettofactory and press Enter
Wait some time to finish. The window will close and the phone will restart to start the wipe procedure. Swish, there it’s fixed.