<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Exchange Team Blog : Exchange 2010</title><link>http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/</link><description>Tags: Exchange 2010</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Using Exchange Web Services to Apply a Personal Tag to a Custom Folder</title><link>http://blogs.technet.com/b/exchange/archive/2013/05/20/using-exchange-web-services-to-apply-a-personal-tag-to-a-custom-folder.aspx</link><pubDate>Mon, 20 May 2013 15:50:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3573602</guid><dc:creator>Bharat Suneja [MSFT]</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3573602</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/05/20/using-exchange-web-services-to-apply-a-personal-tag-to-a-custom-folder.aspx#comments</comments><description>&lt;p&gt;In Exchange 2010, we introduced &lt;a class="bold" title="See 'Retention Tags and Retention Policies' in Exchange 2013 documentation" href="http://technet.microsoft.com/en-us/library/dd297955.aspx"&gt;Retention Tags&lt;/a&gt;, a Messaging Records Management (MRM) feature that allows you to manage email lifecycle. You can use retention policies to retain mailbox data for as long as it&amp;rsquo;s required to meet business or regulatory requirements, and delete items older than the specified period.&lt;/p&gt;
&lt;p&gt;One of the design goals for &lt;acronym title="Messaging Records Management"&gt;MRM&lt;/acronym&gt; 2.0 was to simplify administration compared to &lt;a class="bold" title="" href="http://blogs.technet.com/controlpanel/blogs/posteditor.aspx/"&gt;Managed Folders&lt;/a&gt;, the MRM feature introduced in Exchange 2007, and allow users more flexibility. By applying a &lt;span class="bold"&gt;Personal Tag&lt;/span&gt; to a folder, users can have different retention settings apply to items in that folder than the default tag applied to the entire mailbox(known as a &lt;span class="bold"&gt;Default Policy Tag&lt;/span&gt;). Similarly, users can apply a different tag to a subfolder than the one applied to the parent folder. Users can also apply a Personal Tag to individual items, allowing them the freedom to organize messages based on their work habits and preference, rather than forcing them to move messages, based on the retention requirement, to an admin-controlled Managed Folder.&lt;/p&gt;
&lt;p&gt;You can still use Managed Folders in Exchange 2010, but they&amp;rsquo;re &lt;a title="See 'What's Discontinued in Exchange 2013'" href="http://technet.microsoft.com/en-us/library/jj619283%28v=exchg.150%29.aspx"&gt;not available in Exchange 2013&lt;/a&gt;.&lt;/p&gt;
&lt;p class="note"&gt;For a comparison of Retention Tags with Managed Folders and migration details, see &lt;a class="bold" title="See 'Migrate from Managed Folders' in Exchange 2013 documentation" href="http://aka.ms/migratemrm"&gt;Migrate Managed Folders&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you like the Managed Folders approach of being able to create a folder in the user&amp;rsquo;s mailbox and configure a retention setting for that folder, you can use &lt;span class="bold"&gt;Exchange Web Services&lt;/span&gt; (EWS) to accomplish something similar, with some caveats mentioned later in this post. You can write your own code or even a PowerShell script to create a folder in the user&amp;rsquo;s mailbox and apply a Personal Tag to it. There are scripts available on the interwebs, including some code samples on MSDN to accomplish this. For example:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;&lt;a href="http://aka.ms/personaltagscript"&gt;Stamping Retention Policy Tag using EWS Managed API 1.1 from PowerShell (Exchange 2010)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/b/mvpawardprogram/archive/2013/04/08/5-lesser-known-operations-in-exchange-web-services-on-exchange-2013.aspx"&gt;5 Lesser Known Operations in Exchange Web Services on Exchange 2013&lt;/a&gt;, Exchange MVP Glen Scales&amp;rsquo; post on the MVP Program Blog, which uses a simpler method to do this on Exchange 2013.&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note:&lt;/span&gt; The above scripts are examples for your reference. They&amp;rsquo;re not written or tested by the Exchange product group.&lt;/p&gt;
&lt;h2&gt;But is it supported?&lt;/h2&gt;
&lt;p&gt;We frequently get questions about whether this is supported by Microsoft. Short answer: Yes. &lt;a class="bold" title="See 'EWS Managed API 2.0' on MSDN" href="http://msdn.microsoft.com/en-us/library/exchange/dd633709%28v=exchg.80%29.aspx"&gt;Exchange Web Services&lt;/a&gt; (EWS) is a supported and documented &lt;acronym title="Application Programming Interface"&gt;API&lt;/acronym&gt;, which allows &lt;acronym title="Independent Software Vendors"&gt;ISV&lt;/acronym&gt;s and customers to create custom solutions for Exchange.&lt;/p&gt;
&lt;p&gt;When using &lt;acronym title="Exchange Web Services"&gt;EWS&lt;/acronym&gt; in your code or PowerShell script to apply a Personal Tag to a folder, it&amp;rsquo;s important to consider the following:&lt;/p&gt;
&lt;p&gt;&lt;span class="bold"&gt;For Developers&lt;/span&gt;&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;EWS is meant for developers who can write custom code or scripts to extend Exchange&amp;rsquo;s functionality. As a developer, you must have a good understanding of the functionality available via the API and what you can do with it using your code/script.&lt;/li&gt;
&lt;li&gt;Support for EWS API is offered through our &lt;a class="bold" href="http://msdn.microsoft.com/en-us/exchange/aa731549"&gt;Exchange Developer Support&lt;/a&gt; channels.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="bold"&gt;For IT Pros&lt;/span&gt;&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;If you&amp;rsquo;re an IT Pro writing your own code or scripts, you&amp;rsquo;re a developer too! Above applies to you.&lt;/li&gt;
&lt;li&gt;If you&amp;rsquo;re an IT Pro using 3rd-party code or scripts, including the code samples &amp;amp; scripts available on MSDN, TechNet or elsewhere on the interwebs, we recommend that you follow the general best practices for using such code or scripts, including &lt;span class="italic"&gt;(but not limited to)&lt;/span&gt;the following:
&lt;ul&gt;
&lt;li&gt;Do not use code/scripts from untrusted sources in a production environment.&lt;/li&gt;
&lt;li&gt;Understand what the script or code does. (This is easy for scripts &amp;ndash; you can look at the source in a text editor.)&lt;/li&gt;
&lt;li&gt;Test the script or code thoroughly in a non-production environment, including all command-line options/parameters available in it, before installing or executing it in your production environment.&lt;/li&gt;
&lt;li&gt;Although it&amp;rsquo;s easy to change the &lt;a class="bold" title="See 'Running Windows PowerShell Scripts'" href="http://technet.microsoft.com/en-us/library/ee176949.aspx"&gt;PowerShell execution policy&lt;/a&gt; on your servers to allow unsigned scripts to execute, it&amp;rsquo;s recommended to allow only signed scripts in production environments. You can easily &lt;a class="bold" title="See 'Using Windows PowerShell to Sign Scripts with Digital Certificates'" href="http://technet.microsoft.com/en-us/magazine/2008.04.powershell.aspx"&gt;sign a script&lt;/a&gt; if it's unsigned, before running it in a production environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;So should I do it?&lt;/h2&gt;
&lt;p&gt;If using &lt;acronym title="Exchange Web Services"&gt;EWS &lt;/acronym&gt;to apply a Personal Tag to custom folders helps you meet your business requirements, absolutely! However, do note and consider the following:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;You&amp;rsquo;re replicating some of the functionality available via Managed Folders, but it &lt;span class="lightyellow"&gt;doesn&amp;rsquo;t turn the folder into a Managed Folder&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;Remember - it&amp;rsquo;s a Personal Tag! &lt;span class="lightyellow"&gt;Users can remove the tag&lt;/span&gt; from the folder using Outlook or Outlook Web App.&lt;/li&gt;
&lt;li&gt;If you have additional Personal Tags available in your environment, &lt;span class="lightyellow"&gt;users can change the tag&lt;/span&gt; on the custom folder.&lt;/li&gt;
&lt;li&gt;&lt;span class="lightyellow"&gt;Users can tag individual items with a different Personal Tag.&lt;/span&gt; There is no way to enforce inheritance of retention tag if Personal Tags have been provisioned and available to the user.&lt;/li&gt;
&lt;li&gt;&lt;span class="lightyellow"&gt;Users can rename or delete custom folders.&lt;/span&gt; Unlike Managed Folders, which are protected from changes or deletion by users, custom folders created by users or by admin are just like any other &lt;span class="italic"&gt;(non-default)&lt;/span&gt; folder in the mailbox.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Provisioning custom folders with different retention settings (by applying Personal Tags) may help you meet your organization&amp;rsquo;s retention requirements. As an IT Pro, make sure you understand the above and follow the best practices.&lt;/p&gt;
&lt;p&gt;&lt;span class="author"&gt;&lt;a href="http://twitter.com/bsuneja"&gt;Bharat Suneja&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3573602" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Development/">Development</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Compliance/">Compliance</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2013/">Exchange 2013</category></item><item><title>Use Exchange Web Services and PowerShell to Discover and Remove Direct Booking Settings</title><link>http://blogs.technet.com/b/exchange/archive/2013/05/09/use-exchange-web-services-and-powershell-to-discover-and-remove-direct-booking-settings.aspx</link><pubDate>Fri, 10 May 2013 00:45:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3571818</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>29</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3571818</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/05/09/use-exchange-web-services-and-powershell-to-discover-and-remove-direct-booking-settings.aspx#comments</comments><description>&lt;p&gt;Prior to Exchange 2007, there were &lt;a class="bold" title="See previous post: Exchange 2003 Auto Accept Agent vs. direct booking" href="http://blogs.technet.com/b/exchange/archive/2006/02/22/420275.aspx"&gt;two primary methods&lt;/a&gt; of implementing automated resource scheduling &amp;ndash; &lt;span class="bold"&gt;Direct Booking&lt;/span&gt; and the &lt;span class="bold"&gt;AutoAccept Agent&lt;/span&gt; &lt;span class="comment"&gt;(a store event sink released as a web download for Exchange 2003)&lt;/span&gt;. In Exchange 2007, we changed how automated resource scheduling is implemented. The AutoAccept Agent is no longer supported, and the Direct Booking method, technically an Outlook function, has been replaced with server-side calendar booking function called the &lt;a class="bold" title="See previous post: Resource scheduling in Exchange Server 2007" href="http://blogs.technet.com/b/exchange/archive/2007/05/14/3402515.aspx"&gt;Resource Booking Attendant&lt;/a&gt;.&lt;/p&gt;
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note&lt;/span&gt; There are various terms associated with this new Resource Booking function, such as: &lt;span class="newterm"&gt;Calendar Processing&lt;/span&gt;, &lt;span class="newterm"&gt;Automatic Resource Booking&lt;/span&gt;, &lt;span class="newterm"&gt;Calendar Attendant Processing&lt;/span&gt;, &lt;span class="newterm"&gt;Automated Processing&lt;/span&gt; and &lt;span class="newterm"&gt;Resource Booking Assistant&lt;/span&gt;. We will be using the &amp;ldquo;Resource Booking Attendant&amp;rdquo; nomenclature for this article.&lt;/p&gt;
&lt;p&gt;While the Direct Booking method for resource scheduling can indeed work on Exchange Server 2007/2010/2013, we strongly recommend that you disable Direct Booking for resource mailboxes and use the Resource Booking Attendant instead. Specifically, we are referring to the &amp;ldquo;AutoAccept&amp;rdquo; Automated Processing feature of the Resource Booking Attendant, which can be enabled for a mailbox after it has been migrated to Exchange 2007 or later and &lt;a class="bold" title="See 'How to Upgrade Outlook Direct Booking Resource Mailboxes to Exchange 2007' in Exchange 2007 documentation" href="http://technet.microsoft.com/en-us/library/bb232195(v=EXCHG.80).aspx"&gt;upgraded to a Resource Mailbox&lt;/a&gt;.&lt;/p&gt;
&lt;div class="note"&gt;
&lt;p&gt;&lt;span class="bold"&gt;Note&lt;/span&gt; The published resource mailbox upgrade guidance on TechNet specifies to disable Direct Booking in the resource mailbox while still on Exchange 2003, move the mailbox, and then enable the AutoAccept functionality via the Resource Booking Attendant. This order of steps can introduce an unnecessary amount of time where the resource mailbox may be without automated scheduling capabilities.&lt;/p&gt;
&lt;p&gt;We are currently working to update that guidance to reflect moving the mailbox first, and only then proceed with disabling the Direct Booking functionality, after which the AutoAccept functionality via the Resource Booking Attendant can be immediately enabled. This will shorten the duration where the mailbox is without automated resource scheduling capabilities.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;This conversion process to resource mailboxes utilizing the Resource Booking Attendant is sometimes an honest oversight or even deliberately ignored when migrating away from Exchange 2003 due to Direct Booking&amp;rsquo;s ability to continue to work with newer versions of Exchange, even Exchange Online. This will often result in resource mailboxes (or even user mailboxes!) with Direct Booking functionality remaining in place long after Exchange 2003 is ancient history in the environment.&lt;/p&gt;
&lt;h2&gt;Why not just leave Direct Booking enabled?&lt;/h2&gt;
&lt;p&gt;There are issues that can arise from leaving Direct Booking enabled, from simple administrative burden scenarios all the way to major calendaring issues. Additionally, Resource Booking Attendant offers advantages over Direct Booking functionality:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Direct Booking capabilities, technically an Outlook function, has been &lt;a class="bold" title="See 'The EnableDirectBooking registry value is not used by Outlook 2013'" href="http://support.microsoft.com/kb/2788235"&gt;deprecated&lt;/a&gt; from the product as of Outlook 2013. It was already on the deprecation list in Outlook 2010 and required a &lt;a class="bold" title="See 'Direct Booking does not successfully book a resource in Outlook 2010'" href="http://support.microsoft.com/kb/982774"&gt;registry modification&lt;/a&gt; to reintroduce the functionality.&lt;/li&gt;
&lt;li&gt;Direct Booking and Resource Booking Attendant are conflicting technologies, and if &lt;a class="bold" title="See 'Resources in Exchange do not respond to meeting requests'" href="http://support.microsoft.com/kb/2005631"&gt;simultaneously enabled&lt;/a&gt;, unexpected behavior in calendar processing and item consistency can occur.&lt;/li&gt;
&lt;li&gt;Outlook Web App (as well as any non-MAPI clients, like Exchange ActiveSync (EAS) devices) cannot use Direct Booking for automated resource scheduling. This is especially relevant for Outlook Web App-only environments where the users do not have Microsoft Outlook as a mail client.&lt;/li&gt;
&lt;li&gt;The Resource Booking Attendant AutoAccept functionality is a &lt;span class="lightyellow"&gt;server-side solution&lt;/span&gt;, eliminating the need for client-side logic in order to automatically process meeting requests.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;How do I check which mailboxes have Direct Booking Enabled?&lt;/h2&gt;
&lt;p&gt;How does one validate if Direct Booking settings are enabled on mailboxes in the organization, especially if mailboxes had previously been hosted on Exchange 2003?&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/2500.Outlook2010_2D00_ResoruceScheduling.png" alt="Screenshot: Resource Scheduling properties" /&gt;&lt;br /&gt; &lt;span class="caption"&gt;&lt;span class="bold"&gt;Figure 1:&lt;/span&gt; Checking Direct Booking settings in Microsoft Outlook 2010&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, the manual steps involve assigning permissions to all mailboxes, creating &lt;acronym title="Messaging Application Programming Interface"&gt;MAPI&lt;/acronym&gt; profiles for each mailbox, logging into each mailbox, checking &lt;span class="UI"&gt;Tools&lt;/span&gt; &amp;gt; &lt;span class="UI"&gt;Options&lt;/span&gt; &amp;gt; &lt;span class="UI"&gt;Calendar&lt;/span&gt; &amp;gt; &lt;span class="UI"&gt;Resource Scheduling&lt;/span&gt;, note which of the three Direct Booking checkboxes are checked, click &lt;span class="UI"&gt;OK&lt;/span&gt;/&lt;span class="UI"&gt;Cancel&lt;/span&gt; a few times, log out of mailbox. Whew! That can be a major undertaking even for a small to midsize company that has more than a handful of mailboxes! Having staff perform this type of activity manually can be a costly and tedious endeavor. Once you have discovered which mailboxes have the Direct Booking settings enabled, you would then have to repeat this entire process to disable these settings unless you removed them at the time of discovery.&lt;/p&gt;
&lt;p&gt;Having an automated method to discover, track, and even disable Direct Booking settings would be nice right?&lt;/p&gt;
&lt;h2&gt;Look no further, we have the solution for you!&lt;/h2&gt;
&lt;p&gt;Using Exchange Web Services (EWS) and PowerShell, we can automate the discovery of Direct Booking settings that are enabled, track the results, and even disable them! We wrote &lt;a class="bold" title="Download Remove-DirectBooking.ps1 script from TechNet Gallery" href="http://gallery.technet.microsoft.com/scriptcenter/Remove-DirectBookingps1-4c54ec74"&gt;Remove-DirectBooking.ps1&lt;/a&gt;, a sample script, to do exactly that and even more to aid in automating this manual effort.&lt;/p&gt;
&lt;p class="note"&gt;After you've downloaded it, rename the file and remove the &lt;span class="lightyellow filename"&gt;.txt&lt;/span&gt; extension.&lt;/p&gt;
&lt;p class="alert"&gt;&lt;span class="bold"&gt;IMPORTANT&lt;/span&gt;&amp;nbsp; The previously uploaded script had the last line truncated to &lt;span class="command bold"&gt;Stop-Tran&lt;/span&gt; (instead of &lt;span class="command bold"&gt;Stop-Transcript&lt;/span&gt;). We've uploaded an updated version to TechNet Gallery. &lt;span class="bold"&gt;If you downloaded the previous version of the script&lt;/span&gt;, please download the updated version. Alternatively, you can open the previously downloaded version in Notepad or other text editor and correct the last line to &lt;span class="command bold"&gt;Stop-Transcript&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s break down the major tasks the PowerShell script does:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Uses &lt;acronym title="Exchange Web Services"&gt;EWS&lt;/acronym&gt; Application Impersonation to tap into a mailbox (or set of mailboxes) and read the three MAPI properties where the Direct Booking settings are stored. It does this by accessing the localfreebusy item sitting in the &lt;span class="filepath lightyellow"&gt;NON_IPM_SUBTREE\FreeBusy Data&lt;/span&gt; folder, which resides in the root of the &lt;span class="UI"&gt;Information Store&lt;/span&gt; in the mailbox. The three MAPI properties and their equivalent Outlook settings the script looks at are:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;&lt;span class="bold"&gt;0x686d&lt;/span&gt; Automatically accept meeting requests and remove canceled meetings&lt;/li&gt;
&lt;li&gt;&lt;span class="bold"&gt;0x686f&lt;/span&gt; Automatically decline meeting requests that conflict with an existing appointment or meeting&lt;/li&gt;
&lt;li&gt;&lt;span class="bold"&gt;0x686e&lt;/span&gt; Automatically decline recurring meeting requests&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These three properties contain Boolean values mirroring the Resource Scheduling checkboxes found in Outlook (see Figure 1 above).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;For mailboxes where Direct Booking settings were detected, it checks for conflicts by determining if the mailbox also has Resource Booking Attendant enabled with &lt;span class="parameter"&gt;AutomateProcessing&lt;/span&gt; set to &lt;span class="parameer lightyellow"&gt;AutoAccept&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;Optionally, disables any enabled Direct Booking settings encountered.
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note&lt;/span&gt; It is important to understand that by default the script runs in a read-only mode. Additional command line switches are available to run the script to disable Direct Booking settings.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Writes a detailed runtime processing log to console and log file.&lt;/li&gt;
&lt;li&gt;Creates a simple output text file containing a list of mailboxes that can be later leveraged as an input file to feed the script for disabling the Direct Booking functionality.&lt;/li&gt;
&lt;li&gt;Creates a CSV file containing statistics of the list of mailboxes processed with detailed information, such as what was discovered, any errors encountered, and optionally what was disabled. This is useful for performing analysis in the discovery phase and can also be used as another source to create an input file to feed into the script for disabling the Direct Booking functionality.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Example Scenarios&lt;/h2&gt;
&lt;p&gt;Here are a couple of example scenarios that illustrate how to use the script to discover and remove enabled Direct Booking settings.&lt;/p&gt;
&lt;h3&gt;Scenario 1&lt;/h3&gt;
&lt;p&gt;You've recently migrated from Exchange 2003 to Exchange 2010 and would like to disable Direct Booking for your company&amp;rsquo;s conference room mailboxes as well as any user mailboxes that may have Direct Booking settings enabled. The administrator&amp;rsquo;s logged in account has Application Impersonation rights and the &lt;a class="bold" title="More about the View-Only Recipients Role in Exchange 2010 documentation" href="http://technet.microsoft.com/en-us/library/dd876872%28v=exchg.141%29.aspx"&gt;View-Only Recipients&lt;/a&gt; &lt;acronym title="Role-Based Access Control"&gt;RBAC&lt;/acronym&gt;role assigned.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;On a machine that has the Exchange management tools &amp;amp; the Exchange Web Services API 1.2 or greater installed, open the Exchange Management Shell, navigate to the folder containing the script, and run the script using the following syntax:
&lt;p class="code"&gt;.\Remove-DirectBooking.ps1 &amp;ndash;identity * -UseDefaultCredentials&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;The script will process all mailboxes in the organization with detailed logging sent to the shell on the console. Note, depending the number of mailboxes in the org, this may take some time to complete&lt;/li&gt;
&lt;li&gt;When the script completes, open the &lt;span class="filename lightyellow"&gt;Remove-DirectBooking_&amp;lt;timestamp&amp;gt;.txt&lt;/span&gt;file in Notepad, which will contain list of mailboxes that have Direct Booking enabled:
&lt;p&gt;&lt;img src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/5100.Remove_2D00_DirectBooking_2D00_1.png" alt="Screnshot: The Remove-Directbooking log generated by the script" /&gt;&lt;br /&gt; &lt;span class="caption"&gt;&lt;span class="bold"&gt;Figure 2: &lt;/span&gt; Output file containing list of mailboxes with Direct Booking enabled&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;After reviewing the list, rerun the script with the &lt;span class="parameter"&gt;InputFile&lt;/span&gt; parameter and the &lt;span class="parameter"&gt;RemoveDirectBooking&lt;/span&gt;switch:
&lt;p class="code"&gt;.\Remove-DirectBooking.ps1 &amp;ndash;InputFile &amp;lsquo;.\Remove-DirectBooking_&amp;lt;timestamp&amp;gt;.txt&amp;rsquo; &amp;ndash;UseDefaultCredentials -RemoveDirectBooking&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;The script will process all the mailboxes listed in the input file with detailed logging sent to the shell on the console. Because you specified the &lt;span class="parameter lighyellow"&gt;RemoveDirectBooking&lt;/span&gt; switch, it does not run in read-only mode and disables all currently enabled Direct Booking settings encountered.&lt;/li&gt;
&lt;li&gt;When the script completes, you can check the status of the removal operation by checking the &lt;span class="filename lightyellow"&gt;Remove-DirectBooking_&amp;lt;timestamp&amp;gt;.csv&lt;/span&gt; file. A column called &lt;span class="bold"&gt;Direct Booking Removed?&lt;/span&gt; will record if the removal was successful. You can also check the runtime processing log file &lt;span class="filename lightyellow"&gt;RemoveDirectBooking_&amp;lt;timestamp&amp;gt;.log&lt;/span&gt;as well.
&lt;p&gt;&lt;img src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/4857.Remove_2D00_DirectBooking_2D00_2.png" alt="Log file results in Excel" width="600" /&gt;&lt;br /&gt; &lt;span class="caption"&gt;&lt;span class="bold"&gt;Figure 3:&lt;/span&gt; Reviewing runtime log file in Excel (see &lt;a href="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/4857.Remove_2D00_DirectBooking_2D00_2.png"&gt;larger screeshot&lt;/a&gt;))&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note&lt;/span&gt; The &lt;span class="bold"&gt;Direct Booking Removed?&lt;/span&gt; column now shows &lt;span class="parameter lightyellow"&gt;Yes&lt;/span&gt; where applicable, but the three Direct Booking settings columns still show their various values as &amp;ldquo;Yes&amp;rdquo;; this is because we record those three values pre-removal. If you were to run the script again in read-only mode against the same input file, those columns would reflect a value of &lt;span class="parameter lightyellow"&gt;N/A&lt;/span&gt; since there would no longer be any Direct Booking settings enabled. The &lt;span class="bold"&gt;Resource Room?&lt;/span&gt;, &lt;span class="bold"&gt;AutoAccept Enabled?&lt;/span&gt;, and &lt;span class="bold"&gt;Conflict Detected&lt;/span&gt; all have a value of &lt;span class="parameter"&gt;N/A&lt;/span&gt; regardless because they are not relevant when disabling the Direct Booking settings.&lt;/p&gt;
&lt;h3&gt;Scenario 2&lt;/h3&gt;
&lt;p&gt;You're an administrator who's new to an organization. You know that they migrated from Exchange 2003 to Exchange 2007 in the distant past and are currently in the process of implementing Exchange 2013, having already migrated some users to Exchange 2013. You have no idea what resources mailboxes or even user mailboxes may be using Direct Booking and would like to discover who has what Direct Booking settings enabled. You would then like to selectively choose which mailboxes to pilot for Direct Booking removal before taking action on the majority of found mailboxes.&lt;/p&gt;
&lt;p&gt;Here's how you would accomplish this using the &lt;span class="filename"&gt;Remove-DirectBooking.ps1&lt;/span&gt; script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Obtain a service account that has Application Impersonation rights for all mailboxes in the org.&lt;/li&gt;
&lt;li&gt;Ensure service account has at least Exchange View-Only Administrator role (2007) and at least have an RBAC Role Assignment of View Only Recipients (2010/2013).&lt;/li&gt;
&lt;li&gt;On a machine that has the Exchange management tools &amp;amp; the Exchange Web Services API 1.2 or greater installed, preferably an Exchange 2013 server, open the Exchange Management Shell, navigate to the folder containing the script, and run the script using the following syntax:
&lt;p class="code"&gt;.\Remove-DirectBooking.ps1 &amp;ndash;Identity *&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;The script will prompt you for the domain credentials of the account you wish to use because no credentials were specified. Enter the service account&amp;rsquo;s credentials.&lt;/li&gt;
&lt;li&gt;The script will process all mailboxes in the organization with detailed logging sent to the shell on the console. Note, depending the number of mailboxes in the org, this may take some time to complete.&lt;/li&gt;
&lt;li&gt;When the script completes, open the &lt;span class="filename"&gt;Remove-DirectBooking_&amp;lt;timestamp&amp;gt;.csv&lt;/span&gt;in Excel, which will looks something like:
&lt;p&gt;&lt;img src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/4861.Remove_2D00_DirectBooking_2D00_3.png" alt="" /&gt;&lt;br /&gt; &lt;span class="caption"&gt;&lt;span class="bold"&gt;Figure 4:&lt;/span&gt; Reviewing the &lt;span class="filename"&gt;Remove-DirectBooking_&amp;lt;timestamp&amp;gt;.csv&lt;/span&gt; in Excel (see &lt;a href="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/4861.Remove_2D00_DirectBooking_2D00_3.png"&gt;larger screeshot&lt;/a&gt;))&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Filter or sort the table by the &lt;span class="bold"&gt;Direct Booking Enabled?&lt;/span&gt; column. This will provide a list that can be scrutinized to determine which mailboxes are to be piloted with Direct Booking removal, such as those that have conflicts with already having the Resource Booking Attendant&amp;rsquo;s Automated Processing set to &lt;span class="parameter lightyellow"&gt;AutoAccept&lt;/span&gt; (which you can also filter on using the &lt;span class="bold"&gt;AutoAccept Enabled?&lt;/span&gt; column).&lt;/li&gt;
&lt;li&gt;Once the list has been reviewed and the targeted mailboxes isolated, simply copy their email addresses into a text file (one address per line), save the text file, and use it as the input source for the running the script to disable the Direct Booking settings:
&lt;p class="code"&gt;.\Remove-DirectBooking.ps1 &amp;ndash;InputFile &amp;lsquo;.\&amp;rsquo; -RemoveDirectBooking&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;As before, the script will prompt you for the domain credentials of the account you wish to use. Enter the service account&amp;rsquo;s credentials.&lt;/li&gt;
&lt;li&gt;The script will process all the mailboxes listed in the input file with detailed logging sent to the shell on the console. It will disable all enabled Direct Booking settings encountered.&lt;/li&gt;
&lt;li&gt;Use the same validation steps at the end of the previous example to verify the removal was successful.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Script Options and Caveats&lt;/h2&gt;
&lt;p&gt;Please see the script&amp;rsquo;s help section (via &amp;ldquo;get-help .\remove-DirectBooking.ps1 -full&amp;rdquo;) for full information on all the available parameters. Here are some additional options that may be useful in certain scenarios:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span class="bold"&gt;EWSURL switch parameter&lt;/span&gt; By default, the script will attempt to retrieve the &lt;acronym title="Exchange Web Services"&gt;EWS&lt;/acronym&gt; URL for each mailbox via AutoDiscover. This is preferred, especially in complex multi-datacenter or hybrid Exchange Online/On-premises environments where different EWS URLs may be in play for any given mailbox depending on where it resides in the org. However, there may be times where one would want to supply an EWS URL manually, such as when AutoDiscover is having &amp;ldquo;issues&amp;rdquo;, or the response time for AutoDiscover requests is introducing delays in overall script execution (think very large quantity of number of mailbox identities to churn through) and the EWS URL is the same across the org, etc. In these situations, one can use the &lt;span class="parameter lightyellow"&gt;EWSURL&lt;/span&gt; parameter to feed the script a static EWS URL.&lt;/li&gt;
&lt;li&gt;&lt;span class="bold"&gt;UseDefaultCredentials&lt;/span&gt; If the current user is the service account or perhaps simply has both the Impersonation and the necessary Exchange Admin rights per the script&amp;rsquo;s requirements and they don&amp;rsquo;t wish to be prompted to type in a credential (another great example is scheduling the script to run as a job for instance), you can use the &lt;span class="parameter lightyellow"&gt;UseDefaultCredentials&lt;/span&gt; to run the script under that security context.&lt;/li&gt;
&lt;li&gt;&lt;span class="bold"&gt;RemoveDirectBooking&lt;/span&gt; By default, the script runs in read-only mode. In order to make changes and disable Direct Booking settings on the mailbox, you mus specify the &lt;span class="parameter lightyellow"&gt;RemoveDirectBooking&lt;/span&gt; switch.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The script does have several prerequisites and caveats to ensure proper operation and meaningful results:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Application Impersonation rights and minimum Exchange Admin rights must be used
&lt;ul class="arrowlist"&gt;
&lt;li&gt;For Exchange 2007, see &lt;a class="bold" href="http://msdn.microsoft.com/en-us/library/exchange/bb204095(v=exchg.80).aspx"&gt;Configuring Exchange Impersonation (Exchange Web Services)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;For Exchange 2010/2013, see &lt;a class="bold" href="http://msdn.microsoft.com/en-us/library/exchange/bb204095(v=exchg.140).aspx"&gt;Configuring Exchange Impersonation&lt;/a&gt; (uses &lt;acronym title="Role-Based Access Control"&gt;RBAC&lt;/acronym&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a class="bold" title="Download Exchange Web Services Managed API 1.2" href="http://www.microsoft.com/en-us/download/details.aspx?id=28952"&gt;Exchange Web Services Managed API 1.2&lt;/a&gt; or later must be installed on the machine running the script&lt;/li&gt;
&lt;li&gt;Exchange management tools must be installed on the machine running the script&lt;/li&gt;
&lt;li&gt;Script must be executed from within the Exchange Management Shell&lt;/li&gt;
&lt;li&gt;The Shell session must have the appropriate execution policy to allow the script to be executed &lt;span class="comment"&gt;(by default, you can't execute unsigned scripts)&lt;/span&gt;.&lt;/li&gt;
&lt;li&gt;AutoDiscover must be configured correctly (unless the &lt;acronym title="Exchange Web Services"&gt;EWS&lt;/acronym&gt; URL is entered manually)&lt;/li&gt;
&lt;li&gt;Exchange 2003-based mailboxes cannot be targeted due to lack of EWS capabilities&lt;/li&gt;
&lt;li&gt;In an Exchange 2010/2013 environment that also has Exchange 2007 mailboxes present, the script should be executed from a machine running Exchange 2010/2013 management tools due to changes in the cmdlets in those versions&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Summary&lt;/h2&gt;
&lt;p&gt;The discovery and removal of Direct Booking settings can be a tedious and costly process to perform manually, but you can avoid and automate it using current functions and features via PowerShell and &lt;acronym title="Exchange Web Services"&gt;EWS&lt;/acronym&gt; in Microsoft Exchange Server 2007, 2010, &amp;amp; 2013. With careful use, the &lt;span class="filename"&gt;Remove-DirectBooking.ps1&lt;/span&gt; script can be a valuable tool to aid Exchange administrators in maintaining automated resource scheduling capabilities in their Microsoft Exchange environments.&lt;/p&gt;
&lt;p&gt;Your feedback and comments are welcome.&lt;/p&gt;
&lt;p&gt;Thank you to Brian Day and Nino Bilic for their guidance in content review, and to our customers (you know who you are) for piloting the script.&lt;/p&gt;
&lt;p&gt;&lt;span class="author"&gt;Seth Brandes&lt;/span&gt; &amp;amp; &lt;span class="author"&gt;Dan Smith&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3571818" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Administration/">Administration</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2007/">Exchange 2007</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Mailbox/">Mailbox</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2013/">Exchange 2013</category></item><item><title>Troubleshoot your Exchange 2010 database backup functionality with VSSTester script</title><link>http://blogs.technet.com/b/exchange/archive/2013/04/29/troubleshoot-your-exchange-2010-database-backup-functionality-with-vsstester-script.aspx</link><pubDate>Mon, 29 Apr 2013 15:38:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3569686</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3569686</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/04/29/troubleshoot-your-exchange-2010-database-backup-functionality-with-vsstester-script.aspx#comments</comments><description>&lt;div class="resources" style="width: 150px;"&gt;
&lt;ul style="list-style-type: none; font-size: 1.2em; list-style-position: outside; color: #3b79cc; margin-left: 0.5em;"&gt;
&lt;li&gt;&lt;a title="Download the VSSTester script" href="http://gallery.technet.microsoft.com/scriptcenter/VSSTesterps1-script-4ed07243"&gt;Download&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;Frequently in support, we encounter several backup related calls for Exchange 2010 databases. A sample of common issues we hear from our customers are:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;&amp;ldquo;My backup software is not able to take a successful snapshot of the databases&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;My backups have been failing for quite a while. I have several thousand log files consuming disk space and I will eventually run out of disk space&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;My backup software indicates that the backup is successful but at the end of my backup, logs do not truncate&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;The Exchange Writer /VSS writer is not in a stable state (state is listed as &amp;lsquo;Retryable&amp;lsquo;, &amp;rsquo;Waiting for completion&amp;lsquo; or &amp;rsquo;Failed&amp;rsquo;)&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;We suspect that the Volume Shadow Copy Service (VSS) is failing on the server and hence there are no successful backups&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It is critical to understand how backups and log truncation work in Exchange 2010. If you haven't already done so, check out our three-part blog series by Jesse Tedoff on backups and log truncation in Exchange 2010, &lt;a href="http://blogs.technet.com/b/exchange/archive/2012/06/04/everything-you-need-to-know-about-exchange-backups-part-1.aspx"&gt;Everything You Need to Know About Exchange Backups*&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When troubleshooting backups in Exchange 2010 we are interested in two &lt;span class="newterm"&gt;writers&lt;/span&gt; &amp;ndash; the &lt;span class="bold"&gt;Exchange Information Store Writer&lt;/span&gt; (utilized for active copy backups) and the &lt;span class="bold"&gt;Exchange Replica Writer&lt;/span&gt; (utilized for passive copy backups). The writers are responsible for providing the metadata information for databases to the &lt;span class="bold"&gt;&lt;acronym title="Volume Shadow Copy Service"&gt;VSS&lt;/acronym&gt; Requestor&lt;/span&gt; (aka the backup software). The &lt;span class="bold"&gt;VSS Provider&lt;/span&gt; is the component that creates and maintains shadow copies. At the end of successful backups, when the Volume Shadow Copy Service signals backup is complete, the writers initiate post-backup steps which include updating the database header and performing log truncation. &lt;span class="comment"&gt;(For more details, see &lt;a class="bold" href="http://msdn.microsoft.com/en-us/library/exchange/bb204080%28v=exchg.140%29.aspx"&gt;Exchange VSS Writers&lt;/a&gt; on MSDN.)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As explained above, it is the responsibility of the VSS Requestor to get metadata information from Exchange writers and at the end of successful backup, VSS service signals backup complete to the Exchange writers so the writers can perform post-backup operations.&lt;/p&gt;
&lt;p&gt;The purpose of this blog is to discuss the VSSTester script, its functionality and how it can help diagnose backup problems.&lt;/p&gt;
&lt;h2&gt;What does the script to?&lt;/h2&gt;
&lt;p&gt;The script has two major functions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Perform Diskshadow backup of a selected Exchange database so we can exercise the VSS framework in the system, so at the end of a successful snapshot, database header is updated and log files are truncated. We will discuss in detail what Diskshadow is and what it does.&lt;/li&gt;
&lt;li&gt;The second function of this script is to collect diagnostic data. For backup cases, there is a lot of data that needs to be collected. To get the diagnostic data you may have to manually go to different places in the Exchange server and turn on logging. If that is not done correctly, we will miss getting crucial logs during the time of the issue. The script makes the data collection process much easier.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Script requirements&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;The current version of the script works only on Exchange 2010 servers.&lt;/li&gt;
&lt;li&gt;The script needs to be run on the Exchange server that is experiencing backup issues. If you are having issues with passive copy backups, please go to the appropriate node in the DAG and run the script. For example: You may have Database A having copies on Server1, Server2 and Server3. Server1 hosts the active copy of the database. If backups of the active copy have previously failed run the script on Server1. Otherwise run script on whichever of the remaining servers has failed previously when backing up the passive copy.&lt;/li&gt;
&lt;li&gt;Please ensure that you have enough space on the drive you save the configuration and output files. Exchange and VSS traces, Diagnostic logs can occupy up to several GBs of drive space depending on the time taken for taking backup. For example: Running the script in a lab environment consumed close to 25MB of drive space a minute.&lt;/li&gt;
&lt;li&gt;The script is unsigned. On the server where you run the script you will have to set the execution policy to allow unsigned PowerShell scripts. Please see &lt;a href="http://technet.microsoft.com/en-us/library/ee176949.aspx"&gt;this&lt;/a&gt; for how to do this.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The script can be run on any DAG configuration. You can use this to troubleshoot Mailbox and Public folder database backup issues. Databases and log files can be on regular drives or mount points. Mix and match of the two will also work!&lt;/p&gt;
&lt;p&gt;Let us discuss in detail the two main functionalities of the script.&lt;/p&gt;
&lt;h2&gt;Diskshadow functionality and how the script uses it&lt;/h2&gt;
&lt;p&gt;What is Diskshadow and why do we utilize it in VSSTester script?&lt;/p&gt;
&lt;p&gt;Diskshadow.exe is a command line tool built in to Windows Server 2008 operating system family as well as Windows Server 2012. Diskshadow is an in-box VSS requestor. It is utilized to test the functionality provided by the Volume Shadow Copy Service (VSS). For more details on Diskshadow please visit:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ee221016(v=ws.10).aspx"&gt;http://technet.microsoft.com/en-us/library/ee221016(v=ws.10).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/b/josebda/archive/2007/11/30/diskshadow-the-new-in-box-vss-requester-in-windows-server-2008.aspx"&gt;http://blogs.technet.com/b/josebda/archive/2007/11/30/diskshadow-the-new-in-box-vss-requester-in-windows-server-2008.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The best part about Diskshadow is that it includes a script mode for automating tasks. This feature of Diskshadow is utilized in the VSSTester. The shadow copy done by Diskshadow is a snapshot of the entire volume at a given point in time. This copy is read-only.&lt;/p&gt;
&lt;p&gt;More details on how a shadow copy is created, please visit the following link: &lt;a href="http://technet.microsoft.com/en-us/library/ee923636(v=ws.10).aspx"&gt;http://technet.microsoft.com/en-us/library/ee923636(v=ws.10).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;During the course of the blog post, I will be mentioning the term &amp;ldquo;Diskshadow backup&amp;rdquo;. &lt;strong&gt;It is very important to understand that the term &amp;ldquo;backup&amp;rdquo; is relative here&lt;/strong&gt;. Diskshadow uses the VSS service and gets the appropriate writer to be utilized for the snapshot. The writer will provide the metadata information of database /log files to the Diskshadow. After which Diskshadow utilizes the VSS Provider to create a shadow copy.&lt;/p&gt;
&lt;p&gt;After a successful shadow copy /snapshot of databases and log files, the VSS Provider signals an end-backup to Exchange writers. To Exchange this looks like a full backup has been performed on the database. &lt;span style="text-decoration: underline;"&gt;The key to understand here is &lt;strong&gt;NO&lt;/strong&gt; data is actually transferred to a device, tape etc.&lt;/span&gt; This is only a test! You will see events in the application logs that usually show up when you take a regular backup, but &lt;strong&gt;NO&lt;/strong&gt; &lt;strong&gt;data is actually backed up&lt;/strong&gt;. Diskshadow has simply run all the backup APIs through the backup process without transferring any data.&lt;/p&gt;
&lt;p&gt;The VSS Provider will take a snapshot of all the databases and logs (if present) on the volume. We will be doing a mirrored snapshot of the entire volume at the point in time when Diskshadow was run. Anything that is on the volume will be part of the snapshot. During the Diskshadow backup, we will be utilizing either the Information store writer (for active copy backup) or the Replica Writer (Passive copy backup) to provide the metadata information for the database.&lt;/p&gt;
&lt;p&gt;When you use the VSSTester script, it prompts you for a database to be selected to perform the Diskshadow backup. When we take a snapshot of the volume all other databases (if present on the same drive) will be part of the snapshot, but post-backup operations will happen only on the selected database. This is because we will be utilizing either the Information store Writer (Active Copy Backup) or the Replica Writer (Passive copy backup) &lt;strong&gt;that is associated with the selected database&lt;/strong&gt;. DB headers get updated based on VSS Requestor interaction with the Exchange writer that was utilized, which in turn leads to log truncation. Hence the header of the selected database will be only updated and &lt;strong&gt;logs will be purged (only for that the selected database) &lt;span style="text-decoration: underline;"&gt;without being backed up&lt;/span&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;When would you be interested in utilizing this Diskshadow functionality of the script?&lt;/h3&gt;
&lt;p&gt;You would be interested to utilize this functionality in almost all scenarios that I discussed at the start of this blog post. In addition to those scenarios another one that is not related to backups sometimes arises:&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&amp;ldquo;I had an unexpected high transactional log growth issue in my exchange 2010 environment and now I am on the verge of losing all disk space in the logs directory. I do not have the time to perform a backup to truncate logs and my goal is to safely remove all the log files&amp;rdquo;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the scenario mentioned above (and, by the way, if you have that problem, please go &lt;a href="http://blogs.technet.com/b/exchange/archive/2013/04/18/troubleshooting-rapid-growth-in-databases-and-transaction-log-files-in-exchange-server-2007-and-2010.aspx"&gt;here&lt;/a&gt;), Exchange administrators would like to avoid causing a service outage by dismounting the database, removing log files and remounting the database. Another downside to manually removing the log files is breaking replication if the database has replicas across Database Availability Group members.&lt;/p&gt;
&lt;p&gt;If you are willing to forgo a backup of the log files you can use the Diskshadow functionality of the script to trigger the backup APIs and tell Exchange to truncate the log files. The truncation commands will replicate to the other database copies and purge log files there as well. If successful, the net result is that the database will not go offline for lack of disk space on the log drive, but you will not have the security of retaining those log files for a future restore.&lt;/p&gt;
&lt;h3&gt;A sample run of the VSSTester script (with Diskshadow functionality)&lt;/h3&gt;
&lt;p&gt;Let me demonstrate the Diskshadow functionality of the script.&lt;/p&gt;
&lt;p&gt;The Script can be downloaded from TechNet gallery &lt;a href="http://gallery.technet.microsoft.com/scriptcenter/VSSTesterps1-script-4ed07243"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The script initializes and gives us the following options.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3108.image_5F00_00E59FDB.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3036.image_5F00_thumb_5F00_7C02EC1E.png" alt="image" width="624" height="330" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We select the option 1 to test backup using the built-in Diskshadow function.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3542.image_5F00_4932E5AA.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7762.image_5F00_thumb_5F00_76B4056D.png" alt="image" width="624" height="74" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the path does not exist, the script will create the folder for you.&lt;/p&gt;
&lt;p&gt;We gather the server name and verify it is an Exchange 2010 server. The script will check for the VSS writer status on the local machine. If we detect, any of the writers are not in a &amp;ldquo;Stable&amp;rdquo; state, the script will exit. You will need to restart the service associated with the writer to get the writers to a stable state (The Replication service for the Replica Writer or the Information Store service for the Exchange Writer).&lt;/p&gt;
&lt;p&gt;The script then gets a list of databases present on the local server and displays the database name, if database is mounted or not and what is the server that holds the active copy of the database. You will have to select the number of the database.&lt;/p&gt;
&lt;p class="note"&gt;Note: If the user does not provide an input, the script will automatically select &lt;em&gt;the last database in the list&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;In my case, I selected database mdb5. The number to enter would be 8.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1325.image_5F00_3926A7A4.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1832.image_5F00_thumb_5F00_66A7C767.png" alt="image" width="550" height="448" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The next important check is ensuring that the database&amp;rsquo;s replicas (if present) are healthy. If we detect that one of the copies is not healthy, the script will exit mentioning that the database copies need to be in healthy status before running the script.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2425.image_5F00_663B9472.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1351.image_5F00_thumb_5F00_1ADBF0AE.png" alt="image" width="363" height="97" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The script next detects the location of the database file and log files. We create the Diskshadow configuration file on the fly every time a database is selected. This configuration file is also saved to the location you had specified earlier (in the example screenshots of this blog c:\vsstesterlogs) to save the configuration and output files. In this case the log files are in a mount point and the database file is on a regular volume. The script will add the appropriate volumes to the disk shadow file.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2311.image_5F00_16838F77.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1830.image_5F00_thumb_5F00_4D60746E.png" alt="image" width="624" height="211" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The script will then prompt you to provide the drive letters to expose the snapshots. A common question that arises is, do I need to initialize the drive before I specify a drive letter? The answer is no!&lt;/p&gt;
&lt;p&gt;You will be specifying a drive letter that is currently not in use, so Diskshadow will create a virtual drive and expose the snapshot. Remember, the virtual drive that exposes the shadow copy is a read-only volume. The shadow copy is a read only copy .If the database and logs are in the same mount point / drive only, one drive letter is required to expose the snapshot, otherwise you will need to provide two different drive letters. One for exposing database snapshot and another for log files.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5383.image_5F00_5AC68774.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8623.image_5F00_thumb_5F00_0847A738.png" alt="image" width="691" height="98" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When you select the option to perform the Diskshadow backup, the script will automatically collect Diagnostic logs, ExTRA traces and VSS traces. Also verbose logging is turned on for Diskshadow. Whatever activity the script does is also logged in to transcript log and saved in the output files directory (c:\vsstesterlogs in this example).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8228.image_5F00_35C8C6FB.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1108.image_5F00_thumb_5F00_783B6931.png" alt="image" width="543" height="429" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note: If you are performing a passive copy backup, ExTRA tracing will also be turned on in the active node. At the end of the script, we turn off ExTRA tracing in the active node and it will be automatically moved to the passive node. The active node ETL will be placed in the logs folder you had specified at the start of the script. .&lt;/p&gt;
&lt;p&gt;Now, the main Diskshadow function will execute.&lt;/p&gt;
&lt;p&gt;In the screenshots below we have excluded all other writers on the system that are associated with all other databases on the node (that are mounted or be replicas) and we are ONLY utilizing the writer associated with the selected database. This node hosts the passive copy of the database MDB5. Hence, the writer utilized will be associated with the Replication service aka the Microsoft Exchange Replica Writer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3386.image_5F00_45D795B2.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4278.image_5F00_thumb_5F00_20D9D539.png" alt="image" width="240" height="60" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4212.image_5F00_154417FA.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4718.image_5F00_thumb_5F00_70B28A75.png" alt="image" width="240" height="14" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;em&gt;(please click on above two screenshots to see them)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the screen shot below, you can see that VSS Provider has taken a successful snapshot of the database and signaled end backup to the replica writer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/0412.image_5F00_70465780.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1513.image_5F00_thumb_5F00_3DE28401.png" alt="image" width="549" height="89" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now that we performed a successful snapshot of the database and log files, all the logging that was turned on will be turned off. The log files will be consolidated in the logs folder that you specified earlier at the start of the script. The script checks the VSS writer status after the backup is complete.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4743.image_5F00_0B7EB082.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2021.image_5F00_thumb_5F00_66ED22FD.png" alt="image" width="474" height="491" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When the snapshot operation is complete, you will be prompted for an option to either remove the snapshot or leave the snapshots exposed in Windows Explorer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3583.image_5F00_425B9579.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2133.image_5F00_thumb_5F00_1DCA07F5.png" alt="image" width="240" height="37" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;em&gt;(click to view)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I selected the option to remove the snapshot; hence we will be invoking Diskshadow again to delete the snapshot created earlier.&lt;/p&gt;
&lt;p&gt;Let us discuss in detail exposing and removing snapshot functionality:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Remove snapshots&lt;/strong&gt; - The snapshots that were taken earlier (database or log files) will be exposed in the Windows explorer, if the snapshot operation was successful. In this script we expose the snapshots as a drive letter (that you had specified earlier). If you do not want to have a copy of the log files, you may chose this option and the snapshot will be deleted. All the logs that got purged after post-backup will be present in this read only volume and when this volume is removed they will be deleted forever.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Expose Snapshots&lt;/strong&gt; &amp;ndash; You may choose to have the snapshots exposed. Later, if you want to delete the snapshot, please do the following&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Open Command prompt&lt;/li&gt;
&lt;li&gt;Type in &lt;span class="cmdlet lightyellow"&gt;Diskshadow&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Delete shadows exposed &amp;lt;volume&amp;gt;&lt;strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p class="note"&gt;Note: It is &lt;strong&gt;highly recommended&lt;/strong&gt; to take a full backup of the database using your regular backup software after utilizing Diskshadow.&lt;/p&gt;
&lt;p&gt;After this, the script collects the application and system logs. The script filters them to cover only the period you started the script to the present. The transcript log is also stopped. The logs will be saved as a text file and saved in the output folder you had specified earlier (c:\vsstesterlogs in this example).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5228.image_5F00_4906E447.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8484.image_5F00_thumb_5F00_7930BFBB.png" alt="image" width="624" height="180" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The most reliable method to verify log truncation takes place is to get the log sequence before and after the backup. Hence, before running the script I ran &lt;span class="cmdlet lightyellow"&gt;eseutil/ml ENN&lt;/span&gt; (the log generation prefix associated with database).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1464.image_5F00_4660B947.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5265.image_5F00_thumb_5F00_33ABBF90.png" alt="image" width="621" height="460" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Post-backup, when I ran the same command, and can see:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4532.image_5F00_03F0A7C2.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6204.image_5F00_thumb_5F00_713BAE0A.png" alt="image" width="602" height="340" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We can clearly see a difference in the start of the sequence, meaning log truncation has occurred for the database. One more verification that can be done is to check the database header. We can see that the database header got updated to the most recent time, where Diskshadow was run.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2570.image_5F00_11F04FE6.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2677.image_5F00_thumb_5F00_6D5EC261.png" alt="image" width="473" height="176" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;I ran the script; what have I accomplished?&lt;strong&gt;&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;If the script finished successfully:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We were able to successfully test and exercise the underlying VSS framework in the server. Volume Shadow Copy service was able to successfully identify and utilize the Exchange writers in the box&lt;/li&gt;
&lt;li&gt;The Exchange writers are able to provide the metadata information to the VSS Requestor (Diskshadow)&lt;/li&gt;
&lt;li&gt;VSS Provider was able to successfully create a snapshot /shadow copy&lt;/li&gt;
&lt;li&gt;VSS successfully signaled the Exchange writers on backup complete&lt;/li&gt;
&lt;li&gt;The Exchange writers were able to perform the post snapshot operations which included log truncation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let us now look in to the other major functionality of the script.&lt;/p&gt;
&lt;h2&gt;Enable logging to troubleshoot backup issues&lt;/h2&gt;
&lt;p&gt;Use this if you do not want to test backup using Diskshadow and you just want to collect diagnostic logs for troubleshooting backup issues.&lt;/p&gt;
&lt;p&gt;You may collect the diagnostic logs and have them handy before calling Microsoft Support saving a lot of time in the support incident because you can provide the files at the beginning of the case.&lt;/p&gt;
&lt;p&gt;This time we will be selecting option 2 to enable logging.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3187.image_5F00_53F6BF27.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1440.image_5F00_thumb_5F00_336F7F75.png" alt="image" width="624" height="334" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Selecting this option does the majority of the things that the script did earlier, EXCEPT Diskshadow of course!&lt;/p&gt;
&lt;p&gt;After checking the writer status, you can select the database to backup. We will be enabling all the logging like before (Diagnostic Logging, ExTRA, VSS tracing). Remember that, even though you would still be selecting one database - diagnostic logging, ExTRA tracing, VSS tracing are not database specific and are turned on at the server level. When you are utilizing the script to troubleshoot backup issues you can select any one database on the server and it will turn on appropriate logging on the server.&lt;/p&gt;
&lt;p&gt;After the logging is turned on and traces enabled, you will see:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4760.image_5F00_55C714EE.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7737.image_5F00_thumb_5F00_034834B2.png" alt="image" width="240" height="45" border="0" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;em&gt;(click to view)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Now you will need to start your regular backup. After the backup completes/fails, you will need to come back to the PowerShell window where you are running the script and use the &amp;ldquo;ENTER&amp;rdquo; key to terminate the data collection. The script then disables diagnostic logging and tracing that was turned up earlier. If needed it will copy diagnostic logs from the active node for that database copy as well.&lt;/p&gt;
&lt;p&gt;The script will again check for writer status after the backup then collect the application and system logs. It will stop the transcript log as well.&lt;/p&gt;
&lt;p&gt;At this point, in order to troubleshoot the issue, you can open a case with Microsoft Support and upload the logs.&lt;/p&gt;
&lt;p&gt;I hope this script helps you in better understanding the core concepts in Exchange 2010 backups, thus helping you troubleshoot backup issues! You can utilize Diskshadow to test Volume Shadow Copy Service and also check if the Exchange writers are performing as intended. If Diskshadow completes successfully without any error and you are still experiencing issues with backup software, you may need to contact the backup vendor to further troubleshoot the issue.&lt;/p&gt;
&lt;p&gt;Your feedback and comments are most welcome.&lt;/p&gt;
&lt;p&gt;Special thanks to Michael Barta for his contribution to the script, Theo Browning and Jesse Tedoff for reviewing the content.&lt;/p&gt;
&lt;p&gt;&lt;span class="author"&gt;Muralidharan Natarajan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569686" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Storage/">Storage</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Troubleshooting/">Troubleshooting</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tools/">Tools</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/High+Availability/">High Availability</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Mailbox/">Mailbox</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Scripting/">Scripting</category></item><item><title>Exchange 2010 Database Availability Groups and Disk Sector Sizes</title><link>http://blogs.technet.com/b/exchange/archive/2013/04/24/exchange-2010-database-availability-groups-and-disk-sector-sizes.aspx</link><pubDate>Wed, 24 Apr 2013 22:00:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3568865</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3568865</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/04/24/exchange-2010-database-availability-groups-and-disk-sector-sizes.aspx#comments</comments><description>&lt;p&gt;These days, some customers are deploying Exchange databases and log files on advanced format (4K) drives.&amp;nbsp; Although these drives support a physical sector size of 4096, many vendors are emulating 512 byte sectors in order to maintain backwards compatibility with application and operating systems.&amp;nbsp; This is known as 512 byte emulation (512e).&amp;nbsp; Windows 2008 and Windows 2008 R2 support native 512 byte and 512 byte emulated advanced format drives.&amp;nbsp; Windows 2012 supports drives of all sector sizes.&amp;nbsp; The sector size presented to applications and the operating system, and how applications respond, directly affects data integrity and performance.&lt;/p&gt;
&lt;p&gt;For more information on sector sizes see the following links:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;&lt;a title="See 'Understanding the Impact of Large Sector Media for IT Pros' in Windows Server documentation" href="http://technet.microsoft.com/en-us/library/hh147334(v=ws.10).aspx"&gt;Understanding the Impact of Large Sector Media for IT Pros&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="See 'Advanced format (4K) disk compatibility update' on MSDN" href="http://msdn.microsoft.com/en-us/library/windows/desktop/hh848035(v=vs.85).aspx"&gt;Advanced format (4K) disk compatibility update&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="See KB 2510009: Microsoft support policy for 4K sector hard drives in Windows" href="http://support.microsoft.com/kb/2510009"&gt;KB 2510009&lt;/a&gt; Microsoft support policy for 4K sector hard drives in Windows&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When deploying an Exchange 2010 Database Availability Group (DAG), the sector sizes of the volumes hosting the databases and log files must be the same across all nodes within the DAG.&amp;nbsp; This requirement is outlined in &lt;a class="bold" title="See 'Understanding Storage Configuration' in Exchange 2010 documentation" href="http://technet.microsoft.com/en-us/library/ee832792(v=exchg.141).aspx"&gt;Understanding Storage Configuration&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote class="blockquote1"&gt;
&lt;p&gt;Support requires that all copies of a database reside on the same physical disk type. For example, it is not a supported configuration to host one copy of a given database on a 512-byte sector disk and another copy of that same database on a 512e disk. Also be aware that 4-kilobyte (KB) sector disks are not supported for any version of Microsoft Exchange and 512e disks are not supported for any version of Exchange prior to Exchange Server 2010 SP1.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Recently, we have noted that some customers have experienced issues with log file replication and replay as the result of sector size mismatch.&amp;nbsp; These issues occur when:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;Storage drivers are upgraded resulting in the recognized sector size changing.&lt;/li&gt;
&lt;li&gt;Storage firmware is upgraded resulting in the recognized sector size changing.&lt;/li&gt;
&lt;li&gt;New storage is presented or existing storage is replaced with drives of a different sector size.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This mismatch can cause one or more database copies in a &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; to fail, as illustrated below. In my example environment, I have a three-member DAG with a single database that resides on a volume labeled &lt;span class="command lightyellow"&gt;Z&lt;/span&gt; that is replicated between each member.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="output"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-2 Healthy 0 1 3/19/2013 10:27:50 AM Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 1 3/19/2013 10:27:50 AM Healthy&lt;/p&gt;
&lt;p&gt;If I use &lt;span class="command lightyellow"&gt;FSUTIL&lt;/span&gt; to query the Z volume on each &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; member, we can see that the volume currently has 512 logical bytes per sector and a 512 physical bytes per sector. Thus, the the volume is currently seen by the operating system as having a native 512 byte sector size.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On MBX-1:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="code"&gt;C:\&amp;gt;fsutil fsinfo ntfsinfo z:&lt;/p&gt;
&lt;p class="consoletext"&gt;NTFS Volume Serial Number :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x18d0bc1dd0bbfed6 &lt;br /&gt;Version :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 &lt;br /&gt;Number Sectors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000000fdfe7ff &lt;br /&gt;Total Clusters :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fbfcff &lt;br /&gt;Free Clusters&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fb842c &lt;br /&gt;Total Reserved :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000000 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Bytes Per Sector&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512 &lt;br /&gt;Bytes Per Physical Sector :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512&lt;/span&gt; &lt;br /&gt;&lt;/strong&gt;Bytes Per Cluster :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 &lt;br /&gt;Bytes Per FileRecord Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1024 &lt;br /&gt;Clusters Per FileRecord Segment : 0 &lt;br /&gt;Mft Valid Data Length :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000040000 &lt;br /&gt;Mft Start Lcn&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft2 Start Lcn :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000002 &lt;br /&gt;Mft Zone Start :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0040 &lt;br /&gt;Mft Zone End&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000cc840 &lt;br /&gt;RM Identifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EF486117-9094-11E2-BF55-00155D006BA1&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On MBX-3:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="code"&gt;C:\&amp;gt;fsutil fsinfo ntfsinfo z:&lt;/p&gt;
&lt;p class="consoletext"&gt;NTFS Volume Serial Number :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0ad44aafd44a9d37 &lt;br /&gt;Version :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 &lt;br /&gt;Number Sectors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000000fdfe7ff &lt;br /&gt;Total Clusters :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fbfcff &lt;br /&gt;Free Clusters&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fad281 &lt;br /&gt;Total Reserved :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000000 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Bytes Per Sector&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512 &lt;br /&gt;Bytes Per Physical Sector :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;Bytes Per Cluster :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 &lt;br /&gt;Bytes Per FileRecord Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1024 &lt;br /&gt;Clusters Per FileRecord Segment : 0 &lt;br /&gt;Mft Valid Data Length :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000040000 &lt;br /&gt;Mft Start Lcn&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft2 Start Lcn :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000002 &lt;br /&gt;Mft Zone Start :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft Zone End&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000cc820 &lt;br /&gt;RM Identifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B9B00E32-90B2-11E2-94E9-00155D006BA3&lt;/p&gt;
&lt;h2&gt;Effects of storage changes&lt;/h2&gt;
&lt;p&gt;But what happens if there is a change in the way storage is seen on MBX-3, so that the volume now reflects a 512e sector size.&amp;nbsp; This can happen when upgrading storage drivers, upgrading firmware, or presenting new storage that implements advanced format storage.&lt;/p&gt;
&lt;p class="code"&gt;C:\&amp;gt;fsutil fsinfo ntfsinfo z:&lt;/p&gt;
&lt;p class="consoletext"&gt;NTFS Volume Serial Number :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0ad44aafd44a9d37 &lt;br /&gt;Version :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 &lt;br /&gt;Number Sectors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000000fdfe7ff &lt;br /&gt;Total Clusters :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fbfcff &lt;br /&gt;Free Clusters&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fad2e7 &lt;br /&gt;Total Reserved :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000000 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Bytes Per Sector&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512 &lt;br /&gt;Bytes Per Physical Sector :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;Bytes Per Cluster :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 &lt;br /&gt;Bytes Per FileRecord Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1024 &lt;br /&gt;Clusters Per FileRecord Segment : 0 &lt;br /&gt;Mft Valid Data Length :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000040000 &lt;br /&gt;Mft Start Lcn&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft2 Start Lcn :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000002 &lt;br /&gt;Mft Zone Start :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0040 &lt;br /&gt;Mft Zone End&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000cc840 &lt;br /&gt;RM Identifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B9B00E32-90B2-11E2-94E9-00155D006BA3&lt;/p&gt;
&lt;p&gt;When reviewing the database copy status, notice that the copy assigned to MBX-3 has failed.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-2 Healthy 0 0 3/19/2013 11:13:05 AM Healthy &lt;br /&gt;&lt;span style="color: #ff0000;"&gt;SectorTest\MBX-3 Failed 0 8 3/19/2013 11:13:05 AM Healthy&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The full details of the copy status of MBX-3 can be reviewed to display the detailed error:&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus SectorTest\MBX-3 | fl&lt;/p&gt;
&lt;p class="consoletext"&gt;RunspaceId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 5f4bb58b-39fb-4e3e-b001-f8445890f80a &lt;br /&gt;Identity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SectorTest\MBX-3 &lt;br /&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SectorTest\MBX-3 &lt;br /&gt;DatabaseName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SectorTest &lt;br /&gt;Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Failed &lt;br /&gt;MailboxServer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MBX-3 &lt;br /&gt;ActiveDatabaseCopy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : mbx-1 &lt;br /&gt;ActivationSuspended&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False &lt;br /&gt;ActionInitiator&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Service &lt;br /&gt;ErrorMessage&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;span style="color: #ff0000;"&gt; The log copier was unable to continue processing for database 'SectorTest\MBX-3' because an error occurred on the target server: Continuous replication - block mode has been terminated. Error: the log file sector size does not match the current volume's sector size (-546) [HResult: 0x80131500]. The copier will automatically retry after a short delay. &lt;br /&gt;&lt;/span&gt;ErrorEventId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2152 &lt;br /&gt;ExtendedErrorInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;SuspendComment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;SinglePageRestore&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0 &lt;br /&gt;ContentIndexState&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Healthy &lt;br /&gt;ContentIndexErrorMessage&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;CopyQueueLength&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0 &lt;br /&gt;ReplayQueueLength&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 7 &lt;br /&gt;LatestAvailableLogTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3/19/2013 11:13:05 AM &lt;br /&gt;LastCopyNotificationedLogTime&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3/19/2013 11:13:05 AM &lt;br /&gt;LastCopiedLogTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3/19/2013 11:13:05 AM &lt;br /&gt;LastInspectedLogTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3/19/2013 11:13:05 AM &lt;br /&gt;LastReplayedLogTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3/19/2013 10:24:24 AM &lt;br /&gt;LastLogGenerated&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 53 &lt;br /&gt;LastLogCopyNotified&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 53 &lt;br /&gt;LastLogCopied&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 53 &lt;br /&gt;LastLogInspected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 53 &lt;br /&gt;LastLogReplayed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 46 &lt;br /&gt;LogsReplayedSinceInstanceStart&amp;nbsp;&amp;nbsp; : 0 &lt;br /&gt;LogsCopiedSinceInstanceStart&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0 &lt;br /&gt;LatestFullBackupTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;LatestIncrementalBackupTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;LatestDifferentialBackupTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;LatestCopyBackupTime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;SnapshotBackup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;SnapshotLatestFullBackup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;SnapshotLatestIncrementalBackup&amp;nbsp; : &lt;br /&gt;SnapshotLatestDifferentialBackup : &lt;br /&gt;SnapshotLatestCopyBackup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;LogReplayQueueIncreasing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False &lt;br /&gt;LogCopyQueueIncreasing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False &lt;br /&gt;OutstandingDumpsterRequests&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : {} &lt;br /&gt;OutgoingConnections&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;IncomingLogCopyingNetwork&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;SeedingNetwork&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &lt;br /&gt;ActiveCopy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False&lt;/p&gt;
&lt;p&gt;Using the &lt;a class="bold" title="Download Microsoft Exchange Server Error Code Look-up" href="http://www.microsoft.com/en-us/download/details.aspx?id=985"&gt;Exchange Server Error Code Look-up&lt;/a&gt; tool (ERR.EXE), we can verify the definition of the error code &lt;span class="command lightyellow"&gt;&amp;ndash;546&lt;/span&gt;.&lt;/p&gt;
&lt;p class="code"&gt;D:\Utilities\ERR&amp;gt;err -546&lt;/p&gt;
&lt;p class="consoletext"&gt;# for decimal -546 / hex 0xfffffdde &lt;br /&gt;&amp;nbsp; JET_errLogSectorSizeMismatch&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esent98.h &lt;br /&gt;# /* the log file sector size does not match the current &lt;br /&gt;# volume's sector size */ &lt;br /&gt;# 1 matches found for "-546"&lt;/p&gt;
&lt;p&gt;In addition, the Application event log may contain the following entries:&lt;/p&gt;
&lt;p class="consoletext"&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application &lt;br /&gt; Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSExchangeRepl &lt;br /&gt; Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/19/2013 11:14:58 AM &lt;br /&gt; Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2152 &lt;br /&gt; Task Category: Service &lt;br /&gt; Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error &lt;br /&gt; User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A &lt;br /&gt; Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MBX-3.exchange.msft &lt;br /&gt; Description: &lt;br /&gt;The log copier was unable to continue processing for database 'SectorTest\MBX-3' because an error occured on the target server: Continuous replication - block mode has been terminated. Error: the log file sector size does not match the current volume's sector size (-546) [HResult: 0x80131500]. The copier will automatically retry after a short delay.&lt;/p&gt;
&lt;h2&gt;The cause&lt;/h2&gt;
&lt;p&gt;&lt;span class="question"&gt;Why does this issue occur?&lt;/span&gt;&lt;br /&gt; Each log file records in the header the sector size of the disk where a log file was created.&amp;nbsp; For example, this is the header of a log file on MBX-1 with a native 512 byte sector size:&lt;/p&gt;
&lt;p class="code"&gt;Z:\SectorTest&amp;gt;eseutil /ml E0100000001.log&lt;/p&gt;
&lt;p class="consoletext"&gt;Extensible Storage Engine Utilities for Microsoft(R) Exchange Server &lt;br /&gt;Version 14.02 &lt;br /&gt;Copyright (C) Microsoft Corporation. All Rights Reserved. &lt;br /&gt;Initiating FILE DUMP mode...&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Base name: E01 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log file: E0100000001.log &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lGeneration: 1 (0x1) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checkpoint: (0x38,FFFF,FFFF) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; creation time: 03/19/2013 09:40:14 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev gen time: 00/00/1900 00:00:00 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Format LGVersion: (7.3704.16.2) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine LGVersion: (7.3704.16.2) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signature: Create time:03/19/2013 09:40:14 Rand:11019164 Computer: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Env SystemPath: z:\SectorTest\ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Env LogFilePath: z:\SectorTest\ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #ff0000;"&gt;Env Log Sec size: 512 (matches)&lt;/span&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp;&amp;nbsp; off,&amp;nbsp;&amp;nbsp; 1227,&amp;nbsp; 61350,&amp;nbsp; 16384,&amp;nbsp; 61350,&amp;nbsp;&amp;nbsp; 2048,&amp;nbsp;&amp;nbsp; 2048,&amp;nbsp; 44204) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using Reserved Log File: false &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Circular Logging Flag (current file): off &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Circular Logging Flag (past files): off &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checkpoint at log creation time: (0x1,8,0)&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Lgpos: (0x1,A,0) &lt;br /&gt;Number of database page references:&amp;nbsp; 0 &lt;br /&gt;Integrity check passed for log file: E0100000001.log &lt;br /&gt;Operation completed successfully in 0.62 seconds.&lt;/p&gt;
&lt;p&gt;The sector size that is chosen is determined through one of two methods:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;If the log stream is brand new, read the sector size from disk and utilize this sector size.&lt;/li&gt;
&lt;li&gt;If the log stream already exists, use the sector size of the given log stream.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In theory, since the sector size of disks should not be changing across nodes and the sector size of all disks must match, this should not cause a problem.&amp;nbsp; In our example, and in some customer environments, these sector sizes are actually changing.&amp;nbsp; Since most of these databases already exist, the existing sector size of the log stream is utilized, which in turn causes a mismatch between DAG members.&lt;/p&gt;
&lt;p&gt;When a mismatch occurs, the issue only prevents the successful use of block mode replication.&amp;nbsp; It does not affect file mode replication.&amp;nbsp; Block mode replication was introduced in Exchange 2010 Service Pack 1.&amp;nbsp; For more information on block mode replication, see &lt;a class="bold" title="See 'New High Availability and Site Resilience Functionality in Exchange 2010 SP1' in Exchange 2010 documentation" href="http://technet.microsoft.com/en-us/library/ff625233(v=exchg.141).aspx"&gt;New High Availability and Site Resilience Functionality in Exchange 2010 SP1&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span class="question"&gt;Why does this only affect block mode replication?&lt;/span&gt;&lt;br /&gt; When a log file is addressed we reference locations within a log file based off a log file position.&amp;nbsp; The log file position is a combination of the log generation, the sector, and offset within that sector.&amp;nbsp; For example, in the previous header dump you can see the &amp;ldquo;Last LGPOS&amp;rdquo; is (0x1,A,0) &amp;ndash; this just happens to be the last log file position within the log.&amp;nbsp; Let us say we were creating a block for block mode replication within a log file generation 0x1A, sector 8, offset 1 &amp;ndash; this would be reflected as an LGPOS of (0x1a,8,1).&amp;nbsp; When this block is transmitted to a host with an advanced sector size disk, the log position would actually have to be translated.&amp;nbsp; On an advanced format disk this same log position would be (0x1a,1,1).&amp;nbsp; As you can see, it could create significant problems if incorrect positions within a log file were written to or read from.&lt;/p&gt;
&lt;h2&gt;The resolution&lt;/h2&gt;
&lt;p&gt;&lt;span class="question"&gt;How do I go about correcting this condition?&lt;/span&gt; &lt;br /&gt; To fix this condition, first ensure that the same sector sizes exist on all disks across all nodes that host Exchange data, and then reset the log stream.&lt;/p&gt;
&lt;p&gt;The following steps can show you how to do this with minimal downtime.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Ensure that &lt;span class="bold"&gt;Exchange 2010 Service Pack 2&lt;/span&gt; or later is installed on all &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; members.&lt;/p&gt;
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note:&lt;/span&gt; Exchange 2010 Service Pack 1 and earlier do not support 512e volumes).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Disable block mode replication on all hosts.&amp;nbsp; This step requires restarting the replication service on each node.&amp;nbsp; This will temporarily cause all copies to fail on passive nodes when the service is restarted on the active node.&amp;nbsp; When the service is restarted on the passive node only passive copies on that node will enter a failed state.&amp;nbsp; Databases that are mounted and client connections are not impacted by this activity.&amp;nbsp; Block mode replication should remain disabled until all steps have been completed on all DAG members.&lt;ol&gt;
&lt;li&gt;Launch registry editor.&lt;/li&gt;
&lt;li&gt;Navigate to &lt;span class="regkey lightyellow"&gt;HKLM\Software\Microsoft\ExchangeServer\V14\Replay\Parameters&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Right click in the parameters key and select &lt;span class="UI"&gt;New&lt;/span&gt; &amp;ndash;&amp;gt; &lt;span class="UI"&gt;DWORD&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The name for the DWORD is &lt;span class="regkey lightyellow"&gt;DisableGranularReplication&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;The value for the DWORD is &lt;span class="command lightyellow"&gt;1&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the &lt;span class="UI"&gt;Microsoft Exchange Replication&lt;/span&gt; service on each member using the Shell: &lt;span class="command lightyellow"&gt;Restart-Service MSExchangeRepl&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Validate that all copies of databases across &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; members are healthy at this time:&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-2 Healthy 0 0 3/19/2013 12:28:34 PM Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 0 3/19/2013 12:28:34 PM Healthy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Apply the appropriate hotfix for Windows Server 2008 or Windows Server 2008 R2 and Advanced Format Disks.&amp;nbsp; Windows Server 2012 does not require a hotfix.&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;&lt;span class="bol"&gt;Windows 2008 R2:&lt;/span&gt; &lt;a title="See KB 982018: An update that improves the compatibility of Windows 7 and Windows Server 2008 R2 with Advanced Format Disks is available" href="http://support.microsoft.com/kb/982018"&gt;KB 982018&lt;/a&gt; An update that improves the compatibility of Windows 7 and Windows Server 2008 R2 with Advanced Format Disks is available&lt;/li&gt;
&lt;li&gt;&lt;span class="bold"&gt;Windows 2008:&lt;/span&gt; &lt;a title="See KB 2553708: A hotfix rollup that improves Windows Vista and Windows Server 2008 compatibility with Advanced Format disks" href="http://support.microsoft.com/kb/2553708"&gt;KB 2553708&lt;/a&gt; A hotfix rollup that improves Windows Vista and Windows Server 2008 compatibility with Advanced Format disks&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Repeat the procedure that caused the disk sector size to change.&amp;nbsp; For example, if the issue arose as a result of upgrading drivers and firmware on a host utilize your maintenance mode procedures to complete the driver and firmware upgrade on all hosts.&lt;/p&gt;
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note:&lt;/span&gt; If your installation does not allow for you to use the same sector sizes across all DAG members, then the implementation is not supported.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Utilize &lt;span class="command lightyellow"&gt;FSUTIL&lt;/span&gt; to ensure that the sector sizes match across all hosts for the log and database volumes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On MBX-1:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="code"&gt;C:\&amp;gt;fsutil fsinfo ntfsinfo z:&lt;/p&gt;
&lt;p class="consoletext"&gt;NTFS Volume Serial Number :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x18d0bc1dd0bbfed6 &lt;br /&gt;Version :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 &lt;br /&gt;Number Sectors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000000fdfe7ff &lt;br /&gt;Total Clusters :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fbfcff &lt;br /&gt;Free Clusters&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fac6e6 &lt;br /&gt;Total Reserved :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000000 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Bytes Per Sector&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512 &lt;br /&gt;Bytes Per Physical Sector :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;Bytes Per Cluster :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 &lt;br /&gt;Bytes Per FileRecord Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1024 &lt;br /&gt;Clusters Per FileRecord Segment : 0 &lt;br /&gt;Mft Valid Data Length :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000040000 &lt;br /&gt;Mft Start Lcn&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft2 Start Lcn :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000002 &lt;br /&gt;Mft Zone Start :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0040 &lt;br /&gt;Mft Zone End&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000cc840 &lt;br /&gt;RM Identifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EF486117-9094-11E2-BF55-00155D006BA1&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On MBX-2&lt;/strong&gt;&lt;/p&gt;
&lt;p class="code"&gt;C:\&amp;gt;fsutil fsinfo ntfsinfo z:&lt;/p&gt;
&lt;p class="consoletext"&gt;NTFS Volume Serial Number :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xfa6a794c6a790723 &lt;br /&gt;Version :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 &lt;br /&gt;Number Sectors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000000fdfe7ff &lt;br /&gt;Total Clusters :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fbfcff &lt;br /&gt;Free Clusters&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fac86f &lt;br /&gt;Total Reserved :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000000 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Bytes Per Sector&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512 &lt;br /&gt;Bytes Per Physical Sector :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;Bytes Per Cluster :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 &lt;br /&gt;Bytes Per FileRecord Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1024 &lt;br /&gt;Clusters Per FileRecord Segment : 0 &lt;br /&gt;Mft Valid Data Length :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000040000 &lt;br /&gt;Mft Start Lcn&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft2 Start Lcn :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000002 &lt;br /&gt;Mft Zone Start :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0040 &lt;br /&gt;Mft Zone End&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000cc840 &lt;br /&gt;RM Identifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5F18A2FC-909E-11E2-8599-00155D006BA2&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;On MBX-3&lt;/strong&gt;&lt;/p&gt;
&lt;p class="code"&gt;C:\&amp;gt;fsutil fsinfo ntfsinfo z:&lt;/p&gt;
&lt;p class="consoletext"&gt;NTFS Volume Serial Number :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0ad44aafd44a9d37 &lt;br /&gt;Version :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 &lt;br /&gt;Number Sectors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000000fdfe7ff &lt;br /&gt;Total Clusters :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fbfcff &lt;br /&gt;Free Clusters&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000001fabfd6 &lt;br /&gt;Total Reserved :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000000 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Bytes Per Sector&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 512 &lt;br /&gt;Bytes Per Physical Sector :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;Bytes Per Cluster :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 &lt;br /&gt;Bytes Per FileRecord Segment&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1024 &lt;br /&gt;Clusters Per FileRecord Segment : 0 &lt;br /&gt;Mft Valid Data Length :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000040000 &lt;br /&gt;Mft Start Lcn&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0000 &lt;br /&gt;Mft2 Start Lcn :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000000000000002 &lt;br /&gt;Mft Zone Start :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000c0040 &lt;br /&gt;Mft Zone End&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000000cc840 &lt;br /&gt;RM Identifier:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B9B00E32-90B2-11E2-94E9-00155D006BA3&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;At this point, the &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; should be stable, and replication should be occurring as expected between databases using file mode. In order to restore block mode replication and fully recognize the new disk sector sizes, the log stream must be reset.&lt;/p&gt;
&lt;div class="alert"&gt;
&lt;p&gt;&lt;span class="bold"&gt;IMPORTANT:&lt;/span&gt; Please note the following about resetting the log stream:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;The log stream must be fully reset on all database copies.&lt;/li&gt;
&lt;li&gt;All lagged database copies must be replayed to current log.&lt;/li&gt;
&lt;li&gt;If backups are utilized as a recovery method this will introduce a gap in the log file sequence preventing&amp;nbsp; a full roll forward recovery from the last backup point.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;You can use the following steps to reset the log stream:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Validate the existence of a replay queue:&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-2 Healthy 0 0 3/19/2013 1:34:37 PM Healthy &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;SectorTest\MBX-3 Healthy 0 138 3/19/2013 1:34:37 PM Healthy&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the replay and truncation lag times values to 0 on all database copies. This will ensure that logs replay to current while allowing the databases to remain online. In this example, MBX-3 is a lagged copy database. When the configuration change is detected, log replay will occur allowing the lagged copy to eventually catch up. Note that depending on the replay lag time, this could take several hours before proceeding to next steps.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Set-MailboxDatabaseCopy SectorTest\MBX-3 -ReplayLagTime 0.0:0:0 -TruncationLagTime 0.0:0:0&lt;/p&gt;
&lt;p&gt;Validate that the replay queue has caught up and is near zero.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-2 Healthy 0 0 3/19/2013 1:34:37 PM Healthy &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;SectorTest\MBX-3 Healthy 0 0 3/19/2013 1:34:37 PM Healthy&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Dismount the database.&lt;/p&gt;
&lt;p class="alert"&gt;&lt;span class="bold"&gt;CAUTION:&lt;/span&gt; Dismounting the database will cause a client interruption, which will continue until the database is mounted.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Dismount-Database SectorTest&lt;/p&gt;
&lt;p class="consoletext"&gt;Confirm &lt;br /&gt;Are you sure you want to perform this action? &lt;br /&gt;Dismounting database "SectorTest". This may result in reduced availability for mailboxes in the database. &lt;br /&gt;[Y] Yes&amp;nbsp; [A] Yes to All&amp;nbsp; [N] No&amp;nbsp; [L] No to All&amp;nbsp; [?] Help (default is "Y"): y &lt;br /&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus SectorTest\* &lt;br /&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;&lt;span style="color: #ff0000;"&gt;&lt;strong&gt;SectorTest\MBX-1 Dismounted 0 0 Healthy&lt;/strong&gt; &lt;br /&gt;&lt;/span&gt;SectorTest\MBX-2 Healthy 0 0 3/25/2013 5:41:54 AM Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 0 3/25/2013 5:41:54 AM Healthy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On each &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; member hosting a database copy, open a command prompt and navigate to the log file directory. Execute &lt;span class="command lightyellow"&gt;eseutil /r ENN&lt;/span&gt; to perform a soft recovery. This step is necessary to ensure that all log files are played into all copies.&lt;/p&gt;
&lt;p class="code"&gt;Z:\SectorTest&amp;gt;eseutil /r e01&lt;/p&gt;
&lt;p class="consoletext"&gt;Extensible Storage Engine Utilities for Microsoft(R) Exchange Server &lt;br /&gt;Version 14.02 &lt;br /&gt;Copyright (C) Microsoft Corporation. All Rights Reserved. &lt;br /&gt;Initiating RECOVERY mode... &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Logfile base name: e01 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log files: &amp;lt;current directory&amp;gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System files: &amp;lt;current directory&amp;gt; &lt;br /&gt;Performing soft recovery... &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Restore Status (% complete)&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp; 30&amp;nbsp;&amp;nbsp; 40&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp; 60&amp;nbsp;&amp;nbsp; 70&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&amp;nbsp; 90&amp;nbsp; 100 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |----|----|----|----|----|----|----|----|----|----| &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ................................................... &lt;br /&gt;Operation completed successfully in 0.203 seconds.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On each &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; member hosting a database copy open a command prompt and navigate to the database directory. Execute &lt;span class="command lightyellow"&gt;eseutil /mh &amp;lt;EDB&amp;gt;&lt;/span&gt; against the database to dump the header. You must validate that the following information is correct on all database copies:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;All copies of the database show in clean shutdown.&lt;/li&gt;
&lt;li&gt;All copies of the database show the same last detach information.&lt;/li&gt;
&lt;li&gt;All copies of the database show the same last consistent information.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is example output of a full /mh dump followed by a comparison of the data across our three sample copies.&lt;/p&gt;
&lt;p class="code"&gt;Z:\SectorTest&amp;gt;eseutil /mh SectorTest.edb&lt;/p&gt;
&lt;p class="consoletext"&gt;Extensible Storage Engine Utilities for Microsoft(R) Exchange Server &lt;br /&gt;Version 14.02 &lt;br /&gt;Copyright (C) Microsoft Corporation. All Rights Reserved. &lt;br /&gt;Initiating FILE DUMP mode... &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Database: SectorTest.edb &lt;br /&gt;DATABASE HEADER: &lt;br /&gt;Checksum Information: &lt;br /&gt;Expected Checksum: 0x010f4400 &lt;br /&gt;&amp;nbsp; Actual Checksum: 0x010f4400 &lt;br /&gt;Fields: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File Type: Database &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checksum: 0x10f4400 &lt;br /&gt;&amp;nbsp;&amp;nbsp; Format ulMagic: 0x89abcdef &lt;br /&gt;&amp;nbsp;&amp;nbsp; Engine ulMagic: 0x89abcdef &lt;br /&gt;Format ulVersion: 0x620,17 &lt;br /&gt;Engine ulVersion: 0x620,17 &lt;br /&gt;Created ulVersion: 0x620,17 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DB Signature: Create time:03/19/2013 09:40:15 Rand:11009066 Computer: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cbDbPage: 32768 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbtime: 601018 (0x92bba) &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;State: Clean Shutdown&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Required: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Committed: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp; Log Recovering: 0 (0x0) &lt;br /&gt;&amp;nbsp; GenMax Creation: 00/00/1900 00:00:00 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shadowed: Yes &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Objid: 3350 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scrub Dbtime: 0 (0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scrub Date: 00/00/1900 00:00:00 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Repair Count: 0 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Repair Date: 00/00/1900 00:00:00 &lt;br /&gt;Old Repair Count: 0 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Last Consistent: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:11&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Attach: (0x111,9,86)&amp;nbsp; 03/19/2013 13:42:29 &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Last Detach: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:11 &lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dbid: 1 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Signature: Create time:03/19/2013 09:40:14 Rand:11019164 Computer: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OS Version: (6.1.7601 SP 1 NLS ffffffff.ffffffff) &lt;br /&gt; &lt;br /&gt;Previous Full Backup: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Gen: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: (0x0,0,0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: 00/00/1900 00:00:00 &lt;br /&gt; &lt;br /&gt;Previous Incremental Backup: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Gen: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: (0x0,0,0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: 00/00/1900 00:00:00 &lt;br /&gt; &lt;br /&gt;Previous Copy Backup: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Gen: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: (0x0,0,0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: 00/00/1900 00:00:00 &lt;br /&gt; &lt;br /&gt;Previous Differential Backup: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Gen: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: (0x0,0,0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: 00/00/1900 00:00:00 &lt;br /&gt; &lt;br /&gt;Current Full Backup: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Gen: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: (0x0,0,0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: 00/00/1900 00:00:00 &lt;br /&gt; &lt;br /&gt;Current Shadow copy backup: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log Gen: 0-0 (0x0-0x0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: (0x0,0,0) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark: 00/00/1900 00:00:00&amp;nbsp; &lt;br /&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpgUpgrade55Format: 0 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpgUpgradeFreePages: 0 &lt;br /&gt;cpgUpgradeSpaceMapPages: 0&amp;nbsp; &lt;br /&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECC Fix Success Count: none &lt;br /&gt;&amp;nbsp;&amp;nbsp; Old ECC Fix Success Count: none &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ECC Fix Error Count: none &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Old ECC Fix Error Count: none &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad Checksum Error Count: none &lt;br /&gt;Old bad Checksum Error Count: none&amp;nbsp; &lt;br /&gt; &lt;br /&gt;&amp;nbsp; Last checksum finish Date: 03/19/2013 13:11:36 &lt;br /&gt;Current checksum start Date: 00/00/1900 00:00:00 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current checksum page: 0 &lt;br /&gt; &lt;br /&gt;Operation completed successfully in 0.47 seconds.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MBX-1:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="consoletext"&gt;&lt;span style="color: #ff0000;"&gt;State: Clean Shutdown &lt;br /&gt;Last Consistent: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:11 &lt;br /&gt;Last Detach: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:11&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MBX-2:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="consoletext"&gt;&lt;span style="color: #ff0000;"&gt;State: Clean Shutdown &lt;br /&gt;Last Consistent: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:12 &lt;br /&gt;Last Detach: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;MBX-3:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="consoletext"&gt;&lt;span style="color: #ff0000;"&gt;State: Clean Shutdown &lt;br /&gt;Last Consistent: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:13 &lt;br /&gt;Last Detach: (0x138,3FB,1A4)&amp;nbsp; 03/19/2013 13:44:13&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In this case, the values match across all copies so further steps can be performed.&lt;/p&gt;
&lt;p class="alert"&gt;If the values do not match across copies for any reason, do not continue and please contact Microsoft support.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reset the log file generation for the database.&lt;/p&gt;
&lt;p class="note"&gt;&lt;span class="bold"&gt;Note:&lt;/span&gt; Use &lt;span class="cmdlet lightyellow"&gt;Get-MailboxDatabaseCopyStatus&lt;/span&gt; to record database locations and status prior to performing this activity.&lt;/p&gt;
&lt;p&gt;Locate the log file directory for each ACTIVE (DISMOUNTED) database. Remove all log files from this directory first. Failure to remove log files from the ACTIVE (DISMOUNTED) database may result in the Replication service recopying log files, a failure of this procedure, and subsequent need to reseed all database copies.&lt;/p&gt;
&lt;p class="alert"&gt;&lt;span class="bold"&gt;IMPORTANT:&lt;/span&gt; If log files are located in the same location as the database and catalog data folder, take precautions to not remove the database or the catalog data folder.&lt;/p&gt;
&lt;p&gt;In our example MBX-1 hosts the ACTIVE (DISMOUNTED) copy.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus SectorTest\*&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;SectorTest\MBX-1 Dismounted 0 0 Healthy&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;SectorTest\MBX-2 Healthy 0 0 3/25/2013 5:41:54 AM Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 0 3/25/2013 5:41:54 AM Healthy&lt;/p&gt;
&lt;p&gt;Locate the log file directory for each PASSIVE database. Remove all log files from this directory. Failure to remove all log files could result in this procedure failing, and the need to reseed this or all database copies. If log files are located in the same location as the database and catalog data folder take precautions to not remove the database or the catalog data folder.&lt;/p&gt;
&lt;p&gt;In our example MBX-2 and MBX-3 host the passive database copies.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus SectorTest\*&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Dismounted 0 0 Healthy &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;SectorTest\MBX-2 Healthy 0 0 3/25/2013 5:41:54 AM Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 0 3/25/2013 5:41:54 AM Healthy&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Mount the database using &lt;span class="command lightyellow"&gt;Mount-Database &amp;lt;DBNAME&amp;gt;&lt;/span&gt;, and verify it has mounted.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Mount-Database SectorTest &lt;br /&gt; [PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;SectorTest\MBX-1 Mounted 0 0 Healthy&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;SectorTest\MBX-2 Healthy 0 1 3/25/2013 5:57:28 AM Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 1 3/25/2013 5:57:28 AM Healthy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Suspend and resume all passive database copies.&lt;/p&gt;
&lt;p class="note"&gt;&lt;span class="alert"&gt;Note: The error on suspending the active database copy is expected.&lt;/span&gt;&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus SectorTest\* | Suspend-MailboxDatabaseCopy&lt;/p&gt;
&lt;p class="consoletext"&gt;The suspend operation can't proceed because database 'SectorTest' on Exchange Mailbox server 'MBX-1' is the active mailbox database copy. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (SectorTest\MBX-1:DatabaseCopyIdParameter) [Suspend-MailboxDatabaseCopy], InvalidOperationException &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : 5083D28B,Microsoft.Exchange.Management.SystemConfigurationTasks.SuspendDatabaseCopy &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + PSComputerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : mbx-1.exchange.msft&lt;/p&gt;
&lt;p class="note"&gt;&lt;span class="alert"&gt;Note: The error on resuming the active database copy is expected.&lt;/span&gt;&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus SectorTest\* | Resume-MailboxDatabaseCopy&lt;/p&gt;
&lt;p class="consoletext"&gt;WARNING: The Resume operation won't have an effect on database replication because database 'SectorTest' hosted on server 'MBX-1' is the active mailbox database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Validate replication health.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-2 &lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Healthy&lt;/span&gt;&lt;/strong&gt; 0 0 3/19/2013 1:56:12 PM Healthy &lt;br /&gt;SectorTest\MBX-3 &lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Healthy&lt;/span&gt;&lt;/strong&gt; 0 0 3/19/2013 1:56:12 PM Healthy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Using &lt;span class="cmdlet lightyellow"&gt;Set-MailboxDatabaseCopy&lt;/span&gt;, reconfigure any replay lag or truncation lag time on the database copy. This example implements a 7 day replay lag time.&lt;/p&gt;
&lt;p class="code"&gt;set-mailboxdatabasecopy &amp;ndash;identity SectorTest\MBX-3 &amp;ndash;replayLagTime 7.0:0:0&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Repeat the previous steps for all databases in the &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; including those databases that have a single copy.&lt;/p&gt;
&lt;p class="alert"&gt;&lt;span class="bold"&gt;IMPORTANT:&lt;/span&gt; DO NOT proceed to the next step until all databases have been reset.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enable block mode replication. Using registry editor navigate to &lt;span class="regkey lightyellow"&gt;HKLM \Software\Microsoft\ExchangeServer \V14 \Replay&lt;/span&gt;, and then remove the &lt;span class="regkey lightyellow"&gt;DisableGranularReplication&lt;/span&gt; DWORD value.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the replication service on each DAG member.&lt;/p&gt;
&lt;p class="code"&gt;Restart-Service MSExchangeREPL&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Validate database health using &lt;span class="cmdlet lightyellow"&gt;Get-MailboxDatabaseCopyStatus&lt;/span&gt;.&lt;/p&gt;
&lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus *&lt;/p&gt;
&lt;p class="consoletext"&gt;Name Status CopyQueue ReplayQueue LastInspectedLogTime ContentIndex Length Length State &lt;br /&gt;---- ------ --------- ----------- -------------------- ------------ &lt;br /&gt;SectorTest\MBX-1 Healthy 0 0 3/19/2013 2:25:56 PM Healthy &lt;br /&gt;SectorTest\MBX-2 Mounted 0 0 Healthy &lt;br /&gt;SectorTest\MBX-3 Healthy 0 230 3/19/2013 2:25:56 PM Healthy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Dump the header of a log file and verify that the new sector size is reflected in the log file stream. To do this, open a command prompt and navigate to the log file directory for the database on the active node. Run &lt;span class="command lightyellow"&gt;eseutil /ml&lt;/span&gt; against any log within the directory, and verify that the sector size reflects &lt;span class="command"&gt;4096&lt;/span&gt; and &lt;span class="command"&gt;(matches)&lt;/span&gt;.&lt;/p&gt;
&lt;p class="code"&gt;Z:\SectorTest&amp;gt;eseutil /ml E0100000001.log&lt;/p&gt;
&lt;p class="consoletext"&gt;Extensible Storage Engine Utilities for Microsoft(R) Exchange Server &lt;br /&gt;Version 14.02 &lt;br /&gt;Copyright (C) Microsoft Corporation. All Rights Reserved. &lt;br /&gt; &lt;br /&gt;Initiating FILE DUMP mode...&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Base name: E01 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log file: E0100000001.log &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lGeneration: 1 (0x1) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checkpoint: (0x17B,FFFF,FFFF) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; creation time: 03/19/2013 13:56:11 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prev gen time: 00/00/1900 00:00:00 &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Format LGVersion: (7.3704.16.2) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine LGVersion: (7.3704.16.2) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signature: Create time:03/19/2013 13:56:11 Rand:2996669 Computer: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Env SystemPath: z:\SectorTest\ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Env LogFilePath: z:\SectorTest\ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;&lt;span style="color: #ff0000;"&gt;Env Log Sec size: 4096 (matches)&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Env (CircLog,Session,Opentbl,VerPage,Cursors,LogBufs,LogFile,Buffers) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;nbsp;&amp;nbsp;&amp;nbsp; off,&amp;nbsp;&amp;nbsp; 1227,&amp;nbsp; 61350,&amp;nbsp; 16384,&amp;nbsp; 61350,&amp;nbsp;&amp;nbsp; 2048,&amp;nbsp;&amp;nbsp;&amp;nbsp; 256,&amp;nbsp; 44204) &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using Reserved Log File: false &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Circular Logging Flag (current file): off &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Circular Logging Flag (past files): off &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Checkpoint at log creation time: (0x1,1,0)&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Last Lgpos: (0x1,2,0) &lt;br /&gt;Number of database page references:&amp;nbsp; 0 &lt;br /&gt;Integrity check passed for log file: E0100000001.log &lt;br /&gt;Operation completed successfully in 0.250 seconds.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If the above steps have been completed successfully, and the log file sequence recognizes a 4096 sector size, then this issue has been resolved.&lt;/p&gt;
&lt;p&gt;This guidance was validated in the following configurations:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;Windows 2008 R2 Enterprise with Exchange 2010 Service Pack 2&lt;/li&gt;
&lt;li&gt;Windows 2008 R2 Enterprise with Exchange 2010 Service Pack 3&lt;/li&gt;
&lt;li&gt;Windows 2008 SP2 Enterprise with Exchange 2010 Service Pack 3&lt;/li&gt;
&lt;li&gt;Windows 2012 Datacenter with Exchange 2010 Service Pack 3&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class="author"&gt;Tim McMichael&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3568865" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Storage/">Storage</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Documentation/">Documentation</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/High+Availability/">High Availability</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Planning+and+Architecture/">Planning and Architecture</category></item><item><title>Troubleshooting Rapid Growth in Databases and Transaction Log Files in Exchange Server 2007 and 2010</title><link>http://blogs.technet.com/b/exchange/archive/2013/04/18/troubleshooting-rapid-growth-in-databases-and-transaction-log-files-in-exchange-server-2007-and-2010.aspx</link><pubDate>Thu, 18 Apr 2013 17:58:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3567688</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3567688</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/04/18/troubleshooting-rapid-growth-in-databases-and-transaction-log-files-in-exchange-server-2007-and-2010.aspx#comments</comments><description>&lt;p&gt;A few years back, a very detailed blog post was released on &lt;a href="http://blogs.technet.com/b/mikelag/archive/2009/07/12/troubleshooting-store-log-database-growth-issues.aspx"&gt;Troubleshooting Exchange 2007 Store Log/Database growth issues&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;We wanted to revisit this topic with Exchange 2010 in mind. While the troubleshooting steps needed are virtually the same, we thought it would be useful to condense the steps a bit, make a few updates and provide links to a few newer KB articles.&lt;/p&gt;  &lt;p&gt;The below list of steps is a walkthrough of an approach that would likely be used when calling Microsoft Support for assistance with this issue. It also provides some insight as to what we are looking for and why. It is not a complete list of every possible troubleshooting step, as some causes are simply not seen quite as much as others.&lt;/p&gt;  &lt;p&gt;Another thing to note is that the steps are commonly used when we are seeing “rapid” growth, or unexpected growth in the database file on disk, or the amount of transaction logs getting generated. An example of this is when an Administrator notes a transaction log file drive is close to running out of space, but had several GB free the day before. When looking through historical records kept, the Administrator notes that approx. 2 to 3 GBs of logs have been backed up daily for several months, but we are currently generating 2 to 3 GBs of logs per hour. This is obviously a red flag for the log creation rate. Same principle applies with the database in scenarios where the rapid log growth is associated to new content creation.&lt;/p&gt;  &lt;p&gt;In other cases, the database size or transaction log file quantity may increase, but signal other indicators of things going on with the server. For example, if backups have been failing for a few days and the log files are not getting purged, the log file disk will start to fill up and appear to have more logs than usual. In this example, the cause wouldn’t necessarily be rapid log growth, but an indicator that the backups which are responsible for purging the logs are failing and must be resolved. Another example is with the database, where retention settings have been modified or online maintenance has not been completing, therefore, the database will begin to grow on disk and eat up free space. These scenarios and a few others are also discussed in the “&lt;b&gt;Proactive monitoring and mitigation efforts&lt;/b&gt;” section of the &lt;a href="http://blogs.technet.com/b/mikelag/archive/2009/07/12/troubleshooting-store-log-database-growth-issues.aspx"&gt;previously published blog&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;It should be noted that in some cases, you may run into a scenario where the database size is expanding rapidly, but you do &lt;i&gt;not&lt;/i&gt; experience log growth at a rapid rate. (As with new content creation in rapid log growth, we would expect the database to grow at a rapid rate with the transaction logs.) This is often referred to as database “bloat” or database “space leak”. The steps to troubleshoot this specific issue can be a little more invasive as you can see in some analysis steps listed &lt;a href="http://blogs.technet.com/b/dblanch/archive/2009/04/24/tracking-down-exchange-2007-database-bloat.aspx"&gt;here&lt;/a&gt; (taking databases offline, various kinds of dumps, etc.), and it may be better to utilize support for assistance if a reason for the growth cannot be found.&lt;/p&gt;  &lt;p&gt;Once you have established that the rate of growth for the database and transaction log files is abnormal, we would begin troubleshooting the issue by doing the following steps. Note that in some cases the steps can be done out of order, but the below provides general suggested guidance based on our experiences in support.&lt;/p&gt;  &lt;h2&gt;Step 1&lt;/h2&gt;  &lt;p&gt;Use &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9A49C22E-E0C7-4B7C-ACEF-729D48AF7BC9&amp;amp;displaylang=en"&gt;Exchange User Monitor&lt;/a&gt; (Exmon) server side to determine if a specific user is causing the log growth problems. &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Sort on &lt;b&gt;CPU (%)&lt;/b&gt; and look at the top 5 users that are consuming the most amount of CPU inside the Store process. Check the &lt;b&gt;Log Bytes&lt;/b&gt; column to verify for this log growth for a potential user. &lt;/li&gt;    &lt;li&gt;If that does not show a possible user, sort on the &lt;b&gt;Log Bytes&lt;/b&gt; column to look for any possible users that could be attributing to the log growth &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;If it appears that the user in Exmon is a &lt;b&gt;?&lt;/b&gt;, then this is representative of a HUB/Transport related problem generating the logs. Query the message tracking logs using the Message Tracking Log tool in the Exchange Management Consoles Toolbox to check for any large messages that might be running through the system. See #15&lt;b&gt; &lt;/b&gt;for a PowerShell script to accomplish the same task.&lt;/p&gt;  &lt;h2&gt;Step 2&lt;/h2&gt;  &lt;p&gt;With Exchange 2007 Service Pack 2 Rollup Update 2 and higher, you can use &lt;a href="http://support.microsoft.com/kb/972705"&gt;KB972705&lt;/a&gt; to troubleshoot abnormal database or log growth by adding the described registry values. The registry values will monitor RPC activity and log an event if the thresholds are exceeded, with details about the event and the user that caused it. (These registry values are not currently available in Exchange Server 2010)&lt;/p&gt;  &lt;p&gt;Check for any excessive&lt;b&gt; ExCDO warning events &lt;/b&gt;related to appointments in the application log on the server. (Examples are 8230 or 8264 events). If recurrence meeting events are found, then try to regenerate calendar data server side via a process called POOF.&amp;#160; See &lt;a href="http://blogs.msdn.com/stephen_griffin/archive/2007/02/21/poof-your-calender-really.aspx"&gt;http://blogs.msdn.com/stephen_griffin/archive/2007/02/21/poof-your-calender-really.aspx&lt;/a&gt; for more information on what this is. &lt;/p&gt;  &lt;p class="consoletext"&gt;Event Type: Warning    &lt;br /&gt;Event Source: EXCDO     &lt;br /&gt;Event Category: General     &lt;br /&gt;Event ID: 8230     &lt;br /&gt;Description: An inconsistency was detected in username@domain.com: /Calendar/&amp;lt;calendar item&amp;gt; .EML. The calendar is being repaired. If other errors occur with this calendar, please view the calendar using Microsoft Outlook Web Access. If a problem persists, please recreate the calendar or the containing mailbox. &lt;/p&gt;  &lt;p class="consoletext"&gt;Event Type: Warning    &lt;br /&gt;Event ID : 8264     &lt;br /&gt;Category : General     &lt;br /&gt;Source : EXCDO     &lt;br /&gt;Type : Warning     &lt;br /&gt;Message : The recurring appointment expansion in mailbox &amp;lt;someone's address&amp;gt; has taken too long. The free/busy information for this calendar may be inaccurate. This may be the result of many very old recurring appointments. To correct this, please remove them or change their start date to a more recent date. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Important:&lt;/b&gt; If 8230 events are consistently seen on an Exchange server, have the user delete/recreate that appointment to remove any corruption&lt;/p&gt;  &lt;h2&gt;Step 3&lt;/h2&gt;  &lt;p&gt;Collect and parse the IIS log files from the CAS servers used by the affected Mailbox Server. You can use &lt;a href="http://blogs.technet.com/b/exchange/archive/2012/03/07/introducing-log-parser-studio.aspx"&gt;Log Parser Studio&lt;/a&gt; to easily parse IIS log files. In here, you can look for repeated user account sync attempts and suspicious activity. For example, a user with an abnormally high number of sync attempts and errors would be a red flag. If a user is found and suspected to be a cause for the growth, you can follow the suggestions given in steps 5 and 6.&lt;/p&gt;  &lt;p&gt;Once Log Parser Studio is launched, you will see convenient tabs to search per protocol:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/0458.image_5F00_485166D5.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5353.image_5F00_thumb_5F00_359C6D1E.png" width="375" height="42" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Some example queries for this issue would be:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8814.image_5F00_57F40297.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6170.image_5F00_thumb_5F00_00FEA194.png" width="624" height="77" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;Step 4&lt;/h2&gt;  &lt;p&gt;If a suspected user is found via Exmon, the event logs, &lt;a href="http://support.microsoft.com/kb/972705"&gt;KB972705&lt;/a&gt;, or parsing the IIS log files, then do one of the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Disable MAPI access to the users mailbox using the following steps (&lt;strong&gt;Recommended&lt;/strong&gt;):       &lt;ul&gt;       &lt;li&gt;Run          &lt;p class="code"&gt;Set-Casmailbox –Identity &amp;lt;Username&amp;gt; –MapiEnabled $False&lt;/strong&gt;&lt;/p&gt;       &lt;/li&gt;        &lt;li&gt;Move the mailbox to another Mailbox Store. &lt;strong&gt;Note: &lt;/strong&gt;This is necessary to disconnect the user from the store due to the Store Mailbox and DSAccess caches. Otherwise you could potentially be waiting for over 2 hours and 15 minutes for this setting to take effect. Moving the mailbox effectively kills the users MAPI session to the server and after the move, the users access to the store via a MAPI enabled client will be disabled. &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Disable the users AD account temporarily &lt;/li&gt;    &lt;li&gt;Kill their TCP connection with &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx"&gt;&lt;b&gt;TCPView&lt;/b&gt;&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Call the client to have them close Outlook or turn of their mobile device in the condition state for immediate relief. &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Step 5&lt;/h2&gt;  &lt;p&gt;If closing the client/devices, or killing their sessions seems to stop the log growth issue, then we need to do the following to see if this is OST or Outlook profile related:&lt;/p&gt;  &lt;p&gt;Have the user &lt;b&gt;launch Outlook while&lt;/b&gt; &lt;b&gt;holding down the control key&lt;/b&gt; which will prompt if you would like &lt;b&gt;to run Outlook in safe mode&lt;/b&gt;. If launching Outlook in safe mode resolves the log growth issue, then concentrate on what add-ins could be attributing to this problem.&lt;/p&gt;  &lt;p&gt;For a mobile device, consider a full resync or a new sync profile. Also check for any messages in the drafts folder or outbox on the device. A corrupted meeting or calendar entry is commonly found to be causing the issue with the device as well.&lt;/p&gt;  &lt;p&gt;If you can gain access to the users machine, then do one of the following:&lt;/p&gt;  &lt;p&gt;1. Launch Outlook to confirm the log file growth issue on the server.&lt;/p&gt;  &lt;p&gt;2. If log growth is confirmed, do one of the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Check users Outbox for any messages.      &lt;ul&gt;       &lt;li&gt;If user is running in &lt;strong&gt;Cached mode&lt;/strong&gt;, set the Outlook client to &lt;strong&gt;Work Offline.&lt;/strong&gt; Doing this will help stop the message being sent in the outbox and sometimes causes the message to NDR. &lt;/li&gt;        &lt;li&gt;If user is running in &lt;strong&gt;Online Mode&lt;/strong&gt;, then try moving the message to another folder to prevent Outlook or the HUB server from processing the message. &lt;/li&gt;        &lt;li&gt;After each one of the steps above, check the Exchange server to see if log growth has ceased &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;Call Microsoft Product Support to enable debug logging of the Outlook client to determine possible root cause. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;3. Follow the &lt;b&gt;Running Process Explorer&lt;/b&gt; instructions in the below article to dump out dlls that are running within the Outlook Process. Name the file username.txt. This helps check for any 3rd party Outlook Add-ins that may be causing the excessive log growth.     &lt;br /&gt;970920&amp;#160; Using Process Explorer to List dlls Running Under the Outlook.exe Process     &lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/970920"&gt;http://support.microsoft.com/kb/970920&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. Check the &lt;strong&gt;Sync Issues&lt;/strong&gt; folder for any errors that might be occurring&lt;/p&gt;  &lt;p&gt;Let’s attempt to narrow this down further to see if the problem is truly in the OST or something possibly Outlook Profile related:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Run &lt;a href="http://support.microsoft.com/kb/287497"&gt;ScanPST&lt;/a&gt; against the users OST file to check for possible corruption. &lt;/li&gt;    &lt;li&gt;With the Outlook client shut down, rename the users OST file to something else and then launch Outlook to recreate a new OST file. If the problem does not occur, we know the problem is within the OST itself. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If renaming the OST causes the problem to recur again, then recreate the users profile to see if this might be profile related.&lt;/p&gt;  &lt;h2&gt;Step 6&lt;/h2&gt;  &lt;p&gt;Ask Questions: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Is the user using any type of devices besides a mobile device? &lt;/li&gt;    &lt;li&gt;Question the end user if at all possible to understand what they might have been doing at the time the problem started occurring. It’s possible that a user imported a lot of data from a PST file which could cause log growth server side or there was some other erratic behavior that they were seeing based on a user action. &lt;/li&gt; &lt;/ul&gt;  &lt;h2&gt;Step 7&lt;/h2&gt;  &lt;p&gt;Check to ensure &lt;strong&gt;File Level Antivirus exclusions &lt;/strong&gt;are set correctly for both files and processes per &lt;a title="http://technet.microsoft.com/en-us/library/bb332342(v=exchg.141).aspx" href="http://technet.microsoft.com/en-us/library/bb332342(v=exchg.141).aspx"&gt;http://technet.microsoft.com/en-us/library/bb332342(v=exchg.141).aspx&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;Step 8&lt;/h2&gt;  &lt;p&gt;If Exmon and the above methods do not provide the data that is necessary to get root cause, then collect a portion of Store transaction log files (100 would be a good start) during the problem period and parse them following the directions in &lt;a href="http://blogs.msdn.com/scottos/archive/2007/11/07/remix-using-powershell-to-parse-ese-transaction-logs.aspx"&gt;http://blogs.msdn.com/scottos/archive/2007/11/07/remix-using-powershell-to-parse-ese-transaction-logs.aspx&lt;/a&gt; to look for possible patterns such as high pattern counts for IPM.Appointment. This will give you a high level overview if something is looping or a high rate of messages being sent. &lt;b&gt;Note:&lt;/b&gt; This tool may or may not provide any benefit depending on the data that is stored in the log files, but sometimes will show data that is MIME encoded that will help with your investigation&lt;/p&gt;  &lt;h2&gt;Step 9&lt;/h2&gt;  &lt;p&gt;If nothing is found by parsing the transaction log files, we can check for a rogue, corrupted, and large message in transit:&lt;/p&gt;  &lt;p&gt;1. &lt;strong&gt;Check current queues&lt;/strong&gt; against all HUB Transport Servers for stuck or queued messages:&lt;/p&gt;  &lt;p class="code"&gt;get-exchangeserver | where {$_.IsHubTransportServer -eq &amp;quot;true&amp;quot;} | Get-Queue | where {$_.Deliverytype –eq “MapiDelivery”} | Select-Object Identity, NextHopDomain, Status, MessageCount | export-csv&amp;#160; HubQueues.csv&lt;/p&gt;  &lt;p&gt;Review queues for any that are in retry or have a lot of messages queued:&lt;/p&gt;  &lt;p&gt;Export out message sizes in MB in all Hub Transport queues to see if any large messages are being sent through the queues:&lt;/p&gt;  &lt;p class="code"&gt;get-exchangeserver | where {$_.ishubtransportserver -eq &amp;quot;true&amp;quot;} | get-message –resultsize unlimited | Select-Object Identity,Subject,status,LastError,RetryCount,queue,@{Name=&amp;quot;Message Size MB&amp;quot;;expression={$_.size.toMB()}} | sort-object -property size –descending | export-csv HubMessages.csv &lt;/p&gt;  &lt;p&gt;Export out message sizes in Bytes in all Hub Transport queues:&lt;/p&gt;  &lt;p class="code"&gt;get-exchangeserver | where {$_.ishubtransportserver -eq &amp;quot;true&amp;quot;} | get-message –resultsize unlimited | Select-Object Identity,Subject,status,LastError,RetryCount,queue,size | sort-object -property size –descending | export-csv HubMessages.csv&lt;/p&gt;  &lt;p&gt;2. &lt;b&gt;Check Users Outbox &lt;/b&gt;for any large, looping, or stranded messages that might be affecting overall Log Growth.&lt;/p&gt;  &lt;p class="code"&gt;get-mailbox -ResultSize Unlimited| Get-MailboxFolderStatistics -folderscope Outbox | Sort-Object Foldersize -Descending | select-object identity,name,foldertype,itemsinfolder,@{Name=&amp;quot;FolderSize MB&amp;quot;;expression={$_.folderSize.toMB()}} | export-csv OutboxItems.csv &lt;/p&gt;  &lt;p class="note"&gt;Note: This does not get information for users that are running in cached mode.&lt;/p&gt;  &lt;h2&gt;Step 10&lt;/h2&gt;  &lt;p&gt;Utilize the &lt;b&gt;MSExchangeIS Client\Jet Log Record Bytes/sec&lt;/b&gt; and &lt;b&gt;MSExchangeIS Client\RPC Operations/sec&lt;/b&gt; Perfmon counters to see if there is a particular client protocol that may be generating excessive logs. If a particular protocol mechanism if found to be higher than other protocols for a sustained period of time, then possibly shut down the service hosting the protocol. For example, if &lt;b&gt;Exchange Outlook Web Access&lt;/b&gt; is the protocol generating potential log growth, then stopping the World Wide Web Service (W3SVC) to confirm that log growth stops. If log growth stops, then collecting IIS logs from the CAS/MBX Exchange servers involved will help provide insight in to what action the user was performing that was causing this occur. &lt;/p&gt;  &lt;h2&gt;Step 11&lt;/h2&gt;  &lt;p&gt;Run the following command from the Management shell to export out current user operation rates: &lt;/p&gt;  &lt;p&gt;To export to CSV File: &lt;/p&gt;  &lt;p class="code"&gt;get-logonstatistics |select-object username,Windows2000account,identity,messagingoperationcount,otheroperationcount,    &lt;br /&gt;progressoperationcount,streamoperationcount,tableoperationcount,totaloperationcount | where {$_.totaloperationcount -gt 1000} | sort-object totaloperationcount -descending| export-csv LogonStats.csv &lt;/p&gt;  &lt;p&gt;To view realtime data: &lt;/p&gt;  &lt;p class="code"&gt;get-logonstatistics |select-object username,Windows2000account,identity,messagingoperationcount,otheroperationcount,    &lt;br /&gt;progressoperationcount,streamoperationcount,tableoperationcount,totaloperationcount | where {$_.totaloperationcount -gt 1000} | sort-object totaloperationcount -descending| ft &lt;/p&gt;  &lt;p&gt;Key things to look for: &lt;/p&gt;  &lt;p&gt;In the below example, the Administrator account was storming the testuser account with email.    &lt;br /&gt;You will notice that there are 2 users that are active here, one is the Administrator submitting all of the messages and then you will notice that the Windows2000Account references a HUB server referencing an Identity of testuser. The HUB server also has *no* UserName either, so that is a giveaway right there. This can give you a better understanding of what parties are involved in these high rates of operations &lt;/p&gt;  &lt;p class="consoletext"&gt;UserName : Administrator    &lt;br /&gt;Windows2000Account : DOMAIN\Administrator     &lt;br /&gt;Identity : /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=Administrator     &lt;br /&gt;MessagingOperationCount : 1724     &lt;br /&gt;OtherOperationCount : 384     &lt;br /&gt;ProgressOperationCount : 0     &lt;br /&gt;StreamOperationCount : 0     &lt;br /&gt;TableOperationCount : 576     &lt;br /&gt;TotalOperationCount : 2684 &lt;/p&gt;  &lt;p class="consoletext"&gt;UserName :    &lt;br /&gt;Windows2000Account : DOMAIN\E12-HUB$     &lt;br /&gt;Identity : /o= First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=testuser     &lt;br /&gt;MessagingOperationCount : 630     &lt;br /&gt;OtherOperationCount : 361     &lt;br /&gt;ProgressOperationCount : 0     &lt;br /&gt;StreamOperationCount : 0     &lt;br /&gt;TableOperationCount : 0     &lt;br /&gt;TotalOperationCount : 1091&lt;/p&gt;  &lt;h2&gt;Step 12&lt;/h2&gt;  &lt;p&gt;&lt;b&gt;Enable Perfmon/Perfwiz&lt;/b&gt; logging on the server. Collect data through the problem times and then review for any irregular activities. You can reference Perfwiz for Exchange 2007/2010 data collection here &lt;a href="http://blogs.technet.com/b/mikelag/archive/2010/07/09/exchange-2007-2010-performance-data-collection-script.aspx"&gt;http://blogs.technet.com/b/mikelag/archive/2010/07/09/exchange-2007-2010-performance-data-collection-script.aspx&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;Step 13&lt;/h2&gt;  &lt;p&gt;Run &lt;b&gt;ExTRA&lt;/b&gt; (Exchange Troubleshooting Assistant) via the Toolbox in the Exchange Management Console to look for any possible Functions (via &lt;b&gt;FCL&lt;/b&gt; Logging) that may be consuming Excessive times within the store process. This needs to be launched during the problem period. &lt;a href="http://blogs.technet.com/mikelag/archive/2008/08/21/using-extra-to-find-long-running-transactions-inside-store.aspx"&gt;http://blogs.technet.com/mikelag/archive/2008/08/21/using-extra-to-find-long-running-transactions-inside-store.aspx&lt;/a&gt; shows how to use FCL logging only, but it would be best to include Perfmon, Exmon, and FCL logging via this tool to capture the most amount of data. The steps shown are valid for Exchange 2007 &amp;amp; Exchange 2010.&lt;/p&gt;  &lt;h2&gt;Step 14&lt;/h2&gt;  &lt;p&gt;Export out Message tracking log data from affected MBX server.&lt;/p&gt;  &lt;h3&gt;Method 1 &lt;/h3&gt;  &lt;p&gt;Download the &lt;a href="http://gallery.technet.microsoft.com/scriptcenter/ExLogGrowthCollectorps1-dbb97aa8"&gt;ExLogGrowthCollector script&lt;/a&gt; and place it on the MBX server that experienced the issue. Run ExLogGrowthCollector.ps1 from the Exchange Management Shell. Enter in the MBX server name that you would like to trace, the Start and End times and click on the Collect Logs button.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7536.image_5F00_4C0D32FE.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/0702.image_5F00_thumb_5F00_02EA17F6.png" width="353" height="235" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note: What this script does is to export out all mail traffic to/from the specified mailbox server across all HUB servers between the times specified. This helps provide insight in to any large or looping messages that might have been sent that could have caused the log growth issue. &lt;/p&gt;  &lt;h3&gt;Method 2&lt;/h3&gt;  &lt;p&gt;Copy/Paste the following data in to notepad, save as msgtrackexport.ps1 and then run this on the affected Mailbox Server. Open in Excel for review. This is similar to the GUI version, but requires manual editing to get it to work.&lt;/p&gt;  &lt;p class="code"&gt;#Export Tracking Log data from affected server specifying Start/End Times    &lt;br /&gt;Write-host &amp;quot;Script to export out Mailbox Tracking Log Information&amp;quot;     &lt;br /&gt;Write-Host &amp;quot;#####################################################&amp;quot;     &lt;br /&gt;Write-Host     &lt;br /&gt;$server = Read-Host &amp;quot;Enter Mailbox server Name&amp;quot;     &lt;br /&gt;$start = Read-host &amp;quot;Enter start date and time in the format of MM/DD/YYYY hh:mmAM&amp;quot;     &lt;br /&gt;$end = Read-host &amp;quot;Enter send date and time in the format of MM/DD/YYYY hh:mmPM&amp;quot;     &lt;br /&gt;$fqdn = $(get-exchangeserver $server).fqdn     &lt;br /&gt;Write-Host &amp;quot;Writing data out to csv file..... &amp;quot;     &lt;br /&gt;Get-ExchangeServer | where {$_.IsHubTransportServer -eq &amp;quot;True&amp;quot; -or $_.name -eq &amp;quot;$server&amp;quot;} | Get-MessageTrackingLog -ResultSize Unlimited -Start $start -End $end&amp;#160; | where {$_.ServerHostname -eq $server -or $_.clienthostname -eq $server -or $_.clienthostname -eq $fqdn} | sort-object totalbytes -Descending | export-csv MsgTrack.csv -NoType     &lt;br /&gt;Write-Host &amp;quot;Completed!! You can now open the MsgTrack.csv file in Excel for review&amp;quot;&lt;/p&gt;  &lt;h3&gt;Method 3&lt;/h3&gt;  &lt;p&gt;You can also use the &lt;b&gt;Process Tracking Log Tool &lt;/b&gt;at &lt;a href="http://blogs.technet.com/b/exchange/archive/2011/10/21/updated-process-tracking-log-ptl-tool-for-use-with-exchange-2007-and-exchange-2010.aspx"&gt;http://blogs.technet.com/b/exchange/archive/2011/10/21/updated-process-tracking-log-ptl-tool-for-use-with-exchange-2007-and-exchange-2010.aspx&lt;/a&gt; to provide some very useful reports.&lt;/p&gt;  &lt;h2&gt;Step 15&lt;/h2&gt;  &lt;p&gt;Save off a copy of the application/system logs from the affected server and review them for any events that could attribute to this problem.&lt;/p&gt;  &lt;h2&gt;Step 16&lt;/h2&gt;  &lt;p&gt;Enable IIS extended logging for CAS and MB server roles to add the &lt;b&gt;sc-bytes&lt;/b&gt; and &lt;b&gt;cs-bytes&lt;/b&gt; fields to track large messages being sent via IIS protocols and to also track usage patterns (&lt;a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa814330(v=vs.85).aspx"&gt;Additional Details&lt;/a&gt;).&lt;/p&gt;  &lt;h2&gt;Step 17&lt;/h2&gt;  &lt;p&gt;Get a process dump the store process during the time of the log growth. (Use this as a last measure once all prior activities have been exhausted and prior to calling Microsoft for assistance. These issues are sometimes intermittent, and the quicker you can obtain any data from the server, the better as this will help provide Microsoft with information on what the underlying cause might be.)&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Download the latest version of Procdump from &lt;a href="http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx&lt;/a&gt; and extract it to a directory on the Exchange server &lt;/li&gt;    &lt;li&gt;Open the command prompt and change in to the directory which procdump was extracted in the previous step. &lt;/li&gt;    &lt;li&gt;Type      &lt;p class="consoletext"&gt;procdump -mp -s 120 -n 2 store.exe d:\DebugData&lt;/p&gt; This will dump the data to D:\DebugData. Change this to whatever directory has enough space to dump the entire store.exe process twice. Check Task Manager for the store.exe process and how much memory it is currently consuming for a rough estimate of the amount of space that is needed to dump the entire store dump process.       &lt;br /&gt;&lt;b&gt;Important: &lt;/b&gt;If procdump is being run against a store that is on a clustered server, then you need to make sure that you set the Exchange Information Store resource to not affect the group. If the entire store dump cannot be written out in 300 seconds, the cluster service will kill the store service ruining any chances of collecting the appropriate data on the server. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Open a case with Microsoft Product Support Services to get this data looked at.&lt;/p&gt;  &lt;h2&gt;Most current related KB articles&lt;/h2&gt;  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/2814847"&gt;2814847&lt;/a&gt; - Rapid growth in transaction logs, CPU use, and memory consumption in Exchange Server 2010 when a user syncs a mailbox by using an iOS 6.1 or 6.1.1-based device&lt;/p&gt;  &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/2621266"&gt;2621266&lt;/a&gt; - An Exchange Server 2010 database store grows unexpectedly large &lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/aa996191(EXCHG.65).aspx"&gt;996191&lt;/a&gt;&lt;b&gt; - &lt;/b&gt;Troubleshooting Fast Growing Transaction Logs on Microsoft Exchange 2000 Server and Exchange Server 2003&lt;/p&gt;  &lt;p&gt;&lt;span class="author"&gt;Kevin Carker&lt;/span&gt;     &lt;br /&gt;(based on a blog post written by Mike Lagase)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3567688" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Storage/">Storage</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Troubleshooting/">Troubleshooting</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Community/">Community</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2007/">Exchange 2007</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Mailbox/">Mailbox</category></item><item><title>Preserving Activation Blocks After Performing DAG Member Maintenance</title><link>http://blogs.technet.com/b/exchange/archive/2013/04/10/preserving-activation-blocks-after-performing-dag-member-maintenance.aspx</link><pubDate>Wed, 10 Apr 2013 18:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3565098</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3565098</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/04/10/preserving-activation-blocks-after-performing-dag-member-maintenance.aspx#comments</comments><description>&lt;p&gt;In Exchange 2010, when a &lt;a title="See &amp;#39;Understanding Database Availability Groups&amp;#39; in Exchange 2010 documentation" class="bold" href="http://technet.microsoft.com/en-us/library/dd979799%28v=exchg.141%29.aspx"&gt;database availability group&lt;/a&gt; (DAG) member needs service, it can be placed into maintenance mode. Exchange 2010 includes scripts the &lt;span class="command lightyellow"&gt;StartDagServerMaintenance.ps1&lt;/span&gt; and &lt;span class="command lightyellow"&gt;StopDagServerMaintenace.ps1&lt;/span&gt; scripts to place/remove a &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; member from maintenance mode. For a summary of what these scripts do, see this &lt;a title="See &amp;#39;Exchange 2010 SP1: StartDagServerMaintenance.ps1 fails when a server contains databases with a single copy&amp;#39;" href="http://blogs.technet.com/b/timmcmic/archive/2011/07/25/exchange-2010-sp1-startdagservermaintenance-ps1-fails-when-a-server-contains-databases-with-a-single-copy.aspx"&gt;post&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Within a &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt;, it is not uncommon to have one or more databases or servers blocked from automatic activation by the system. Some customers configure entire servers to be blocked from activation, some block individual copies, and some do a combination of both, based on their business requirements. Administrators using the maintenance mode scripts will find their configured activation blocks reset to the unblocked. This behavior is not a problem with the scripts; in fact, the scripts are working as designed. &lt;/p&gt;  &lt;p&gt;Here is an example of a database copy that has had activation suspended: &lt;/p&gt;  &lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxDatabaseCopyStatus DAG-DB0\MBX-2 | fl name,activationSuspended&lt;/p&gt;  &lt;p class="consoleoutput"&gt;Name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : DAG-DB0\MBX-2    &lt;br /&gt;ActivationSuspended&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : True&lt;/p&gt;  &lt;p&gt;Here is an example of a server that has activation blocked: &lt;/p&gt;  &lt;p class="code"&gt;[PS] C:\&amp;gt;Get-MailboxServer MBX-2 | fl name,databasecopyautoactivationpolicy&lt;/p&gt;    &lt;p class="consoleoutput"&gt;Name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : MBX-2    &lt;br /&gt;DatabaseCopyAutoActivationPolicy : Blocked &lt;/p&gt;  &lt;p&gt;When the administrator executes the &lt;span class="command lightyellow"&gt;stopDagServerMaintenance.ps1&lt;/span&gt; script, these states are reset back to their defaults. Here is an example of the states post &lt;span class="command "&gt;StopDagServerMaintenance.ps1&lt;/span&gt;: &lt;/p&gt;  &lt;p class="code"&gt;[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts&amp;gt;Get-MailboxDatabaseCopyStatus DAG-DB0\MBX-2 | fl name,activationSuspended&lt;/p&gt;  &lt;p class="consoleoutput"&gt;Name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : DAG-DB0\MBX-2    &lt;br /&gt;ActivationSuspended&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : False &lt;/p&gt;  &lt;p class="code"&gt;[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts&amp;gt;Get-MailboxServer MBX-2 | fl name,databasecopyautoactivationpolicy&lt;/p&gt;  &lt;p class="consoleoutput"&gt;Name&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; : MBX-2    &lt;br /&gt;DatabaseCopyAutoActivationPolicy : Unrestricted &lt;/p&gt;  &lt;p&gt;Although the maintenance scripts behavior is by design, it can lead to undesirable scenarios, such as lagged database copies being activated. Of course, to eliminate these issues, an administrator can record database and server settings before and after maintenance and reconfigure any reset settings as needed.&lt;/p&gt;  &lt;p&gt;To help with this, here is a sample script I created that records database and server activation settings into a CSV file which can then be used with the maintenance scripts to adjust the states automatically. &lt;/p&gt;  &lt;div class="download"&gt;   &lt;p&gt;&lt;span class="bold"&gt;Download: &lt;/span&gt;&lt;a title="Download MaintainenanceWrapper.ps1 from TechNet Gallery" href="http://gallery.technet.microsoft.com/scriptcenter/MaintenanceWrapperps1-e9605f08"&gt;MaintenanceWrapper.ps1&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;  &lt;h3&gt;What the script does&lt;/h3&gt;  &lt;p&gt;When you run the script, it creates two CSV files (on the server you run it on) along with a transcript that contains the results of the command executed. The first CSV file contains &lt;span class="lightyellow"&gt;all database copies assigned to the server and their activation suspension status&lt;/span&gt;. Here's an example: &lt;/p&gt;  &lt;p class="consoletext"&gt;#TYPE Selected.Microsoft.Exchange.Management.SystemConfigurationTasks.DatabaseCopyStatusEntry    &lt;br /&gt;&amp;quot;Name&amp;quot;,&amp;quot;ActivationSuspended&amp;quot;     &lt;br /&gt;&amp;quot;DAG-DB0\DAG-3&amp;quot;,&amp;quot;True&amp;quot;     &lt;br /&gt;&amp;quot;DAG-DB1\DAG-3&amp;quot;,&amp;quot;True&amp;quot;&lt;/p&gt;  &lt;p&gt;The second CSV file contains the &lt;span class="lightyellow"&gt;database copy auto activation policy of the server&lt;/span&gt;. For example: &lt;/p&gt;  &lt;p class="consoletext"&gt;#TYPE Selected.Microsoft.Exchange.Data.Directory.Management.MailboxServer    &lt;br /&gt;&amp;quot;Name&amp;quot;,&amp;quot;DatabaseCopyAutoActivationPolicy&amp;quot;     &lt;br /&gt;&amp;quot;DAG-3&amp;quot;,&amp;quot;Blocked&amp;quot;&lt;/p&gt;  &lt;h3&gt;Using maintenanceWrapper.ps1 to start and stop maintenance&lt;/h3&gt;  &lt;p&gt;Because this scipt is unsigned, you'll need to relax the execution policy on the server to allow for unsigned scripts. &lt;/p&gt;  &lt;p class="alert"&gt;&lt;span class="bold"&gt;IMPORTANT:&lt;/span&gt; Allowing unsigned PowerShell scripts to execute is a security risk. For details, see &lt;a title="See &amp;#39;Running Windows PowerShell Scripts&amp;#39; in Windows PowerShell documentation" class="bold" href="http://technet.microsoft.com/en-us/library/ee176949.aspx"&gt;Running Windows PowerShell Scripts&lt;/a&gt;. If this option does not meet your organization's security policy, you can sign the script (requires a &lt;span class="newterm"&gt;code-signing&lt;/span&gt; certificate).&lt;/p&gt;  &lt;p&gt;This command sets the execution policy on a server to allow unsigned PowerShell scripts to execute:&lt;/p&gt;  &lt;p class="code"&gt;Set-ExecutionPolicy UNSIGNED&lt;/p&gt;  &lt;p&gt;You can use the &lt;span class="command lightyellow"&gt;maintenanceWrapper.ps1&lt;/span&gt; script to start and stop maintenance procedure on a &lt;acronym title="Database Availability Group"&gt;DAG&lt;/acronym&gt; member. &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;     &lt;p&gt;Use this command to start the maintenance procedure:&lt;/p&gt;            &lt;p class="code"&gt;maintenanceWrapper.ps1 –server &amp;lt;SERVERNAME&amp;gt; –action START&lt;/p&gt;      &lt;p&gt;The command creates the CSV files containing the original database states and then invokes the &lt;span class="command lightyellow"&gt;StartDagServerMaintenance.ps1&lt;/span&gt; script to place the DAG member in maintenance mode.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;p&gt;After maintenance is completed, you can stop the maintenance procedure using this command:&lt;/p&gt;      &lt;p class="code"&gt;maintenanceWrapper.ps1 –server &amp;lt;SERVERNAME&amp;gt; –action STOP&lt;/p&gt;      &lt;p&gt;The command calls the &lt;span class="command lightyellow"&gt;StopDagServerMaintenance.ps1&lt;/span&gt; script to remove the DAG member from maintenance mode and then resets the database and server activation states from the states recorded in the CSV file.&lt;/p&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Give the script a try and see if it makes maintenance mode for activation-blocked servers and databases easier for you. I hope you find this useful, and I welcome any and all feedback. &lt;/p&gt;  &lt;p&gt;*Special thanks to &lt;a title="Follow @schnoll on Twitter" href="http://twitter.com/schnoll"&gt;Scott Schnoll&lt;/a&gt; and Abram Jackson for reviewing this content and David Spooner for validating the script.&lt;/p&gt;  &lt;p&gt;&lt;span class="author"&gt;Tim McMichael&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3565098" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Administration/">Administration</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/High+Availability/">High Availability</category></item><item><title>Sending common or canned responses from a shared or repository mailbox</title><link>http://blogs.technet.com/b/exchange/archive/2013/04/05/common-response-from-a-shared-repository-mailbox-manual-operation.aspx</link><pubDate>Fri, 05 Apr 2013 22:12:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3563854</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3563854</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/04/05/common-response-from-a-shared-repository-mailbox-manual-operation.aspx#comments</comments><description>&lt;p&gt;As a Microsoft Premier Field Engineer (PFE), I assist companies with Lotus Notes and GroupWise migrations to Exchange/Outlook environments and have found that different applications act differently. One of the common questions is: Can Outlook/Exchange send canned responses from a common mailbox? The answer is yes, but it is done a little differently than other products.&lt;/p&gt;  &lt;p&gt;While everyone here is familiar with the different tools and process in this article, I usually find that the ‘leap of faith’ to put them together in this combination is not always made. So here we go, easy steps put together to create an end result worthy of solving a situation that may apply to your environment.&lt;/p&gt;  &lt;p&gt;The first question is, in the Exchange/Outlook realm, is it possible to have a common response from a single mailbox (sometimes referred to as a ‘repository’) from multiple people? Yes it is possible in Outlook, but several steps have to be setup for this to occur correctly and consistently. &lt;/p&gt;  &lt;p&gt;Let’s say you have an ‘IT Helpdesk’ mailbox, that acts like a repository and you have several people accessing this resource throughout the day. The first step is to remind ourselves where ‘signatures’ are stored in Outlook. Most peoples’ first thought is within the Outlook profile. That’s not correct. The signatures are actually stored as .htm files on a user’s local machine: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;By default on Vista\Windows 7\8: &lt;/p&gt;    &lt;p class="code"&gt;C:\Users\%UserName%\AppData\Roaming\Microsoft\Signatures&lt;/p&gt;    &lt;p&gt;By default on Windows XP: &lt;/p&gt;    &lt;p class="code"&gt;C:\Documents and settings\%UserName%\Application Data\Microsoft\Signatures&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Why do I mention %UserName%? That is the wild card entry for the Alias or AD User Account name of whoever is logged onto the computer. You’ll see later that we reference this again. &lt;/p&gt;  &lt;p&gt;Another question is, ‘What can you do with an HTML file?’ And of course the better question is, ‘What CAN’T you do with an HTML file?’ The beauty of having these files on the computer is that we can act upon them at any time and Outlook will use the current file. In fact, even with Outlook open, you could add a new file in this location and it will show up in the available signature list, which is one of the more dynamic options available in Outlook. Within this HTML file, you could put all kinds of interesting mechanisms: hyperlinks, formatted text, images, marching ant text, blinking text, all of the cool and possibly annoying functions that a web page allows us to accomplish. &lt;/p&gt;  &lt;p&gt;The next step we have to do is to be able to get common files to end users’ desktops. This is accomplished by a simple GPO (Group Policy Object) via AD (Active Directory). Hence, if a file needs to be copied to a desktop, a simple call to a UNC path that acts upon a logon process can get the file to the proper location. Something like: &lt;/p&gt;  &lt;p class="code"&gt;xCopy \\ServerName\Share\*.* C:\Users\%UserName%\AppData\Roaming\Microsoft\Signatures&lt;/p&gt;  &lt;p&gt;This will copy all files in this share location to whoever has the GPO applied to and get it to their desktop every time they log onto any machine they have access to. This also ensures consistency of implementing updated files and ease of deploying new machines. For those of you that thought the signature files were in the Outlook profile, you can now see that you can have signatures setup for an end user &lt;i&gt;before&lt;/i&gt; they ever launch Outlook on a newly provisioned client machine. Pretty cool stuff. &lt;/p&gt;  &lt;p&gt;You can also set permissions on the network folder share to only allow say a manager to edit the files inside the folder. This would allow only the proper people to have access that impacts many other users. Example, around December the files could mention holiday specific information like: “Thank you for the contact, our staff is cycling through holiday time off and your request may take a little longer than usual to get to.” Or at the beginning of the year: “Welcome to the New Year, we are excited about deploying our new products this year.” Whatever the message is, it can easily be updated and controlled from a central location and be deployed to the proper end users that send out the common responses.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1033.sharedmbx1_5F00_1321CEF8.jpg"&gt;&lt;img title="sharedmbx1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="sharedmbx1" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4452.sharedmbx1_5F00_thumb_5F00_0C052331.jpg" width="759" height="466" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Figure 1: Setting share permissions on a folder share.&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;The next problem we run into is when someone ‘reads’ a message in Outlook, it is marked as ‘read’. Now other mail products allow you to read a message and have it &lt;b&gt;not&lt;/b&gt; be marked as read. We don’t do that in Outlook/Exchange. Once a message is read by anyone, you have to go back and mark it as ‘unread’. A training of end users is the only answer here. There are no Outlook settings available to set to change this behavior.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7433.sharedmbx2_5F00_5FE8263F.jpg"&gt;&lt;img title="sharedmbx2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="sharedmbx2" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3731.sharedmbx2_5F00_thumb_5F00_6FF6F4F6.jpg" width="655" height="288" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Figure 2: Right click a message and select ‘Mark as Unread’ or on the Ribbon, select Unread/Read option.&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;We’re almost done. The last few steps are back on the client machines. After you’ve trained your end users to simply apply the appropriate signature file and select the correct mailbox account to send from, you have one more training step. You have to inform them of which ‘sent items’ folder to send from. Yep, there’s another issue here, but one that can also be easily resolved. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8053.sharedmbx3_5F00_04101180.jpg"&gt;&lt;img title="sharedmbx3" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="sharedmbx3" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1856.sharedmbx3_5F00_thumb_5F00_461680C1.jpg" width="768" height="267" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Figure 3: Selecting specific signature and which mailbox account to send from.&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;By default, when sending a message from within Outlook, the message is recorded from the ‘sent item’ folder of the user sending the item. This is not the ideal behavior when we have a common resource mailbox that others have to view sent items from people who are also acting as a single voice from the identical repository location. This is accomplished by a registry edit on the client side. So once again we go back to our friend AD and edit a GPO for consistency. Remember that all registry settings can be edited via GPO’s. Depending on the version of AD you’re on, you may have to use a logon file that calls to a .reg file, or for 2008 and above DC’s, use GPO Preferences to achieve the same process. &lt;/p&gt;  &lt;p&gt;There is no universal fix; each user who can ‘Send As’ another mailbox must perform one of the following on their computer, or deploy using a patch management solution, like System Center Configuration Manager (SCCM) and/or GPO’s.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;Outlook 2003 (&lt;/u&gt;&lt;a href="http://support.microsoft.com/kb/317865"&gt;KB317865&lt;/a&gt;&lt;u&gt; and &lt;/u&gt;&lt;a href="http://support.microsoft.com/kb/953804"&gt;KB953804&lt;/a&gt;&lt;u&gt;)&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;Install the office2003-KB953803-GLB.exe hotfix (&lt;a href="http://support.microsoft.com/kb/953803"&gt;http://support.microsoft.com/kb/953803&lt;/a&gt;). There is no reboot required; but, Outlook has to be closed.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;1. Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, type &lt;b&gt;regedit&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;2. Locate and then click the following registry subkey:&lt;/p&gt;    &lt;p&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Preferences&lt;/p&gt;    &lt;p&gt;3. On the &lt;b&gt;Edit&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;DWORD Value&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;4. Type &lt;b&gt;DelegateSentItemsStyle&lt;/b&gt;, and then press ENTER.&lt;/p&gt;    &lt;p&gt;5. Right-click DelegateSentItemsStyle, and then click &lt;b&gt;Modify&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;6. In the &lt;b&gt;Value data&lt;/b&gt; box, type &lt;b&gt;1&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;7. Exit Registry Editor.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;u&gt;Outlook 2007 (&lt;/u&gt;&lt;a href="http://support.microsoft.com/kb/972148"&gt;KB972148&lt;/a&gt;&lt;u&gt; and &lt;/u&gt;&lt;a href="http://support.microsoft.com/kb/970944"&gt;KB970944&lt;/a&gt;&lt;u&gt;)&lt;/u&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;1. Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, type &lt;b&gt;regedit&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;2. Locate and then click the following registry subkey:&lt;/p&gt;    &lt;p&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Preferences&lt;/p&gt;    &lt;p&gt;3. On the &lt;b&gt;Edit&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;DWORD Value&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;4. Type &lt;b&gt;DelegateSentItemsStyle&lt;/b&gt;, and then press ENTER.&lt;/p&gt;    &lt;p&gt;5. Right-click DelegateSentItemsStyle, and then click &lt;b&gt;Modify&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;6. In the &lt;b&gt;Value data&lt;/b&gt; box, type &lt;b&gt;1&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;7. Exit Registry Editor.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;u&gt;Outlook 2010 (&lt;/u&gt;&lt;a href="http://support.microsoft.com/kb/2181579"&gt;KB2181579&lt;/a&gt;&lt;u&gt;) &lt;/u&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;1. Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, type &lt;b&gt;regedit&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;2. Locate and then click the following registry subkey:&lt;/p&gt;    &lt;p&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences&lt;/p&gt;    &lt;p&gt;3. On the &lt;b&gt;Edit&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;DWORD Value&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;4. Type &lt;b&gt;DelegateSentItemsStyle&lt;/b&gt;, and then press ENTER.&lt;/p&gt;    &lt;p&gt;5. Right-click DelegateSentItemsStyle, and then click &lt;b&gt;Modify&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;6. In the &lt;b&gt;Value data&lt;/b&gt; box, type &lt;b&gt;1&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;7. Exit Registry Editor.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;u&gt;Outlook 2013 &lt;/u&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;1. Click &lt;b&gt;Start&lt;/b&gt;, click &lt;b&gt;Run&lt;/b&gt;, type &lt;b&gt;regedit&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;2. Locate and then click the following registry subkey:&lt;/p&gt;    &lt;p&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Preferences&lt;/p&gt;    &lt;p&gt;3. On the &lt;b&gt;Edit&lt;/b&gt; menu, point to &lt;b&gt;New&lt;/b&gt;, and then click &lt;b&gt;DWORD Value&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;4. Type &lt;b&gt;DelegateSentItemsStyle&lt;/b&gt;, and then press ENTER.&lt;/p&gt;    &lt;p&gt;5. Right-click DelegateSentItemsStyle, and then click &lt;b&gt;Modify&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;6. In the &lt;b&gt;Value data&lt;/b&gt; box, type &lt;b&gt;1&lt;/b&gt;, and then click &lt;b&gt;OK&lt;/b&gt;.&lt;/p&gt;    &lt;p&gt;7. Exit Registry Editor.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;The other alternative is to have the sender manually move the sent message to the Sent Items folder of the user named as the sender in the email.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Important:&lt;/b&gt; After you set the&lt;i&gt; DelegateSentItemsStyle &lt;/i&gt;registry value to 1, the functionality is only available when the Microsoft Exchange account is set to &lt;b&gt;Use Cached Exchange Mode&lt;/b&gt;. The &lt;i&gt;DelegateSentItemsStyle&lt;/i&gt; registry value will not work consistently on an Exchange account that is configured in Online mode.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/7737.sharedmbx4_5F00_1D0E7276.jpg"&gt;&lt;img title="sharedmbx4" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="sharedmbx4" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/5127.sharedmbx4_5F00_thumb_5F00_739A3135.jpg" width="631" height="590" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;Figure 4: Creating a GPO, using ‘preferences’, to set which ‘sent items’ folder is allowed to be selected. &lt;/i&gt;&lt;/p&gt;  &lt;p&gt;So there you have it. Sending a consistent response, from a commonly shared mailbox, using signature files, Outlook client regedit, GPO’s, and a UNC share. Now go out and improve your commonly used shared resource mailboxes and present a stronger corporate image at the same time. Thank you and happy improvements. &lt;/p&gt;  &lt;p&gt;&lt;span class="author"&gt;Mike O'Neill&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3563854" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2007/">Exchange 2007</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Mailbox/">Mailbox</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2013/">Exchange 2013</category></item><item><title>Mysterious mail loop on Edge Transport server: Check your size limits!</title><link>http://blogs.technet.com/b/exchange/archive/2013/03/28/mysterious-mail-loop-on-edge-transport-server-check-your-size-limits.aspx</link><pubDate>Fri, 29 Mar 2013 01:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3561643</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>14</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3561643</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/03/28/mysterious-mail-loop-on-edge-transport-server-check-your-size-limits.aspx#comments</comments><description>&lt;p&gt;I'm a support enginer in &lt;acronym title="Customer Service &amp;amp; Support"&gt;CSS&lt;/acronym&gt;. I was working with a customer who reported a mail loop error for a specific domain like &lt;span class="command"&gt;contoso.com&lt;/span&gt;. This error was only observed in large emails.&amp;nbsp; Yeah that&amp;rsquo;s really mysterious until you figure out that the mail loop is due to size restriction on the Send connector.&amp;nbsp; I thought this was curious enough to share.&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;Understanding the configuration and root cause of the issue:&lt;/h2&gt;
&lt;p&gt;I initially thought that this might have been the outcome of the Edge server being configured to use an external &lt;acronym title="Domain Name System"&gt;DNS&lt;/acronym&gt; server (a DNS server that resolves external hosts). Usually, when the Edge Tranport server is configured to use an external DNS, it resolves the domain name to the public IP addresses (generally pointing to itself, the exernal firewall, or the service provider) instead of a Hub Transport server in the Active Diectory site, causing a mail loop.&lt;/p&gt;
&lt;p&gt;On reproducing the issue, I found out that the Edge Transport server was not configured to use an external DNS server. The environment I set up to reproduce the issue looked like the diagra below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6558.clip_5F00_image002_5F00_3D7AC522.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-width: 0px;" title="clip_image002" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/1307.clip_5F00_image002_5F00_thumb_5F00_26BB7D99.png" alt="clip_image002" width="623" height="199" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here's what happens in this scenario: When the Edge Transport server receives a 20 MB email from an Internet sender, it accepts it. The Edge Transport server has two connectors that match the address space - one for the address space &lt;span class="fqdn lightyellow"&gt;contoso.com&lt;/span&gt; to the Active Directory site and one for the address space &lt;span class="fqdn lightyellow"&gt;*&lt;/span&gt;. When making the routing decision based on all available connectors, the one from the Edge to Hub is not considered because of the size restriction (it has 10 MB size limit). The best match is the * connector from Edge to the Internet (Please go over the connector selection algorithm documented in &lt;a class="bold" title="See 'Undersanding Message Routing' in Exchange 2010 documentation" href="http://technet.microsoft.com/en-in/library/aa998825(v=exchg.141).aspx"&gt;Understanding Message Routing&lt;/a&gt;) which has a message size limit of 30 MB.&lt;/p&gt;
&lt;p&gt;&lt;span class="bold"&gt;End result:&lt;/span&gt; The message is routed back to the Internet causing the message loop between the Internet and the Edge Server.&lt;/p&gt;
&lt;p&gt;Based on whether the Send connector to the Internet is configured to use DNS or a Smart Host to deliver oubound mail, we will get one of the following &lt;acronym title="Non-Delivery Report"&gt;NDR&lt;/acronym&gt;s:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If using DNS:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="consoletext"&gt;#554 5.4.4 SMTPSEND.DNS.MxLoopback; DNS records for this domain are configured in a loop ##&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If using a Smart Host:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="consoletext"&gt;5.4.6 smtp;554 5.4.6 Hop count exceeded - possible mail loop&amp;gt; #SMTP#&lt;/p&gt;
&lt;h2&gt;The Solution&lt;/h2&gt;
&lt;p&gt;This behavior is by design and can be easily rectified by modifying the message size limit on the connector. Based on your requirement, you can choose either of the following options:&lt;/p&gt;
&lt;ul class="arrowlist"&gt;
&lt;li&gt;Set the &lt;span class="parameter lightyellow"&gt;MaxMessageSize&lt;/span&gt; parameter on the &lt;span class="bold"&gt;Receive Connector&lt;/span&gt; (which receives inbound mail from the Internet) to &lt;span class="bold"&gt;10MB&lt;/span&gt;, so messages from the Interent are restricted to 10 MB.&lt;/li&gt;
&lt;li&gt;Set the &lt;span class="parameter"&gt;MaxMessageSize&lt;/span&gt; on the &lt;span class="bold"&gt;Send connector&lt;/span&gt; from Edge to HUB to &lt;span class="bold"&gt;30MB&lt;/span&gt;, which will allow you to receive 30 MB messages from external senders.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Mystery solved! Thanks to Arindam Thokder and Scott Landry, who helped me with getting this ready for the blog!&lt;/p&gt;
&lt;p&gt;&lt;span class="author"&gt;Suresh Kumar (XCON)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3561643" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Troubleshooting/">Troubleshooting</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Transport/">Transport</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category></item><item><title>Announcing Microsoft Connectivity Analyzer (MCA) 1.0 and Microsoft Remote Connectivity Analyzer (RCA) 2.1</title><link>http://blogs.technet.com/b/exchange/archive/2013/03/11/announcing-microsoft-connectivity-analyzer-mca-1-0-and-microsoft-remote-connectivity-analyzer-rca-2-1.aspx</link><pubDate>Mon, 11 Mar 2013 16:56:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3557865</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>15</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3557865</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/03/11/announcing-microsoft-connectivity-analyzer-mca-1-0-and-microsoft-remote-connectivity-analyzer-rca-2-1.aspx#comments</comments><description>&lt;p&gt;Back in November 2012, we announced our MCA Beta client. We have been very busy working to improve the testing options that are available from the MCA client. Here’s what we’ve built for the 1.0 release:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/6560.image_5F00_117B91ED.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3362.image_5F00_thumb_5F00_78138EB2.png" width="84" height="85" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;h2&gt;Microsoft Connectivity Analyzer Tool 1.0&lt;/h2&gt;  &lt;p&gt;We are excited to announce the 1.0 release of the &lt;a href="https://testconnectivity.microsoft.com/?tabid=client"&gt;Microsoft Connectivity Analyzer&lt;/a&gt;.&amp;#160; This tool is a companion to the Microsoft Remote Connectivity Analyzer web site.&amp;#160; The MCA tool provides administrators and end users with the ability to run connectivity diagnostics for five common connectivity symptoms directly &lt;i&gt;from their local computer&lt;/i&gt;.&amp;#160; Users can test their own connectivity, and save results in an HTML format that administrators will recognize from viewing results on the RCA website.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Install the MCA 1.0 tool here:&lt;/b&gt; &lt;a href="https://testconnectivity.microsoft.com/?tabid=client"&gt;&lt;b&gt;https://testconnectivity.microsoft.com/?tabid=client&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Watch the Introduction Video: &lt;/b&gt;&lt;/p&gt; &lt;iframe height="315" src="http://www.youtube.com/embed/RaXMWdUDyq8" frameborder="0" width="560" allowfullscreen="allowfullscreen"&gt;&lt;/iframe&gt;  &lt;h3&gt;The MCA tool offers five test symptoms:&lt;/h3&gt;  &lt;ul&gt;   &lt;li&gt;&lt;b&gt;“I can’t log on with Office Outlook”&lt;/b&gt; – This test is equivalent to the Exchange RCA test for “Outlook Anywhere (RPC over HTTP)”. There is an option to run the SSO test provided on the parameters page. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;“I can’t send or receive email on my mobile device”.&lt;/b&gt;&amp;#160;&amp;#160; – This test is equivalent to the Exchange RCA test for Exchange ActiveSync. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;***New MCA Test*** “I can’t log on to Lync on my mobile device or the Lync Windows Store App”&lt;/b&gt; – This test checks for the Domain Name Server (DNS) records for your on-premise domain to ensure they are configured correctly for supporting Mobile Lync clients. Also it connects to the Autodiscover web service and makes sure that the authentication, certificate, web service for Mobility is correctly set up &lt;/li&gt;    &lt;li&gt;&lt;b&gt;***New MCA Test*** “I can’t send or receive email from Outlook (Office 365 only)”&lt;/b&gt; – This test checks Inbound/Outbound SMTP mail flow and also includes Domain Name Server validation checks for O365 customers. &lt;/li&gt;    &lt;li&gt;&lt;b&gt;***New MCA Test*** “I can’t view free/busy information of another user”&lt;/b&gt; – This test verifies that an Office 365 mailbox can access the free/busy information of an on-premises mailbox, and vice versa (one direction per test run). &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/2210.clip_5F00_image002_5F00_5EAB8B78.jpg"&gt;&lt;img title="clip_image002" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image002" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3704.clip_5F00_image002_5F00_thumb_5F00_75D996A7.jpg" width="603" height="469" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Microsoft Lync Connectivity Analyzer Tool:&amp;#160; &lt;/b&gt;You will also notice the Lync Connectivity Analyzer Tool on the client page.&amp;#160; We are working on combining MCA with MLCA in the near future but wanted to make both these great tools available to customers now to improve our client diagnostics options. To learn more about MLCA – go &lt;a href="http://technet.microsoft.com/library/jj907302.aspx"&gt;HERE&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Feedback:&lt;/b&gt; Send all feedback to the &lt;a href="mailto:mcafeedback@microsoft.com?subject=MCA1.0%20Feedback"&gt;MCA Feedback&lt;/a&gt; alias.&amp;#160; Please let us know what you think of the tool and whether this will be helpful in troubleshooting connectivity scenarios. Also feel free to provide feedback on additional tests you would like to see added in the future.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/4606.image_5F00_1C3B79F3.png"&gt;&lt;img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/0083.image_5F00_thumb_5F00_62B869FB.png" width="685" height="61" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h2&gt;Microsoft Remote Connectivity Analyzer 2.1&lt;/h2&gt;  &lt;p&gt;We are excited to announce the 2.1 release of the Microsoft Remote Connectivity Analyzer web site.&amp;#160; The tool provides administrators and end users with the ability to run connectivity diagnostics for our servers to test common issues with Exchange, Lync and Office 365.&amp;#160; We have added new Office 365 Domain Name Server tests, enhanced existing tests, and improved the overall site experience. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Check out the updates to the website here:&lt;/b&gt; &lt;a href="https://testconnectivity.microsoft.com"&gt;&lt;b&gt;https://testconnectivity.microsoft.com&lt;/b&gt;&lt;/a&gt;&lt;b&gt; &lt;/b&gt;&lt;/p&gt;  &lt;h3&gt;Here are the highlights of the 2.1 RCA release:&lt;/h3&gt;  &lt;p&gt;&lt;b&gt;Version 2.1 (March 2013)&lt;/b&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Added support for localized language support for 60 languages &lt;/li&gt;    &lt;li&gt;Updated version of the downloadable Microsoft Connectivity Analyzer v1.0 Tool for troubleshooting connectivity from the local machine &lt;/li&gt;    &lt;li&gt;Added Microsoft Lync Connectivity Analyzer downloadable tool for troubleshooting Lync issues from the local machine &lt;/li&gt;    &lt;li&gt;Added Office 365 General Tests section &lt;/li&gt;    &lt;li&gt;Added Office 365 Exchange Domain Name Server (DNS) Connectivity Test &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/3731.clip_5F00_image001_5F00_6C142F2F.png"&gt;&lt;img title="clip_image001" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="clip_image001" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-metablogapi/8446.clip_5F00_image001_5F00_thumb_5F00_607E71F0.png" width="582" height="289" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Enjoy!&lt;/p&gt;  &lt;p&gt;Thanks.&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="author"&gt;Brian Feck&lt;/span&gt; on behalf of the entire&lt;b&gt; MCA/RCA team.      &lt;br /&gt;&lt;/b&gt;&lt;b&gt;Follow the team on Twitter - &lt;/b&gt;&lt;a href="https://twitter.com/ExRCA"&gt;&lt;b&gt;@ExRCA&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3557865" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Troubleshooting/">Troubleshooting</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tips+_2700_n+Tricks/">Tips 'n Tricks</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tools/">Tools</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Community/">Community</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+Online/">Exchange Online</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2013/">Exchange 2013</category></item><item><title>Updated: Exchange Server 2010 Deployment Assistant for Exchange 2010 SP3 and Office 365</title><link>http://blogs.technet.com/b/exchange/archive/2013/03/06/updated-exchange-server-2010-deployment-assistant-for-exchange-2010-sp3-and-office-365.aspx</link><pubDate>Wed, 06 Mar 2013 23:55:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556947</guid><dc:creator>The Exchange Team</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/exchange/rsscomments.aspx?WeblogPostID=3556947</wfw:commentRss><comments>http://blogs.technet.com/b/exchange/archive/2013/03/06/updated-exchange-server-2010-deployment-assistant-for-exchange-2010-sp3-and-office-365.aspx#comments</comments><description>&lt;p&gt;We're happy to announce that the &lt;a href="http://technet.microsoft.com/en-us/exdeploy2010/default.aspx" class="bold" title="Go to Exchange Server 2010 Deployment Assistant"&gt;Exchange Server 2010 Deployment Assistant&lt;/a&gt; (ExDeploy) now includes updates for supporting hybrid deployments with Exchange 2010 Service Pack 3 (SP3) organizations and the latest release of Office 365.&lt;/p&gt; &lt;p&gt;Important information to know about the SP3 update for the Exchange 2010 hybrid deployment scenarios:&lt;/p&gt; &lt;ul class="arrowlist"&gt; &lt;li&gt;Updated information is available only in English at this time. Support in additional languages will follow shortly.&lt;/li&gt; &lt;li&gt;We’ve removed the qualifying question about existing Forefront Online Protection for Exchange for on-premises organizations. Forefront Online Protection for Exchange (FOPE), now known as &lt;a href="http://office.microsoft.com/en-us/exchange/email-security-exchange-online-protection-FX103763969.aspx" title="Learn more about Exchange Online Protection (EOP)" class="bold"&gt;Exchange Online Protection&lt;/a&gt; (EOP), is no longer a limiting factor in hybrid transport routing options. Organizations no longer need to request that their existing EOP service be merged with the EOP service provided with the Microsoft Office 365 tenant. The EOP services are merged automatically and do not require any additional configuration.&lt;/li&gt; &lt;li&gt;We’ve also removed the limitations on configuring centralized mail transport in the &lt;a href="http://technet.microsoft.com/en-us/library/hh529921%28v=exchg.141%29.aspx" class="bold" title="See 'Understanding the Hybrid Configuration Wizard' in Hybrid Deployments documenation"&gt;Manage Hybrid Configuration&lt;/a&gt; wizard. Centralized mail transport in hybrid deployments can be configured regardless of existing EOP service configuration.&lt;/li&gt; &lt;li&gt;If you have previously configured a hybrid deployment using ExDeploy and Exchange 2010 SP2, you’ll need to take a few basic administrative actions as part of updating your hybrid deployment for the latest release of Office 365. See &lt;a href="http://go.microsoft.com/fwlink/p/?LinkId=282235" title="Go to 'Understanding Upgrading Office 365 Tenants for Exchange-2010 based Hybrid Deployments'" class="bold"&gt;Understanding Upgrading Office 365 Tenants for Exchange 2010-based Hybrid Deployments&lt;/a&gt; for more details.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;We’d also like to remind everyone that we’ve released the &lt;a href="http://technet.microsoft.com/en-us/exchange/jj657516" title="Go to Exchange Server 2013 Deployment Assistant" class="bold"&gt;Exchange Server 2013 Deployment Assistant&lt;/a&gt; for those organizations that want to take advantage of the features of a new Exchange 2013 installation and for Exchange 2010 and Exchange 2007 organizations that are interested in the benefits of an Exchange 2013-based hybrid deployment. See &lt;a href="http://blogs.technet.com/b/exchange/archive/2013/03/04/exchange-server-2013-deployment-assistant-available.aspx" title="See previous post: 'Now Available: Exchange Server 2013 Deployment Assistant'" class="bold"&gt;Now Available: Exchange Server 2013 Deployment Assistant&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Exchange 2010-based hybrid deployments offer Exchange 2010, Exchange 2007 and Exchange 2003 organizations the ability to extend the feature-rich experience and administrative control they have with their existing on-premises Microsoft Exchange organization to the cloud. It provides the seamless look and feel of a single Exchange organization between an on-premises organization and an Exchange Online organization in Office 365. In addition, hybrid deployments can serve as an intermediate step to moving completely to a cloud-based Exchange Online organization. This approach is different than the simple Exchange migration (“cutover migration”) and staged Exchange migration options currently offered by Office 365 outlined in &lt;a href="http://help.outlook.com/en-us/beta/ms.exch.ecp.emailmigrationstatuslearnmore.aspx" class="bold"&gt;E-Mail Migration Overview&lt;/a&gt;.&lt;/p&gt;  &lt;div class="note"&gt; &lt;h3&gt;About the Exchange Server Deployment Assistant&lt;/h3&gt; &lt;p&gt;The &lt;a title="Check out the Exchange Server Deployment Assistant" href="http://go.microsoft.com/fwlink/?LinkID=171086" class="bold"&gt;Exchange Server Deployment Assistant&lt;/a&gt; (ExDeploy) is a web-based tool that helps you upgrade to Exchange 2010 on-premises, configure a hybrid deployment between an on-premises and Exchange Online organization or migrate to Exchange Online.&lt;/p&gt; &lt;img src="http://blogs.technet.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-31-06-postimages/0602.ExDeploy_2D00_Hybrid.png" alt="Screenshot: Exchange Deployment Assistant home page" /&gt;&lt;br /&gt; &lt;span class="caption"&gt;&lt;span class="bold"&gt;Figure 1:&lt;/span&gt;The Exchange Deployment Assistant generates customized instructions to help you upgrade to Exchange 2010 on-premises or in the cloud&lt;/span&gt; &lt;p&gt;It asks you a small set of simple questions, and then based on your answers, it provides a checklist with instructions to deploy or configure Exchange 2010 that are customized to your environment. These environments include:&lt;/p&gt; &lt;ul class="arrowlist"&gt; &lt;li&gt;Stand-alone on-premises Exchange installations and upgrades&lt;/li&gt; &lt;li&gt;Hybrid deployment configurations and&lt;/li&gt; &lt;li&gt;Cloud-only Exchange deployment scenarios.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;Besides getting the checklist online, you can also print instructions for individual tasks and download a PDF file of your complete configuration checklist.&lt;/p&gt; &lt;/div&gt; &lt;p&gt;Your feedback is very important for the continued improvement of this tool. We would love your feedback on this new scenario and any other area of the Deployment Assistant. Feel free to either post comments on this blog post, provide feedback in the Office 365 community &lt;a class="bold" href="http://community.office365.com/en-us/f/162.aspx"&gt;Exchange Online migration and hybrid deployment forum&lt;/a&gt;, or send an email to edafdbk@microsoft.com via the &lt;span class="bold"&gt;Feedback&lt;/span&gt; link located in the header of every page of the Deployment Assistant.&lt;/p&gt; &lt;p&gt;&lt;span class="author"&gt;Exchange Deployment Assistant Team&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556947" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/b/exchange/archive/tags/Tools/">Tools</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Announcements/">Announcements</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Exchange+2010/">Exchange 2010</category><category domain="http://blogs.technet.com/b/exchange/archive/tags/Deployment/">Deployment</category></item></channel></rss>