<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Dale Hardin</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/dhardin/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/dhardin/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 06:03:39 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Seeding a DAG Database Copy Across Sites Fails Due to DAG Network Configuration</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/seeding-a-dag-database-copy-across-sites-fails-due-to-dag-network-configuration</link>
      <pubDate>Tue, 31 Aug 2010 16:03:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2010/08/31/seeding-a-dag-database-copy-across-sites-fails-due-to-dag-network-configuration/</guid>
      <description><![CDATA[I want to clear up some confusion around Database Availability Group ("DAG")&nbsp;Network...]]></description>
      <content:encoded><![CDATA[<p>I want to clear up some confusion around Database Availability Group ("DAG")&nbsp;Network configuration that seems to be fairly widespread.&nbsp; When you create a new DAG with&nbsp;<strong>New-DatabaseAvailabilityGroup</strong>, Exchange will automatically create DAG networks based on the subnets that exist on the network cards of the DAG members.&nbsp; This works fine as long as you don't want to specify one network specifically for MAPI and one for replication, and as long as all your servers are in the same subnet.&nbsp; To read more about how to specify networks for replication, see this link:&nbsp; <a href="https://technet.microsoft.com/en-us/library/dd297927.aspx">https://technet.microsoft.com/en-us/library/dd297927.aspx</a>.</p>
<p>In this article I want to talk about what happens when you let Exchange auto-create the DAG networks and you have DAG members in different subnets.&nbsp; For example, suppose we have a two-node DAG stretched across two AD sites in different subnets.&nbsp; After we create the DAG and add the two member servers, the network configuration will look something like this:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/76/13/6835.Get-DAGNetwork-Before.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/900x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-76-13/6835.Get_2D00_DAGNetwork_2D00_Before.JPG" border="0" /></p>
<p>As you can see, we have one DAG network for each subnet.&nbsp; Now let's assume you want to specify the 10.0.x.x networks for replication.&nbsp; You would use the <strong>Set-DatabaseAvailabilityGroupNetwork</strong> cmdlet with the <strong>-ReplicationEnabled:$false</strong> parameter to disable replication on the "DAGNetwork01" and "DAGNetwork02" networks, which are on the 192.168.x.x subnets.</p>
<p>All done, right?&nbsp; We now have replication set to use the 10.0.x.x networks and MAPI should be using 192.168.x.x.&nbsp; We confirm that all routing is setup properly, so that there is no "crosstalk" between the networks.&nbsp; (For example, the 10.0.2.0 network can't route traffic to the 192.168.1.0 network - only to 10.0.1.0).&nbsp; However, now a new problem crops up.&nbsp; When we try to seed a Mailbox Database Copy specifying either replication network, it fails with an error:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/76/13/0724.Update-MDbCopy.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/1100x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-76-13/0724.Update_2D00_MDbCopy.JPG" border="0" /></p>
<p>Notice the error message - <strong>"No available network interfaces exist."</strong>&nbsp; What's happening here is that both nodes are trying to use network "DAGNetwork02" and that network only exists on one of the nodes.&nbsp; DAGNetwork02 refers to the 10.0.1.0/24 subnet, which only exists on one node.&nbsp; When the other node tries to use that network, it fails because it has no network interfaces on that subnet.&nbsp; This is why the cmdlet fails with the same error no matter which network you specify.&nbsp; As you might suspect, this means that seeding this way between DAG members in the same subnet will succeed, because they will each have a NIC on the specified subnet.</p>
<p>Now, the fix for this is really simple.&nbsp; We just need to "collapse" the networks so they are grouped by their purpose.&nbsp; We will create one new network for MAPI access and one for Replication use, specifying the networks for each purpose.&nbsp; Here are the cmdlets I ran in my test lab:</p>
<p><strong>New-DatabaseAvailabilityGroupNetwork -DatabaseAvailabilityGroup DAG1 -Name MAPI -Subnets 192.168.1.0/24,192.168.2.0/24 -ReplicationEnabled:$false</strong></p>
<p><strong>New-DatabaseAvailabilityGroupNetwork -DatabaseAvailabilityGroup DAG1 -Name&nbsp;Replication -Subnets 10.0.1.0/24,10.0.2.0/24</strong></p>
<p>Now if we run Get-DatabaseAvailabilityGroupNetwork for the DAG, we see the new networks have been added and the subnets have moved to them:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/76/13/7558.Get-DAGNetwork-Interim.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/900x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-76-13/7558.Get_2D00_DAGNetwork_2D00_Interim.JPG" border="0" /></p>
<p>&nbsp;We still need to remove the auto-generated DAG networks, so we can do that with this cmdlet:</p>
<p><strong>Get-DatabaseAvailabilityGroupNetwork DAG1\DAGNetwork* | Remove-DatabaseAvailabilityGroupNetwork</strong></p>
<p>After confirming each deletion, the output of Get-DatabaseAvailabilityGroupNetwork looks like this:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/76/13/6685.Get-DAGNetwork-After.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/900x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-76-13/6685.Get_2D00_DAGNetwork_2D00_After.JPG" border="0" /></p>
<p>If we retry seeding, specifying the "DAG1\Replication" network now, it succeeds:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/76/13/3782.SeedSuccess.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/1100x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-76-13/3782.SeedSuccess.JPG" border="0" /></p>
<p>The purpose of this article is really to make you aware that you must perform some manual configuration of your networks when you have a DAG with members in different subnets.&nbsp; This should be a fairly common scenario as more enterprises deploy Exchange 2010, but is easy to miss or misunderstand.&nbsp; I hope this is helpful to you in your deployment.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Removing Share Permissions for the 'Everyone' Group on Exchange Servers</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/removing-share-permissions-for-the-everyone-group-on-exchange-servers</link>
      <pubDate>Tue, 31 Aug 2010 16:00:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2010/08/31/removing-share-permissions-for-the-everyone-group-on-exchange-servers/</guid>
      <description><![CDATA[Occasionally we will be asked by customers about two shares that are created by default on Exchange...]]></description>
      <content:encoded><![CDATA[<p>Occasionally we will be asked by customers about two shares that are created by default on Exchange mailbox servers.&nbsp; The share names are <strong>Resources$ </strong>and <strong>Address</strong>, but their file system location varies depending on the version of Exchange the server is running.&nbsp; In all cases, the Everyone group has been granted no NTFS permissions&nbsp;to the folder that is being shared.&nbsp; Instead, the Authenticated Users group has Read permission to the folder, so effectively 'Everyone' cannot access the folder via the share - they must be authenticated.&nbsp; Moreover, the data contained in these shares is basically worthless to anyone who could access them.&nbsp; The&nbsp;<strong>Address</strong> share contains DLLs that third parties use to generate proxy addresses, while the&nbsp;<strong>Resources$</strong> share provides event logging information.&nbsp; Neither of these is likely to be useful to someone with malicious intent, even if they can reach them.</p>
<p>Here's a look at the <strong>Address</strong> share and the Everyone group's permissions on an Exchange 2010 server:</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/76/13/6763.EveryonePerms.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-76-13/6763.EveryonePerms.JPG" border="0" /></p>
<p>These shares go back to at least Exchange 4.0 and persist today in Exchange 2007.&nbsp; In Exchange 2010 the Resources$ share is gone, but the Address share still exists.&nbsp; This is apparently simply because no one has taken the time to remove them from the code.&nbsp; The product group has not altered them in many years and has no current plans to do so.</p>
<p>This question usually comes from&nbsp;oganizations who have a security directive that mandates that permissions cannot be granted to the Everyone group.&nbsp;&nbsp;To&nbsp;minimize your risk, you should&nbsp;be safe to remove the permissions&nbsp;for the Everyone group&nbsp;from the shares and grant Read permissions to the<strong> Authenticated Users&nbsp;</strong>group instead.&nbsp; This will not change the effective permissions and will also satisfy your audit requirements.&nbsp; This should also allow any 3rd party applications that access these shares to continue working.</p>
<p>This permissions change has not been tested and likely will not be tested by the Exchange product group, so I make no warranty that you will not have issues by doing so, but I find it extremely unlikely that you will.&nbsp; Best of luck!</p>]]></content:encoded>
    </item>
    <item>
      <title>Public Folder Databases Will Not Mount on CCR Failover</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/public-folder-databases-will-not-mount-on-ccr-failover</link>
      <pubDate>Fri, 02 Apr 2010 07:48:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2010/04/02/public-folder-databases-will-not-mount-on-ccr-failover/</guid>
      <description><![CDATA[I recently worked on a case regarding an issue with Public Folder databases on an Exchange...]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">I recently worked on a case regarding an issue with Public Folder databases on an Exchange 2007&nbsp;Cluster Continuous Replication (CCR) cluster.&nbsp; This is pretty well documented, but seems to be either misunderstood or simply unknown to many Exchange admins.&nbsp; In short, here is our support stance (from <A href="https://technet.microsoft.com/en-us/library/bb123996(EXCHG.80).aspx" mce_href="https://technet.microsoft.com/en-us/library/bb123996(EXCHG.80).aspx">https://technet.microsoft.com/en-us/library/bb123996(EXCHG.80).aspx</A>):<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P><EM><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">CCR and public folder replication are two very different forms of replication built into Exchange. Due to interoperability limitations between continuous replication and public folder replication, if more than one Mailbox server in the Exchange organization has a public folder database, public folder replication is enabled and public folder databases should not be hosted in CCR environments.</SPAN></EM><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"><o:p></o:p></SPAN></P>
<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; FONT-SIZE: 11pt; mso-bidi-theme-font: minor-latin; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">I wanted to take a few minutes to explain what can happen if you have a public folder database on a CCR cluster <B style="mso-bidi-font-weight: normal"><U>and</U></B> you replicate it to another public folder server in your organization.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Keep in mind that if you have a public folder database on CCR and another public folder database in your environment, you will always be replicating between the two, even if you don't add replicas of your folders.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This is because the folder hierarchy of your public folder tree is replicated to all servers, even if the content of your data is not.<o:p></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 10pt" class=MsoNormal><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><FONT size=3><FONT face=Calibri>The issues you will run into will occur when there is an unexpected failover of your CCR.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>There are three possible scenarios for CCR failover in regards to public stores mounting:<o:p></o:p></FONT></FONT></SPAN></P>
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpFirst><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri><STRONG>1.</STRONG></FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3><FONT face=Calibri><B style="mso-bidi-font-weight: normal">Scheduled Failover.</B><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>If you move the CMS to the passive node via the GUI or via the Move-ClusteredMailboxServer command (and the Storage Groups are Healthy at the time), the public folder store will come online successfully.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This is assuming that there are no logs lost during the failover.</FONT></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>2.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><FONT size=3><FONT face=Calibri><B style="mso-bidi-font-weight: normal">Unscheduled Failover with no data loss.</B><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>In this scenario, the active node of the CCR goes down unexpectedly and the CMS fails over to the passive node automatically.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The public folder store will not mount in this scenario until the former active node is brought back online and all the logs for the storage group are available.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Once the first node is back online, you should be able to run Restore-StorageGroupCopy on the second node (now active) and then mount the Public Folder store.<B style="mso-bidi-font-weight: normal"><o:p></o:p></B></FONT></FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto" class=MsoListParagraphCxSpLast><B style="mso-bidi-font-weight: normal"><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>3.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><FONT face=Calibri><FONT size=3><B style="mso-bidi-font-weight: normal">Unscheduled Failover with data loss.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></B>This scenario is the same as #2, except in this case either the original active node is unrecoverable or its log data is lost due to disk corruption, etc.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Unfortunately, in this situation, you will not be able to mount the public folder store at all.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>When the failover occurs, the following event will be logged on the newly active node when it attempts to mount the public folder database:<B style="mso-bidi-font-weight: normal"><o:p></o:p></B></FONT></FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Log Name:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Application<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Source:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>MSExchangeRepl<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Date:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>4/2/2010 9:50:28 AM<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Event ID:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>2094<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Task Category: Action<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Level:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Warning<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Keywords:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Classic<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>User:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>N/A<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Computer:<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>CCRnode2.contoso.com<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Description:<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Clustered Mailbox Server: CMS1<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Physical Server: CCRnode2<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Storage group CMS1\PF contains a public folder database that will not be automatically mounted because there was data loss.<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>*The last log generated before the Move-ClusteredMailboxServer operation or failover was: 0<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>* The last log successfully replicated to the passive node was: 0<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><FONT face=Calibri><FONT size=3>Attempts to copy to the last logs from the active node were not successful. Error code: The directory name \\CCRnode1\f4ce3b2b-b512-412b-ba09-131ed76090b1$ is invalid.<o:p></o:p></FONT></FONT></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><I style="mso-bidi-font-style: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></I></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>If you then attempt to mount the database manually from Exchange Management Shell, the following error will be returned:</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>[PS] C:\&gt;mount-database pf<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>Mount-Database : Failed to mount database 'CMS1.contoso.com\pf' after a lossy failover occurred because of the current setting for AutoDatabaseMountDial. You must run Restore-StorageGroupCopy before you can mount the database.<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><FONT face=Calibri><FONT size=3>This sounds logical, so let’s just run Restore-StorageGroupCopy as directed.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>We’ll even add the –force switch since the source is not available.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Now we get:<o:p></o:p></FONT></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>[PS] C:\&gt;Restore-StorageGroupCopy pf -force<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'"><FONT size=3>Restore-StorageGroupCopy : Invalid operation for Restore-StorageGroupCopy. Reason: The specified storage group (PF) cannot be restored. The database will remain dismounted because it is a public folder database and public folder replication is enabled.<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><FONT size=3><FONT face=Calibri>So now you can see that we cannot mount the database under any circumstances.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The only option at this point is to create a new storage group and public folder store on the CCR cluster.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>To repopulate the database you could then either use public folder replication, or swap the original .edb file with the one for the new database.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>As you can imagine, this is a lot of trouble to go through in the case of a single server failure.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-theme-font: minor-latin; mso-bidi-font-family: Calibri"><FONT size=3><FONT face=Calibri>The good news is that none of this occurs if you’re not doing public folder replication.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This is why the guidance is to either (A) Create only one public folder store for your <I style="mso-bidi-font-style: normal">entire organization</I> on the CCR cluster or (B) House your public folder stores on non-clustered mailbox servers and enable public folder replication.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Either one is a valid scenario, and either one will give you redundancy.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The big questions to answer are whether your CCR can handle the user load from all your public folder users and also whether your users are geographically dispersed and need a local public folder server.<o:p></o:p></FONT></FONT></SPAN></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Exchange Management Console Requires Access to a Forest Root Domain Controller</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/exchange-management-console-requires-access-to-a-forest-root-domain-controller</link>
      <pubDate>Wed, 30 Dec 2009 07:38:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/12/30/exchange-management-console-requires-access-to-a-forest-root-domain-controller/</guid>
      <description><![CDATA[In an effort to secure their environments, many customers implement firewalls between various...]]></description>
      <content:encoded><![CDATA[<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>In an effort to secure their environments, many customers implement firewalls between various internal subnets.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This can cause issues for Exchange 2007 if certain ports are blocked.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>For more detail on ports required by Exchange 2007, see the Data Path Security Reference article here:</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><A href="https://technet.microsoft.com/en-us/library/bb331973(EXCHG.80).aspx" mce_href="https://technet.microsoft.com/en-us/library/bb331973(EXCHG.80).aspx"><FONT size=3 face=Calibri>https://technet.microsoft.com/en-us/library/bb331973(EXCHG.80).aspx</FONT></A></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>A scenario that comes up less frequently is what to do in the case of a parent/child domain structure.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Aside from any Active Directory concerns, Exchange must have network access to domain controllers in the root domain of the forest.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This includes any Exchange tools being run from remote workstations.</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Recently, we encountered a case where a customer had restricted network access from a client network so that they only had access to servers in a child domain of the forest.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Exchange was installed on servers in the child domain, so most functions worked appropriately.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The issue we found was in performing certain operations from the Exchange Management Console (“EMC”) from the clients that had no access to the root domain.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Certain functions in the EMC attempt to perform a connectionless LDAP (CLDAP) request to a domain controller in the forest root.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This is different from the Exchange Management Shell (“Shell”), which will connect to a local DC or GC (even in the child domain) to process its requests.</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Here is an example from a </FONT><A href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=983b941d-06cb-4658-b7f6-3088333d062f" mce_href="https://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=983b941d-06cb-4658-b7f6-3088333d062f"><FONT size=3 face=Calibri>NetMon</FONT></A><FONT size=3 face=Calibri> capture I&nbsp;took while trying to create a mailbox from the EMC:</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>118&nbsp; 1.546875&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLDAP&nbsp;&nbsp; searchRequest(1856) "&lt;ROOT&gt;" baseObject <o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>130&nbsp; 1.546875&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLDAP&nbsp;&nbsp; searchRequest(1857) "&lt;ROOT&gt;" baseObject <o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>142&nbsp; 1.546875&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLDAP&nbsp;&nbsp; searchRequest(1858) "&lt;ROOT&gt;" baseObject <o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>150&nbsp; 1.546875&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.10.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLDAP&nbsp;&nbsp; searchRequest(1859) "&lt;ROOT&gt;" baseObject <o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>In my test, 192.168.12.2 is the client machine running the EMC and 192.168.10.2 is a domain controller in the forest root.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Since we never get a response from the DC, the operation eventually times out and fails.</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Contrast this with a capture taken while doing the same thing (creating a mailbox) via the Shell: </FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.11.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDAP&nbsp;&nbsp;&nbsp;&nbsp; alta-smp &gt; ldap [PSH, ACK] Seq=1 Ack=1 Win=65535 Len=350| searchRequest(43) "&lt;ROOT&gt;" baseObject <o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.11.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TCP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [TCP segment of a reassembled PDU]<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 9pt"><FONT face=Calibri>8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.11.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 192.168.12.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LDAP&nbsp;&nbsp;&nbsp;&nbsp; searchResEntry(43) "&lt;ROOT&gt;" <o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>In this case, the Shell automatically selected a specific DC in the child domain (192.168.11.2), which is in a network that is accessible to the client.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>You will also note that we used LDAP to connect, meaning a TCP session is established, whereas CLDAP would create a UDP session.</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>So, basically, this is just a difference in our code from the Shell to the EMC.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Another example you’ll see is when you try to specify a Configuration Domain Controller from the EMC versus the Shell.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>To set it in the Shell, you would simply use this cmdlet:</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><FONT size=3 face=Calibri>$AdminSessionADSettings.ConfigurationDomainController = ‘server.domain.com’</FONT></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>From the Exchange Management Console, you must browse for a DC instead of specifying one:</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3303093.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3303093.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/30/30/93/Browse.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3303093/original.aspx"></A></FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Once you click the “Browse” button, EMC queries for the _ldap SRV record in the root domain and attempts to make a CLDAP connection to it, so you will see the same type of traffic in the trace as the one listed above.</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>The bottom line is that Exchange servers and any computers running the Exchange management tools <U>must</U> have network access to domain controllers and global catalogs in the root domain of the forest.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>If you must restrict network traffic, you should place a GC from the root domain in the local subnet that is being restricted.</FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>VSS backup using Windows Server Backup on Exchange Server 2007 SP2 fails when LCR or SCR is enabled</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/vss-backup-using-windows-server-backup-on-exchange-server-2007-sp2-fails-when-lcr-or-scr-is-enabled</link>
      <pubDate>Wed, 21 Oct 2009 13:31:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/10/21/vss-backup-using-windows-server-backup-on-exchange-server-2007-sp2-fails-when-lcr-or-scr-is-enabled/</guid>
      <description><![CDATA[Exchange 2007 Service Pack 2 introduces the ability to take Exchange-aware, VSS backups on Windows...]]></description>
      <content:encoded><![CDATA[<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>Exchange 2007 Service Pack 2 introduces the ability to take Exchange-aware, VSS backups on Windows Server 2008.&nbsp; This is via a plug-in to the Windows Server Backup tool that is native to the operating system.&nbsp; For those who are not aware of this functionality, you can read more about it here:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT face=Calibri><B><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin">Using Windows Server Backup to Back Up and Restore Exchange Data</SPAN></B><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><o:p></o:p></SPAN></FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><A href="https://technet.microsoft.com/en-us/library/ee221172.aspx"><SPAN style="COLOR: blue"><FONT face=Calibri>https://technet.microsoft.com/en-us/library/ee221172.aspx</FONT></SPAN></A><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>Notice the last bullet point on this page, though:<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>"The plug-in does not support the Exchange Replica VSS Writer that is part of the Replication service. As a result, you cannot use Windows Server Backup to backup passive copies of storage groups."<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>Your first thought in reading this may be simply that you cannot backup the passive node of a Cluster Continuous Replication (CCR)&nbsp;cluster with Windows Server Backup.&nbsp; However, this also applies to standalone servers that are Standby Continuous Replication (SCR) targets or that have&nbsp;Local Continuous Replication (LCR) enabled.&nbsp;&nbsp;When Windows Server Backup processes a backup of a server with LCR or SCR enabled, it calls the&nbsp;VSS Writer from the Replication service instead of the VSS Writer from the Information Store service.&nbsp; Since Windows Server Backup was not designed or tested for use with the Replication Service, the Exchange-aware portion of the backup fails.<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>The backup will complete, but you will see this error in the status window of the backup job:<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/28/68/43/WSBError.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3286843/original.aspx" target=_blank><SPAN style="COLOR: blue; FONT-SIZE: 12pt; TEXT-DECORATION: none; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-no-proof: yes; text-underline: none"><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype></SPAN></A><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3286843.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3286843.aspx" target=_blank></A><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3286843.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3286843.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/28/68/43/WSBError.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3286843/original.aspx"></A>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>The following error event will be logged in the Application Log:<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'"><FONT size=3>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<BR>Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft-Windows-Backup<BR>Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10/14/2009 8:44:53 AM<BR>Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 565<BR>Task Category: None<BR>Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<BR>Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYSTEM<BR>Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server1.domain.com<BR>Description:<BR>Consistency check for component '1a0a0e79-76ce-4985-aa99-35f5018b0ed7'\'Microsoft Exchange Server\Microsoft Information Store\SERVER1' failed. Application 'Exchange' will not be avaliable in the backup done at time '10/14/2009 8:44:42 AM'<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><FONT face=Calibri><B><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin">RESOLUTION</SPAN></B><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><o:p></o:p></SPAN></FONT></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>In order to take an online Exchange-aware backup of a server using LCR or serving as an SCR target you must disable the Replica VSS Writer used by LCR.&nbsp; To do so, follow these steps:<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>1.&nbsp; Open Registry Editor and browse to the <B>HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Replay\Parameters</B> registry key.<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>2.&nbsp; Add a new DWORD value named <B>EnableVSSWriter</B> and set the value to <B>0 </B>(zero).<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>3.&nbsp; Restart the <B>Microsoft Exchange Replication Service</B>.<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"><FONT face=Calibri>This will allow Windows Server Backup to use the Microsoft Exchange Information Store service's VSS Writer to perform the backup.&nbsp; You can confirm that the backup was successful by starting the Recovery Wizard in Windows Server Backup&nbsp;and verifying that you are able to select the <B>Exchange</B> application for recovery.<o:p></o:p></FONT></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Simplifying the Dial Tone Database Recovery Process in Exchange 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/simplifying-the-dial-tone-database-recovery-process-in-exchange-2007</link>
      <pubDate>Tue, 25 Aug 2009 15:16:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/08/25/simplifying-the-dial-tone-database-recovery-process-in-exchange-2007/</guid>
      <description><![CDATA[For a while now, I have wanted to write a post on how to do a recovery in Exchange 2007 using a dial...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><FONT size=3><FONT face=Calibri>For a while now, I have wanted to write a post on how to do a recovery in Exchange 2007 using a dial tone database and a Recovery Storage Group.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>There is some existing documentation on this, but I haven’t found anything that walks you through the entire process in detail.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I also prefer to do this from the Exchange Management Shell (EMS), rather than using the Database Recovery Management tool in the Exchange Management Console’s (EMC’s) Toolbox, as I think the shell is simpler and quicker.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><FONT size=3><FONT face=Calibri>Just to clarify what a dial tone database is, this is a blank database you create to allow your users to send and receive new e-mails while a failed database is being recovered.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>To create it, you simply move or rename the original database file (with a .edb extension) and then mount the database from EMC or EMS.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>When the Information Store fails to find the .edb file in the specified location, you will be prompted to create a blank database.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>If you agree, the dial tone database will be created. <o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><FONT size=3><FONT face=Calibri>For purposes of these instructions, let’s assume you have already created the dial tone database and are ready to restore the failed database from backup.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=3><FONT face=Calibri>Create the Recovery Storage Group<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><FONT size=3><FONT face=Calibri>To create the Recovery Storage Group,use the New-StorageGroup cmdlet, as follows:</FONT></FONT></SPAN><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-no-proof: yes"><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3276810.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3276810.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/picture3276810.aspx"></A><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/10/New-StorageGroup.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276810/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276810/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/10/New-StorageGroup.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276810/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276810/original.aspx"></A></SPAN><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><FONT size=3><FONT face=Calibri>Note that we had to specify the Name of the storage group, as well as the path.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The system folder path contains the checkpoint file and the log folder path contains the transaction logs for the storage group.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>I recommend making both the same.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The <B>–Recovery</B> parameter is necessary to make this storage group a Recovery Storage Group.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=3 face=Calibri>Create the RSG database</FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Now, we must add the database that we are going to recover.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Similar to creating the RSG itself, this is done by using the same cmdlet used to create a normal database, with an additional switch:</FONT><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-no-proof: yes"></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/09/New-MailboxDatabase.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276809/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276809/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/09/New-MailboxDatabase.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276809/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276809/original.aspx"></A>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><FONT size=3><FONT face=Calibri>The <B>-MailboxDatabaseToRecover</B> parameter specifies the database we are restoring.<o:p></o:p></FONT></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-bidi-font-weight: bold"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B><FONT size=3><FONT face=Calibri>Allow the database to be restored from backup<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>This should be set automatically when the database is added to the RSG, but just to be safe, I always run the cmdlet:</FONT><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-no-proof: yes"></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/14/Set-MailboxDatabase.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276814/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276814/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/14/Set-MailboxDatabase.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276814/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276814/original.aspx"></A></FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><o:p><FONT size=3 face=Calibri></FONT></o:p></B>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Restore the database<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>You are now ready to proceed with restoring your database from backup.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Steps here will vary, depending on your software.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Once the restore is complete, you may choose to mount the database in the Recovery Storage Group:</FONT><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-no-proof: yes"></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/08/Mount-Database.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276808/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276808/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/08/Mount-Database.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276808/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276808/original.aspx"></A>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Once the RSG database is mounted, you can use Get-MailboxStatistics to confirm that the databases are present in this database (this information will not be listed by the Get-Mailbox cmdlet):</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/07/Get-MailboxStatistics.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276807/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276807/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/07/Get-MailboxStatistics.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276807/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276807/original.aspx"></A>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><o:p><FONT size=3 face=Calibri></FONT></o:p></B>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Swap the databases<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Dismount the dial tone database and the RSG database using the <B style="mso-bidi-font-weight: normal">Dismount-Database</B> cmdlet, then swap the RSG database with the dial tone database by moving the files via Windows Explorer.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>When you’re finished, the dial tone database will be in the RSG folder and the recovered database will be in the production folder that the dial tone database was previously in.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Your users will now have access to their old mail, but the newly received mail will be unavailable to them, since the database containing it is now in the Recovery Storage Group.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>We do this swap so that when we merge the data from the two databases, the process will take the minimum amount of time.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Merge the databases<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Of course, we have to mount the databases first, using the <B style="mso-bidi-font-weight: normal">Mount-Database</B> cmdlet .<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>To confirm that both databases are mounted, use this syntax:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p><o:p><FONT size=3 face=Calibri>&nbsp;<A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/06/Get-MailboxDatabase.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276806/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276806/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/06/Get-MailboxDatabase.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276806/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276806/original.aspx"></A></FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri></FONT>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Now that both database are mounted, you’re ready to merge the dial tone data back into the recovered database.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>To<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>merge a single mailbox, use this syntax:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p><B style="mso-bidi-font-weight: normal"><FONT size=3><FONT face=Calibri>Restore-Mailbox –Identity &lt;username&gt; -RSGDatabase &lt;RSG db name&gt;<o:p></o:p></FONT></FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>More likely, though, you would like to select mailboxes in bulk to recover.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>To do that, use this syntax:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><FONT size=3 face=Calibri>Get-Mailbox –Database &lt;production db name&gt; | Restore-Mailbox –RSGDatabase &lt;RSG db name&gt;</FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>For example:</FONT><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-no-proof: yes"></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/12/Restore-Mailbox.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276812/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276812/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/12/Restore-Mailbox.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276812/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276812/original.aspx"></A>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Notice that even though this is a bulk operation, we will be prompted for each mailbox individually.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>In order to avoid this, just type <B style="mso-bidi-font-weight: normal">A</B> (for “Yes to All”) and press <B style="mso-bidi-font-weight: normal">Enter</B> here.</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>You will see the progress bar for multiple users as they are being restored:</FONT><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="mso-no-proof: yes"></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/11/ooooo.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276811/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276811/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/11/ooooo.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276811/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276811/original.aspx"></A>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri></FONT></o:p>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>The EMS will display results for each user, but I find it much simpler to check the Application Log on the Exchange server to verify that each mailbox was successfully restored.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The event you’re looking for is as follows:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/05/AppEvent.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276805/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3276805/original.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/68/05/AppEvent.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3276805/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3276805/original.aspx"></A>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri></FONT></o:p>&nbsp;</P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><B style="mso-bidi-font-weight: normal"><FONT size=3 face=Calibri>Cleanup</FONT></B></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3 face=Calibri>Once you are certain you have finished with the Recovery Storage Group, the best practice is to remove it.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The steps are as follows:</FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpFirst><SPAN style="mso-fareast-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>1.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3 face=Calibri>Dismount with the <STRONG>Dismount-Database</STRONG> cmdlet.</FONT></P>
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpMiddle><SPAN style="mso-fareast-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>2.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3 face=Calibri>Remove the database, using this syntax:</FONT></P>
<P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><FONT size=3 face=Calibri>Remove-MailboxDatabase –identity &lt;Server_Name&gt;\&lt;RSG_Name&gt;\&lt;Database_Name&gt;</FONT></B></P>
<P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraphCxSpMiddle><SPAN style="mso-fareast-font-family: Calibri"><SPAN style="mso-list: Ignore"><FONT size=3 face=Calibri>3.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><FONT size=3 face=Calibri>Remove the RSG, using this syntax:</FONT></P>
<P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoListParagraphCxSpMiddle><B style="mso-bidi-font-weight: normal"><FONT size=3 face=Calibri>Remove-StorageGroup –identity &lt;Server_Name&gt;\&lt;RSG_Name&gt;</FONT></B></P>
<P style="MARGIN: 0in 0in 0pt 0.5in" class=MsoListParagraphCxSpMiddle><o:p><FONT size=3 face=Calibri>&nbsp;</FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt; mso-add-space: auto" class=MsoListParagraphCxSpMiddle><FONT size=3 face=Calibri>I hope this helps to simplify the process if you’re ever in need of a dial tone database in Exchange 2007.</FONT></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>CopyQueueLength is displayed incorrectly in an Exchange 2007 Standby Continuous Replication environment</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/copyqueuelength-is-displayed-incorrectly-in-an-exchange-2007-standby-continuous-replication-environment</link>
      <pubDate>Wed, 12 Aug 2009 09:55:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/08/12/copyqueuelength-is-displayed-incorrectly-in-an-exchange-2007-standby-continuous-replication-environment/</guid>
      <description><![CDATA[I recently ran into an issue in which the value for CopyQueueLength was displayed incorrectly from...]]></description>
      <content:encoded><![CDATA[<P>I recently ran into an issue in which the value for CopyQueueLength was displayed incorrectly from the Exchange Management Shell in an Exchange 2007&nbsp;Standby Continuous Replication (SCR) environment.&nbsp; Here is the sample output from the <STRONG>Get-StorageGroupCopyStatus</STRONG> cmdlet:</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3272759.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3272759.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/picture3272759.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/27/59/Get-StorageGroupCopyStatus.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3272759/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3272759/original.aspx"></A></P>
<P mce_keep="true">We see a similar result from the <STRONG>Test-ReplicationHealth</STRONG> cmdlet:</P>
<P mce_keep="true">&nbsp;<A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3272761.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3272761.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/picture3272761.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/27/61/Test-ReplicationHealth.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3272761/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3272761/original.aspx"></A></P>
<P>Oddly enough, though, the SummaryCopyStatus is Healthy for the storage groups in question, as shown in the results of the Get-StorageGroupCopyStatus cmdlet.&nbsp; If we then check the CopyQueueLength via Performance Monitor, we find it looks normal:</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3272763.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3272763.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/picture3272763.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/27/63/Perfmon.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3272763/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3272763/original.aspx"></A></P>
<P>Notice anything interesting here?&nbsp; CopyQueueLength is at zero, as you might expect from a storage group in Healthy status, but notice the CopyGenerationNumber.&nbsp; The value displayed here matches what we show as the CopyQueueLength from the Shell.&nbsp; If we then take a look at the transaction log folder on the SCR target, we see that the last log copied matches this value (6151 decimal = 1807 hex):</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3272764.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3272764.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/picture3272764.aspx"><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/27/27/64/Explorer.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3272764/original.aspx" mce_src="https://blogs.technet.com/photos/dhardin/images/3272764/original.aspx"></A></P>
<P>This shows that&nbsp;our logs are copying successfully and we already know that our storage groups are in Healthy SummaryCopyStatus, so this indicates that we have an issue with the way CopyQueueLength is being calculated in the Exchange Management Shell.&nbsp; This number is calculated by subtracting the Inspector Generation Number from the Latest Log Generation Number.&nbsp; We see in the Perfmon counter above that Inspector Generation Number is correct, but for some reason we are still calculating it incorrectly.</P>
<P>So far, I have only seen this issue in a specific set of circumstances, which are easily reproduced, as follows:</P>
<OL>
<LI>Disable SCR by running <STRONG>Disable-StorageGroupCopy</STRONG> with the <STRONG>-StandbyMachine</STRONG> parameter.</LI>
<LI>Leave the database and logs for the storage group in place on the SCR target (in other words, do nothing).</LI>
<LI>Enable SCR by running <STRONG>Enable-StorageGroupCopy</STRONG> with the <STRONG>-StandbyMachine</STRONG> parameter, specifying the same SCR target as before.</LI></OL>
<P>You might&nbsp;do this in the real world if you wanted to change the <STRONG><EM>ReplayLagTime</EM></STRONG>&nbsp;parameter on the SCR copy of a storage group, since there is no other way to change it.&nbsp; In this scenario, we would not initially be copying any logs from the SCR source, which&nbsp;seems to be causing the Microsoft Exchange Replication Service some sort of issue.&nbsp; I have seen this issue correct itself over some time, once the ReplayLagTime has passed.&nbsp; To resolve the issue right away, you can restart the Microsoft Exchange Replication Service on the SCR target.&nbsp; The problem can be avoided altogether by deleting the database and logs from the SCR target so that the target is reseeded when you re-enable SCR.</P>
<P>As of now, there is no permanent fix to this issue, but it is continuing to be researched.</P>
<P>For more information on configuring Standby Continuous Replication, see this link:&nbsp; <A title="Managing Standby Continuous Replication" href="https://technet.microsoft.com/en-us/library/bb676465.aspx" mce_href="https://technet.microsoft.com/en-us/library/bb676465.aspx">Managing Standby Continuous Replication</A></P>]]></content:encoded>
    </item>
    <item>
      <title>Hashed Lines Don't Necessarily Mean Free/Busy Info is Corrupt</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/hashed-lines-dont-necessarily-mean-freebusy-info-is-corrupt</link>
      <pubDate>Thu, 16 Jul 2009 14:07:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/07/16/hashed-lines-dont-necessarily-mean-freebusy-info-is-corrupt/</guid>
      <description><![CDATA[One of the pre-Exchange 2007 topics we frequently get cases for is display of Free/Busy...]]></description>
      <content:encoded><![CDATA[<P>One of the pre-Exchange 2007 topics we frequently get cases for is display of Free/Busy information.&nbsp; The pattern that I generally see is that there is a legitimate problem for one user or a handful of users, and upon investigation the Exchange administrator believes the problem to be much more widespread.&nbsp; This is because the administrator checks the availability of several mailboxes at random and finds that they display hashed lines for availability, as shown here for User Five:</P>
<P mce_keep="true"><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3265378.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3265378.aspx" target=_blank></A></P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3265378.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3265378.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/26/53/78/Hashed.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3265378/604x305.aspx"></A>&nbsp;</P>
<P>The assumption is that User Five's free/busy info has become corrupted, but most people don't realize that the hashed lines will also be displayed if the user has no Calendar appointments during their publishing period.&nbsp; By default, Outlook 2003 and prior publish 2 months of free/busy info, meaning the current calendar month and the next calendar month.&nbsp; So, let's assume today is the 25th of the month.&nbsp; If User Five has no items in his Calendar from the 1st of this month through the 31st of next month, other users will see hashed lines when trying to view his free/busy info.</P>
<P>Once User Five books an appointment, his info will be published by Outlook 2003 (and prior) within 15 minutes by default, or when he closes Outlook.&nbsp; If the appointment is booked via OWA, free/busy info should be published right away.&nbsp; Other Outlook clients will now see User Five's time represented as Busy, Out of Office, etc., depending on how he chose to display it from his Outlook client.</P>
<P>This article does an excellent job of detailing the free/busy publishing process:</P>
<P><A href="https://msdn.microsoft.com/en-us/library/aa996946(EXCHG.65).aspx" mce_href="https://msdn.microsoft.com/en-us/library/aa996946(EXCHG.65).aspx">https://msdn.microsoft.com/en-us/library/aa996946(EXCHG.65).aspx</A></P>
<P mce_keep="true">&nbsp;</P>
<P><BR><STRONG>Extended Free/Busy</STRONG></P>
<P>While we're on the topic, I'd like to touch on Extended Free/Busy information.&nbsp; This is the ability to see not just that User Five is busy during a certain time, but also to see what his Calendar appointment is for.&nbsp; You see this by hovering over the block of time while on the Scheduling tab of your meeting.</P>
<P>&nbsp;<A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3265379.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3265379.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/26/53/79/ExtendedFB.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3265379/640x227.aspx"></A></P>
<P>This info is not displayed by default, though - you need to grant Reviewer permission on your Calendar to the users you want to share with:</P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3265379.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3265379.aspx" target=_blank></A></P>
<P><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3265380.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3265380.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/26/53/80/CalendarProps.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3265380/368x469.aspx"></A>&nbsp;</P>
<P><BR>You may want to set these permissions for all users on a team, so they can stay up to date with each other more easily.</P>]]></content:encoded>
    </item>
    <item>
      <title>How to Exclude Contacts from the Default Address Policy in Exchange 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/how-to-exclude-contacts-from-the-default-address-policy-in-exchange-2007</link>
      <pubDate>Thu, 28 May 2009 09:29:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/05/28/how-to-exclude-contacts-from-the-default-address-policy-in-exchange-2007/</guid>
      <description><![CDATA[By default, all mail recipients (AllRecipients) will be stamped by the E-mail Address Policy named...]]></description>
      <content:encoded><![CDATA[<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">By default, all mail recipients (AllRecipients) will be stamped by the E-mail Address Policy named "Default Policy" in Exchange 2007, unless there are other policies in existence.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Some organizations may not wish to stamp their own SMTP address (e.g. contoso.com) on external contact objects for security reasons.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Since there is no supported way to modify the Default Policy, a workaround is needed.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 9pt">Preventing New Contacts from Being Stamped<o:p></o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">To prevent new contacts from being stamped by the Default Policy, you can simply create a new policy for contact objects and stamp them with a bogus SMTP address, as follows:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l1 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Create a new Accepted Domain to correspond with the bogus SMTP address you will be using, e.g. "external.contact."<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Here is the syntax to perfrom this step from Exchange Management Shell:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt">New-AcceptedDomain -Name "External Contact" -DomainName external.contact<o:p></o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l1 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Create a new E-mail Address Policy for contact objects, using the SMTP address you just added:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt">New-EmailAddressPolicy -Name "Contact EAP" –EnabledPrimarySMTPAddressTemplate SMTP:@external.contact -IncludedRecipients MailContacts</SPAN></B><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l1 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">3.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Confirm that the new policy has a higher priority than the Default Policy.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This will prevent the contacts from ever being stamped by the Default Policy.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>The Default Policy should be set to "Lowest" priority, but you can confirm as follows:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.25in; MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt">Get-EmailAddressPolicy<o:p></o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.25in; MARGIN: 0in 0in 0pt 0.25in; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">You can also confirm this from the Exchange Management Console by clicking on <B style="mso-bidi-font-weight: normal">Organization Configuration | Hub Transport</B> in the Console Tree, then choosing the <B style="mso-bidi-font-weight: normal">E-mail Address Policies</B> tab from the Work Pane:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-no-proof: yes"><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<BLOCKQUOTE>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/44/EAP.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246944/original.aspx" target=_blank mce_href="https://blogs.technet.com/photos/dhardin/images/3246944/original.aspx"></A>&nbsp;<A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/44/EAP.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246944/original.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/44/EAP.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246944/500x255.aspx"></A></o:p></SPAN></P></BLOCKQUOTE>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN>&nbsp;</P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l1 level1 lfo1" class=MsoListParagraph><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">4.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Update the Address Policy in order to apply it to the existing Contact objects in the organization:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: 0.5in; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt">Update-EmailAddressPolicy -Identity "Contact EAP"<o:p></o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Removing the Internal Address from Existing Contacts</SPAN></B><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">You can now remove the internal SMTP addresses from your existing contacts via a Powershell script.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Modify the following text, replacing <B style="mso-bidi-font-weight: normal">contoso.com</B> with your SMTP domain, and save it as a text file with a .ps1 extension.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>(Make sure to remove any line breaks):<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1">Get-MailContact -Filter {EmailAddresses -like "*@contoso.com" -and name -notlike "ExchangeUM*"} -ResultSize unlimited -IgnoreDefaultScope | foreach {$contact = $_; $email = $contact.emailaddresses; $email | foreach {if ($_.smtpaddress -like "*@contoso.com") {$address = $_.smtpaddress; write-host "Removing address"<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>$address "from Contact" $contact.name; $contact.emailaddresses -= $address; $contact | set-mailcontact -emailaddresspolicyenabled $false} }}<o:p></o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1"><o:p>&nbsp;</o:p></SPAN></B></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1">Now, open the Exchange Management Shell and change to the directory where your script is saved.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>For example, if you have named the file <B style="mso-bidi-font-weight: normal">RemoveContactSMTP.ps1</B>, the syntax would be as follows:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1">./RemoveContactSMTP.ps1</SPAN></B><SPAN style="FONT-FAMILY: 'Courier New'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1"><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-themecolor: text1">You can accomplish the same thing using the ADModify tool, although it is a little more cumbersome:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l0 level1 lfo2" class=MsoListParagraphCxSpFirst><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">1.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Download the <B style="mso-bidi-font-weight: normal">ADModify.NET</B> tool from codeplex.com:<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><A href="https://www.codeplex.com/admodify" mce_href="https://www.codeplex.com/admodify"><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; FONT-SIZE: 9pt"><FONT color=#0000ff>https://www.codeplex.com/admodify</FONT></SPAN></A><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l0 level1 lfo2" class=MsoListParagraphCxSpMiddle><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">2.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">After unzipping the files, run <B style="mso-bidi-font-weight: normal">ADModify.exe</B> and choose <B style="mso-bidi-font-weight: normal">Modify Attributes</B>.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l0 level1 lfo2" class=MsoListParagraphCxSpMiddle><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">3.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">In the <B style="mso-bidi-font-weight: normal">Domain List</B> drop-down box, choose the item that identifies your domain.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>This should be in the form <B style="mso-bidi-font-weight: normal">DC=contoso,DC=com</B> and <B style="mso-bidi-font-weight: normal"><U>NOT</U></B> the one starting with CN=Configuration.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l0 level1 lfo2" class=MsoListParagraphCxSpMiddle><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">4.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">In the <B style="mso-bidi-font-weight: normal">Domain Controller List</B> box, choose a DC.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-layout-grid-align: none; mso-add-space: auto; mso-list: l0 level1 lfo2" class=MsoListParagraphCxSpLast><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-fareast-font-family: Arial"><SPAN style="mso-list: Ignore">5.<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Uncheck all the boxes in the <B style="mso-bidi-font-weight: normal">"Show Only"</B> line except <B style="mso-bidi-font-weight: normal">Contacts</B>, then click the green arrow.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>After you click the green button, the window should look like this:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<BLOCKQUOTE>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/49/ADModify.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246949/original.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/49/ADModify.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246949/460x375.aspx"></A></o:p></SPAN></P></BLOCKQUOTE>
<P style="TEXT-ALIGN: center; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal align=center><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-no-proof: yes"></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">6.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>When your domain shows up in the <B style="mso-bidi-font-weight: normal">Domain Tree List</B> box, select it, then click the <B style="mso-bidi-font-weight: normal">Add To List</B> button.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>You will get a warning that this will enumerate the entire domain.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Click <B style="mso-bidi-font-weight: normal">OK</B> to continue, or you may drill down to a specific OU if you prefer to limit the scope.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">7.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Once the contacts have been enumerated in the right-hand pane, select the ones you wish to modify and click <B style="mso-bidi-font-weight: normal">Next</B>.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">8.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Click the <B style="mso-bidi-font-weight: normal">E-Mail Addresses tab</B>, then select the checkbox next to Remove E-mail Address.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Edit the address to change "domain.com" to the internal SMTP domain you want to remove from the contact objects.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Click Go! to continue:<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="TEXT-ALIGN: center; LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal align=center><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt; mso-no-proof: yes"></SPAN><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p></o:p></SPAN></P>
<BLOCKQUOTE>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p><A href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/50/ADModify2.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246950/original.aspx" target=_blank><IMG border=0 src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/69/50/ADModify2.jpg" original-url="https://blogs.technet.com/photos/dhardin/images/3246950/294x372.aspx"></A>&nbsp;</o:p></SPAN></P></BLOCKQUOTE>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">9.<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Review the dialog that shows completion status, and click <B style="mso-bidi-font-weight: normal">OK</B>.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">10. Rerun these steps on additional OUs as needed.<o:p></o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p>&nbsp;</o:p></SPAN></P>
<P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" class=MsoNormal><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 9pt">Once you have completed all steps, you should have no Contacts in your organization with internal SMTP addresses stamped on them, and new Contacts will not be stamped with them going forward.</SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Understanding the Move Date in Messaging Records Management (MRM)</title>
      <link>https://docs.microsoft.com/archive/blogs/dhardin/understanding-the-move-date-in-messaging-records-management-mrm</link>
      <pubDate>Mon, 25 May 2009 16:18:00 GMT</pubDate>
      <dc:creator><![CDATA[dhardin1]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/dhardin/2009/05/25/understanding-the-move-date-in-messaging-records-management-mrm/</guid>
      <description><![CDATA[Exchange 2007's Messaging Records Management (MRM) feature is designed to help your organization...]]></description>
      <content:encoded><![CDATA[<p>Exchange 2007's Messaging Records Management (MRM) feature is designed to help your organization manage messages for compliance purposes.&nbsp; By using <em>Managed Content Settings</em>, users can have their messages moved to different folders or deleted automatically, based on age.&nbsp; You also have the option to Journal these messages to any SMTP address, which is ideal for many third-party archiving systems.</p>
<p>One thing I've been finding in my cases is that many customers don't understand the Retention Period settings and how they are applied by the Managed Folder Assistant.&nbsp; Let's take a look at a simple example to try and make this point.&nbsp; Here is a typical mistake that many people make:</p>
<p><a target="_blank" href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/61/94/ElcMoveDate.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3246194/original.aspx"></a><a target="_blank" href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/53/76/NewManagedContentSettings.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3245376/original.aspx"><img height="354" width="376" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/53/76/NewManagedContentSettings.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3245376/original.aspx" border="0" style="width: 687px; height: 491px;" /></a></p>
<p>In this example, the Retention Period is set to start <strong>When item is moved to the folder</strong>.&nbsp; Most of the time, people decide to choose this option because they want to apply the action to items that were either delivered to the folder&nbsp;or moved to the folder by the user 30 days ago.&nbsp; When they add these settings to a policy and apply it, they are surprised to find that the items do not get archived.&nbsp; The policy is actually working correctly in this case, but we need to understand what it is doing.</p>
<p>When you choose "<strong>When item is moved to the folder"</strong> as the start of the Retention Period, the retention period doesn't actually start until the next time the Managed Folder Assistant runs.&nbsp; This is explained in the TechNet article regarding how Retention Periods are calculated:</p>
<p><a href="https://technet.microsoft.com/en-us/library/bb430780.aspx">https://technet.microsoft.com/en-us/library/bb430780.aspx</a></p>
<p>What the article does not explain is what the <strong>move date</strong> is.&nbsp; The <strong>move date</strong> is actually a MAPI property named <strong>ElcMoveDate</strong>.&nbsp; The "Elc" in ElcMoveDate stands for Exchange Lifecycle Assistant, another name for the Managed Folder Assistant.&nbsp; This property is viewable by its property number (<strong>0x67170102</strong>) in MFCMapi:<a target="_blank" href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com//dhardin/3245376.aspx" original-url="https://blogs.technet.com/photos/dhardin/picture3245376.aspx"></a></p>
<p><a target="_blank" href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/61/94/ElcMoveDate.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3246194/original.aspx"><img height="433" width="576" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/13/7614/00/00/03/24/61/94/ElcMoveDate.JPG" original-url="https://blogs.technet.com/photos/dhardin/images/3246194/500x364.aspx" border="0" /></a></p>
<p>This property will not be present at all until the Managed Folder Assistant has run on the folder and stamped the item.&nbsp; The first time the Managed Folder Assistant runs, it stamps every item with the ElcMoveDate property and the current timestamp.&nbsp; To clarify, this only applies to folders with&nbsp;Managed&nbsp;Content Settings&nbsp;set to&nbsp; "<strong>When item is moved to the folder."&nbsp;&nbsp;</strong>The&nbsp;Managed Folder Assistant&nbsp;will not delete any items at that point, unless there was somehow an existing item with an ElcMoveDate outside the retention period.&nbsp; In subsequent runs, the Managed Folder Assistant will evaluate each item and determine if its ElcMoveDate is beyond the Retention Period.&nbsp; If so, the Action specified by the Managed Content Settings for the folder will be taken.</p>
<p>Continuing the example from above, if the "Inbox 30 day retention" settings are applied to a user's mailbox, here is the sequence that would occur:</p>
<blockquote>
<p>1.&nbsp; Managed Folder Assistant runs for the first time on January 1 at 8:00am.&nbsp; No items in the Inbox currently have an ElcMoveDate stamped, so all are stamped with the <strong>current date and time</strong>.</p>
<p>2.&nbsp; Managed Folder Assistant continues to run daily for the next 29 days,&nbsp;moving no items.</p>
<p>3.&nbsp; Managed Folder Assistant runs on January 31 at 8:00am.&nbsp; All the items stamped on January 1 are now moved to the Deleted Items folder, because the ElcMoveDate is now 30 days in the past.</p>
</blockquote>
<p>The confusion arises because there were very likely items in the Inbox on January 1 that were received or even moved there by the user in November, for example.&nbsp; The administrator normally expects those items to be moved immediately.&nbsp; Now you can see why this is not the case.</p>
<p>If you're looking to do archiving based on the date a&nbsp;message was received, you should choose &nbsp;<strong>When delivered, end date for calendar and recurring tasks</strong> in the "Retention period starts" box.&nbsp; When this is chosen, items are processed just as the setting implies:&nbsp; everything except for Calendar items and recurring Tasks is processed based on message-received date.&nbsp; Calendar items and recurring Tasks are processed based on the end date of the item.</p>
<p>Typically, the <strong>When item is moved to the folder</strong> setting is only placed on a folder that you are using as a Destination in your Managed Content Settings.&nbsp; So, you would normally set the Inbox to start the retention process when items are delivered.&nbsp; You would then set the Deleted Items folder to process based on when an item is moved to the folder.&nbsp; This would allow you to have actual 30 day retention on the Inbox and allow, say, another 14 days once the item is moved to Deleted Items before it is permanently deleted.</p>
<p>Here again is a link to the&nbsp;TechNet article mentioned above.&nbsp; Please review it carefully, as it explains in detail the rest of the retention period process:</p>
<div class="title"><a href="https://technet.microsoft.com/en-us/library/bb430780.aspx" title="How Retention Periods Are Calculated for Items in Managed Folders">How Retention Periods Are Calculated for Items in Managed Folders</a><!----></!----></div>]]></content:encoded>
    </item>
  </channel>
</rss>