Perform a clean uninstall of the BlackBerry Enterprise Server
Doc ID : KB04096
Last Modified : 2007-01-19
Document Type : How To
Environment- BlackBerry® Enterprise Server software version 3.6 through 4.1
- IBM® Lotus® Domino®
- Microsoft® Exchange
- Novell® GroupWise®
Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Microsoft Windows® operating system. Document and back up the existing registry entries prior to implementing any changes.
Procedure
To remove all traces of the BlackBerry Enterprise Server from your hardware platform, complete the following three tasks:
- Remove the BlackBerry Enterprise Server software and Research In Motion® folder.
- Remove Research In Motion registry entries.
- Delete the BlackBerry Mobile Data System (BlackBerry MDS) Services.
Task 1
Remove the BlackBerry Enterprise Server and the Research In Motion folders:
Note: When you remove the Research In Motion folder located in the C:\Program Files\Common Files directory, any versions of BlackBerry Device Software installed on the BlackBerry Enterprise Server will also be removed.
- Log in to the BlackBerry Enterprise Server using the BlackBerry Enterprise Server service account.
- Click Start > Programs > Administrative Tools > Services.
- Stop all BlackBerry Enterprise Server services.
- Click Start > Settings > Control Panel.
- Double-click Add/Remove Programs.
- Click BlackBerry Enterprise Server and click Remove. If the Remove option does not exist, select Change to launch the installer and then select Remove.
- Delete the Research In Motion folder located in the C:\Program Files directory.
- Delete the Research In Motion folder located in the C:\Program Files\Common Files directory.
Task 2
Remove Research In Motion registry entries:
Note: Some of these registry entries may not be present on your computer.
- Click Start > Run. Type regedit, and click OK.
- Go to HKEY_LOCAL_MACHINE\Software and delete the Research In Motion registry key.
- Go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\App Paths and delete the BESManmmc.dll registry key.
- Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es and delete the BBAttachServer registry key and any registry keys starting with BES or BlackBerry.
- Go to HKEY_LOCAL_MACHINE\System\ControlSet001\Services and delete the BBAttachServer registry key and any registry keys starting with BES or BlackBerry.
- Go to HKEY_LOCAL_MACHINE\System\ControlSet002\Services and delete the BBAttachServer registry key and any registry keys starting with BES or BlackBerry.
OR
Go to HKEY_LOCAL_MACHINE\System\ControlSet003\Services and delete the BBAttachServer registry key and any registry keys starting with BES or BlackBerry.
- Go to HKEY_CLASSES_ROOT\Installer\Products.
- Individually select each registry key under Products. As you select each one, look in the right pane for the ProductName entry. If the entry’s value is BlackBerry Enterprise Server, delete the selected registry key folder and any subfolders.
- Go to HKEY_CURRENT_USER\Software and delete the Research In Motion registry key.
- Go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging SubSystem\Profiles and delete any registry keys named BlackBerry Server, BlackBerry Server Management, or listed as the name of your BlackBerry Enterprise Server.
- Restart the computer.
Task 3
If you are using BlackBerry Enterprise Server software version 4.1 and you selected to install BlackBerry MDS Services, complete the following steps to delete the BlackBerry MDS Services.
For MSDE 2000- Open a command prompt and type one of the following commands:
Note: If the sa account has a password, type osql -U sa -P <password> where <password> is the sa account password, and press ENTER.
- If you are using SQL Authentication, type osql -U sa and press ENTER.
- If you are using Microsoft Windows Trusted Authentication, type osql -E and press ENTER.
The cursor appears next to the 1>.
- Type the following commands in the specified order:
1> drop database MDSS
2> go
A message confirms the deletion of any files related to the MDSS database.
1> drop database MDSS_DIS
2> go
A message confirms the deletion of any files related to the MDSS_DIS database.
1> quit
- Close the command prompt.
For Microsoft SQL Server 2000- Click Start > Programs > Microsoft SQL Server > Enterprise Manager.
- Expand Server Group > Server Name > Databases.
- Right-click the MDSS database and select Delete.
- Right-click the MDSS_DIS database and select Delete.
For Microsoft SQL Server 2005- Click Start > Programs > Microsoft SQL Server > SQL Server Management Studio.
- Expand Server Name > Databases.
- Right-click the MDSS database and select Delete.
- Right-click the MDSS_DIS database and select Delete.