KB11320-How to perform a clean reload of the BlackBerry Device Software for Windows
What about DM? Delete all previous OS builds from your computer, make sure the latest, or the version you want is installed. If it is a different carrier, then follow the instructions (depending on what versions of Windows you are running for the vendor file(s)), and connect your phone.