<?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; rpc/https</title>
	<atom:link href="http://www.exchange-genie.com/tag/rpchttps/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>Configuring Outlook Anywhere for Exchange 2007 SP1</title>
		<link>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/</link>
		<comments>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 04:07:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[rpc/https]]></category>
		<category><![CDATA[Autodiscover]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[Outlook Anywhere]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=39</guid>
		<description><![CDATA[Updated April 22, 2008 Exchange 2007 has rebranded rpc/https which is now called Outlook Anywhere and has even made some slight modification from RTM to Exchange 2007 SP1. + http://msexchangeteam.com/archive/2007/11/08/447484.aspx When utlizing Outlook 2007 the autodiscover service is heavily tied into Outlook anywhere functionality, I am going to reference a previous posting that explains those [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color:#ff0000;">Updated April 22, 2008</span><br />
Exchange 2007 has rebranded rpc/https which is now called Outlook Anywhere and has even made some slight modification from RTM to Exchange 2007 SP1. +<br />
<a href="http://msexchangeteam.com/archive/2007/11/08/447484.aspx">http://msexchangeteam.com/archive/2007/11/08/447484.aspx</a></p>
<p>When utlizing Outlook 2007 the autodiscover service is heavily tied into Outlook anywhere functionality, I am going to reference a previous posting that explains those functions in detail.<br />
<a href="http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html">http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html</a></p>
<p>With Exchange 2007 in order to allow clients remote access to the mail system you will need to install an Exchange 2007 CAS server which will allow clients to access thier mail via Imap,Pop,OWA,Active Sync, and Rpc/https (outlook anywhere).</p>
<p>For this article I am going to skip the installation of each server role and just work with the configuration. The lab consists of 1 DC, 1 CAS/Hub and 1 MBX server running Windows 2003 and Exchange 2007 SP1.</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-rtPie74OI/AAAAAAAAAr8/pgCGZ3anNmo/s1600-h/rpc_proxy.jpg"><img id="BLOGGER_PHOTO_ID_5182215172453556450" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-rtPie74OI/AAAAAAAAAr8/pgCGZ3anNmo/s320/rpc_proxy.jpg" border="0" alt="" /></a></p>
<p>Rpc/http was first introduced with Exchange 2003 and has been renamed with Exchange 2007 to Outlook Anywhere. In order to use this functionality with Exchange we must install the RPC over HTTP Proxy networking component on a server (recommened on your Exchange server).</p>
<p>What does this network componet do for us?<br />
RpcProxy.dll is an Internet Server API (ISAPI) that runs in Internet Information Services (IIS). RpcProxy.dll listens for activity on the RPC virtual directory</p>
<p>The rpcproxy.dll requires authentication and will not pass anonymous request even if IIS is configured for anonymous authentication.</p>
<p>When an Outlook clients typicaly communicates with an Exchange server the client attempts to connect via Mapi Rpc, with Rpc/http Outlook makes a http connection to the rpc proxy server which strips the http and send the rpc request to tha appropriate Exchange server.</p>
<p><strong>Installing Rpc/http networking componet:</strong><br />
1. From the Add/Remove programs select Windows components<br />
2. Select Networking Services then details<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R89CLJxkTVI/AAAAAAAAAqk/QN7m9Zo9KrI/s1600-h/i1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427256241802578" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R89CLJxkTVI/AAAAAAAAAqk/QN7m9Zo9KrI/s320/i1.jpg" border="0" alt="" /></a><br />
3. Select Rpc over http proxy -&gt; OK<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CSZxkTWI/AAAAAAAAAqs/NGjo8FIjkqA/s1600-h/i2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427380795854178" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CSZxkTWI/AAAAAAAAAqs/NGjo8FIjkqA/s320/i2.jpg" border="0" alt="" /></a><br />
4. Click Next to start the installation<br />
5. Click Finish to complete the installation</p>
<p>How do we verify the installation?<br />
1. Validate you have 2 virtual directories installed called RPC and RPC with Cert<br />
The 2 new virtual directories points to C:\WINDOWS\System32\RpcProxy which is the location of the rpcproxy.dll<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89CbpxkTXI/AAAAAAAAAq0/EJFYBsu1sZg/s1600-h/v1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427539709644146" style="width: 267px; cursor: pointer; height: 207px;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89CbpxkTXI/AAAAAAAAAq0/EJFYBsu1sZg/s320/v1.jpg" border="0" alt="" /></a><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CjZxkTYI/AAAAAAAAAq8/50XPAuSMnbQ/s1600-h/v2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427672853630338" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CjZxkTYI/AAAAAAAAAq8/50XPAuSMnbQ/s320/v2.jpg" border="0" alt="" /></a><br />
2. Verify the RPC Proxy server extension is allowed in IIS (this will be enabled after you install the component)<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R89Ct5xkTZI/AAAAAAAAArE/uLa2PK4wfL0/s1600-h/v3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427853242256786" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R89Ct5xkTZI/AAAAAAAAArE/uLa2PK4wfL0/s320/v3.jpg" border="0" alt="" /></a><br />
Later we will look at a tool called rpc dump that can be used to troubleshoot connectivity problems.</p>
<p>After we have installed our CAS server we need to enable Outlook Anywhere which can be done in 1 of two ways, 1. EMS (command line) or 2. EMC (gui)</p>
<p><strong>1. EMS</strong><br />
To work with Outlook anywhere via EMS we would use the the following set of commands Get-OutlookAnywhere,Set-OutlookAnywhere,Enable-OutlookAnywhere.</p>
<p>A. Open EMS<br />
B. Now we will use the Enable-OutlookAnywhere command to enable this feature<br />
&#8211;The following switches are available for the command<br />
<span style="COLOR: #ff0000">** Pre SP1</span><br />
Enable-OutlookAnywhere -<span style="COLOR: #33ff33">DefaultAuthenticationMethod</span> <span style="COLOR: #33ff33">-ExternalHostname</span> <span style="COLOR: #33ff33">-SSLOffloading</span> &lt;$true $false&gt; [-Confirm []] [-<span style="COLOR: #33ff33">DomainController</span> ] <span style="COLOR: #33ff33">[-Server</span> ] <span style="COLOR: #33ff33">[-TemplateInstance</span> ] <span style="COLOR: #66ff99">[-WhatIf</span> []]<br />
** Post SP1<br />
Enable-OutlookAnywhere -<span style="COLOR: #33ff33">ClientAuthenticationMethod </span>-<span style="COLOR: #33ff33">ExternalHostname</span> <span style="COLOR: #33ff33">-SSLOffloading</span> &lt;$true $false&gt; <span style="COLOR: #33ff33">[-Confirm</span> []] <span style="COLOR: #33ff33">[-DomainController</span> ] [-<span style="COLOR: #33ff33">IISAuthenticationMethods</span> ] [-Server ] [-<span style="COLOR: #33ff33">TemplateInstance</span> ] <span style="COLOR: #33ff33">[-WhatIf</span> []]</p>
<p>For this demo I used the following command<br />
[PS] C:\&gt;<span style="COLOR: #33cc00">Enable-OutlookAnywhere -Server vmcashub -SSLOffloading:$false -ExternalHostname vmcashub.vn.local -ClientAuthenticationMethod basic -IISAuthenticationMethods basic<br />
</span><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89C3pxkTaI/AAAAAAAAArM/h_ycvdAmSk0/s1600-h/ems-en1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428020745981346" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89C3pxkTaI/AAAAAAAAArM/h_ycvdAmSk0/s320/ems-en1.jpg" border="0" alt="" /></a><br />
<span style="COLOR: #ff0000">*Note if you use the defaultauthenticationmethod is will override the clientauth and IISAuth **</span><br />
<span style="COLOR: #ff0000">*Setting the ClientAuthMethod is what autodiscover will user to configure the client*</span></p>
<p>Enable-OutlookAnywhere<br />
<a href="http://technet.microsoft.com/en-us/library/bb124993%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124993%28EXCHG.80%29.aspx</a></p>
<p>We can ouse the Get-OutlookAnywhere command to view our configuration<br />
Get-OutlookAnywhere<br />
<a href="http://technet.microsoft.com/en-us/library/bb124263%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124263%28EXCHG.80%29.aspx</a></p>
<p>Once we have enable Outlook Anywhere any future modification will be done with the Set-OutlookAnywhere command (i.e. changing authentication)<br />
Set-OutlookAnywhere <a href="http://technet.microsoft.com/en-us/library/bb123545%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb123545%28EXCHG.80%29.aspx</a></p>
<p><strong>2. EMC<br />
</strong>a. Open EMC &#8211;&gt; Server configuration &#8211;&gt; client Access Server<br />
b. Select the CAS server you want to enable<br />
c. Click the button to Enable Outlook Anywhere<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DCpxkTbI/AAAAAAAAArU/HIeUkJzdsNU/s1600-h/emc1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428209724542386" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DCpxkTbI/AAAAAAAAArU/HIeUkJzdsNU/s320/emc1.jpg" border="0" alt="" /></a><br />
d. Enter the External name that clients will use to connect to your Exchange Server, note this name should match the name on your certificate. Select the authentication method of choice<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DnpxkTdI/AAAAAAAAArk/fDHfT7Gryyw/s1600-h/emc3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R9QO5xXdgOI/AAAAAAAAAr0/HlcPDdBPjm8/s1600-h/emcbasic.jpg"><img id="BLOGGER_PHOTO_ID_5175778257422614754" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R9QO5xXdgOI/AAAAAAAAAr0/HlcPDdBPjm8/s320/emcbasic.jpg" border="0" alt="" /></a><br />
e. On the Completion Wizard Click finish<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DMpxkTcI/AAAAAAAAArc/dWOx6fdj64k/s1600-h/emc2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428381523234242" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DMpxkTcI/AAAAAAAAArc/dWOx6fdj64k/s320/emc2.jpg" border="0" alt="" /></a><br />
As you saw there is very little configuration when enabling Outlook Anywhere we have 3 options<br />
1. Url 2. authentication and 3. Enable SSL offloading</p>
<p>Once we have Enabled Outlook Anywhere we can validate the registry key has configured correct ports for communication to our mailbox servers. Note only the name listed in the key can be used by clients to connect and you will notice there is no IP address listed so testing via IP will fail through the rpc proxy.</p>
<p>1. Click start Run<br />
2. Regedit &#8211; this will open the registry editor<br />
3. HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy<br />
4. Notice the Dword called Enabled set to 1<br />
5. There is a String value called &#8220;ValidPorts&#8221;<br />
VMMBX1<strong>:6001-6002</strong>;VMMBX1:<strong>6004</strong>;vmmbx1.vm.local:<strong>6001-6002</strong>;vmmbx1.vm.local:</p>
<div><strong>6004</strong></div>
<p><strong><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89ECZxkTeI/AAAAAAAAArs/wb3cNAYe1B4/s1600-h/regedit.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174429304941202914" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89ECZxkTeI/AAAAAAAAArs/wb3cNAYe1B4/s320/regedit.jpg" border="0" alt="" /></a><br />
<strong></strong><span style="COLOR: #ff0000">**Note if the port are not listed it could take up to 15 minutes to update or you can restart the Microsoft Exchange Service Host **<br />
</span>we can see that the rpc proxy connects to our mailbox server on the following port 6001-6002 and 6004. Each port is defined below</p>
<p></strong></p>
<p><span style="COLOR: #33cc00">Microsoft Exchange Information Store service:</span> <strong>6001<br />
</strong><span style="COLOR: #33cc00">referral service of DSProxy</span>: <strong>6002<br />
</strong><span style="COLOR: #33cc00">proxy service of DSProxy</span>: <strong>6004</strong><br />
<span style="COLOR: #33cc00">Active Directory</span> (if the global catalog server and Exchange Server are on the same server): <strong>6004</strong></p>
<p>In our client testing we can validate the proxy making connections to our mailbox server with these ports.</p>
<p><strong>Configure a client:</strong><br />
Manually<br />
1. Create a New profile<br />
2. check the manually configure box at the bottom<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_pie74aI/AAAAAAAAAtc/vH8spJSnI4Y/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184768685129851298" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_pie74aI/AAAAAAAAAtc/vH8spJSnI4Y/s320/1.jpg" border="0" alt="" /></a></p>
<p>3. Select Microsoft Exchange</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_QAjCe74gI/AAAAAAAAAuM/ARQR8bKh4tc/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769672972329474" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_QAjCe74gI/AAAAAAAAAuM/ARQR8bKh4tc/s320/2.jpg" border="0" alt="" /></a></p>
<p>4. Input your mailbox server name (this could be FQDN or Netbios Name)</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_3ie74cI/AAAAAAAAAts/CArh6sN5Cg4/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184768925648019906" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_3ie74cI/AAAAAAAAAts/CArh6sN5Cg4/s320/3.jpg" border="0" alt="" /></a></p>
<p>5. Click the &#8220;More settings&#8221; button</p>
<p>6. Select the connections tab</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_P_9Ce74dI/AAAAAAAAAt0/eNB16QqMxus/s1600-h/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769020137300434" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_P_9Ce74dI/AAAAAAAAAt0/eNB16QqMxus/s320/4.jpg" border="0" alt="" /></a></p>
<p>7. Check the box &#8220;Connect to Microsoft Exchange using HTTP&#8221; -&gt; Exchange Proxy Settings</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QACye74eI/AAAAAAAAAt8/bdgdT67bgwo/s1600-h/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769118921548258" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QACye74eI/AAAAAAAAAt8/bdgdT67bgwo/s320/5.jpg" border="0" alt="" /></a></p>
<p>8. Input the url of your Outlook Anywhere server, check the appropriate authentication</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QAIye74fI/AAAAAAAAAuE/og08TSWezak/s1600-h/6.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769222000763378" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QAIye74fI/AAAAAAAAAuE/og08TSWezak/s320/6.jpg" border="0" alt="" /></a></p>
<p>9. Click OK and finish the profile<br />
<span style="FONT-WEIGHT: bold"><br />
</span>2. Autodiscover<br />
** if autodiscover is not working please refer to my blog on autodiscover **<br />
<a href="http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html">http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html</a></p>
<p>1. Click Add<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jQ9ie74hI/AAAAAAAAAuU/Mi1yoHsV5zg/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186124726564282898" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jQ9ie74hI/AAAAAAAAAuU/Mi1yoHsV5zg/s320/1.jpg" border="0" alt="" /></a></p>
<p>2. Give a name for the profile<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_jRGye74iI/AAAAAAAAAuc/uj4e4qb_eQU/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186124885478072866" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_jRGye74iI/AAAAAAAAAuc/uj4e4qb_eQU/s320/2.jpg" border="0" alt="" /></a></p>
<p>3. Input the display name and users email address and password<br />
**Note a domain logged on user will auto populate the information**<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_jRSCe74jI/AAAAAAAAAuk/asfDJdzASvc/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125078751601202" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_jRSCe74jI/AAAAAAAAAuk/asfDJdzASvc/s320/3.jpg" border="0" alt="" /></a></p>
<p>5. Logon to your mailbox<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jRvie74lI/AAAAAAAAAu0/V8ygUbxOlFI/s1600-h/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125585557742162" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jRvie74lI/AAAAAAAAAu0/V8ygUbxOlFI/s320/4.jpg" border="0" alt="" /></a></p>
<p>6. Click Finish<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_jRoSe74kI/AAAAAAAAAus/7jjkh84Oteo/s1600-h/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125461003690562" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_jRoSe74kI/AAAAAAAAAus/7jjkh84Oteo/s320/5.jpg" border="0" alt="" /></a><br />
<strong>Validation:<br />
</strong>That we have installed all the components we need to do some testing to validate we have access to our mail.</p>
<p><strong>Check Outlook connection status:</strong><br />
1. Log onto Outlook<br />
2. in the System tray hold the CTRL key and right click the Outlook icon<br />
3. select connection status<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xP8ie74PI/AAAAAAAAAsE/aIFKo3-uwEA/s1600-h/stat1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182605172663902450" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xP8ie74PI/AAAAAAAAAsE/aIFKo3-uwEA/s320/stat1.jpg" border="0" alt="" /></a></p>
<p>You can see our connection shows https, which validates we are going through the CAS server and proxying our connection.</p>
<p><strong>Netstat:<br />
</strong>We can use netstat to show our connection for each hop Client-&gt; CAS -&gt; Mbx -&gt; DC</p>
<p>Open a command windows on the CAS server and type netstat -na<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xQ9Se74QI/AAAAAAAAAsM/MJwat6lksWM/s1600-h/stat2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182606285060432130" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xQ9Se74QI/AAAAAAAAAsM/MJwat6lksWM/s320/stat2.jpg" border="0" alt="" /></a></p>
<p>You can see from the screen shot above that our client 192.168.1.5 is making connections are port 443 to our CAS server 192.168.1.101</p>
<p>As noted in the connections window from Outlook you can see that the Outlook client makes multiple connections to the CAS server on port 443 and this is validated in the netstat</p>
<p>CAS -&gt; MBX<br />
On the mailbox server open a command window and type Netstat -na</p>
<p>The first item to note is our mailbox server listening on ports 6001,6002, and 6004 which is the ports used by rpc/http to make connections<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xR7Se74SI/AAAAAAAAAsc/kpBIqHVQ5Z0/s1600-h/MBXLISTEN.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607350212321570" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xR7Se74SI/AAAAAAAAAsc/kpBIqHVQ5Z0/s320/MBXLISTEN.jpg" border="0" alt="" /></a></p>
<p>Below you can see our mbx server 192.168.1.102 receiving connections on port 6001 and 6004 from our CAS server 192.168.1.101<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-xRoCe74RI/AAAAAAAAAsU/MKANsRMaek4/s1600-h/CAS2MBX600X.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607019499839762" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-xRoCe74RI/AAAAAAAAAsU/MKANsRMaek4/s320/CAS2MBX600X.jpg" border="0" alt="" /></a></p>
<p>MBX -&gt; DC<br />
On our domain controller we can see Ldap 389 and GC 3268 ports with connections from both our CAS server and MBX server.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R-xSUye74TI/AAAAAAAAAsk/EYRz7idDQi8/s1600-h/DC2CASANDMBX.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607788298985778" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R-xSUye74TI/AAAAAAAAAsk/EYRz7idDQi8/s320/DC2CASANDMBX.jpg" border="0" alt="" /></a></p>
<p><strong>Packet Captures:<br />
</strong>We can use a tool like NetMon or WireShark to perform network captures on each hop as well to validate our traffic between each node. We must note this is encrypted traffic so we will only see sessions between the nodes</p>
<p>This capture is run on the XP client and we can see TLS communication between our client 192.168.1.5 and our CAS 192.168.1.101<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xW1Se74VI/AAAAAAAAAs0/w9rEU_aTBwQ/s1600-h/client-cas.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182612744691245394" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xW1Se74VI/AAAAAAAAAs0/w9rEU_aTBwQ/s320/client-cas.jpg" border="0" alt="" /></a></p>
<p>This capture show communication from the CAS 192.168.101 to the mailbox server on port 6001/6004</p>
<p>See the highlighted section showing a destination port 6001 from the CAS to the MBX server<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZbie74YI/AAAAAAAAAtM/sryG_i7EffY/s1600-h/cas-mbx1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182615600844497282" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZbie74YI/AAAAAAAAAtM/sryG_i7EffY/s320/cas-mbx1.jpg" border="0" alt="" /></a></p>
<p>See the highlighted section showing a destination port 6004 from the CAS to the MBX server<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZDie74XI/AAAAAAAAAtE/JNUA5cQxvcs/s1600-h/6004.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182615188527636850" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZDie74XI/AAAAAAAAAtE/JNUA5cQxvcs/s320/6004.jpg" border="0" alt="" /></a></p>
<p>Mailbox Server -&gt; DC/GC<br />
Below we can see our mailbox server making connections to the DC Ldap port 389<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xcGSe74ZI/AAAAAAAAAtU/BKXIRuUDU38/s1600-h/ldap.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182618534307160466" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xcGSe74ZI/AAAAAAAAAtU/BKXIRuUDU38/s320/ldap.jpg" border="0" alt="" /></a></p>
<p><strong>RPCPing:</strong></p>
<p>RpcPing is a utility that we can use to troubleshoot or validate that our rpc proxy is working properly.<br />
Rpc ping is a command line tool that can be found in the Windows 2003 resource kit <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en</a><span style="font-size:0;"> </span>We can use this tool to test rpc connectivity through an rpc proxy server which is used for Outlook Anywhere.</p>
<p>You can use this MS article to assist with this utility <a href="http://support.microsoft.com/kb/831051">http://support.microsoft.com/kb/831051</a></p>
<div>
<div>
<div>1. Open a command line to the resource kit directory</div>
<div><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6HxRc9fdI/AAAAAAAAAvM/Yv-7YXmEZXU/s1600-h/1.jpg"><img id="BLOGGER_PHOTO_ID_5192236700972973522" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6HxRc9fdI/AAAAAAAAAvM/Yv-7YXmEZXU/s320/1.jpg" border="0" alt="" /></a></div>
<div>2. Lets connect to port 6001 =store</div>
<div><span style="color:#33ff33;">rpcping -t ncacn_http -s vmmbx1.vm.local -o RpcProxy=mail.vm.local -P &#8220;brian.tirch,vm.local,*&#8221; -I &#8220;brian.tirch,vm.local,*&#8221; -H 1 -F 3 -v 3 -B msstd:mail.vm.local -e 6001 -u 10 -a connect</span></div>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6H9Bc9feI/AAAAAAAAAvU/ncMgmCljDno/s1600-h/2.jpg"><img id="BLOGGER_PHOTO_ID_5192236902836436450" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6H9Bc9feI/AAAAAAAAAvU/ncMgmCljDno/s320/2.jpg" border="0" alt="" /></a></div>
<div>You can see we make a successful connection<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6IIRc9ffI/AAAAAAAAAvc/zEH2D6FJ1kU/s1600-h/3.jpg"><img id="BLOGGER_PHOTO_ID_5192237096109964786" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6IIRc9ffI/AAAAAAAAAvc/zEH2D6FJ1kU/s320/3.jpg" border="0" alt="" /></a></div>
<div>3. Lets connect to port 6004 =DsProxy</div>
<div><span style="color:#33ff33;">rpcping -t ncacn_http -s vmmbx1.vm.local -o RpcProxy=mail.vm.local -P &#8220;brian.tirch,vm.local,*&#8221; -I &#8220;brian.tirch,vm.local,*&#8221; -H 1 -F 3 -v 3 -B msstd:mail.vm.local -e 6004 -u 10 -a connect</span></div>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6IVBc9fgI/AAAAAAAAAvk/V2HbcNLt2TA/s1600-h/4.jpg"><img id="BLOGGER_PHOTO_ID_5192237315153296898" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6IVBc9fgI/AAAAAAAAAvk/V2HbcNLt2TA/s320/4.jpg" border="0" alt="" /></a></div>
<div>You can see we make a successful connection<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SA6Ihhc9fhI/AAAAAAAAAvs/FyjTE5F1QDI/s1600-h/5.jpg"><img id="BLOGGER_PHOTO_ID_5192237529901661714" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SA6Ihhc9fhI/AAAAAAAAAvs/FyjTE5F1QDI/s320/5.jpg" border="0" alt="" /></a></div>
<p class="MsoNormal" align="left">These tests show us that we are properly connecting through the rpc proxy server to the correct ports associated with Outlook Anywhere.</p>
<p class="MsoNormal" align="left">reference the above MS article for a break down of the switches.</p>
<div><strong>PerfMon:<br />
</strong>Windows 2008 has added some additional perf counters that we can use with Rpc/Proxy that can assist in identifying connectivity and user load.</div>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xUzie74UI/AAAAAAAAAss/nZhg8lJoR3Q/s1600-h/perf.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182610515603218754" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xUzie74UI/AAAAAAAAAss/nZhg8lJoR3Q/s320/perf.jpg" border="0" alt="" /></a></p>
<p><strong>common issues:</strong><br />
1. Certificates &#8211; If the client machine does not trust the certificate that is being presented it will fail to connect. So if you are using self signed or self issued certificates you will need to deploy them to each client machine</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb124149%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124149%28EXCHG.80%29.aspx</a></div>
<p> </p></div>
<p><span id="more-39"></span><!--e8c01091942eefddfd5f6ff0d5851ca841241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/sight.html>sight internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/creepshow-2.html>creepshow 2 australia the movie</a></td>
<td><a href=http://paff.org/gal/movies/small-town-folk.html>small town folk once movie</a></td>
<td><a href=http://paff.org/gal/movies/if-i-had-known-i-was-a-genius.html>if i had known i was a genius movie title</a></td>
<td><a href=http://paff.org/gal/movies/my-moms-new-boyfriend.html>my moms new boyfriend internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/rocknrolla.html>rocknrolla movie ending</a></td>
<td><a href=http://paff.org/gal/movies/babylon-ad.html>babylon ad doubt movie</a></td>
<td><a href=http://paff.org/gal/movies/backwoods-the.html>backwoods the movie clips</a></td>
<td><a href=http://paff.org/gal/movies/10-items-or-less.html>10 items or less captain america movie</a></td>
<td><a href=http://paff.org/gal/movies/barbie-fairytopia.html>barbie fairytopia australia movie</a></td>
<td></td>
</tr>
</table>
<p><!--/e8c01091942eefddfd5f6ff0d5851ca841241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/feed/</wfw:commentRss>
		<slash:comments>115</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 Recovery Storage Group</title>
		<link>http://www.exchange-genie.com/2007/11/exchange-2007-recovery-storage-group/</link>
		<comments>http://www.exchange-genie.com/2007/11/exchange-2007-recovery-storage-group/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 01:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RSG]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[Outlook Anywhere]]></category>
		<category><![CDATA[rpc/https]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=24</guid>
		<description><![CDATA[Exchange 2007 Recovery Storage Group : utilizing power shell Microsoft introduced the Recovery Storage Group with Exchange 2003 which added some nice recovery functionality; we no longer needed a recovery AD forest to restore items to mailboxes or a single mailbox. Exchange 2007 has kept this feature however has drastically changed the interface and added [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Exchange 2007 Recovery Storage Group : utilizing power shell</strong></p>
<p>Microsoft introduced the Recovery Storage Group with Exchange 2003 which added some nice recovery functionality; we no longer needed a recovery AD forest to restore items to mailboxes or a single mailbox. Exchange 2007 has kept this feature however has drastically changed the interface and added the ability to use power shell for recovery.</p>
<p>For this article I am going to focus on using power shell only to recover mailboxes and messages to a mailbox. One big change is that even when a RSG is created you will not see it with the gui (EMC) and it can only been see via power shell.</p>
<p>First let’s start by logging onto a mailbox and seeing the content<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-C3hauD6I/AAAAAAAAAQU/KVesKTj5Mt0/s1600-h/messages.jpg"><img id="BLOGGER_PHOTO_ID_5133965990600511394" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-C3hauD6I/AAAAAAAAAQU/KVesKTj5Mt0/s320/messages.jpg" border="0" alt="" /></a></p>
<p>As you can see we have 3 new messages in Jodie’s mailbox</p>
<p>Now we can use NTBackup to backup our Exchange servers database<br />
1. Launch NTBackup from the system tools<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DrRauEDI/AAAAAAAAARc/LAn_waZYLzc/s1600-h/launchbackup.jpg"><img id="BLOGGER_PHOTO_ID_5133966879658741810" style="CURSOR: hand" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DrRauEDI/AAAAAAAAARc/LAn_waZYLzc/s320/launchbackup.jpg" border="0" alt="" /></a></p>
<p>2. Select next on the backup/restore wizard<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DGxauD7I/AAAAAAAAAQc/qWV3iCdTKU8/s1600-h/back1.jpg"><img id="BLOGGER_PHOTO_ID_5133966252593516466" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DGxauD7I/AAAAAAAAAQc/qWV3iCdTKU8/s320/back1.jpg" border="0" alt="" /></a><br />
3. Choose the radius button to backup files and settings</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DKhauD8I/AAAAAAAAAQk/sRJnTtNEb54/s1600-h/back2.jpg"><img id="BLOGGER_PHOTO_ID_5133966317018025922" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DKhauD8I/AAAAAAAAAQk/sRJnTtNEb54/s320/back2.jpg" border="0" alt="" /></a></p>
<p>4. Select the radius button &#8220;Let me choose what to backup&#8221;<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DNhauD9I/AAAAAAAAAQs/thdwEpdHv4E/s1600-h/back3.jpg"><img id="BLOGGER_PHOTO_ID_5133966368557633490" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DNhauD9I/AAAAAAAAAQs/thdwEpdHv4E/s320/back3.jpg" border="0" alt="" /></a></p>
<p>5. I am only going to backup the first storage group since that is the location of mymailboxes<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DTBauD-I/AAAAAAAAAQ0/Nl6QGgeFFzU/s1600-h/back4.jpg"><img id="BLOGGER_PHOTO_ID_5133966463046914018" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DTBauD-I/AAAAAAAAAQ0/Nl6QGgeFFzU/s320/back4.jpg" border="0" alt="" /></a></p>
<p>6. Specify the location of the backup (D:\backup)<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DWRauD_I/AAAAAAAAAQ8/UJUhndhsm10/s1600-h/back5.jpg"><img id="BLOGGER_PHOTO_ID_5133966518881488882" style="CURSOR: hand" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DWRauD_I/AAAAAAAAAQ8/UJUhndhsm10/s320/back5.jpg" border="0" alt="" /></a><br />
7. Click finish to start the backup</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DaBauEAI/AAAAAAAAARE/nQuFINxadmU/s1600-h/back6.jpg"><img id="BLOGGER_PHOTO_ID_5133966583305998338" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DaBauEAI/AAAAAAAAARE/nQuFINxadmU/s320/back6.jpg" border="0" alt="" /></a></p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DcxauEBI/AAAAAAAAARM/bFJVLlSGuLw/s1600-h/back67jpg.jpg"><img id="BLOGGER_PHOTO_ID_5133966630550638610" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DcxauEBI/AAAAAAAAARM/bFJVLlSGuLw/s320/back67jpg.jpg" border="0" alt="" /></a></p>
<p>Here we can see our backup file has been created.<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DfxauECI/AAAAAAAAARU/NMgVJ31ChQA/s1600-h/back8.jpg"><img id="BLOGGER_PHOTO_ID_5133966682090246178" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-DfxauECI/AAAAAAAAARU/NMgVJ31ChQA/s320/back8.jpg" border="0" alt="" /></a></p>
<p>Now that we have a current backup I am going to delete the messages from Jodie’s mailbox so that we can then use a recovery storage group to recover the data .</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-EjhauEEI/AAAAAAAAARk/2ZPX3K44mIg/s1600-h/deletedmessages.jpg"><img id="BLOGGER_PHOTO_ID_5133967846026383426" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-EjhauEEI/AAAAAAAAARk/2ZPX3K44mIg/s320/deletedmessages.jpg" border="0" alt="" /></a></p>
<p>Lets create a new RSG and take a look in the gui and then the command line.</p>
<p>To create an RSG we use the <strong>new-storagegroup</strong> commad but add the <strong>-Recover</strong> switch<br />
<span style="color:#33ff33;">new-storagegroup -Server vmmbx1 -LogFolderPath d:\rsg\logs -Name ExchangeGenie<br />
-SystemFolderPath d:\rsg\data -Recovery<br />
</span><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RzfILRur3jI/AAAAAAAAAP8/upamRyt93Xg/s1600-h/new-sg.jpg"><img id="BLOGGER_PHOTO_ID_5131790396475301426" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RzfILRur3jI/AAAAAAAAAP8/upamRyt93Xg/s320/new-sg.jpg" border="0" alt="" /></a></p>
<p>now that we have created our RSG let see if we get any info from EMC</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RzfIfhur3kI/AAAAAAAAAQE/1H8mennkrfA/s1600-h/gui.jpg"><img id="BLOGGER_PHOTO_ID_5131790744367652418" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/RzfIfhur3kI/AAAAAAAAAQE/1H8mennkrfA/s320/gui.jpg" border="0" alt="" /></a></p>
<p>As you can see the RSG does not show up</p>
<p>but if we do a get-storgegroup fl our new RSG will be shown</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RzfJTRur3lI/AAAAAAAAAQM/UN35FL0hojw/s1600-h/get-storagegroup.jpg"><img id="BLOGGER_PHOTO_ID_5131791633425882706" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/RzfJTRur3lI/AAAAAAAAAQM/UN35FL0hojw/s320/get-storagegroup.jpg" border="0" alt="" /></a></p>
<p>notice the recovery option is set to true</p>
<p>Now that we have created an RSG we need to add the database we want to recover</p>
<p><span style="color:#33ff33;">new-mailboxdatabase -mailboxdatabasetorecover &#8220;Mailbox Database&#8221; -storagegroup Vmmbx1\ExchangeGenie -edbfilepath &#8220;D:\RSG\Data\mailbox database.edb&#8221;</span><br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-GKxauEFI/AAAAAAAAARs/E8hSC6fk4lY/s1600-h/newdb.jpg"><img id="BLOGGER_PHOTO_ID_5133969619847876690" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-GKxauEFI/AAAAAAAAARs/E8hSC6fk4lY/s320/newdb.jpg" border="0" alt="" /></a></p>
<p>We do not need to set this database can be overwritten since that is enabled by default.</p>
<p>Now that we have created our RSG and added the appropriate database to the RSG we now have to restore the data from backup.</p>
<p>1. Launch NTBackup<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-HRxauEGI/AAAAAAAAAR0/bAP-6Dgk1xM/s1600-h/restore1.jpg"><img id="BLOGGER_PHOTO_ID_5133970839618588770" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-HRxauEGI/AAAAAAAAAR0/bAP-6Dgk1xM/s320/restore1.jpg" border="0" alt="" /></a></p>
<p>2. Click Next<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-HbRauEHI/AAAAAAAAAR8/gw5YsHmuOSw/s1600-h/restore2.jpg"><img id="BLOGGER_PHOTO_ID_5133971002827346034" style="CURSOR: hand" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-HbRauEHI/AAAAAAAAAR8/gw5YsHmuOSw/s320/restore2.jpg" border="0" alt="" /></a></p>
<p>3. Select the backup we want to restore<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-HnhauEII/AAAAAAAAASE/F0YemMg9hyc/s1600-h/restore3.jpg"><img id="BLOGGER_PHOTO_ID_5133971213280743554" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-HnhauEII/AAAAAAAAASE/F0YemMg9hyc/s320/restore3.jpg" border="0" alt="" /></a></p>
<p>4. input a temp location for the patch file and <span style="color:#33ff33;">Check &#8220;Last Restore&#8221;</span></p>
<p><span style="color:#33ff33;">**since this is a full backup and no other logs are to be restored the last restore check box is marked&#8221;***</span><br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-IFhauEJI/AAAAAAAAASM/vg3k0aNpDOw/s1600-h/restore4.jpg"><img id="BLOGGER_PHOTO_ID_5133971728676819090" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-IFhauEJI/AAAAAAAAASM/vg3k0aNpDOw/s320/restore4.jpg" border="0" alt="" /></a></p>
<p>5. Click Next to start the restore<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-IuhauEKI/AAAAAAAAASU/u8hzpFVLQQk/s1600-h/restore5.jpg"><img id="BLOGGER_PHOTO_ID_5133972433051455650" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-IuhauEKI/AAAAAAAAASU/u8hzpFVLQQk/s320/restore5.jpg" border="0" alt="" /></a></p>
<p>6. Click close after the restore completes<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-IxhauELI/AAAAAAAAASc/HgRhua_fJzI/s1600-h/restore6.jpg"><img id="BLOGGER_PHOTO_ID_5133972484591063218" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-IxhauELI/AAAAAAAAASc/HgRhua_fJzI/s320/restore6.jpg" border="0" alt="" /></a></p>
<p>You can see we now have data restored to our recovery database location.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-I1RauEMI/AAAAAAAAASk/c9rIHoLGnQQ/s1600-h/restore7jpg.jpg"><img id="BLOGGER_PHOTO_ID_5133972549015572674" style="CURSOR: hand" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-I1RauEMI/AAAAAAAAASk/c9rIHoLGnQQ/s320/restore7jpg.jpg" border="0" alt="" /></a></p>
<p>Now that the data has been restored from our backup we need to mount the recovery database</p>
<p><span style="color:#33ff33;">mount-database -identity &#8216;vmmbx1\exchangegenie\mailbox database&#8217;</span><br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-J8hauENI/AAAAAAAAASs/Gq7XCCe3ZrA/s1600-h/mountretoreddb.jpg"><img id="BLOGGER_PHOTO_ID_5133973773081252050" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-J8hauENI/AAAAAAAAASs/Gq7XCCe3ZrA/s320/mountretoreddb.jpg" border="0" alt="" /></a></p>
<p>Now that we have created our RSG, added a recovery database, and restored our data from backup we can now recover data to our users mailbox.</p>
<p>I will perform 3 different recoveries</p>
<p>1. Merge data back into a users mailbox<br />
2. Merge data back into a sub folder in the users mailbox<br />
3. Merge data to another users mailbox into a subfolder</p>
<p><strong>Merge Data back to the original location </strong></p>
<p>The following command will merge the data from our recovery database back to the original live mailbox.</p>
<p><span style="color:#33ff33;">Restore-Mailbox -id &#8216;Jodie Bartos&#8217; -RSGDatabase &#8216;ExchangeGenie\Mailbox Database&#8217;</span></p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-L3xauEOI/AAAAAAAAAS0/cDV8oQJ8ars/s1600-h/merge.jpg"><img id="BLOGGER_PHOTO_ID_5133975890500128994" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-L3xauEOI/AAAAAAAAAS0/cDV8oQJ8ars/s320/merge.jpg" border="0" alt="" /></a></p>
<div>
<div>You can see that all our messages have been brought back to the original location<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-MsBauEPI/AAAAAAAAAS8/dlR1NEaODDc/s1600-h/restoredtoinbox.jpg"><img id="BLOGGER_PHOTO_ID_5133976788148293874" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-MsBauEPI/AAAAAAAAAS8/dlR1NEaODDc/s320/restoredtoinbox.jpg" border="0" alt="" /></a></div>
<p><strong>Merge data into a sub folder in a users mailbox</strong><br />
<strong></strong><br />
<span style="color:#33ff33;">Restore-Mailbox -RSGMailbox &#8216;Jodie Bartos&#8217; -RSGDatabase &#8216;ExchangeGenie\Mailbox Database&#8217; -id &#8216;Jodie.Bartos&#8217; -targetfolder &#8216;RestoredMail&#8217;</span><br />
<strong><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-NjhauERI/AAAAAAAAATM/mCamPvgeuUA/s1600-h/restoredata1.jpg"><img id="BLOGGER_PHOTO_ID_5133977741631033618" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-NjhauERI/AAAAAAAAATM/mCamPvgeuUA/s320/restoredata1.jpg" border="0" alt="" /></a></strong><br />
<strong></strong></p>
<p>You can see we have a new folder called RestoredMail which has a copy of the user inbox</p>
<div><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-NPRauEQI/AAAAAAAAATE/dNxAwuHzFlw/s1600-h/restoredentirembxtosub.jpg"><img id="BLOGGER_PHOTO_ID_5133977393738682626" style="CURSOR: hand" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-NPRauEQI/AAAAAAAAATE/dNxAwuHzFlw/s320/restoredentirembxtosub.jpg" border="0" alt="" /></a></div>
<div><strong></strong></div>
<div><strong>Merge data to another users mailbox into a subfolder<br />
</strong><span style="color:#33ff33;">Restore-Mailbox -RSGMailbo &#8216;Jodie Bartos&#8217; -RSGDatabase &#8216;ExchangeGenie\Mailbox Database&#8217; -id &#8216;Brian.Tirch&#8217;-targetfolder &#8216;JodiesMbx&#8217;</span></div>
<div><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-O5BauESI/AAAAAAAAATU/CX4M5cnNtdY/s1600-h/restoretoalmbx.jpg"><img id="BLOGGER_PHOTO_ID_5133979210509848866" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/Rz-O5BauESI/AAAAAAAAATU/CX4M5cnNtdY/s320/restoretoalmbx.jpg" border="0" alt="" /></a></div>
<div>You can see my mailbox now has a subfolder called JodiesMbx with a copy of all her data<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-PSRauETI/AAAAAAAAATc/oWLPRU2GHlk/s1600-h/mybmxwithherdata.jpg"><img id="BLOGGER_PHOTO_ID_5133979644301545778" style="CURSOR: hand" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/Rz-PSRauETI/AAAAAAAAATc/oWLPRU2GHlk/s320/mybmxwithherdata.jpg" border="0" alt="" /></a></div>
<div>There are a number of recovery options that I did not mention in this blog i.e datarate,keywords, etc&#8230; that allow a more flexable recovery</div>
<div>After we completed our recover we need to remove the RSG, this is an item that you should not keep unless you are utilizing it.</div>
<div>First we need to dismount the database</div>
<div><span style="color:#33ff33;">Dismount-database -identity &#8216;vmmbx1\exchangegenie\mailbox database&#8217;</span><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-QXhauEUI/AAAAAAAAATk/DivjrfUQJFA/s1600-h/dismountdb.jpg"><img id="BLOGGER_PHOTO_ID_5133980834007486786" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-QXhauEUI/AAAAAAAAATk/DivjrfUQJFA/s320/dismountdb.jpg" border="0" alt="" /></a></div>
<div>Now that we have dismounted the database we need to remove it</div>
<div><span style="color:#33ff33;">Remove-MailboxDatabase -identity &#8216;vmmbx1\ExchangeGenie\Mailbox Database&#8217;</span><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-Q0xauEVI/AAAAAAAAATs/1OjWveoAtlE/s1600-h/removedb.jpg"><img id="BLOGGER_PHOTO_ID_5133981336518660434" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-Q0xauEVI/AAAAAAAAATs/1OjWveoAtlE/s320/removedb.jpg" border="0" alt="" /></a></div>
<div><span style="color:#ff0000;">**Note this will not delete the files from the drive, you must manually delete the restored database ***</span></div>
<div>The last step we need to remove the Recovery Storage Group</div>
<div><span style="color:#33ff33;">Remove-StorageGroup -identity &#8216;Vmmbx1\ExchangeGenie&#8217;</span><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-RMhauEWI/AAAAAAAAAT0/YMzEJOBoElY/s1600-h/removersg.jpg"><img id="BLOGGER_PHOTO_ID_5133981744540553570" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/Rz-RMhauEWI/AAAAAAAAAT0/YMzEJOBoElY/s320/removersg.jpg" border="0" alt="" /></a></div>
<div>To validate our RSG is gone we need to use the <span style="color:#33ff33;">Get-StorageGroup</span> command</div>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-RmxauEXI/AAAAAAAAAT8/41scwiUXnJ8/s1600-h/validatesggone.jpg"><img id="BLOGGER_PHOTO_ID_5133982195512119666" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/Rz-RmxauEXI/AAAAAAAAAT8/41scwiUXnJ8/s320/validatesggone.jpg" border="0" alt="" /></a></div>
<p><span id="more-24"></span><!--f6eaf4466dcd7b16a1ef2d5370b3c5e341241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/sight.html>sight next movie</a></td>
<td><a href=http://paff.org/gal/movies/barbie-fairytopia.html>barbie fairytopia movie trivia</a></td>
<td><a href=http://paff.org/gal/movies/small-town-folk.html>small town folk the avengers movie</a></td>
<td><a href=http://paff.org/gal/movies/creepshow-2.html>creepshow 2 movie poster</a></td>
<td><a href=http://paff.org/gal/movies/stone-cold.html>stone cold house movie</a></td>
<td><a href=http://paff.org/gal/movies/babylon-ad.html>babylon ad bunny movie</a></td>
<td><a href=http://paff.org/gal/movies/tracey-fragments-the.html>tracey fragments the closer movie</a></td>
<td><a href=http://paff.org/gal/movies/shutter.html>shutter online movie</a></td>
<td><a href=http://paff.org/gal/movies/mr-hobbs-takes-a-vacation.html>mr hobbs takes a vacation movie making</a></td>
<td><a href=http://paff.org/gal/movies/chop-shop.html>chop shop movie summary</a></td>
<td></td>
</tr>
</table>
<p><!--/f6eaf4466dcd7b16a1ef2d5370b3c5e341241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2007/11/exchange-2007-recovery-storage-group/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>
