<?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>Exchange-Genie &#187; E14</title>
	<atom:link href="http://www.exchange-genie.com/category/e14/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 22 Jul 2010 20:45:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Exchange 2007 SP3 and Exchange 2010 SP1 password change feature</title>
		<link>http://www.exchange-genie.com/2010/07/exchange-2007-and-exchange-2010-password-change-feature/</link>
		<comments>http://www.exchange-genie.com/2010/07/exchange-2007-and-exchange-2010-password-change-feature/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 19:37:17 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[OWA]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange-genie.com]]></category>
		<category><![CDATA[Change Password]]></category>
		<category><![CDATA[Exchange 2010 SP1]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/2010/07/exchange-2007-and-exchange-2010-password-change-feature/</guid>
		<description><![CDATA[If you have been an administrator of an Exchange Server for a number of years you know there has been a few pain points related to OWA logon and expiring passwords.  I have managed system that we sent out regular system messages to the user before their password expired to remind them to change their [...]]]></description>
			<content:encoded><![CDATA[<p>If you have been an administrator of an Exchange Server for a number of years you know there has been a few pain points related to OWA logon and expiring passwords.  I have managed system that we sent out regular system messages to the user before their password expired to remind them to change their password yet quite often the user would forget. </p>
<p>There are two common password scenarios that occur:</p>
<p>1. When a users password has expired and they attempt to logon to OWA the user fails to logon and receive a generic error message.</p>
<p>2. When a new user account is created and an administrator wants to force the user to change their password at next logon, however the user will not be able to logon to OWA</p>
<p>Exchange 2007 SP3 and Exchange 2010 SP1 have remedied the two issues above by creating a new module in IIS that detects a user has an expired password or the user account is set to “user must change password at next logon”. </p>
<p>You may ask what do I need to do?</p>
<p><a title="http://technet.microsoft.com/en-us/library/ff607232(EXCHG.80).aspx" href="http://technet.microsoft.com/en-us/library/ff607232(EXCHG.80).aspx">http://technet.microsoft.com/en-us/library/ff607232(EXCHG.80).aspx</a></p>
<p>1. Log on to the Exchange server that is running the CAS role by using an account that has local administrator rights</p>
<p>2. Start Registry Editor, and then locate the following registry subkey:</p>
<p>3. <strong>H</strong>LKM\SYSTEM\CurrentControlSet\Services\MSExchange OWA</p>
<p>4. Create the following DWORD value if it does not already exist:</p>
<p>5. Value name: <strong>ChangeExpiredPasswordEnabled</strong>Value type: REG_DWORDValue data: <strong>1</strong></p>
<p><strong>6. </strong>Exit Registry Editor</p>
<p>7.  From a command window perform an IISReset</p>
<p>Let walk through some tests:</p>
<p>1. Create a new user called PwdTest</p>
<p>a. Open EMC</p>
<p>b.  Expand Recipient Configuration and select Mailbox</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd13.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd13" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd13_thumb.jpg" border="0" alt="pwd13" width="187" height="275" /></a></p>
<p>c. From the actions pane select New Mailbox</p>
<p>d. On the new Mailbox wizard select “User Mailbox” and click Next</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd1.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd1" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd1_thumb.jpg" border="0" alt="pwd1" width="277" height="238" /></a></p>
<p>e. Select New User and click Next</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd2.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd2" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd2_thumb.jpg" border="0" alt="pwd2" width="267" height="236" /></a></p>
<p>f.  Input PwdTest for the userId information and validate the check box “User must change password at next logon”</p>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd3.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd3" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd3_thumb.jpg" border="0" alt="pwd3" width="244" height="209" /></a></p>
<p>g. On the Mailbox Settings page leave the default and click Next</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd4.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd4" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd4_thumb.jpg" border="0" alt="pwd4" width="256" height="219" /></a></p>
<p>h. On the Archive Settings check the radius button “don’t create an archive” and click Next</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd5.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd5" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd5_thumb.jpg" border="0" alt="pwd5" width="253" height="221" /></a></p>
<p>i. On the New Mailbox page click New</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd6.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd6" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd6_thumb.jpg" border="0" alt="pwd6" width="248" height="210" /></a></p>
<p>j.  Click Finish to complete the mailbox creation</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd7.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd7" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd7_thumb.jpg" border="0" alt="pwd7" width="244" height="215" /></a></p>
<p>2. Now that we have created our new mailbox and have the account set to force a password change for our user we need to attempt to logon to OWA</p>
<p>a.  Open the OWA logon Page and attempt to logon with our new user <strong>PwdTest</strong></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd8.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd8" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd8_thumb.jpg" border="0" alt="pwd8" width="244" height="239" /></a></p>
<p>b.  Notice we receive a generic password error message</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd9.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd9" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd9_thumb.jpg" border="0" alt="pwd9" width="232" height="244" /></a></p>
<p>3.  As we see the logon fails until we modify the Registry of our CAS server</p>
<p>a. Start the Registry editor : Start – Run –RegEdit<br />
b. Expand to  <strong>H</strong>LKM\SYSTEM\CurrentControlSet\Services\MSExchange OWA</p>
<p>c. Create the following DWORD Value: <strong>ChangeExpiredPasswordEnabled</strong></p>
<p>d.  Set the value to <strong>1 </strong></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd10.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd10" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd10_thumb.jpg" border="0" alt="pwd10" width="315" height="83" /></a></p>
<p><strong>e. </strong>Exit Registry Editor</p>
<p>f.  From a command window perform an IISReset</p>
<p>4.  Now that we have created the appropriate Registry key we can attempt to logon to OWA again</p>
<p>a.  Open the OWA logon page and attempt to logon with the <strong>PwdTest</strong> user</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd81.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd8" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd8_thumb1.jpg" border="0" alt="pwd8" width="244" height="239" /></a></p>
<p>b. We are now presented a change password form</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd11.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd11" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd11_thumb.jpg" border="0" alt="pwd11" width="248" height="253" /></a></p>
<p>c. After completing the form you will receive and successful change message</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd12.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd12" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd12_thumb.jpg" border="0" alt="pwd12" width="244" height="158" /></a></p>
<p>d. You are now presented the OWA logon form again. Attempt to logon with the newly created password</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd82.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd8" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd8_thumb2.jpg" border="0" alt="pwd8" width="244" height="239" /></a></p>
<p>e. you now have a successful OWA logon</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd14.jpg"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="pwd14" src="http://www.exchange-genie.com/wp-content/uploads/2010/07/pwd14_thumb.jpg" border="0" alt="pwd14" width="263" height="166" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2010/07/exchange-2007-and-exchange-2010-password-change-feature/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 SP1 Beta Released</title>
		<link>http://www.exchange-genie.com/2010/06/exchange-2010-sp1-beta-released/</link>
		<comments>http://www.exchange-genie.com/2010/06/exchange-2010-sp1-beta-released/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 15:10:08 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[Exchange 2010 SP1]]></category>
		<category><![CDATA[SP1]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=972</guid>
		<description><![CDATA[Microsoft recently released a Beta build of Exchange 2010 SP1 located here http://www.microsoft.com/downloads/details.aspx?FamilyID=a0965fc9-2723-4947-ae6b-74bc3808e72a&#38;displaylang=en , this is a solid build of SP1 however it is a Beta release so please deploy to your labs.]]></description>
			<content:encoded><![CDATA[<p>Microsoft recently released a Beta build of Exchange 2010 SP1 located here <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=a0965fc9-2723-4947-ae6b-74bc3808e72a&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=a0965fc9-2723-4947-ae6b-74bc3808e72a&amp;displaylang=en</a> , this is a solid build of SP1 however it is a Beta release so please deploy to your labs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2010/06/exchange-2010-sp1-beta-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 SP1</title>
		<link>http://www.exchange-genie.com/2010/05/exchange-2010-sp1/</link>
		<comments>http://www.exchange-genie.com/2010/05/exchange-2010-sp1/#comments</comments>
		<pubDate>Sat, 08 May 2010 21:31:33 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[Exchange 2010 SP1]]></category>
		<category><![CDATA[SP1]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=965</guid>
		<description><![CDATA[Recently Microsoft acknowledge they have been working on  Service Pack 1 for Exchange 2010 and have started to release what feature improvements/enhancements that will be added in the service pack. More information can be found on the Exchange Team page located here http://msexchangeteam.com/archive/2010/04/07/454533.aspx]]></description>
			<content:encoded><![CDATA[<p>Recently Microsoft acknowledge they have been working on  Service Pack 1 for Exchange 2010 and have started to release what feature improvements/enhancements that will be added in the service pack. More information can be found on the Exchange Team page located here <a href="http://msexchangeteam.com/archive/2010/04/07/454533.aspx">http://msexchangeteam.com/archive/2010/04/07/454533.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2010/05/exchange-2010-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EMS and how big is my database</title>
		<link>http://www.exchange-genie.com/2010/02/ems-and-how-big-is-my-database/</link>
		<comments>http://www.exchange-genie.com/2010/02/ems-and-how-big-is-my-database/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:32:16 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[EMS]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange genie]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange management shell]]></category>
		<category><![CDATA[exchange-genie.com]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=950</guid>
		<description><![CDATA[Microsoft has provided a nice easy command to show you how large your current databases are,  this one line command can be pipped to a file or used in a report Get-MailboxDatabase -Status &#124; fl name,databasesizes Name         : DB001 DatabaseSize : 141.8 GB (152,220,270,592 bytes)  Name         : DB002 DatabaseSize : 98.17 GB (105,412,362,240 bytes)]]></description>
			<content:encoded><![CDATA[<p>Microsoft has provided a nice easy command to show you how large your current databases are,  this one line command can be pipped to a file or used in a report</p>
<p>Get-MailboxDatabase -Status | fl name,databasesizes</p>
<p>Name         : DB001</p>
<p>DatabaseSize : 141.8 GB (152,220,270,592 bytes)</p>
<p> Name         : DB002</p>
<p>DatabaseSize : 98.17 GB (105,412,362,240 bytes)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2010/02/ems-and-how-big-is-my-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing ECP QuickLinks</title>
		<link>http://www.exchange-genie.com/2010/02/customizing-ecp-quicklinks/</link>
		<comments>http://www.exchange-genie.com/2010/02/customizing-ecp-quicklinks/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 13:13:06 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[OWA]]></category>
		<category><![CDATA[ecp]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange control panel]]></category>
		<category><![CDATA[outlook web app]]></category>
		<category><![CDATA[qucklinks]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=930</guid>
		<description><![CDATA[Let me start out with this is not a supported item by Microsoft however is vary functional! Today in Exchange 2010 when a user logs onto OWA and selects the options button they are taken into what is now called the Exchange Control Panel or ECP which has added some functionality for users.  One problem [...]]]></description>
			<content:encoded><![CDATA[<p>Let me start out with this is not a supported item by Microsoft however is vary functional!</p>
<p>Today in Exchange 2010 when a user logs onto OWA and selects the options button they are taken into what is now called the Exchange Control Panel or ECP which has added some functionality for users.  One problem that I have found is that Microsoft has provided users with some nice links telling them how to configure their mobile device or Outlook anywhere but those links directt users to Outlook.Com configuration which tends to generate support calls.</p>
<p>Those links are controlled by a file located here <span style="text-decoration: underline;"> </span><strong><span style="text-decoration: underline;">C:\Exchange\ClientAccess\ecp\PersonalSettings\QuickLinks.ascx</span> , </strong>this file can be copied and modified with company faq settings to direct users to the appropriate place.<span style="color: #ff0000;"> I must note that every RollUp applied or Service Pack will overwrite your custome file and you must recopy the file back to this directory.</span>  The <strong>2nd </strong>point I need to make is that every build of Exchange (after rollup or service pack) you need to copy the new file and modify that file because Microsoft could have made changes in security or configuration, reusing the same old file could cause issues.  You will also have to copy this file to each CAS server.</p>
<p>Lets logon to OWA and take a look at the default settings:</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/02/editlink1.jpg"><img class="alignnone size-medium wp-image-932" title="editlink1" src="http://www.exchange-genie.com/wp-content/uploads/2010/02/editlink1-300x182.jpg" alt="" width="300" height="182" /></a></p>
<p>You can see when I hover over Connect  Outlook to this account the url is set to <a href="http://help.Outlook.com">http://help.Outlook.com</a></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks2.jpg"><img class="alignnone size-medium wp-image-933" title="ecplinks2" src="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks2-300x116.jpg" alt="" width="300" height="116" /></a></p>
<p>Close OWA</p>
<p>1. On your CAS server browse to the following file <strong><span style="text-decoration: underline;">C:\Exchange\ClientAccess\ecp\PersonalSettings\QuickLinks.ascx </span></strong>copy this file to your desktop so we can edit it</p>
<p>2.  Open the QuickLinks file with Notepad</p>
<p>3.  I have highlighted the section we are going to work on which is the Mobile section</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks3.jpg"><img class="alignnone size-medium wp-image-935" title="ecplinks3" src="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks3-300x179.jpg" alt="" width="300" height="179" /></a></p>
<p>4.  We are going to remove this line &lt;div&gt;&lt;asp:Literal ID=&#8221;ltlMobileDevices&#8221; runat=&#8221;server&#8221; Text=&#8221;&lt;%$ Strings:QLPushEmail %&gt;&#8221; /&gt;&lt;/div&gt;</p>
<p>5.  Insert and href like this : &lt;ecp:&lt;P&gt;&lt;A HREF=<a href="http://www.exchange-genie.com">http://www.exchange-genie.com</a> target=&#8221;_blank&#8221;&gt; Configure your mobile device with Active Sync for Beta Mail &lt;/A&gt;&lt;/P&gt;</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks4.jpg"><img class="alignnone size-medium wp-image-936" title="ecplinks4" src="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks4-300x69.jpg" alt="" width="300" height="69" /></a></p>
<p>6. Save our file</p>
<p>7. Rename the origianl file to .old or some other extension</p>
<p>8. copy and paste our new file into the following location <strong><span style="text-decoration: underline;">C:\Exchange\ClientAccess\ecp\PersonalSettings\QuickLinks.ascx </span></strong></p>
<p>9. Logon to OWA into ECP</p>
<p>10. Hover over the Mobile link and you will see the url now points to <a href="http://exchange-genie.com">http://exchange-genie.com</a></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks5.jpg"><img class="alignnone size-medium wp-image-947" title="ecplinks5" src="http://www.exchange-genie.com/wp-content/uploads/2010/02/ecplinks5-300x115.jpg" alt="" width="300" height="115" /></a></p>
<p>The only 2 items you should modify in this file are related to Mobile and Outlook connections</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2010/02/customizing-ecp-quicklinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 RU1 released today</title>
		<link>http://www.exchange-genie.com/2009/12/exchange-2010-ru1-released-today/</link>
		<comments>http://www.exchange-genie.com/2009/12/exchange-2010-ru1-released-today/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 22:16:46 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange genie]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange rollup]]></category>
		<category><![CDATA[exchange-genie.com]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=905</guid>
		<description><![CDATA[Today Mircosoft released its first rollup (RU1)  for Exchange 2010 http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&#38;displaylang=en  One of the biggest advantages to RU1 is allowing functionality with RIMs BES servers, however RIM is suppose to release an MR1 soon for Exchange 2010 intergration that will be required on the BES servers Changes http://support.microsoft.com/?kbid=976573   RIM information to configure Exchange 2010 and BES [...]]]></description>
			<content:encoded><![CDATA[<p>Today Mircosoft released its first rollup (RU1)  for Exchange 2010 <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=371add31-d7a0-4c8b-8325-a6fced2d05e6&amp;displaylang=en</a> </p>
<p>One of the biggest advantages to RU1 is allowing functionality with RIMs BES servers, however RIM is suppose to release an MR1 soon for Exchange 2010 intergration that will be required on the BES servers</p>
<p>Changes <a href="http://support.microsoft.com/?kbid=976573">http://support.microsoft.com/?kbid=976573</a></p>
<p> </p>
<p>RIM information to configure Exchange 2010 and BES</p>
<p><a href="http://na.blackberry.com/eng/services/server/exchange/2010support.jsp">http://na.blackberry.com/eng/services/server/exchange/2010support.jsp</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2009/12/exchange-2010-ru1-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>User Count Per database</title>
		<link>http://www.exchange-genie.com/2009/11/user-count-per-database/</link>
		<comments>http://www.exchange-genie.com/2009/11/user-count-per-database/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 17:12:48 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[Exchange 2007 SP2]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange management shell]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=896</guid>
		<description><![CDATA[I just tossed togethor a quick little script that will easily display the database names and user count per database   //this scripts gets all the database names and counts the number of users per database  $dblist=Get-MailboxDatabase ($dblist &#124; %{write-host $_.name (get-mailbox -database $_.name).count})]]></description>
			<content:encoded><![CDATA[<p>I just tossed togethor a quick little script that will easily display the database names and user count per database</p>
<p> </p>
<p>//this scripts gets all the database names and counts the number of users per database</p>
<p> $dblist=Get-MailboxDatabase</p>
<p>($dblist | %{write-host $_.name (get-mailbox -database $_.name).count})</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2009/11/user-count-per-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 Generally Available</title>
		<link>http://www.exchange-genie.com/2009/11/exchange-2010-genearly-available/</link>
		<comments>http://www.exchange-genie.com/2009/11/exchange-2010-genearly-available/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 14:53:45 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[exchange 2010]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=891</guid>
		<description><![CDATA[Exchange 2010 is now GA http://www.microsoft.com/presspass/press/2009/nov09/11-09techedeurope09pr.mspx http://www.microsoft.com/downloads/details.aspx?displaylang=en&#38;FamilyID=05741f65-2a7b-4070-879f-d74208d6171d#tm]]></description>
			<content:encoded><![CDATA[<p>Exchange 2010 is now GA</p>
<p><a href="http://www.microsoft.com/presspass/press/2009/nov09/11-09techedeurope09pr.mspx">http://www.microsoft.com/presspass/press/2009/nov09/11-09techedeurope09pr.mspx</a></p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=05741f65-2a7b-4070-879f-d74208d6171d#tm">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=05741f65-2a7b-4070-879f-d74208d6171d#tm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2009/11/exchange-2010-genearly-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2010 RTM&#8217;s</title>
		<link>http://www.exchange-genie.com/2009/10/exchange-2010-rtms/</link>
		<comments>http://www.exchange-genie.com/2009/10/exchange-2010-rtms/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 21:02:11 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[exchange-genie.com]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=737</guid>
		<description><![CDATA[Today Oct. 8th the best versions of Microsoft Exchange has been offically released! http://msexchangeteam.com/archive/2009/10/08/452775.aspx Exchange 2010 is Code Complete and on its way to General Availability We are happy to announce that Exchange 2010 is Code Complete!  Our senior leadership team has signed off on the final code, and it has been sent to our early [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.exchange-genie.com/wp-content/uploads/2009/10/E2010-Logo-21.png"><img class="alignnone size-medium wp-image-748" title="E2010 Logo 2" src="http://www.exchange-genie.com/wp-content/uploads/2009/10/E2010-Logo-21-300x110.png" alt="E2010 Logo 2" width="562" height="110" /></a></strong></p>
<p><strong>Today Oct. 8th the best versions of Microsoft Exchange has been offically released!</strong></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/10/rtm.JPG"><img class="alignnone size-medium wp-image-754" title="rtm" src="http://www.exchange-genie.com/wp-content/uploads/2009/10/rtm-300x91.jpg" alt="rtm" width="300" height="91" /></a></p>
<p><a href="blockedhttp://msexchangeteam.com/archive/2009/10/08/452775.aspx">http://msexchangeteam.com/archive/2009/10/08/452775.aspx</a></p>
<h4>Exchange 2010 is Code Complete and on its way to General Availability</h4>
<p>We are happy to announce that Exchange 2010 is Code Complete!  Our senior leadership team has signed off on the final code, and it has been sent to our early adopters for one final look before its public release. This Release to Manufacturing (RTM) milestone means we are on our way to general availability and the launch at Tech·Ed Europe 2009 (<a href="blockedhttp://www.microsoft.com/europe/teched/">http://www.microsoft.com/europe/teched/</a>) in early November.</p>
<p>For those of you attending Tech·Ed in Berlin this year, be sure to check out the Unified Communications track, which is packed with <a href="blockedhttp://www.msteched.com/europe/Public/SessionList.aspx">technical content</a> on Exchange 2010. And be sure to visit us at the Exchange product booth in the Exhibition Hall and let us know what you think of the product. Crystal Flores, who interviewed some of you on video at Tech·Ed North America earlier this year, will be on-hand in Berlin in a few weeks, armed with a camera and interview questions.  A group of us are also marching to Las Vegas for <a href="blockedhttp://www.winconnections.com/default.asp">Exchange Connections</a> the same week where our fearless leader Rajesh is giving the keynote.</p>
<p>We hope to see you in Berlin or Vegas, but if you can&#8217;t join us in person, tune in via the Web (<a href="blockedhttp://www.thenewefficiency.com/">www.thenewefficiency.com</a>) to be part of the launch.</p>
<p>- The Exchange Team</p>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/10/E14-DesktopBackground-1024x768.bmp"><img class="alignnone size-full wp-image-739" title="E14-DesktopBackground-1024x768" src="http://www.exchange-genie.com/wp-content/uploads/2009/10/E14-DesktopBackground-1024x768.bmp" alt="E14-DesktopBackground-1024x768" width="563" height="498" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2009/10/exchange-2010-rtms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RPC Client Access service</title>
		<link>http://www.exchange-genie.com/2009/09/momt-mapi-on-the-middle-teir/</link>
		<comments>http://www.exchange-genie.com/2009/09/momt-mapi-on-the-middle-teir/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 21:35:05 +0000</pubDate>
		<dc:creator>Exchange Genie</dc:creator>
				<category><![CDATA[E14]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange genie]]></category>
		<category><![CDATA[exchange 14]]></category>
		<category><![CDATA[exchange 2010]]></category>
		<category><![CDATA[mapi]]></category>
		<category><![CDATA[momt]]></category>
		<category><![CDATA[rpc array]]></category>
		<category><![CDATA[rpc client access array]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=732</guid>
		<description><![CDATA[One of the major changes with Exchange 2010 is related to the mapi end point. In all previous versions of Exchange the Outlook client (using mapi) would connect directly to an Exchange mailbox server, with Exchange 2010 the Outlook client will connect to an Exchange server running the CAS role as its mapi end point [...]]]></description>
			<content:encoded><![CDATA[<p>One of the major changes with Exchange 2010 is related to the mapi end point. In all previous versions of Exchange the Outlook client (using mapi) would connect directly to an Exchange mailbox server, with Exchange 2010 the Outlook client will connect to an Exchange server running the CAS role as its mapi end point for all connection except public folder access which will go direct to the mailbox server.</p>
<p>As you will discover later in this blog a common issue that user experience if they are running Outlook 2003 is related to the default configuration requiring encryption to be enabled on the Outlook client or connections will fail. I will go into more detail later on this topic.</p>
<p>When a user opens Outlook today a number of items occur but the main one I am going to talk about is the connection from the client directly to the mailbox server to retrieve their mail via mapi-rpc. </p>
<p>How clients connected pre Exchange 2010</p>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/mapitombx.jpg"><img class="alignnone size-full wp-image-759" title="mapitombx" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/mapitombx.jpg" alt="mapitombx" width="251" height="186" /></a></p>
<p>Some of the issues with this configuration even when using an SCC or CCR cluster is during a failover the client connection point will be disrupted even if only for a few moments. This also means that clients are making a direct connection to the server which is limited to 60k connections to the information store. This does not mean 60k users, as client makes a number of connections to the system.</p>
<p>As the Exchange team looked at how they can better scale Exchange 2010 one of the new techniques was to move the client connection endpoint to the CAS server instead of the mailbox server. This allows for a number of things to happen.</p>
<ol>
<li>During a database move/failover the client end point does not go down and makes the move seamless to the user</li>
<li>If you reach the 60k port limit you just add an additional CAS server to the rpc array</li>
</ol>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/maptocas.jpg"><img class="alignnone size-medium wp-image-760" title="maptocas" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/maptocas-300x104.jpg" alt="maptocas" width="300" height="104" /></a></p>
<p>Let’s take a look at our Exchange settings….</p>
<p><strong>How do I know what my mapi end point is?</strong></p>
<p>At first thought you may think this is configured per user however that is not the case. To find out what your rpc client end point is you need to run the following command<span style="color: #339966;"> get-mailboxdatabase “yourdatabase” | fl  name,rpc*</span> the output of this command will show you each  RpcClientAccessServer associated with each database.</p>
<p>By default there is no rpc array configured, the name of a random CAS server in the same AD site will be directly associated with each database.</p>
<p>Let’s run our command and see what settings we have  get-mailboxdatabase | fl  name,rpc*</p>
<p>You can see that our  RpcClientAccessServer points to my CAS server</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/1.JPG"><img class="alignnone size-medium wp-image-762" title="1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/1-300x66.jpg" alt="1" width="300" height="66" /></a></p>
<p>Let’s create a new mailbox database in EMC:</p>
<p>Open EMC -&gt; Organization Configuration -&gt; mailbox</p>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb01.jpg"><img class="alignnone size-full wp-image-774" title="newdb01" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb01.jpg" alt="newdb01" width="203" height="77" /></a></p>
<p>Right click and select New Mailbox database</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb1.jpg"><img class="alignnone size-full wp-image-763" title="newdb1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb1.jpg" alt="newdb1" width="192" height="148" /></a></p>
<p>I am going to call my database <span style="color: #339966;">rpcservercheck <span style="color: #000000;">and specify the server as E14Ex1</span></span></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb2.jpg"><img class="alignnone size-medium wp-image-764" title="newdb2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb2-300x258.jpg" alt="newdb2" width="300" height="258" /></a></p>
<p>Specify the logs and database path</p>
<p>C:\db\db and c:\db\logs</p>
<p>**note I dont recommend these location but this is just a lab **</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb3.jpg"><img class="alignnone size-medium wp-image-765" title="newdb3" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb3-300x256.jpg" alt="newdb3" width="300" height="256" /></a></p>
<p>Click <span style="color: #339966;">New</span> to complete the database</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb4.jpg"><img class="alignnone size-medium wp-image-766" title="newdb4" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdb4-300x256.jpg" alt="newdb4" width="300" height="256" /></a></p>
<p>Now that we create the new database lets run our command again:</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdbcheck.jpg"><img class="alignnone size-medium wp-image-767" title="newdbcheck" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newdbcheck-300x90.jpg" alt="newdbcheck" width="300" height="90" /></a></p>
<p>You can see the new database also shows the CAS server, since I only have one CAS in this environment they are configured the same.</p>
<p><strong>Outlook Profile</strong></p>
<p>After setting up an Outlook profile let’s take a look at see that our mapi end point is now the CAS server</p>
<p>With Outlook 2007 click <span style="color: #339966;">Tools &#8211; Accounts Settings</span></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol4.bmp"><img class="alignnone size-full wp-image-782" title="ol4" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol4.bmp" alt="ol4" /></a></p>
<p>Select the profile and click <span style="color: #339966;">Change</span></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol5.jpg"><img class="alignnone size-full wp-image-783" title="ol5" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol5.jpg" alt="ol5" width="234" height="225" /></a></p>
<p>We can see that our <span style="color: #339966;">Microsoft Exchange Server</span> information points to the CAS  fqdn and not our mailbox server</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol2.jpg"><img class="alignnone size-medium wp-image-785" title="ol2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol2-300x224.jpg" alt="ol2" width="300" height="224" /></a></p>
<p>If we hold down <span style="color: #339966;">CTR and right click the Outlook system tray icon </span>we can bring up our connection status</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol6.jpg"><img class="alignnone size-full wp-image-784" title="ol6" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol6.jpg" alt="ol6" width="233" height="212" /></a></p>
<p>You can see that all Directory and mail connections are now going to the CAS server with 1 exception, public folders. Yes, public folders calls are still direct connections from the client to the mailbox server hosting the public folder.</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol3.jpg"><img class="alignnone size-medium wp-image-786" title="ol3" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/ol3-300x182.jpg" alt="ol3" width="300" height="182" /></a></p>
<p><strong>WireShark</strong></p>
<p>If we use a network sniffer  to capture traffic from our client 192.168.1.59 we can see that NSPI and MAPI requests from Outlook are all directed to the CAS</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/wireshark.jpg"><img class="alignnone size-medium wp-image-788" title="wireshark" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/wireshark-300x209.jpg" alt="wireshark" width="300" height="209" /></a></p>
<p><strong>How does this work?</strong></p>
<p>On each CAS server there is a new service that runs called the MSExchangeRPC which runs as  Microsoft.Exchange.RpcClientAccess.Service.exe and listens on port 6001 for HTTP connection and uses dynamic ports by default for tcp/ip connections</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/service.jpg"><img class="alignnone size-medium wp-image-789" title="service" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/service-266x300.jpg" alt="service" width="266" height="300" /></a></p>
<p>By default when you install Exchange 2010 the files that makeup this service will be located in  C:\Program Files\Microsoft\Exchange Server\V14\Bin</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/service2.jpg"><img class="alignnone size-medium wp-image-790" title="service2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/service2-300x63.jpg" alt="service2" width="300" height="63" /></a></p>
<p>When connections are made to the CAS server by the mapi client, the CAS server then creates a channel to the mailbox server to retrieve the mailbox data.  The CAS server will create a maximum of 100 Rpc connections to the mailbox server</p>
<p><img title="maptocas" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/maptocas-300x104.jpg" alt="maptocas" width="300" height="104" /></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/cas.JPG"></a></p>
<p><strong>Encryption</strong></p>
<p>As I briefly mentioned in the introduction by default Exchange requires the client to connect with encryption enabled.  This is not set on each database but on each rpc server and can be found with the following command  Get-RpcClientAccess | fl server,encrypt*</p>
<p> [PS] C:\&gt;Get-RpcClientAccess | fl server,encrypt*</p>
<p>Server             : E14-EX1</p>
<p>EncryptionRequired : True</p>
<p>Server             : E14-EX2</p>
<p>EncryptionRequired : True</p>
<p> Server             : E14CAS1</p>
<p>EncryptionRequired : True</p>
<p>After running the command you can see that each CAS and Mailbox server has this configuration. You may ask why would the mailbox server require this is all the client connections are direct to the CAS? You may recall that I stated above that the clients still connects direct to the mailbox server  for public folder access.</p>
<p><strong>How do I know if my Outlook client is setup to use encryption?</strong></p>
<p>Let’s look in our Outlook client to see this setting:</p>
<p>Using the same steps as before open your Outlook settings -&gt; click More Settings</p>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/encryption1.jpg"><img class="alignnone size-full wp-image-800" title="encryption1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/encryption1.jpg" alt="encryption1" width="182" height="130" /></a></p>
<p>Select the Security Tab</p>
<p> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/encryption2.jpg"><img class="alignnone size-medium wp-image-801" title="encryption2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/encryption2-300x60.jpg" alt="encryption2" width="300" height="60" /></a></p>
<p>We can see that Outlook 2007+ defaults to having encryption enabled however Outlook 2003 does not</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/encryption32.jpg"><img class="alignnone size-medium wp-image-804" title="encryption3" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/encryption32-300x104.jpg" alt="encryption3" width="300" height="104" /></a></p>
<p> If you have a large number of Outlook 2003 users you have a few options:</p>
<ol>
<li>Use Group Policy to enable this setting</li>
<li>Disable this settings on the Exchange Server with the  Get-RpcClientAccess | Set-RpcClientAccess -EncryptionRequired:$false</li>
</ol>
<p><span style="color: #ff0000;">**Recommended configuration is to keep encryption enabled**</span></p>
<ol>
<li>Have users manually enable this setting</li>
<li>script</li>
</ol>
<p><span style="color: #ff0000;">**Note this will also affect Outlook Anywhere users (formerly Rpc.https) **</span></p>
<p><strong>Configuring an Rpc Array</strong></p>
<p>Now that we have a basic understanding of how MOMT is used lets configure our first Rpc Array. You can use NLB or a hardware Load Balancer like F5 for the rpc array as either is supported however you cannot use NLB if your server is multi roled and a member of a DAG.</p>
<p>The dns entry for the array should not use a public dns name and only needs to be resolvable to the internal network.</p>
<p>Lets start with the Get-ClientAccessArray command just to show that we do not currently have an array</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/1.jpg"><img class="alignnone size-medium wp-image-821" title="1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/1-300x70.jpg" alt="1" width="300" height="70" /></a></p>
<p>1. <strong>Create a DNS entry</strong> for your array name (I am going to use Site1Array.ExchangeGenie.local)</p>
<p>a. Open the DNS administration tool</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns01.jpg"><img class="alignnone size-full wp-image-823" title="dns01" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns01.jpg" alt="dns01" width="120" height="29" /></a></p>
<p>b. Select the appropriate DNS Zone (for me .ExchangeGenie.local)</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns5.jpg"><img class="alignnone size-full wp-image-822" title="dns5" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns5.jpg" alt="dns5" width="239" height="108" /></a></p>
<p>c. Right click and create a new host record (a cname would work as well)</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns1.jpg"><img class="alignnone size-full wp-image-817" title="dns1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns1.jpg" alt="dns1" width="181" height="59" /></a></p>
<p>d. Input the name and Ip for the record</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns2.jpg"><img class="alignnone size-medium wp-image-818" title="dns2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns2-300x297.jpg" alt="dns2" width="300" height="297" /></a></p>
<p>e. Click Add Host</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns3.jpg"><img class="alignnone size-full wp-image-819" title="dns3" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns3.jpg" alt="dns3" width="85" height="40" /></a></p>
<p>F. Click Done</p>
<p>G. Validate the record had been created</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns4.jpg"><img class="alignnone size-medium wp-image-820" title="dns4" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns4-300x26.jpg" alt="dns4" width="300" height="26" /></a></p>
<p> H. Lets use Nslookup to validate the record is seen</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns6.jpg"><img class="alignnone size-medium wp-image-825" title="dns6" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/dns6-300x122.jpg" alt="dns6" width="300" height="122" /></a></p>
<p><strong><span style="text-decoration: underline;">Create an RPC Array</span></strong></p>
<p>From an EMS window we will use the new-clientaccessarray command if you use the help &#8230;. get-help new-clientaccessarray, we can see the command takes in<span style="text-decoration: underline;"> <span style="text-decoration: underline;">2 require parameters</span><strong> </strong></span><strong>FQDN</strong> and<strong> Site</strong></p>
<p>If you dont know your AD site information you can use the get-ADSite command to get that information</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/get-adsite.jpg"><img class="alignnone size-medium wp-image-827" title="get-adsite" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/get-adsite-300x68.jpg" alt="get-adsite" width="300" height="68" /></a></p>
<p>As you can see I have renamed my default site to <strong>GenieSite1</strong></p>
<p><span style="color: #339966;">New-ClientAccessArray -Name Site1Array.ExchangeGenie.Local -fqdn Site1Array.ExchangeGenie.Local -Site GenieSite1</span></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/newarray.jpg"><img class="alignnone size-medium wp-image-828" title="newarray" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/newarray-300x28.jpg" alt="newarray" width="300" height="28" /></a></p>
<p>As you can see we now have a new array called Site1Array.ExchangeGenie.Local</p>
<p><span style="color: #ff0000;">**Note the memeber paramenter will show every Exchange 2010 CAS in the AD site of the Array, which CAS server actually participate are based on the NLB nodes **</span></p>
<p><span style="color: #000000;">Does this mean you are done?</span></p>
<p><span style="color: #000000;">No,  creating an array but its self does nothing we have 2 additional steps <span style="text-decoration: underline;">1. create the NLB for the Array</span> and <span style="text-decoration: underline;">2. associate the array to our database</span>.</span></p>
<p><strong>Creating an NLB for our Array</strong></p>
<p>I am going to use WNLB for this blog which is a viable option however for large organization a hardware load balancer is advised.</p>
<p>If NLB is not installed on your CAS server you will need to do that first.</p>
<p>1. Open Server Manager</p>
<p>2.  Select Features</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/11.jpg"><img class="alignnone size-full wp-image-830" title="1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/11.jpg" alt="1" width="125" height="37" /></a></p>
<p>3.  Select Network Load Balancing</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/2.jpg"><img class="alignnone size-medium wp-image-831" title="2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/2-300x155.jpg" alt="2" width="300" height="155" /></a></p>
<p>4. Click Next</p>
<p>5. Click Install</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/3.jpg"><img class="alignnone size-medium wp-image-832" title="3" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/3-300x222.jpg" alt="3" width="300" height="222" /></a></p>
<p> 6. Click close after the installation completes successfully</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/4.jpg"><img class="alignnone size-medium wp-image-835" title="4" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/4-300x225.jpg" alt="4" width="300" height="225" /></a></p>
<p>7. Launch NLB Manager</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/5.jpg"><img class="alignnone size-full wp-image-836" title="5" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/5.jpg" alt="5" width="198" height="25" /></a></p>
<p>8.  From the file menu click<span style="color: #339966;"> Cl</span><span style="color: #339966;">uster -&gt; New</span></p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/6.jpg"><img class="alignnone size-full wp-image-837" title="6" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/6.jpg" alt="6" width="172" height="59" /></a></p>
<p>9. Input the IP address or hostname of the CAS server and click Connect</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/7.jpg"><img class="alignnone size-medium wp-image-838" title="7" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/7-300x61.jpg" alt="7" width="300" height="61" /></a></p>
<p>10.  Select Next</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/8.jpg"><img class="alignnone size-medium wp-image-839" title="8" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/8-300x282.jpg" alt="8" width="300" height="282" /></a></p>
<p>11. Select Next unless you need to add an additional dedicated ip to the server</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/9.jpg"><img class="alignnone size-medium wp-image-840" title="9" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/9-300x274.jpg" alt="9" width="300" height="274" /></a></p>
<p>12. Click Add to add the VIP for the cluster ** this should match the ip that we used to create our dns record for the array**</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/10.jpg"><img class="alignnone size-medium wp-image-841" title="10" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/10-300x268.jpg" alt="10" width="300" height="268" /></a></p>
<p>13.  Enter the IP asscociated with the array and click OK</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/111.jpg"><img class="alignnone size-medium wp-image-843" title="11" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/111-300x242.jpg" alt="11" width="300" height="242" /></a></p>
<p>14.  Click Next</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/12.jpg"><img class="alignnone size-full wp-image-842" title="12" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/12.jpg" alt="12" width="91" height="45" /></a></p>
<p>15.  Enter an FQDN that will be associated with the NLB, I have selected Mulicast for my cluster mode however please select the method that best fits your environment.</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/13.jpg"><img class="alignnone size-medium wp-image-844" title="13" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/13-300x274.jpg" alt="13" width="300" height="274" /></a></p>
<p>16.  Click Next</p>
<p>17. Click Remove to delete the default listening ports</p>
<p> You can choose to listen on all ports however lets use the minimum required for the array which we will later scope down even lower. The minimum ports required will be 135, 1024-65535</p>
<p>a.   Click Add</p>
<p>b.  Remove the check box &#8220;All&#8221; so that we can scope which IP the ports listens on</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/14.jpg"><img class="alignnone size-medium wp-image-845" title="14" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/14-300x68.jpg" alt="14" width="300" height="68" /></a></p>
<p>c.  Add port 135 &#8211; 135 TCP and click OK</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/15.jpg"><img class="alignnone size-medium wp-image-846" title="15" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/15-246x300.jpg" alt="15" width="246" height="300" /></a></p>
<p>d. Report for port 1024 -65535 TCP and click OK</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/16.jpg"><img class="alignnone size-medium wp-image-848" title="16" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/16-242x300.jpg" alt="16" width="242" height="300" /></a></p>
<p>18.  Click Finish to complete building the NLB</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/17.jpg"><img class="alignnone size-medium wp-image-849" title="17" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/17-300x279.jpg" alt="17" width="300" height="279" /></a></p>
<p>Validate the NLB has been created properly</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/18.jpg"><img class="alignnone size-medium wp-image-852" title="18" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/18-300x212.jpg" alt="18" width="300" height="212" /></a></p>
<p> <strong>Associating the Array with databases</strong></p>
<p> The final step for us is to associate the client array with our existing databases.  Any new databases will be automatically associated with the array in that site.</p>
<p>Lets open our Outlook client so we can see our current settings</p>
<p><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/current.jpg"><img class="alignnone size-medium wp-image-855" title="current" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/current-300x181.jpg" alt="current" width="300" height="181" /></a></p>
<p>Let&#8217;s use the following command to set our new array on all the current databases we have created </p>
<p><span style="color: #339966;">Get-MailboxDatabase | Set-MailboxDatabase -RpcClientAccessServer site1array.exchangegenie.local</span></p>
<p><span style="color: #ff0000;">**Please note the above command would do all databases you can use the –server switch to scope the databases returned you can use something like this to scope the site</span></p>
<p><span style="color: #ff0000;">C:\&gt;Get-ExchangeServer | where {$_.isMailboxServer -eq $true -and $_.Site -eq &#8216;ExchangeGenie.Local/Configuration/Sites/GenieSite1&#8242;} | Get-MailboxDatabase **</span></p>
<p><span style="color: #000000;">We can validate the array association with the following command  </span><span style="color: #339966;">Get-MailboxDatabase | fl rp*</span></p>
<p><span style="color: #339966;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/a1.jpg"><img class="alignnone size-medium wp-image-854" title="a1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/a1-300x60.jpg" alt="a1" width="300" height="60" /></a></span></p>
<p><span style="color: #ff0000;">***Please note it could take a few minute for this information to get updated for clients do to the store cache**</span></p>
<p>If we look at our client setting, they will get updated with autodiscover if the client is Outlook 2007+, for Outlook 2003 the client should be redirected after connecting to the current configured server.</p>
<p><span style="color: #000000;"> <a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/after1.jpg"><img class="alignnone size-medium wp-image-862" title="after" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/after1-300x206.jpg" alt="after" width="300" height="206" /></a></span></p>
<p><span style="color: #000000;">You can see that all communication (except pf) is now connecting to our new client array</span></p>
<p><span style="color: #ff0000;"> </span></p>
<p><strong>Scoping the Mapi Ports</strong></p>
<p>By default when you open your Outlook client it attempts to make a connection to the rpc port ( 135) on the server andnegotiate a dynamic port above 1024 for usage.  If there are no firewalls between the clients and servers then you dont mind all the traffic however in many scenarios there are firewalls between the client network and servers.  To keep from the requirement of open port 135 and 1024 &#8211; 65535 you can make a few simple modifications to your CAS server to reduce the number of ports that are required to be open on the firewall.</p>
<p>There are 3 modifications you must make 1. Mapi which is a registry key change 2. Addres Book (NSPI) which is modifed in the config file and 3. Referral Service (RFR) modified in the config file.</p>
<p>We can restrict Rpc Client Access Array to a single port for each of the following settings Mapi,Address Book, and Referral Service let’s take a look at the default configuration below:</p>
<p>Key:HKLM\SYSTEM\CurrentControlSet\Services\MSExchangeRPC\ParametersSystem</p>
<p>Value:TCP/IP Port</p>
<p>Type:DWORD</p>
<p><span style="color: #ff0000;">*Note you will need to modify the same registry key on mailbox servers that host the public folder role </span></p>
<p>Earlier you saw the network wireshark data with the server making connections to the CAS on radom high number ports, in this section we are going to scope the port range down to 3 ports of our choosing.  Please note the client will still need access to port 135 for the initial connection.</p>
<p><span style="text-decoration: underline;"><strong>Scoping the CAS server ports</strong></span></p>
<p>1. Open the regsitry editor (start -&gt; run -&gt; regedit</p>
<p>2. browse to HKLM\SYSTEM\CurrentControlSet\Services\MSExchangeRPC</p>
<p>3. Create a new key <span style="color: #339966;">ParametersSystem (Right click new-&gt; key)</span></p>
<p><span style="color: #339966;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/22.jpg"><img class="alignnone size-full wp-image-873" title="2" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/22.jpg" alt="2" width="158" height="51" /></a></span></p>
<p><span style="color: #000000;">4. Create a new Dword <span style="color: #339966;">TCP/IP Port</span></span></p>
<p><span style="color: #000000;"><span style="color: #339966;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/11.JPG"><img class="alignnone size-full wp-image-871" title="1" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/11.JPG" alt="1" width="226" height="86" /></a></span></span></p>
<p><span style="color: #000000;">5. Input a port I have selected 50000</span></p>
<p><span style="color: #000000;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/41.jpg"><img class="alignnone size-medium wp-image-875" title="4" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/41-300x169.jpg" alt="4" width="300" height="169" /></a></span></p>
<p><span style="color: #000000;">6. Restart the Microsoft Exchange RPC Client Access Service</span></p>
<p><span style="color: #000000;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/61.jpg"><img class="alignnone size-medium wp-image-876" title="6" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/61-300x52.jpg" alt="6" width="300" height="52" /></a></span></p>
<p><span style="color: #000000;">7.  Open a command window and run NetStat -na </span></p>
<p><span style="color: #000000;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/51.jpg"><img class="alignnone size-medium wp-image-877" title="5" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/51-300x32.jpg" alt="5" width="300" height="32" /></a></span></p>
<p><span style="color: #000000;">We can see that we are connecting the CAS server on port 50,000 and 135</span></p>
<p><span style="color: #ff0000;">**You will need to repeat these steps for any mailbox server this is hosting a public folder database**</span></p>
<p><span style="color: #000000;">8.  Open<span style="color: #339966;"> Microsoft.Exchange.AddressBook.Service.Exe.config</span>  with notepad (default location is C:\Program Files\Microsoft\Exchange Server\V14\Bin)</span></p>
<p><span style="color: #000000;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/81.jpg"><img class="alignnone size-medium wp-image-880" title="8" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/81-300x106.jpg" alt="8" width="300" height="106" /></a></span></p>
<p><span style="color: #000000;">9.  Modify the section “RpcTcpPort” to the port you desire, I am going to use 50,001 since I used 50,000 for the mapi port</span></p>
<p><span style="color: #000000;">10. Restart the Microsoft Exchange Active Directory Topology Service (note this will stop all the Exchange services)</span></p>
<p><span style="color: #000000;">11. Open a command window and run Net<span style="color: #339966;">Stat -na</span></span></p>
<p><span style="color: #000000;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/91.jpg"><img class="alignnone size-medium wp-image-879" title="9" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/91-300x76.jpg" alt="9" width="300" height="76" /></a></span></p>
<p><span style="color: #000000;">You can see we are now listeing on port 50,000 for map and port 50,001 for Address Book</span></p>
<p><span style="color: #000000;">If we open Outlook again and run a netstat -na from our client we can see that we are connecting to the CAS server on port 50,001 and 50,001 and to our mailbox on port 50,000</span></p>
<p><span style="color: #000000;">CAS IP 192.168.1.60 and Mailbox 192.168.1.57 and CAS Array 192.168.1.61</span></p>
<p><span style="color: #000000;"><a href="http://www.exchange-genie.com/wp-content/uploads/2009/09/101.jpg"><img class="alignnone size-medium wp-image-882" title="10" src="http://www.exchange-genie.com/wp-content/uploads/2009/09/101-300x154.jpg" alt="10" width="300" height="154" /></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2009/09/momt-mapi-on-the-middle-teir/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
