<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Support Services Blog &#187; Blackberry enterprise server</title>
	<atom:link href="http://www.offsitenoc.com/blogs/category/blackberry-enterprise-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.offsitenoc.com/blogs</link>
	<description>One Click Remote Server Support</description>
	<lastBuildDate>Fri, 16 Jul 2010 17:54:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to move the BlackBerry Configuration Database to a new Microsoft SQL Server or instance</title>
		<link>http://www.offsitenoc.com/blogs/how-to-move-the-blackberry-configuration-database-to-a-new-microsoft-sql-server-or-instance/</link>
		<comments>http://www.offsitenoc.com/blogs/how-to-move-the-blackberry-configuration-database-to-a-new-microsoft-sql-server-or-instance/#comments</comments>
		<pubDate>Mon, 05 May 2008 19:15:47 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[Blackberry enterprise server]]></category>

		<guid isPermaLink="false">http://go4techsupport.wordpress.com/?p=14</guid>
		<description><![CDATA[Environment BlackBerry® Enterprise Server software version 2.1 through 4.1 for Microsoft® Exchange BlackBerry® Enterprise Server software version 2.1 through 4.1 for IBM® Lotus® Domino® Microsoft® SQL Server™ 2000 Service Pack 3 Microsoft® SQL Server™ 2005 Procedure The BlackBerry Enterprise Server services must be stopped during the process described in this article. Important: Restarting certain BlackBerry Enterprise [...]]]></description>
			<content:encoded><![CDATA[<h2>Environment</h2>
<ul>
<li>BlackBerry® Enterprise Server software version 2.1 through 4.1 for Microsoft® Exchange</li>
<li>BlackBerry® Enterprise Server software version 2.1 through 4.1 for IBM® Lotus® Domino®</li>
<li>Microsoft® SQL Server™ 2000 Service Pack 3</li>
<li>Microsoft® SQL Server™ 2005<br />
<h2>Procedure</h2>
<p>The BlackBerry Enterprise Server services must be stopped during the process described in this article.</p>
<p><strong>Important:</strong> Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB04789&amp;sliceId=SAL_Public&amp;dialogID=27498226&amp;stateId=1%200%2027484848" target="_blank">KB04789</a>.</p>
<p>To move the BlackBerry Configuration Database to a new Microsoft SQL Server or instance, complete the following tasks:</p>
<p><strong>Note:</strong> In a Microsoft Exchange environment, complete the tasks using the BlackBerry Enterprise Server service account unless otherwise stated.</p>
<ol>
<li>Back up the BlackBerry Configuration Database.</li>
<li>Prepare the new Microsoft SQL Server.</li>
<li>Restore the BlackBerry Configuration Database.</li>
<li>Configure the BlackBerry Enterprise Server.</li>
</ol>
<hr />
<h3><span class="subHeading"><a id="1" name="1">Task 1 &#8211; Back up the BlackBerry Configuration Database</a></span></h3>
<p>To back up the BlackBerry Configuration Database, complete the steps for the appropriate environment.</p>
<p style="margin-right:0;" dir="ltr"><strong>Microsoft SQL Server</strong></p>
<ol>
<li>Open Enterprise Manager (Microsoft SQL Server 2000) or Microsoft® SQL Server Management Studio (Microsoft SQL Server 2005).</li>
<li>Right-click the BlackBerry Configuration Database (for example, <strong>BESMgmt</strong>).</li>
<li>Select <strong>Backup Database</strong>.</li>
<li>Click <strong>Add to specify the Directory Name and File Name</strong>.</li>
<li>Click <strong>OK</strong> to accept the settings.</li>
<li>Click <strong>OK</strong> again to start the backup process.</li>
<li>Close Enterprise Manager when the process is complete.</li>
</ol>
<p><strong>Microsoft SQL Server Desktop Engine (MSDE)</strong></p>
<ol>
<li>From a command prompt, type <span class="code"><strong>osql -E</strong></span> and press <strong>ENTER</strong>.<strong>Note:</strong> If you are logging in to a named instance of the Microsoft SQL Server, use the following command syntax to log in:<br />
<blockquote><p><span class="code"><strong>osql -E -S <em>&lt;Microsoft_Server_name&gt;\&lt;instance_name&gt;</em></strong></span></p></blockquote>
</li>
<li>Type the following commands in the specified order:<span class="code">1&gt; <strong>backup database <em>&lt;BlackBerry_Configuration_Database_name&gt;</em> to disk = &#8220;C:\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.bak&#8221;</strong></span><span class="code">2&gt; <strong>go</strong></span>
<p><span class="code">1&gt; <strong>quit</strong></span></li>
<li>Close the command prompt.</li>
</ol>
<hr />
<h3><span class="subHeading"><a id="2" name="2">Task 2 &#8211; Prepare the new Microsoft SQL Server</a></span></h3>
<p>To prepare the Microsoft SQL Server, complete the following four steps:</p>
<p><strong>Step 1</strong></p>
<blockquote><p>Depending on the environment, assign the appropriate permissions.</p>
<p><strong>Note:</strong> Complete this task using an account with administrator access to the new Microsoft SQL Server. Microsoft SQL Server 2005 requires the following server role permissions: System Administrator, Database Creator.</p>
<p><strong>Microsoft SQL Server</strong></p>
<ol>
<li>Open Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server Management Studio (Microsoft SQL Server 2005).</li>
<li>Go to <strong>Microsoft Server Group &gt; &lt;<em>Microsoft_Server_name</em>&gt; &gt; Security</strong>.</li>
<li>Right-click <strong>Logins</strong> and select <strong>New Login</strong>.</li>
<li>From the General tab, click the double quotation marks ( <strong>&#8220;&#8221;</strong> ) button.</li>
<li>From the Global Address List, select the name of the BlackBerry Enterprise Server service account.</li>
<li>Click <strong>Add</strong>, then click <strong>OK</strong>.</li>
<li>On the Server Roles tab, select <strong>Server Administrators</strong> and <strong>Database Creators</strong>.<strong>Note:</strong> In BlackBerry Enterprise Server software version 4.1, the System Administrator role is needed for role-based administration.</li>
<li>Close Enterprise Manager (Microsoft SQL Server 2000) or Microsoft SQL Server Management Studio (Microsoft SQL Server 2005).</li>
</ol>
<p><strong>MSDE</strong></p>
<ol>
<li>Log in to the new Microsoft SQL Server.</li>
<li>Right-click <strong>My Computer</strong>, and then click <strong>Manage</strong>.</li>
<li>Expand <strong>Local Users and Groups</strong>.</li>
<li>Select <strong>Groups</strong>, and then open the <strong>Administrators</strong> group.</li>
<li>Click <strong>Add</strong>.</li>
<li>Type the name of the BlackBerry Enterprise Server service account, and then click <strong>Check Name</strong>.</li>
<li>Click <strong>OK</strong>, and then close the Computer Management window.</li>
</ol>
</blockquote>
<p><strong>Step 2</strong></p>
<blockquote><p>Depending on the environment, turn on the correct server protocols.</p>
<p><strong>MSDE or Microsoft SQL Server 2000</strong></p>
<ol>
<li>Click <strong>Start</strong> &gt; <strong>Run</strong>, type <strong>svrnetcn</strong> and click <strong>OK</strong>. The Microsoft Server Network Configuration Utility opens.</li>
<li>Make sure that <strong>TCP/IP</strong> and <strong>Named Pipes</strong> are both listed as protocols that have been turned on.</li>
<li>Close the Microsoft Server Network Configuration Utility.</li>
<li>If a protocol is turned on in step 2, restart the Microsoft SQL services.</li>
</ol>
<p><strong>Microsoft SQL Server 2005 Express or Microsoft SQL Server 2005</strong></p>
<ol>
<li>Click <strong>Start</strong> &gt; <strong>Microsoft SQL Server 2005</strong> &gt; <strong>Configuration Tools</strong> &gt; <strong>Microsoft Server Configuration Manager</strong> &gt; <strong>Microsoft Server 2005 Network Configuration</strong>.</li>
<li>Select the Microsoft SQL Server instance that will be used for the BlackBerry Configuration Database.</li>
<li>If necessary, turn on the <strong>TCP/IP</strong> and <strong>Named Pipes</strong> protocols.</li>
<li>If a protocol is turned on in the previous step, restart the Microsoft SQL services.</li>
</ol>
</blockquote>
<p><strong>Step 3</strong></p>
<blockquote><p>Make sure the Microsoft Server Agent service is running.</p>
<p><strong>Note:</strong> This service does not exist in Microsoft SQL Server 2005 Express.</p>
<ol>
<li>Open the Windows® Control Panel, and then open <strong>Administrative Tools</strong> &gt; <strong>Services</strong>.</li>
<li>Verify that the Microsoft Server Agent service is started and that the Startup type is set to <strong>Automatic.</strong></li>
<li>Close the Services window.</li>
</ol>
</blockquote>
<p><strong>Step 4</strong></p>
<blockquote><p>Update the BlackBerry Configuration Database schema.</p>
<p><strong>Important:</strong> If the BlackBerry Enterprise Server software was installed to create a blank BlackBerry Configuration Database on a new Microsoft SQL Server instance, do not perform the following task because the schema has already been updated.</p>
<ol>
<li>Download the installation package for the version of the BlackBerry Enterprise Server being used.</li>
<li>Extract the contents of the installation package.</li>
<li>Copy the <strong>Database</strong> folder to the new Microsoft SQL Server.</li>
<li>Go to the <strong>Database</strong> folder and open the <strong>BESMgmt.cfg</strong> file in a text editor, such as Notepad.</li>
<li>Locate the <strong>DB_NAME=BESMgmt</strong> line and make sure that the name specified matches the BlackBerry Configuration Database name.</li>
<li>If you are using a named instance of Microsoft SQL Server, change the <strong>SERVER=local</strong> line to <strong>SERVER=<em>&lt;Microsoft_Server_Name&gt;</em>\ <em>&lt;instance_name&gt;</em></strong> and close the file. Save the changes.</li>
<li>From a command prompt, go to the <strong>Database</strong> directory.</li>
<li>Type <span class="code"><strong>createdb.exe BESMgmt.cfg</strong></span> and press <strong>ENTER</strong>.</li>
<li>After the command has finished executing, close the command prompt.</li>
</ol>
</blockquote>
<hr />
<h3><span class="subHeading"><a id="3" name="3">Task 3 &#8211; Restore the BlackBerry Configuration Database</a></span></h3>
<p>Depending on the environment, use one of the methods below to restore the BlackBerry Configuration Database.</p>
<p><strong>BlackBerry Configuration Database on a Microsoft SQL Server with the same directory structure</strong></p>
<ol>
<li>Copy the BlackBerry Configuration Database backup to the C:\ path of the new Microsoft SQL Server.</li>
<li>From a command prompt, type <span class="code"><strong>osql -E</strong></span> and press <strong>ENTER</strong>.<strong>Note:</strong> When logging in to a named instance of the Microsoft SQL Server, use the following command:<br />
<blockquote><p><span class="code"><strong>osql -E -S <em>&lt;SQL_Server_name&gt;</em>\<em>&lt;instance_name&gt;</em></strong></span></p></blockquote>
</li>
<li>Type the following commands in the specified order:<span class="code">1&gt; <strong>restore database <em>&lt;BlackBerry_Configuration_Database_name&gt;</em> from disk = &#8220;c:\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.bak&#8221; with recovery, replace</strong></span><span class="code">2&gt; <strong>go</strong></span>
<p><span class="code">1&gt; <strong>quit</strong></span></li>
<li>Close the command prompt.</li>
</ol>
<p><strong>BlackBerry Configuration Database on a Microsoft SQL Server with a different directory structure</strong></p>
<ol>
<li>Copy the BlackBerry Configuration Database backup to the <span class="code">C:\</span> path of the new Microsoft SQL Server.</li>
<li>From a command prompt, type <span class="code"><strong>osql</strong> <strong>-E</strong></span> and press <strong>ENTER</strong>.<strong>Note:</strong> When logging in to a named instance of the Microsoft SQL Server, use the following command:<br />
<blockquote><p><span class="code"><strong>osql -E -S <em>&lt;SQL_Server_name&gt;</em>\<em>&lt;instance_name&gt;</em></strong></span></p></blockquote>
</li>
<li>Type the following commands in the specified order:<span class="code">1&gt; <strong>restore database <em>&lt;BlackBerry_Configuration_Database_name&gt;</em> from disk = &#8220;C:\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.bak&#8221; with move &#8220;<em>&lt;BlackBerry_Configuration_Database_name&gt;_data</em>&#8221; to &#8220;&lt;<em>new_path</em>&gt;\MSSQL\Data\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.mdf&#8221;, move &#8220;<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>_log&#8221; to &#8220;&lt;<em>new_path</em>&gt;\MSSQL\Data\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.ldf&#8221;</strong></span><span class="code">2&gt; <strong>go</strong></span>
<p><span class="code">1&gt; <strong>quit</strong></span></p>
<p><strong>Note</strong>: To determine the logical file names <em>&lt;BlackBerry_Configuration_Database_name&gt;_data</em> and <em>&lt;BlackBerry_Configuration_Database_name&gt;_log</em> for the BlackBerry Configuration Database, complete the following steps:</p>
<ol>
<li>On the Microsoft SQL Server hosting the BlackBerry Configuration Database, open a command prompt and type the following command:<br />
<span class="code"><strong>OSQL -E or OSQL -E -S &lt;<em>SQL_Server_name</em>&gt;\&lt;<em>instance_name</em>&gt;</strong></span></li>
<li>Type the following commands in the specified order, pressing ENTER after each command:<span class="code">1&gt;<strong>exec sp_helpdb &lt;<em>BlackBerry_Configuration_Database_Name</em>&gt;</strong></span><span class="code">2&gt; <strong>go</strong></span></li>
<li>The items circled in the following image are the two logical file names for the BlackBerry Configuration Database:<a href="http://go4techsupport.files.wordpress.com/2008/05/kb03112_fkb03112_1.jpg"><img class="aligncenter size-medium wp-image-15" src="http://go4techsupport.files.wordpress.com/2008/05/kb03112_fkb03112_1.jpg?w=300" alt="" width="300" height="132" /></a></li>
<li>Close the command prompt.</li>
</ol>
</li>
</ol>
<p><strong>Detach and re-attach the BlackBerry Configuration Database</strong></p>
<p style="margin-right:0;" dir="ltr">Depending on the environment, complete one of the procedures below.</p>
<p><strong>Microsoft SQL Server</strong></p>
<ol>
<li>Open the Control Panel, and then open <strong>Administrative Tools</strong> &gt; <strong>Services</strong>.</li>
<li>Stop each service that has a name that begins with <strong>BlackBerry</strong>.</li>
<li>Log in to the existing Microsoft SQL Server.</li>
<li>Open Enterprise Manager.</li>
<li>Right-click the BlackBerry Configuration Database name.</li>
<li>Select <strong>All Tasks</strong>, and then click <strong>Detach Database</strong>.</li>
<li>Close Enterprise Manager.</li>
<li>Go to the Microsoft SQL Server <strong>Data</strong> directory and copy the <strong>MDF</strong> and <strong>LDF</strong> files.<strong>Note:</strong> The default path is C:\Program Files\Microsoft SQL Server\MSSQL\Data\ and the default filenames are <strong>BESMgmt.mdf</strong> and <strong>BESMgmt.ldf</strong>.</li>
<li>Move the file copies to the new Microsoft SQL Server.</li>
<li>Log in to the new Microsoft SQL Server.</li>
<li>Open Enterprise Manager.</li>
<li>Right-click the BlackBerry Configuration Database name.</li>
<li>Select <strong>All Tasks</strong>, then click <strong>Detach Database</strong>.</li>
<li>Move the files that were copied in step 8 to the Microsoft SQL Server <strong>Data</strong> directory. When prompted to overwrite the files, click <strong>Yes</strong>.</li>
<li>In Enterprise Manager, right-click the <strong>Database</strong> folder, then click <strong>All Tasks</strong>.</li>
<li>Select <strong>Attach Database</strong>.</li>
<li>Select the <strong>MDF</strong> file to attach, then click <strong>OK</strong>.</li>
<li>Close Enterprise Manager.</li>
</ol>
<p style="margin-right:0;" dir="ltr"><strong>MSDE</strong></p>
<ol>
<li>Open the Control Panel, and then open <strong>Administrative Tools</strong> &gt; <strong>Services</strong>.</li>
<li>Stop each service that has a name that begins with <strong>BlackBerry</strong>.</li>
<li>Log in to the existing MSDE Server.</li>
<li>From a command prompt, type <span class="code"><strong>osql -E</strong></span> and press <strong>ENTER</strong>.<strong>Note:</strong> When logging in to a named instance of the Microsoft SQL Server, use the following command:<br />
<blockquote><p><span class="code"><strong><span class="code"><strong>osql -E -S <em>&lt;SQL_Server_name&gt;</em>\<em>&lt;instance_name&gt;</em></strong></span></strong></span></p></blockquote>
</li>
<li>Type the following commands in the specified order:<span class="code">1&gt; <strong>exec sp_detach_db @dbname = &#8220;<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>&#8220;</strong></span><span class="code">2&gt; <strong>go</strong></span>
<p><span class="code">1&gt; <strong>quit</strong></span></li>
<li>Go to the Microsoft SQL Server <strong>Data</strong> directory and copy the <strong>MDF</strong> and <strong>LDF</strong> files.<strong>Note:</strong> The default path is C:\Program Files\Microsoft SQL Server\MSSQL\Data\ and the default filenames are <strong>BESMgmt.mdf</strong> and <strong>BESMgmt.ldf</strong>.</li>
<li>Move the files that were copied in step 6 to the new Microsoft SQL Server.</li>
<li>Log in to the new MSDE Server.</li>
<li>From a command prompt, type <span class="code"><strong>osql -E</strong></span> and press <strong>ENTER</strong>.<strong>Note:</strong> When logging in to a named instance of Microsoft SQL Server, use the following command:<br />
<blockquote>
<p class="code"><span class="code"><strong>osql -E -S <em>&lt;SQL_Server_name&gt;</em>\<em>&lt;instance_name&gt;</em></strong></span></p>
</blockquote>
</li>
<li>Type the following commands in the specified order:<span class="code">1&gt; <strong>exec sp_detach_db @dbname = &#8220;<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>&#8220;</strong></span><span class="code">2&gt; <strong>go</strong></span>
<p><span class="code">2&gt; <strong>quit</strong></span></li>
<li>Move the files that were copied in step 6 into the Microsoft SQL Server <strong>Data</strong> directory. When prompted to overwrite the files, click <strong>Yes</strong>.</li>
<li>From a command prompt, type <span class="code"><strong>osql -E</strong></span> <span style="font-family:Verdana;">and press <strong>ENTER</strong>.</span><strong>Note:</strong> If you are logging in to a named instance of Microsoft SQL Server, use the following command syntax to log in:<br />
<blockquote><p><span class="code"><strong><span class="code"><strong>osql -E -S <em>&lt;SQL_Server_name&gt;</em>\<em>&lt;instance_name&gt;</em></strong></span></strong></span></p></blockquote>
</li>
<li>Type the following commands in the specified order:<span class="code">1&gt; <strong>exec sp_attach_db @dbname = &#8220;<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>&#8220;,</strong></span><span class="code">2&gt; <strong>@filename1 = &#8220;C:\Program Files\Microsoft SQL Server\MSSQL\Data\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.mdf&#8221;,</strong></span>
<p><span class="code">3&gt; <strong>@filename2 = &#8220;C:\Program Files\Microsoft SQL Server\MSSQL\Data\<em>&lt;BlackBerry_Configuration_Database_name&gt;</em>.ldf&#8221;</strong></span></p>
<p><span class="code">4&gt; <strong>go</strong></span></p>
<p><span class="code">1&gt; <strong>quit</strong></span></li>
<li>Close the command prompt.</li>
</ol>
<hr />
<h3><span class="subHeading"><a id="4" name="4">Task 4 &#8211; Configure the BlackBerry Enterprise Server</a></span></h3>
<p><span style="font-size:10pt;">To configure the BlackBerry Enterprise Server to connect to the new BlackBerry Configuration Database, c</span>omplete the following steps:</p>
<ol>
<li>On the BlackBerry Enterprise Server, click <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>BlackBerry Enterprise Server</strong> &gt; <strong>BlackBerry Server Configuration</strong>.</li>
<li>On the Database Connectivity tab, select <strong>Change Database</strong>.</li>
<li>In the Change Database Wizard, specify the new Microsoft SQL Server name and the existing BlackBerry Configuration Database name.</li>
<li>Continue with the wizard. Make sure that the <strong>Start Services</strong> check box is selected, and then click <strong>Finish</strong>.</li>
<li>Open <strong>Administrative Tools</strong> &gt; <strong>Services</strong> and make sure all the BlackBerry Enterprise Server services started successfully.<strong>Note:</strong> The BlackBerry Database Consistency Service may be disabled. This is normal behavior.</li>
<li>Open BlackBerry Manager and make sure that the correct database is set up by completing the following:For BlackBerry Enterprise Server software version 4.0
<ol>
<li>Right-click BlackBerry Manager, select <strong>Properties</strong>.</li>
<li>Select the <strong>Properties</strong> tab and verify that the Microsoft SQL Server information and BlackBerry Configuration Database name are correct.</li>
</ol>
<p>For BlackBerry Enterprise Server software version 4.1</p>
<ol>
<li>Go to <strong>Tools &gt; Options &gt; Database</strong> and verify that the Microsoft SQL Server information and BlackBerry Configuration Database name are correct.</li>
<li>Verify all the BlackBerry smartphone user accounts appear on BlackBerry Manager.</li>
</ol>
</li>
<li>If you have a remote BlackBerry Manager, make sure to check the settings from step 6.</li>
<li>Test email message flow from the BlackBerry smartphone.</li>
</ol>
<p>For BlackBerry Enterprise Server software version 4.1, install the database notification system.</p>
<ol>
<li>Copy the <strong>RimEsp.dll</strong> file to the C:\Program Files\Microsoft SQL Server\MSSQL\Binn folder on the new Microsoft SQL Server.</li>
<li>In Microsoft Query Analyzer, go to the <strong>Database\DBInstallScripts\SQLServer\4.1</strong> folder on the installation media.</li>
<li>Open the <strong>NotifyInstall.sql</strong> file and replace <em><strong>&lt;_databasename&gt;</strong></em> with the name of the BlackBerry Configuration Database.</li>
<li>Run the script.</li>
<li>Confirm that the Microsoft Query Analyzer displays the following message:<br />
<blockquote><p><strong>Function dbo.xp_RIM_xxxx registered</strong>.</p></blockquote>
</li>
</ol>
<hr class="section" />
<h2>Additional Info</h2>
<p>When moving from an MSDE server instance to a full Microsoft SQL Server instance on a separate computer, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB04039&amp;sliceId=SAL_Public&amp;dialogID=44732687&amp;stateId=0%200%2020676069" target="_blank">KB04039</a> for information on how to increase the mail agent limitation on the BlackBerry Enterprise Server.</p>
<p>If you receive an error that the BlackBerry Configuration Database is in use, complete the following steps:</p>
<ol>
<li>Remove all the BlackBerry smartphone user accounts from the BlackBerry Configuration Database by typing the following commands at a command prompt:<br />
<blockquote><p><span class="code"><strong>OSQL -E</strong>1&gt; <strong>use master</strong>2&gt; <strong>alter database database_name set single_user with rollback immediate</strong>3&gt; <strong>go</strong>1&gt; <strong>use &lt;<em>database_name</em>&gt;</strong>2&gt; <strong>go</strong>1&gt; <strong>exit</strong></span></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></blockquote>
</li>
<li>Detach the BlackBerry Configuration Database by typing the following commands at a command prompt:<br />
<blockquote><p><span class="code"><strong>OSQL -E</strong>1&gt; <strong>use master</strong>2&gt; <strong>sp_detach_db @dbname = &lt;<em>database_name</em>&gt;</strong>3&gt; <strong>go</strong>1&gt; <strong>exit</strong></span></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></blockquote>
</li>
<li>Attach the BlackBerry Configuration Database by typing the following commands at a command prompt:<br />
<blockquote><p><span class="code"><span class="code"><span class="code"><strong>OSQL -E</strong></span></span>1&gt; <strong>use master</strong>2&gt; <strong>exec sp_attach_db @dbname = &#8220;&lt;<em>database_name</em>&gt;&#8221;,</strong>3&gt; <strong>@filename1 = &#8220;C:\&lt;<em>Path_to_database_file</em>&gt;\&lt;<em>database_name</em>&gt;.mdf&#8221;,</strong>4&gt; <strong>@filename2 = &#8220;C:\&lt;<em>Path_to_transaction_log_file</em>&gt;\&lt;<em>database_name</em>&gt;.ldf&#8221;</strong>5&gt; <strong>go</strong>1&gt; <strong>exit</strong></span></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></blockquote>
</li>
</ol>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/how-to-move-the-blackberry-configuration-database-to-a-new-microsoft-sql-server-or-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to switch BlackBerry Enterprise Server service accounts</title>
		<link>http://www.offsitenoc.com/blogs/how-to-switch-blackberry-enterprise-server-service-accounts/</link>
		<comments>http://www.offsitenoc.com/blogs/how-to-switch-blackberry-enterprise-server-service-accounts/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:49:31 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[Blackberry enterprise server]]></category>

		<guid isPermaLink="false">http://go4techsupport.wordpress.com/?p=13</guid>
		<description><![CDATA[Environment BlackBerry® Enterprise Server software version 4.0 or later for Microsoft® Exchange Microsoft® SQL Server™ Microsoft® SQL Server Desktop Engine (MSDE) Procedure To change the BlackBerry Enterprise Server service account for BlackBerry Enterprise Server software versions 4.0 or later for Microsoft® Exchange, complete the following tasks: Summary of Tasks Create a new service account and mailbox. Set the local [...]]]></description>
			<content:encoded><![CDATA[<h2>Environment</h2>
<ul>
<li>BlackBerry® Enterprise Server software version 4.0 or later for Microsoft® Exchange</li>
<li>Microsoft® SQL Server™</li>
<li>Microsoft® SQL Server Desktop Engine (MSDE)<br />
<h2>Procedure</h2>
<p>To change the BlackBerry Enterprise Server service account for BlackBerry Enterprise Server software versions 4.0 or later for Microsoft® Exchange, complete the following tasks:</p>
<h3>Summary of Tasks</h3>
<ol>
<li>Create a new service account and mailbox.</li>
<li>Set the local permissions.</li>
<li>Assign the new service account to the Local Administrators group.</li>
<li>Add the appropriate Microsoft Exchange Server permissions.</li>
<li>Add the Send As permission in Microsoft® Active Directory® Users and Computers.</li>
<li>Stop all BlackBerry Enterprise Server services.</li>
<li>Configure BlackBerry Enterprise Server services to log in with the new service account.</li>
<li>Export the Research In Motion® (RIM®) folder from the old service account.</li>
<li>Import the Research In Motion folder to the new service account.</li>
<li>If you have a Microsoft SQL Server, assign the Server roles.</li>
<li>Edit the Messaging Application Programming Interface (MAPI) profile.</li>
<li>Start all BlackBerry Enterprise Server services.</li>
</ol>
<hr />
<h3><a id="1" name="1">Task 1</a></h3>
<div>Create a new BlackBerry Enterprise Server service account and mailbox. For detailed instructions, see the <em>BlackBerry Enterprise Server for Microsoft Exchange: Installation Guide.</em></div>
<div> </div>
<p>For information on assigning permissions to the BlackBerry Enterprise Server administration account, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB02276&amp;sliceId=SAL_Public&amp;dialogID=33711853&amp;stateId=0%200%2033707756" target="_blank">KB02276</a>.</p>
<hr />
<h3><a id="2" name="2">Task 2</a></h3>
<p>Depending on where the BlackBerry Enterprise Server is installed, set the local permissions by completing <em>one</em> of the procedures below.</p>
<p><strong>On a member server</strong></p>
<p>If the BlackBerry Enterprise Server is installed on a member server, set the local permissions as follows:</p>
<ol>
<li>In the Microsoft® Windows® Control Panel, go to <strong>Administrative Tools</strong> &gt; <strong>Local Security Policy</strong>.</li>
<li>Expand <strong>Local Policies</strong>, and then select <strong>User Rights Assignment</strong>.</li>
<li>Depending on the Windows environment, do one of the following:
<ul>
<li>In Microsoft Windows 2003, right-click <strong>Allow log on locally</strong>, click <strong>Properties</strong>, and click <strong>Add User or Group</strong>. Type the domain name of the new service account and then click <strong>OK</strong>.</li>
<li>In Microsoft Windows 2000, right-click <strong>Log on</strong> <strong>locally</strong> and click <strong>Properties</strong>. Select the <strong>Local Policy Setting</strong> check box next to the new service account name and then click <strong>OK</strong>.</li>
</ul>
</li>
<li>Also, specify the option <strong>Log on as a service.</strong></li>
</ol>
<p><strong>On a domain controller</strong></p>
<p>If the BlackBerry Enterprise Server is installed on a domain controller, set the local permissions as follows:</p>
<p><strong>Warning:</strong> There are performance issues associated with installing the BlackBerry Enterprise Server on a domain controller. This is not a recommended configuration.</p>
<ol>
<li>In the Microsoft Windows Control Panel, open <strong>Administrative Tools</strong> &gt; <strong>Domain Controller Security Policy</strong>.</li>
<li>Expand <strong>Local Policies</strong> and then select <strong>User Rights Assignment</strong>.</li>
<li>Depending on the Windows environment, do one of the following:
<ul>
<li>In Microsoft Windows 2003, right-click <strong>Allow log on locally</strong>, click <strong>Properties</strong>, and click <strong>Add User or Group</strong>. Type the domain name of the new service account and then click <strong>OK</strong>.</li>
<li>In Microsoft Windows 2000, right-click <strong>Log on locally</strong>, and then click <strong>Properties</strong>. Select the <strong>Local Policy Setting</strong> check box next to the new service account name and then click <strong>OK</strong>.</li>
</ul>
</li>
<li>Also, specify the option <strong>Log on as a service.</strong></li>
</ol>
<hr />
<h3><a id="3" name="3">Task 3</a></h3>
<p>Depending on where the BlackBerry Enterprise Server is installed, add the new BlackBerry Enterprise Server service account to the Local Administrators group on the BlackBerry Enterprise Server by completing <span style="text-decoration:underline;"><em>one</em></span> of the procedures below.</p>
<p><strong>On a member server</strong></p>
<p>If the BlackBerry Enterprise Server is installed on a member server, add the new BlackBerry Enterprise Server service account to the Local Administrators group as follows:</p>
<ol>
<li>Open <strong>Administrative Tools</strong> &gt; <strong>Computer Management</strong>, then expand <strong>System Tools</strong>.</li>
<li>Select <strong>Local Users and Groups</strong>.</li>
<li>Double-click <strong>Groups</strong> and then double-click <strong>Administrators</strong>. The Administrators Properties window appears.</li>
<li>Click <strong>Add</strong>, type the new BlackBerry Enterprise Server service account name, and then click <strong>OK</strong>.</li>
<li>Click <strong>OK</strong> again to close the Administrators Properties window.</li>
</ol>
<p dir="ltr"><strong>On a domain controller</strong></p>
<p dir="ltr">If the BlackBerry Enterprise Server is installed on a domain controller, add the new BlackBerry Enterprise Server service account to the Local Administrators group as follows:</p>
<ol>
<li>Open <strong>Administrative Tools</strong> &gt; <strong>Active Directory Users and Computers</strong>, and then select the <strong>Builtin</strong> folder.</li>
<li>Double-click <strong>Administrators</strong>, and then select the <strong>Members</strong> tab.</li>
<li>Click <strong>Add</strong>, type the new BlackBerry Enterprise Server service account name and then click <strong>OK</strong>.</li>
<li>Click <strong>OK</strong> again.</li>
</ol>
<hr />
<h3><a id="4" name="4">Task 4</a></h3>
<p>Depending on the Microsoft Exchange environment, add the appropriate Microsoft Exchange Server permissions by completing <em>one</em> of the procedures below.</p>
<p><strong>Microsoft Exchange 2000 and 2003</strong></p>
<ol>
<li>Open <strong>Exchange System Manager</strong>.</li>
<li>Right-click the Microsoft Exchange administrative group name and then click <strong>Delegate Control</strong>.</li>
<li>Click <strong>Next</strong> and then click <strong>Add</strong> to open the Delegate Control window.</li>
<li>Click <strong>Browse</strong> to open the Select Users, Computers or Groups window and then select the new BlackBerry Enterprise Server service account.</li>
<li>From the <strong>Role</strong> drop-down list, select <strong>Exchange View Only Administrator</strong> and then click <strong>OK</strong>.</li>
<li>Click <strong>Next</strong> and then click <strong>Finish</strong>.</li>
<li>Open <strong>Exchange System Manager</strong>, expand <strong>Administrative Groups</strong> &gt; <strong>First Administrative Group</strong>, and select <strong>Servers</strong>.</li>
<li>Right-click the Microsoft Exchange Server name, select <strong>Properties</strong>. Select the <strong>Security</strong> tab and click the <strong>Advanced</strong> button.</li>
<li>Select the BlackBerry Enterprise Server service account name.  
<ol>
<li>If you are not able to locate the BlackBerry Enterprise Server service account name, click <strong>Advanced</strong>, and then select the <strong>Allow inheritable permissions from parent to propagate to this object</strong> check box. </li>
<li>Click <strong>Apply</strong> and then click <strong>OK</strong>. You should now be able to find and click the BlackBerry Enterprise Server service account.</li>
</ol>
</li>
<li>Select the appropriate check boxes to allow permissions for <strong>Administer information store</strong>, <strong>Receive As,</strong> and <strong>Send As</strong>.</li>
<li>Click <strong>Apply</strong> and then click <strong>OK</strong>.</li>
</ol>
<p><strong>Microsoft Exchange 5.5</strong></p>
<p>In Exchange Administrator, turn on the <strong>Service Account Admin</strong> permission for the new service account in both the Site and Configuration containers. For more information on setting permissions, see the Microsoft Exchange 5.5 documentation.<br />
<strong>Microsoft Exchange 2007</strong></p>
<ol>
<li>Open the Microsoft Exchange Shell by going to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Microsoft Exchange Server 2007</strong> &gt; <strong>Exchange Management Shell</strong>.</li>
<li>To set the <strong>Exchange View Only Administrator</strong> role, type the following command:<span class="code"><strong>add-exchangeadministrator <em>BESAdmin</em> -role ViewOnlyAdmin</strong></span>Where <strong><em><span style="font-family:Courier New;">BESAdmin</span></em></strong> is the name of the BlackBerry Enterprise Server service account.</li>
<li>To check the <strong>Exchange View-Only Administrator</strong> role, type the following command:<span class="code"><strong>get-exchangeadministrator | Format-List</strong></span>The service account should be displayed with a <strong>ViewOnlyAdmin</strong> role.</li>
<li>To set the <strong>Send As</strong>, <strong>Receive As</strong>, and <strong>Administer</strong> <strong>Information Store</strong> permissions, type the following command:<span class="code"><strong>get-mailboxserver <em>server_name</em> | add-adpermission -user <em>BESAdmin</em> -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin</strong></span>
<p>Where <em><strong><span style="font-family:Courier New;">server_name</span></strong></em> is the name of the Microsoft Exchange Server 2007 or Microsoft Exchange Cluster and <strong><em><span style="font-family:Courier New;">BESAdmin</span></em></strong> is the name of the BlackBerry Enterprise Server service account.</li>
<li>To check the <strong>Send As</strong>, <strong>Receive As</strong>, and <strong>Administer Information Store</strong> permissions, type the following command in Exchange Management Shell:<span class="code"><strong>get-mailboxserver <em>Exchange2007</em> | get-ADpermission -user <em>BESAdmin</em> | Format-List</strong></span>Where <strong><span style="font-family:Courier New;"><em>Exchange2007</em></span></strong> is the name of the Microsoft Exchange Server 2007 or Microsoft Exchange Cluster and <strong><span style="font-family:Courier New;"><em>BESAdmin</em></span></strong> is the name of the BlackBerry Enterprise Server service account.</li>
</ol>
<hr />
<h3><a id="5" name="5">Task 5</a></h3>
<p>In Active Directory Users and Computers, add the <strong>Send As</strong> permission by completing the following steps:</p>
<p>To grant the <strong>Send As</strong> permission for a single account on all users in a Microsoft Active Directory domain or container, complete the following steps:</p>
<ol>
<li>Open <strong>Administrative Tools</strong> &gt; <strong>Active Directory Users and Computers</strong>.</li>
<li>From the View menu, select the <strong>Advanced Features</strong> option. If this option is not selected, the Security page will not be visible for domain and container objects.</li>
<li>Right-click the appropriate domain or container, and then click <strong>Properties.</strong></li>
<li>Select the <strong>Security</strong> tab.</li>
<li>If the BlackBerry Enterprise Server service account that requires the <strong>Send As</strong> permission is not listed, click <strong>Add</strong>, and then select the appropriate BlackBerry Enterprise Server service account. Click <strong>OK</strong>. </li>
<li>Select the <strong>BlackBerry Enterprise Server</strong> service account and then click <strong>Advanced.</strong></li>
<li>Under the <strong>Permissions</strong> tab select the BlackBerry Enterprise Server service account and then select <strong>Edit</strong>.</li>
<li>Under the <strong>Object</strong> tab in the <strong>Applies Onto</strong> list, select <strong>User Objects</strong>.</li>
<li>Select the <strong>Send As</strong> check box.</li>
<li>Click <strong>Apply</strong>, and then click <strong>OK</strong>.</li>
<li>Close the Properties window, and then close Active Directory Users and Computers.</li>
</ol>
<p><strong>Note:</strong> For additional methods of assigning the Send As permission, search for article 912918 in the <a href="http://support.microsoft.com/" target="_blank">Microsoft Support Knowledge Base</a>.</p>
<hr />
<h3><a id="6" name="6">Task 6</a></h3>
<p>Stop all BlackBerry Enterprise Server services by completing the following steps:</p>
<ol>
<li>Open <strong>Administrative Tools</strong> &gt; <strong>Services</strong>.</li>
<li>Right-click each BlackBerry Enterprise Server service and then click <strong>Stop</strong> for each service.</li>
</ol>
<hr />
<h3><a id="7" name="7">Task 7</a></h3>
<p>Configure any BlackBerry services that use the old BlackBerry Enterprise Server service account to log in with the new BlackBerry Enterprise Server service account by completing the following steps:</p>
<p><strong>Important:</strong> Do not include the BlackBerry Attachment Service, BlackBerry® Mobile Data System services, Apache Tomcat™ service, or BlackBerry Instant Messaging Connector in this procedure. These services are always set to the local system.</p>
<ol>
<li>Open <strong>Administrative Tools</strong> &gt; <strong>Services</strong>, double-click a BlackBerry Enterprise Server service that has a Log On account, and click the <strong>Log On</strong> tab.</li>
<li>Select the <strong>This account</strong> option, and then type the new BlackBerry Enterprise Server service account name.</li>
<li>In the <strong>Password</strong> and <strong>Confirm Password</strong> fields, type the BlackBerry Enterprise Server service account password.</li>
<li>Click <strong>Apply</strong>, and then click <strong>OK</strong>.</li>
<li>Repeat steps 1 to 4 for each of the remaining BlackBerry Enterprise Server services that have a Log On account.</li>
</ol>
<hr />
<h3><a id="8" name="8">Task 8</a></h3>
<p>Export the Research In Motion folder from the old BlackBerry Enterprise Server service account.</p>
<p><strong>Note:</strong> To perform this task, you must be logged on using the account that was initially used to install the BlackBerry Enterprise Server software or service pack.</p>
<p><strong>Warning:</strong> The following procedure involves modifying the computer registry. This can cause substantial damage to the Microsoft Windows operating system. Document and back up the registry entries prior to implementing any changes.</p>
<ol>
<li>Log in to the old BlackBerry Enterprise Server service account.</li>
<li>In the Registry Editor, go to <span class="code">HKEY_CURRENT_USER\Software\Research In Motion</span>.</li>
<li>Select the <strong>Research In Motion</strong> folder.</li>
<li>Depending on the Windows environment, do one of the following:
<ul>
<li>For Windows Server 2003, select the <strong>File</strong> menu, and then click <strong>Export</strong>.</li>
<li>For Windows Server 2000, select the <strong>Registry</strong> menu, and then click <strong>Export Registry File</strong>.</li>
</ul>
</li>
<li>Choose a location to save the file, type a file name and click <strong>Save</strong>.</li>
<li>Close the Registry Editor.</li>
</ol>
<hr />
<h3><a id="9" name="9">Task 9</a></h3>
<p>Import the Research In Motion folder to the new BlackBerry Enterprise Server service account by completing these steps:</p>
<p><strong>Warning:</strong> The following procedure involves modifying the computer registry. This can cause substantial damage to the Microsoft Windows operating system. Document and back up the registry entries prior to implementing any changes.</p>
<ol>
<li>Log out of the current service account and log in with the new BlackBerry Enterprise Server service account.</li>
<li>Locate the registry file you saved from Task 8.</li>
<li>Double-click the registry file and it will import to the correct location in the registry.</li>
<li>Open the Registry Editor.</li>
<li>Confirm that the <span class="code"><strong>HKEY_CURRENT_USER\Software\Research In Motion</strong></span> directory exists.</li>
<li>Close the Registry Editor.</li>
</ol>
<hr />
<h3><a id="10" name="10">Task 10</a></h3>
<p>If you have a Microsoft SQL Server, assign the Server roles by completing the following steps:</p>
<p><strong>Note:</strong> If you are using MSDE, skip <strong>Task 10</strong> and go to <strong>Task 11</strong>.</p>
<ol>
<li>In the SQL Enterprise Manager, go to <strong>Microsoft SQL Servers/SQL Server Group/&lt;<em>SQL_server_name</em>&gt;.</strong></li>
<li>Expand the Microsoft SQL Server and expand security.</li>
<li>Right-click <strong>Logins</strong> and click <strong>New Login</strong>.</li>
<li>On the General tab, click the button next to the <strong>Name</strong> field, as shown below:</li>
<li>Select the new service account name from the Names list, click <strong>Add</strong>, and click <strong>OK</strong>.</li>
<li>From the Server Roles tab, select <strong>Server Administrators</strong> and <strong>Database Creators</strong> from the Server Role list.<strong>Note:</strong> If you are running BlackBerry Enterprise Server software version 4.1 or later, add the System Administrators role to add BlackBerry smartphone users in a role-based administration environment. For instructions, see the <em>BlackBerry Enterprise Server for Microsoft Exchange: System Administration Guide</em>.</li>
<li>On the Database Access tab, select the check box for the BlackBerry Configuration Database (for example, <strong>BESMgmt</strong>).</li>
<li>In the <strong>Database Roles for <em>&lt;BlackBerry_Configuration_Database_name&gt;</em></strong> list, select the <strong>db_owner</strong> check box.</li>
</ol>
<hr />
<h3><a id="11" name="11">Task 11</a></h3>
<p>Edit the MAPI profile by completing these steps:</p>
<ol>
<li>Make sure BlackBerry Manager is closed.</li>
<li>Click <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>BlackBerry Enterprise Server</strong> &gt; <strong>BlackBerry Server Configuration</strong>.</li>
<li>On the BlackBerry Server tab, click <strong>Edit MAPI Profile</strong>.</li>
<li>In the Mailbox field, type the new BlackBerry Enterprise Server service account mailbox name.</li>
<li>Click <strong>Apply</strong> and then click <strong>OK</strong>.</li>
</ol>
<hr />
<h3><a id="12" name="12">Task 12</a></h3>
<p>Start all BlackBerry Enterprise Server services by completing the following steps:</p>
<ol>
<li>In BlackBerry Manager, right-click the BlackBerry Enterprise Server name, and then select <strong>Service Control</strong> &gt; <strong>Start Service</strong> for each of the following services in the following order:
<ul>
<li>BlackBerry Router</li>
<li>BlackBerry Dispatcher</li>
<li>BlackBerry Controller</li>
<li>all other BlackBerry Enterprise Server services</li>
</ul>
</li>
<li>After starting the services, close BlackBerry Manager.<strong>Note:</strong> BlackBerry Enterprise Server services can also be started in <strong>Administrative Tools</strong> &gt; <strong>Services</strong>.</li>
</ol>
<p><strong>Important:</strong> Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB04789&amp;sliceId=SAL_Public&amp;dialogID=27498226&amp;stateId=1%200%2027484848" target="_blank">KB04789</a>.</p>
<hr class="section" />
<h2>Additional Info</h2>
<p>Please note that if your organization uses a single domain or multiple domains that are trusted in an Exchange organization, one BlackBerry Enterprise Server service account account is sufficient to manage the BlackBerry Enterprise Server.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/how-to-switch-blackberry-enterprise-server-service-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assigning permissions for the BlackBerry Enterprise Server service account</title>
		<link>http://www.offsitenoc.com/blogs/assigning-permissions-for-the-blackberry-enterprise-server-service-account/</link>
		<comments>http://www.offsitenoc.com/blogs/assigning-permissions-for-the-blackberry-enterprise-server-service-account/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:41:11 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[Blackberry enterprise server]]></category>

		<guid isPermaLink="false">http://go4techsupport.wordpress.com/?p=12</guid>
		<description><![CDATA[BlackBerry® Enterprise Server software version 3.5 and later for Microsoft® Exchange Microsoft® Exchange 2000, 2003 and 2007The following permissions can be assigned for the BlackBerry Enterprise Server service account: Local Administrator rights on the BlackBerry Enterprise Server Local Security Policy permissions for the BlackBerry Enterprise Server service account Microsoft Exchange permissions at the Administrative Group [...]]]></description>
			<content:encoded><![CDATA[<li>BlackBerry® Enterprise Server software version 3.5 and later for Microsoft® Exchange</li>
<li>Microsoft® Exchange 2000, 2003 and 2007The following permissions can be assigned for the BlackBerry Enterprise Server service account:
<ol>
<li>Local Administrator rights on the BlackBerry Enterprise Server</li>
<li>Local Security Policy permissions for the BlackBerry Enterprise Server service account</li>
<li>Microsoft Exchange permissions at the Administrative Group level</li>
<li>Microsoft Exchange permissions at the Microsoft Exchange Server level</li>
<li>Send As permission at the Domain level</li>
<li>Database permissions for managing the BlackBerry Configuration Database</li>
</ol>
<p>To assign permissions, complete the following tasks.</p>
<blockquote><p><strong>Note:</strong> The BlackBerry Enterprise Server service account should be a Domain User only, not a Domain Administrator. See <a href="http://www.blackberry.com/btsc/articles/924/KB04557_f.SAL_Public.html" target="_blank">KB04557</a> for more information.</p></blockquote>
<hr /><strong><a id="Task 1" name="Task 1">Task 1</a></strong>To assign Local Administrator rights to the BlackBerry Enterprise Server service account, complete the following steps:</p>
<p><strong>If installing BlackBerry Enterprise Server on a Domain Controller</strong></p>
<ol>
<li>Go to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Administrative Tools</strong> &gt; <strong>Active Directory Users and Computers</strong>.</li>
<li>Select the <strong>Builtin</strong> folder.</li>
<li>Double-click <strong>Administrators</strong>.</li>
<li>On the <strong>Members</strong> tab, click <strong>Add</strong>.</li>
<li>Select the BlackBerry Enterprise Server service account name (for example, <strong>BESAdmin</strong>), and then click <strong>Add</strong>.</li>
<li>Click <strong>OK</strong>.</li>
<li>Click <strong>OK</strong> again.</li>
</ol>
<p><strong>If installing BlackBerry Enterprise Server on a Member Server</strong></p>
<ol>
<li>Click <strong>Start</strong> &gt; <strong>Administrative Tools</strong> &gt; <strong>Computer Management</strong>.</li>
<li>In the left pane, expand <strong>System Tools</strong> and click <strong>Local Users and Groups</strong>.</li>
<li>In the right pane, double-click <strong>Groups</strong>.</li>
<li>Right-click <strong>Administrators</strong> and click <strong>Properties</strong>.</li>
<li>In the <strong>Select Users, Contacts, Computers, or Groups</strong> window, select the BlackBerry Enterprise Server service account name.</li>
<li>Click <strong>OK</strong>.</li>
</ol>
<hr />
<h3><span class="subHeading"><a id="Task 2" name="Task 2">Task 2</a></span></h3>
<p>To assign Local Security Policy permissions to the BlackBerry Enterprise Server service account, complete the following steps:</p>
<blockquote><p><strong>Note:</strong> This allows the BlackBerry Enterprise Server service account to access the local computer and to run the BlackBerry Enterprise Server software as a Windows® service.</p></blockquote>
<ol>
<li>Click <strong>Start</strong> &gt; <strong>Administrative Tools</strong> &gt; <strong>Local Security Policy</strong>.If the computer is a domain controller, click <strong>Start</strong> &gt; <strong>Administrative Tools</strong> &gt; <strong>Domain Controller Security Policy</strong>.</li>
<li>In the Local Securities window, click <strong>Local Policies</strong> &gt; <strong>User Rights Assignment</strong>.</li>
<li>Do one of the following:
<ul>
<li>For Windows Server® 2000, double-click <strong>Log on Locally</strong></li>
<li>For Windows Server 2003, double-click <strong>Allow Log on Locally</strong></li>
</ul>
</li>
<li>Click <strong>Add User or Group</strong>.</li>
<li>Select the BlackBerry Enterprise Server service account name and click <strong>Add</strong>.</li>
<li>Click <strong>OK</strong>.</li>
<li>In the Local Security Settings window, double-click <strong>Log On As a Service</strong>.</li>
<li>Click <strong>Add User</strong> and select the BlackBerry Enterprise Server service account.</li>
<li>Click <strong>OK</strong>.</li>
</ol>
<hr />
<h3><a id="Task 3" name="Task 3">Task 3</a></h3>
<p>To assign Microsoft Exchange Server permissions at the Administrative Group level, complete the following steps for your environment:</p>
<blockquote><p><strong>Note:</strong> This allows a system administrator to manage BlackBerry smartphone users and groups.</p></blockquote>
<p><strong>On Microsoft Exchange 2000</strong> or <strong>2003</strong></p>
<ol>
<li>Go to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Microsoft Exchange</strong> &gt; <strong>System Manager</strong>.</li>
<li>Select <strong>Administrative Groups</strong>.</li>
<li>Right-click <strong>First Administrative Group</strong> and select <strong>Delegate Control</strong>.</li>
<li>In the Exchange Administration Delegation Wizard, click <strong>Next</strong>, and then click <strong>Add</strong>.</li>
<li>Click <strong>Browse</strong> and select the BlackBerry Enterprise Server service account.</li>
<li>Click <strong>OK</strong>.</li>
<li>In the <strong>Role</strong> drop-down list of the Delegate Control window, select <strong>Exchange View Only Administrator</strong>.</li>
<li>Click <strong>OK</strong> to add the BlackBerry Enterprise Server service account to the <strong>Users and Groups</strong> list.</li>
<li>Click <strong>Next</strong>, and then click <strong>Finish</strong>.</li>
</ol>
<p><strong>On Microsoft Exchange 2007</strong>To set an Exchange View Only Administrator role:</p>
<ol>
<li>Go to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Microsoft Exchange Server 2007</strong> &gt; <strong>Exchange Management Shell</strong>.</li>
<li>In the command prompt window, type the following and then press <strong>ENTER</strong>:</li>
</ol>
<blockquote><p><span class="code"><strong>add-exchangeadministrator &lt;<em>BESAdmin&gt;</em> -role ViewOnlyAdmin</strong></span></p>
<p>where &lt;<span class="code"><strong><em>BESAdmin&gt;</em></strong></span> is the name of the BlackBerry Enterprise Server service account.</p></blockquote>
<p>To check an Exchange View Only Administrator role:</p>
<ol>
<li>Open Windows PowerShell, and then open a command prompt window.</li>
<li>At the command prompt window, type the following and then press <strong>ENTER</strong>:<br />
<blockquote><p><span class="code"><strong>get-exchangeadministrator | Format-List</strong></span></p></blockquote>
</li>
<li>Verify that the BlackBerry Enterprise Server service account has the <strong>ViewOnlyAdmin</strong> role.</li>
</ol>
<hr />
<h3><a id="Task 4" name="Task 4">Task 4</a></h3>
<p>To assign Microsoft Exchange Server permissions at the Microsoft Exchange Server level, complete the following steps:</p>
<p><strong>On Microsoft Exchange 2000</strong> or <strong>2003</strong></p>
<ol>
<li>Go to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Microsoft Exchange</strong> &gt; <strong>System Manager</strong>.</li>
<li>Select <strong>Administrative Groups</strong> &gt; <strong>First Administrative Group</strong> &gt; <strong>Servers</strong>.</li>
<li>Right-click the Microsoft Exchange Server name and select <strong>Properties</strong>.</li>
<li>On the <strong>Security</strong> tab, select the BlackBerry Enterprise Server service account.</li>
<li>Select the following permissions from the <strong>Permissions</strong> list:</li>
<li>
<ul>
<li><strong>Administer Information Store</strong></li>
<li><strong>Send As</strong></li>
<li><strong>Receive As</strong></li>
</ul>
</li>
<li>Click the <strong>Advanced</strong> button.</li>
<li>Verify that the option <strong>Select the Allow inheritable permissions from parent to propagate to this object and all child objects</strong> is checked.</li>
<li>Click <strong>OK</strong>.</li>
<li>Repeat the preceding steps for each Microsoft Exchange Server within the routing group that will host mailboxes for BlackBerry smartphone users with accounts on a BlackBerry Enterprise Server.</li>
</ol>
<p dir="ltr"><strong>On Microsoft Exchange 2007</strong></p>
<p>To set <strong>Send As</strong>, <strong>Receive As</strong>, and <strong>Administer</strong> <strong>Information Store</strong> permissions:</p>
<ol>
<li>Open Windows PowerShell, and then open a command prompt window.</li>
<li>At the command prompt window, type the following line, and then press <strong>ENTER</strong>:<span class="code"><strong>get-mailboxserver <em>Exchange2007</em> | add-adpermission -user &lt;<em>BESAdmin&gt;</em> -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin</strong></span>where:</li>
<li>
<ul>
<li> <span class="code"><strong><em>Exchange 2007</em></strong></span> is the name of the Microsoft Exchange 2007 Server</li>
<li>&lt;<span class="code"><em><strong>BESAdmin&gt;</strong></em></span> is the name of the BlackBerry Enterprise Server service account</li>
</ul>
</li>
</ol>
<p>To check the <strong>Send As</strong>, <strong>Receive As</strong>, and <strong>Administer Information Store</strong> permissions:</p>
<ol>
<li>Open Windows PowerShell, and then open a command prompt window.</li>
<li>At a command prompt, type the following line, and then press <strong>ENTER</strong>:</li>
</ol>
<blockquote><p> <span class="code"><strong>get-mailboxserver Exchange2007 | get-ADpermission -user BESAdmin | Format-List</strong></span></p></blockquote>
<p><strong>On Microsoft Exchange 5.5</strong>The BlackBerry Enterprise Server service account requires the <strong>Service Account Admin</strong> permissions on the <strong>Site</strong> container and <strong>Configuration</strong> container.</p>
<hr />
<h3><span class="subHeading"><a id="Task 5" name="Task 5">Task 5</a></span></h3>
<p>To grant the <strong>Send As</strong> permission on a single account for all BlackBerry smartphone users in a Microsoft® Active Directory® domain or container, complete the following steps:</p>
<ol>
<li>Open <strong>Active Directory Users and Computers</strong>.</li>
<li>From the <strong>View</strong> menu, select the <strong>Advanced Features</strong> option.<strong>Note:</strong> If <strong>Advanced Features</strong> is not selected, the Security page will not be visible for domain and container objects.</li>
<li>Right-click the appropriate domain or container and click <strong>Properties</strong>.</li>
<li>On the <strong>Security</strong> tab, click <strong>Advanced</strong>.</li>
<li>If the BlackBerry Enterprise Server service account that requires the <strong>Send As</strong> permission is not listed, click <strong>Add</strong> and select the BlackBerry Enterprise Server service account name.</li>
<li>Click <strong>OK</strong>.</li>
<li>Double-click the BlackBerry Enterprise Server service account name.</li>
<li>Select <strong>User Objects</strong> in the <strong>Applies Onto</strong> list.</li>
<li>Select the <strong>Send As</strong> check box.</li>
<li>Click <strong>Apply</strong> and then click <strong>OK</strong>.</li>
<li>Close the Properties window and then close Active Directory Users and Computers.</li>
</ol>
<blockquote><p><strong>Note:</strong> For additional ways to assign the <strong>Send As</strong> permission, see article 912918 in the <a href="http://support.microsoft.com/" target="new">Microsoft Support Knowledge Base</a>.</p></blockquote>
<hr />
<h3><span class="subHeading"><a id="Task 6" name="Task 6">Task 6</a></span></h3>
<p>To assign the required permissions for managing the BlackBerry Configuration Database, see <em>Task 2</em> in <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB03112&amp;sliceId=SAL_Public&amp;dialogID=51148604&amp;stateId=1%200%2051146745" target="_blank">KB03112</a>.</p>
<p>For additional information on the permissions that are required to manage the BlackBerry Configuration Database, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB03633&amp;sliceId=SAL_Public&amp;dialogID=51148674&amp;stateId=1%200%2051146840" target="_blank">KB03633</a>.</p>
<hr class="section" />
<h2>Additional Information</h2>
<p>Microsoft Exchange 2007 is supported in BlackBerry Enterprise Server software version 4.1 Service Pack 3 and later.</p>
<p>If the server is a Microsoft® SQL Server™, assign the Server roles by completing the following steps:</p>
<blockquote>
<p style="margin-right:0;" dir="ltr"><strong>Note:</strong> The following is not applicable to Microsoft SQL Server Desktop Engine (MSDE).</p>
</blockquote>
<ol>
<li>In the SQL Enterprise Manager, go to <strong>Microsoft SQL Servers</strong>/<strong>SQL Server Group</strong>/&lt;<em><strong>SQL_server_name</strong></em>&gt;</li>
<li>Expand the Microsoft SQL Server and expand security.</li>
<li>Right-click <strong>Logins</strong> and click <strong>New Login</strong>.</li>
<li>On the <strong>General</strong> tab, click the button next to the <strong>Name</strong> field.</li>
<li>Select the new BlackBerry Enterprise Server service account name from the <strong>Names</strong> list.</li>
<li>Click <strong>Add</strong>, and then <strong>OK</strong>.</li>
<li>From the Server Roles tab, select <strong>Server Administrators and Database Creators</strong> from the Server Role list.
<p style="margin-right:0;list-style-type:none;" dir="ltr"><strong>Note:</strong> If you are running BlackBerry Enterprise Server software version 4.1 or later, add the System Administrators role to add BlackBerry smartphone users in a role-based administration environment. For instructions, see the <em>BlackBerry Enterprise Server for Microsoft Exchange: System Administration Guide</em>.</p>
</li>
<li>On the <strong>Database Access</strong> tab, select the check box for the BlackBerry Configuration Database (for example, <strong>BESMgmt</strong>).</li>
<li>In the <strong>Database Roles</strong> for &lt;<em>BlackBerry_Configuration_Database_name</em>&gt; list, select the <strong>db_owner</strong> check box.</li>
</ol>
<p>See <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB04293&amp;sliceId=SAL_Public&amp;dialogID=1554078&amp;stateId=0%200%201425309" target="_blank">KB04293</a> for information on switching service accounts for BlackBerry Enterprise Server software versions 4.0 and 4.1.</li>
<p><a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB02276&amp;sliceId=SAL_Public&amp;dialogID=34096724&amp;stateId=1%200%2034094489">Original Post Click Here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/assigning-permissions-for-the-blackberry-enterprise-server-service-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>migrate the BlackBerry Enterprise Server from Exchange 2000 or Exchange 2003 to Exchange 2007</title>
		<link>http://www.offsitenoc.com/blogs/migrate-the-blackberry-enterprise-server-from-exchange-2000-or-exchange-2003-to-exchange-2007/</link>
		<comments>http://www.offsitenoc.com/blogs/migrate-the-blackberry-enterprise-server-from-exchange-2000-or-exchange-2003-to-exchange-2007/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:37:23 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[Blackberry enterprise server]]></category>

		<guid isPermaLink="false">http://go4techsupport.wordpress.com/?p=11</guid>
		<description><![CDATA[Procedure To migrate the BlackBerry Enterprise Server from Microsoft Exchange Server 2000 or 2003 to Microsoft Exchange Server 2007, complete the following steps: Stop all BlackBerry Enterprise Server services.Important: Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see KB04789. Move the BlackBerry Enterprise Server service account. The default [...]]]></description>
			<content:encoded><![CDATA[<h2>Procedure</h2>
<p>To migrate the BlackBerry Enterprise Server from Microsoft Exchange Server 2000 or 2003 to Microsoft Exchange Server 2007, complete the following steps:</p>
<ol>
<li>Stop all BlackBerry Enterprise Server services.<strong>Important:</strong> Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB04789&amp;sliceId=SAL_Public&amp;dialogID=27498226&amp;stateId=1%200%2027484848" target="_blank">KB04789</a>.</li>
<li>Move the BlackBerry Enterprise Server service account. The default name for this account is <strong>BESAdmin</strong>.</li>
<li>After migrating Microsoft Exchange Server 2000 or 2003, verify the Microsoft Exchange Server 2007 permissions for the BlackBerry Enterprise Server.</li>
<li>Set the required permissions for the BlackBerry Enterprise Server in Microsoft Exchange 2007. For more information, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB12483&amp;sliceId=SAL_Public&amp;dialogID=32739606&amp;stateId=0%200%2032737699" target="_blank">KB12483</a>.<strong>Note:</strong> If Microsoft Exchange System Manager 2003 Service Pack 2 is installed on the BlackBerry Enterprise Server, skip to step 10.</li>
<li>Remove Microsoft Exchange System Manager 2000.</li>
<li>Perform a search for <strong>MAPI32.dll</strong> and <strong>cdo.dll</strong>.</li>
<li>Rename any <strong>cdo.dll</strong> and <strong>MAPI32.dll</strong> files from the <strong>system32</strong> folder and the <strong>program files\exchsrvr\bin</strong> folder to a <strong>.bak</strong> file extension.</li>
<li>Download and install the latest Messaging Application Programming Interface (MAPI) and Collaboration Data Object (CDO) clients. For more information, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB12697&amp;sliceId=SAL_Public&amp;dialogID=45969476&amp;stateId=1%200%2099180289" target="_blank">KB12697</a>.</li>
<li>Resolve the MAPI profile for the BESAdmin mailbox on the Microsoft Exchange Server 2007 by going to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>BlackBerry</strong> <strong>Enterprise</strong> <strong>Server</strong> &gt; <strong>Edit</strong> <strong>the</strong> <strong>MAPI</strong>.</li>
<li>Restart the BlackBerry Enterprise Server.<strong>Important:</strong> Restarting the BlackBerry Enterprise Server will delay email message delivery to BlackBerry smartphones. For more information, see <a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB04789&amp;sliceId=SAL_Public&amp;dialogID=27498226&amp;stateId=1%200%2027484848" target="_blank">KB04789</a>.</li>
</ol>
<p><a href="http://www.blackberry.com/btsc/dynamickc.do?externalId=KB14502&amp;sliceId=SAL_Public&amp;command=show&amp;forward=nonthreadedKC&amp;kcId=KB14502">Original post click here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/migrate-the-blackberry-enterprise-server-from-exchange-2000-or-exchange-2003-to-exchange-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>service account permissions in Microsoft Exchange Server 2007</title>
		<link>http://www.offsitenoc.com/blogs/service-account-permissions-in-microsoft-exchange-server-2007/</link>
		<comments>http://www.offsitenoc.com/blogs/service-account-permissions-in-microsoft-exchange-server-2007/#comments</comments>
		<pubDate>Mon, 05 May 2008 18:29:26 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[Blackberry enterprise server]]></category>

		<guid isPermaLink="false">http://go4techsupport.wordpress.com/?p=10</guid>
		<description><![CDATA[Procedure The following permissions are required for the BlackBerry Enterprise Server to function correctly in a Microsoft Exchange Server 2007 environment: Exchange View Only Administrator role Send As Receive As Administer Information Store Exchange View Only Administrator role Access the Microsoft Exchange Shell by going to Start &#62; Programs &#62; Microsoft Exchange Server 2007 &#62; Exchange [...]]]></description>
			<content:encoded><![CDATA[<h2>Procedure</h2>
<p>The following permissions are required for the BlackBerry Enterprise Server to function correctly in a Microsoft Exchange Server 2007 environment:</p>
<ul>
<li>Exchange View Only Administrator role</li>
<li>Send As</li>
<li>Receive As</li>
<li>Administer Information Store</li>
</ul>
<hr />
<h3>Exchange View Only Administrator role</h3>
<ol>
<li>Access the Microsoft Exchange Shell by going to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Microsoft Exchange Server 2007</strong> &gt; <strong>Exchange Management Shell</strong>.</li>
<li>To set the <strong>Exchange View Only Administrator</strong> role, type the following command:<span class="code"><strong>add-exchangeadministrator <em>&lt;service_account_name&gt;</em> -role ViewOnlyAdmin</strong></span>
<p>where <strong><em><span style="font-family:Courier New;">&lt;service_account_name&gt;</span></em></strong> is the name of the BlackBerry Enterprise Server service account (for example, <span class="code"><strong>BESAdmin</strong></span>)</li>
<li>To check the <strong>Exchange View-Only Administrator</strong> role, type the following command:<span class="code"><strong>get-exchangeadministrator | Format-List</strong></span>
<p>The service account should be displayed with a <strong>ViewOnlyAdmin</strong> role.</li>
</ol>
<hr />
<h3>Send As, Receive As, and Administer Information Store permissions</h3>
<ol>
<li>Access the Microsoft Exchange Shell by going to <strong>Start</strong> &gt; <strong>Programs</strong> &gt; <strong>Microsoft Exchange Server 2007</strong> &gt; <strong>Exchange Management Shell</strong>.</li>
<li>To set the <strong>Send As</strong>, <strong>Receive As</strong>, and <strong>Administer</strong> <strong>Information Store</strong> permissions, type the following command:<span class="code"><strong>get-mailboxserver <em>&lt;server_name&gt;</em> | add-adpermission -user <em>&lt;service_account_name&gt;</em> -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin</strong></span>
<p>where <span class="code"><strong><em>&lt;server_name&gt;</em></strong></span> is the name of the Microsoft Exchange Server 2007 or Microsoft Exchange cluster</li>
<li>To check the <strong>Send As</strong>, <strong>Receive As</strong>, and <strong>Administer Information Store</strong> permissions, type the following command in Exchange Management Shell:<span class="code"><strong>get-mailboxserver <em>&lt;server_name&gt;</em> | get-ADpermission -user <em>&lt;service_account_name&gt;</em> | Format-List</strong></span></li>
</ol>
<p><span class="code"><strong><a href="http://www.blackberry.com/btsc/search.do?cmd=displayKC&amp;docType=kc&amp;externalId=KB12483&amp;sliceId=SAL_Public&amp;dialogID=32739606&amp;stateId=0%200%2032737699">Original Post Click Here</a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/service-account-permissions-in-microsoft-exchange-server-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
