How to install BlackBerry Enterprise Express on a SBS 2003 Premium By Mariette Knap BESExpress, BlackBerry Installing BlackBerry Enterprise Server Express on a Small Business 2003 Premium is not as easy as it looks. The documentation from BlackBerry is not complete and difficult to understand. I have decided to write documentation with all screenshots for this installation. My customer has an existing SBS 2003 Premium SP1 (not R2) so we will install a new SQL 2000 named instance and create a BES service account that will run the BES software. Pages How to install BlackBerry Enterprise Express on a SBS 2003 PremiumAssigning permissions for the BlackBerry Enterprise Server administration accountTo assign Local Administrator rights to the 'BESAdmin' account, complete the following stepsSet Send As permission to enable BlackBerry users to send messagesSet Local Security Policy permissions for the service accountSet Exchange View Only Administrator permission for the service accountSet Microsoft Exchange Server permissions for the BB service accountInstall a named SQL 2000 instance and set permissionsApply SQL 2000 Service Pack 4 to your BlackBerry instanceInstall BlackBerry Enterprise Server Software on your serverChange the listening port of the BES MDS serviceHow to configure ISA 2004 to allow traffic from and to the BlackBerry serverTest the connection This document assumes that you have downloaded the Black Berry Enterprise Express software from the BlackBerry website. Before we can install the BESExpress software there are several things we need to do on the SBS 2003 Server. Most import step is that we create a BES service account that will run the BlackBerry Enterprise server. Assigning permissions for the BlackBerry Enterprise Server administration account Before we can assign permissions to the BlackBerry Enterprise Server administration account 'BESAdmin' we have to create that account. The BESAdmin should be a normal Domain User account and NOT a domain administrator account. Reason for this is that domain administrator have explicit 'Send As' and 'Receive As' deny settings on the Exchange store. We have seen this before when using Exmerge in brick level backups. We could create a 'BlackBerry Enterprise Server administration account' that is a member of the Domain Administrators group and over rule the 'deny' settings in Exchange but there is really no reason for that. To create the BlackBerry Enterprise Server administration account 'BESAdmin' open Active Directory Users and Computers from the Administrative Tools in the Start Menu on your SBS 2003 server: Click on the button to create a new user Fill in the first and lastname for our account BESAdmin. Make sure you uncheck 'User must change password at next logon' and check 'Password never expires'. Choose a strong password! Click 'next'. Create an Exchange mailbox for the 'BESAdmin' and click 'next'. Review your newly created account and click 'finish'. To assign Local Administrator rights to the 'BESAdmin' account, complete the following steps Go to Start > Programs > Administrative Tools > Active Directory Users and Computers and select the Builtin folder. Double-click Administrators. On the Members tab, click Add. Select the 'BESAdmin' account and then click Add. Click OK twice. Set Send As permission to enable BlackBerry users to send messages Visit www.support.microsoft.com/kb/907434/en-us for more information about the Send As permission. On the taskbar, click Start > Administrative Tools > Active Directory Users and Computers. On the View menu, click Advanced Features. Right-click the root of the domain. Click Properties. On the Security tab, click Advanced. Click Add. Type BESAdmin. Click Check Name and then click OK. In the Apply Onto drop-down list, click User Objects. In the Allow column, select the Send As check box. Click OK. Click Apply and click OK. Click OK. Set Local Security Policy permissions for the service account Enable the BESAdmin administrator to log in to the local computer, and run the BlackBerry Enterprise Server as a Microsoft Windows service. On the taskbar, click Start > Administrative Tools > Domain Controller Security Policy. In the Local Security Settings window, browse to Local Policies > User Rights Assignment. In the right pane, double-click 'Allow Log on Locally'. Click Add User or Group. Add the BESAdmin service account to the list. Click OK. In the Local Security Settings window, double-click Log On As a Service. Click Add User or Group. Add the BESAdmin service account to the list and click OK. Click OK. Set Exchange View Only Administrator permission for the service account Enable the BESAdmin administrator to manage users and groups. On the taskbar, click Start > Programs > Microsoft Exchange > System Manager. Expand Administrative Groups. Right-click First Administrative Group and click 'Delegate control'. In the Exchange Administration Delegation Wizard, click Next. Click Add. Click Browse. Type 'BESAdmin' and click 'Check Names'. The result will be the full domain name of the BESAdmin. Click OK. In the Delegate Control window, in the Role drop-down list, click Exchange View Only Administrator. Click OK to add the BESAdmin service account to the Users and Groups list. Click Next. Click Finish. Set Microsoft Exchange Server permissions for the BB service account Enable the BlackBerry Enterprise Server to write information to the service account mailbox. On the taskbar, click Start > Programs > Microsoft Exchange > System Manager. Browse to Administrative Groups > First Administrative Group > Servers. Right-click the Microsoft Exchange computer name and click Properties. On the Security tab, click the BESAdmin service account. In the Allow column, select the following check boxes: Administer Information Store Send As Receive As Select Allow inheritable permissions from parent to propagate to this object. If this setting is already applied just leave it that way. Click OK. Click OK again. Install a named SQL 2000 instance and set permissions As I mentioned in the introduction of this article I will install a named full blown SQL 2000 instance that will run the BlackBerry databases. The reason I do this is that it will be easier for me to move these databases and BlackBerry Enterprise Software to a dedicated server if my client needs to connect more then 10-15 BlackBerry devices. Logon to the server with the BESAdmin account and NOT any other account. Start the SQL 2000 installer from your SBS 2003 Premium CD. You will see a warning but that can be ignored for now. We will later install SQL 2000 SP4 on the BlackBerry instance. Click 'continue'. Click 'Next'.. Click 'Next'. Choose to create a new SQL instance and click 'Next'. Fill in your company name and your name and then click 'Next'. Accept the license agreement. Choose to install Server and Client tools, click 'next'. Uncheck 'Default' and name the instance 'BLACKBERRY' and nothing else! Click next. We choose 'Typical' for our installation options. If you need to move your database files to a different partition or array then it is NOW the time to do that. Click on browse to change to change the default location for your database. We choose to put the Data Files on our E-drive because that is the drive where all our other data is also stored. We don't want the SQL databases stored on our system partition. Click 'next' to continue. Choose to use the Local System account and click 'Next'. Choose Mix Mode and set a strong password for 'sa'. Click 'next'. Click 'next' to start the installation of your BLACKBERRY SQL 2000 instance. Click 'finish'. Boot the server and logon again as BESAdmin and NOT as the default Administrator. Apply SQL 2000 Service Pack 4 to your BlackBerry instance Start the installation of SQL 2000 Service Pack 4 and click 'next'. Accept the terms and click 'next'. Choose the instance 'BlackBerry' and choose 'next'. Choose the defaults and click 'next'. Choose the defaults and click 'continue'. Accept the defaults and click 'ok'. Click 'next'. Click 'ok'. Click 'finish'. Reboot the server and logon with your BESAdmin account. Install BlackBerry Enterprise Server Software on your server Logon to the server with the BESAdmin account and NOT any other account. Fill in your customer information, choose the country, accept the agreement and click 'next'. Again accept the license agreement and click 'next'. The installer checks if you made the correct settings for BESAdmin and other prerequisites. If all is well click 'next'. Fill in the BESAdmins account password. If you need to move the location of BES then it is now the time to do that. Or accept the defaults and click 'next'. Read the installation summary and click 'next'. The installation is ready but the server needs to restart. Click 'Continue'. The server needs to reboot. Click 'Yes' to reboot the server and after the server has been restarted you MUST login with the BESAdmin account and NO other account. After the server has been restarted and you logon using the BESAdmin account the installer continues. We have previously installed a SQL 2000 instance called BLACKBERRY and that instance will be used. Fill in the netbios name of your server followed by the instance name. All other settings can remain default. Click 'next'. Setup has found that there is no BES Management Database in the SQL instance and wants to install it. Click 'yes'. After awhile setup informs you that the database was created successfully. If it could not create the database you need to check permissions on your SQL instance. Click 'ok'. Fill in your CAL Key and click 'next'. Fill in the SRP Authentication Information. If you click to validate the information it will fail because ISA 2004 will block the request. Click 'next'. Fill in the netbios name of your server and click 'Check Name'. If all is well click 'Apply' and then 'OK'. Keep the defaults checked and click 'Start Service'. I like it when I see a wizard that tells me I have successfully completed the installation. Click 'Finish'. Change the listening port of the BES MDS service In our setup we use ISA 2004 Server. As you probably know the ISA proxy runs on port 8080 and that will cause a conflict with the ISA web proxy service. We don't want to change the ISA ports so open the BES admin console. From the start menu open the BES administrator console and choose the tab Connection service. Choose 'Edit connection service properties'. Set both Web Listener Port and the Web Server SSL lListener port to another port. I choose 9080 and 9443. You can choose another port but you have to make sure that the port is not used by some service running on your server. How to configure ISA 2004 to allow traffic from and to the BlackBerry server Because I could not find a lot of good information about ISA 2004 configuration for BlackBerry servers I decided to analyze this traffic in ISA 2004 life monitoring. I started a tool from the command prompt to test the connection and it failed. I found that I needed to create a new Protocol and Access Rule that will allow traffic to flow from and to the BlackBerry server. Here we go...start ISA 2004 Manager from the Start Menu. Start ISA 2004 Manager and choose the hive 'Firewall Policy'. Click 'Create Access Rule'. Give the new Access Rule a name. Click 'Next'. We need to choose 'Allow' for this rule. Click 'Next'. We only want to allow 'Selected Protocols'. Choose 'Add'. There is no Protocol listed for our BlackBerry server so we have to create a new one. Choose New -> Protocol from the tiny menu. Give a name to the new protocol. Click 'New' to create a new Primary Connection for this Protocol. Set this primary connection to Outbound traffic on port 3101 to 3101. Click 'OK'. There is the Primary Connection listed. Click 'Next'. We need to add a secondary connection. Click 'New'. The secondary connection needs to be set to 'Inbound' and also from port 3101 to 3101. Click 'OK' There is the secondary connection listed. Click 'Next'. We have successfully completed our new protocol called 'BlackBerry Server'. Click 'Finish'. From 'All Protocols' you can now choose the protocol 'BlackBerry Server'. Click 'Add' and then 'Close'. Click 'Next'. Click 'Add' to add the Network where the source from this traffic is. Highlight 'Localhost' and choose 'Add'. Then choose 'Close' and click on 'Next'. Choose 'Add' to add the destination of our BlackBerry traffic. Highlight 'External' and choose 'Add'. Then choose 'Close' and click on 'Next'. Accept the defaults and choose 'Next'. The new Access Rule is completed and click 'Finish'. Click 'Apply' to save the changes. Test the connection Open a Command prompt and browse to the Utility folder in BlackBerry installation folder. There you will find a tool called BBsrpTest.exe. The output of that test should look like this: