777

(FAQ) How can I downgrade to a previous version of MDaemon?

Please follow the steps below to downgrade MDaemon to a prior version.  This article can be used for any currently supported version of MDaemon.  If the BlackBerry Enterprise Server (BES) components have been installed and are no longer used, they can be removed from the Windows > Control Panel > Programs section of Windows.  If the BES components are not installed, all steps regarding BES can be ignored.

1. Download the previous version (the version to which you are downgrading) of MDaemon from our archive site.

    The installation file will be named: md*_??.exe or md*_??_x64 for the 64-bit version (*=version) (??=language) 

2a. If MDaemon 13.0 or newer is installed on the server, follow these steps to stop the BES services.  If MDaemon 12.0 - 12.5 is installed on the server, skip to step 2b.

  • Click Setup
  • Click Mobile Device Management
  • Select BlackBerry Enterprise Server
  • Un-check Enable BlackBerry Enterprise Server
  • Click OK to stop the MDaemon BES services.


2b. Follow these steps if MDaemon 12.0 - 12.5 is installed on the server.

  • Click Setup
  • Click Blackberry Device Management...
  • Disable Enable BlackBerry Enterprise Server
  • Click OK to stop the MDaemon BES services.


3. Shut down MDaemon by clicking the Windows Start button > Programs > MDaemon > Stop MDaemon

4. Open the Processes tab in Windows Task Manager:

  • Click the Windows Start button
  • Select Run
  • Type 'taskmgr.exe'
  • In the Task Manager window, select the Processes tab 


5. Review the Processes tab to determine whether the following MDaemon processes have stopped:
    (Note: If you have multiple processors, you may have multiple instances of some of these processes)
     MDaemon.exe
     CFEngine.exe
     MDSpamD.exe
     WorldClient.exe
     WebAdmin.exe


6. If MDaemon 12 or later is installer and the MDaemon BES server was installed, then you will need to uninstall the BES server and SQL Server components:

    1. Open Control Panel in Windows
    2. Select Add/Remove Programs or Programs (option varies on the version of Windows installed)
    3. Uninstall the following programs
  • BlackBerry Enterprise Server for MDaemon
  • Microsoft SQL Server 2005
  • Microsoft SQL Server Native Client
  • Microsoft SQL Server Setup Support Files (English)
  • Microsoft SQL Server VSS Writer

Note: When uninstalling Microsoft SQL Server 2005, Enable (check) both MDAEMON: Database Engine and Workstation Components to fully uninstall the SQL server.  Otherwise, choose MDAEMON: Database Engine to only remove the MDaemon database.

7. Using Windows Explorer, navigate to the \MDaemon folder. By default, the path to the MDaemon folder is C:\MDaemon.

8. Rename the following folders found in the \MDaemon folder by adding '.old' to the end of the folder name (Example: App.old)
     App 
     SpamAssassin 
     WorldClient 
     WebAdmin

9. Using Windows Explorer, navigate to you previous version's backup folder: \MDaemon\Backup\(version)

10. From the \MDaemon\backup\(version) folder, copy the App folder to the \MDaemon folder.
      From the \MDaemon\backup\(version) folder, copy the SpamAssassin folder to the \MDaemon folder.

12. Double-click the file that you downloaded in Step 1 to install MDaemon, while ensuring that you install to the same path where MDaemon is currently installed.  Also, make sure the Start MDaemon option during the final step of the installation is un-checked.

13. Copy the WorldClient.ini file from the renamed \MDaemon\WorldClient.old to \MDaemon\WorldClient

14. Start MDaemon by clicking the Windows Start button | Programs | MDaemon | Start MDaemon

 

Additional Comments

You can obtain registration keys for previous versions of MDaemon by opening the following file in Notepad:
\MDaemon\Backup\(version)\App\MDaemon.ini
The registration key is can be found by searching for: 6XKey= in the MDaemon.ini file.