<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Microsoft Exchange pour Tous V2 - Microsoft Exchange made simple</title><subtitle type="html">Nouveautés, principes, évolution, trucs et astuces - News, principles, evolution, tips and tricks</subtitle><id>http://blogs.technet.com/b/samdrey/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/" /><link rel="self" type="application/atom+xml" href="http://blogs.technet.com/b/samdrey/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2012-12-11T11:38:46Z</updated><entry><title>Temporary post</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/04/03/temporary-post.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/04/03/temporary-post.aspx</id><published>2013-04-03T14:57:10Z</published><updated>2013-04-03T14:57:10Z</updated><content type="html">&lt;p&gt;Gc servers.txt | % {&amp;amp;&amp;quot;c:\utils\experfwiz\experfwiz.ps1&amp;quot; -quiet -server $_ -interval 5 –Begin “04/03/2013 11:00:00” –End “04/03/2013 15:00:00“ -filepath C:\PerfLogs}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3563066" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Exchange 2010 and BES server Throttling Policy settings</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/03/27/exchange-2010-and-bes-server-throttling-policy-settings.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/03/27/exchange-2010-and-bes-server-throttling-policy-settings.aspx</id><published>2013-03-27T19:10:00Z</published><updated>2013-03-27T19:10:00Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The credit for the following article goes to &lt;strong&gt;Carter Tan&lt;/strong&gt;, Microsoft Premier Field Engineer, and BlackBerry (the proudly Canadian company) as well. Thank for putting all this together Carter !&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;From Exchange 2010 SP1 and later, the MaxSessionsPerUser is set via Client Access Throttling Policy:&lt;/p&gt;  &lt;p&gt;&amp;lt;snip&amp;gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Increase the maximum number of connections to the Address Book service&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;in Microsoft Exchange 2010&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;By default, Microsoft® Exchange 2010 limits the maximum number of connections from the BlackBerry® Enterprise Server to the Address Book service to 50. To permit the BlackBerry Enterprise Server to run, you must increase the number of permitted connections to a large value (for example, 100,000).&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Before you begin: &lt;/b&gt;You must complete this task if the messaging server that the BlackBerry Enterprise Server uses is Microsoft Exchange 2010. If the messaging server is Microsoft Exchange 2010 SP1, you can change the MaxSessionsPerUser settings using client throttling policies.&lt;/p&gt;  &lt;p&gt;1. On the computer that hosts the Microsoft Exchange CAS server, in &amp;lt;&lt;i&gt;drive&lt;/i&gt;&amp;gt;:\Program Files\Microsoft\Exchange Server\V14\Bin, in a text editor, open the &lt;b&gt;microsoft.exchange.addressbook.service.exe.config &lt;/b&gt;file.&lt;/p&gt;  &lt;p&gt;2. Change the value of the MaxSessionsPerUser key to &lt;b&gt;100000&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;3. Save and close the file.&lt;/p&gt;  &lt;p&gt;4. Restart the Address Book service.&lt;/p&gt;  &lt;p&gt;&amp;lt;/snip&amp;gt;&lt;/p&gt;  &lt;p&gt;The Client Access Throttling Policy recommended by RIM is as follows:&lt;/p&gt;  &lt;p&gt;&amp;lt;snip&amp;gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Turn off client throttling in Microsoft Exchange 2010&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;By default, Microsoft® Exchange 2010 uses client throttling policies to track the bandwidth that each Microsoft Exchange user consumes and enforce bandwidth limits as necessary. The policies affect the performance of the BlackBerry® Enterprise Server, so you should turn off client throttling for the Windows® account that has a Microsoft Exchange mailbox.&lt;/p&gt;  &lt;p&gt;1. On a computer that hosts the Microsoft Exchange Management Shell, open the Microsoft Exchange Management Shell.&lt;/p&gt;  &lt;p&gt;2. Type &lt;b&gt;New-ThrottlingPolicy BESPolicy&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;3. Type the following command:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Set-ThrottlingPolicy BESPolicy -RCAMaxConcurrency $null -RCAPercentTimeInAD $null -&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;RCAPercentTimeInCAS $null -RCAPercentTimeInMailboxRPC $null -EWSMaxConcurrency $null -&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;EWSPercentTimeInAD $null -EWSPercentTimeInCAS $null -EWSPercentTimeInMailboxRPC $null -&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;EWSMaxSubscriptions $null -EWSFastSearchTimeoutInSeconds $null -EWSFindCountLimit $null&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;4. Type &lt;b&gt;Set-Mailbox &amp;quot;BESAdmin&amp;quot; -ThrottlingPolicy BESPolicy&lt;/b&gt;.&lt;/p&gt;  &lt;p&gt;&amp;lt;/snip&amp;gt;&lt;/p&gt;  &lt;p&gt;The MaxSessionsPerUser value in the Address Book Service is limited by the RCAMaxConcurrency value, which also controls the number of MAPI connections allowed by the service account.&lt;/p&gt;  &lt;p&gt;&amp;lt;snip&amp;gt;&lt;/p&gt;  &lt;p&gt;The &lt;em&gt;RCAMaxConcurrency&lt;/em&gt; parameter specifies how many concurrent connections an RPC Client Access user can have against a server running Exchange 2010 at one time. A connection is held from the moment a request is received until the connection is closed or the connection is otherwise disconnected (for example, if the user goes offline). &lt;/p&gt;  &lt;p&gt;If users attempt to make more concurrent requests than their policy allows, the new connection attempt fails. However, the existing connections remain valid. The &lt;em&gt;RCAMaxConcurrency&lt;/em&gt; parameter has a valid range from 0 through 2147483647 inclusive. The default value is 20. To indicate that the number of concurrent connections should be unthrottled (no limit), this value should be set to &lt;code&gt;$null&lt;/code&gt;.&lt;/p&gt;  &lt;p&gt;&amp;lt;/snip&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3561416" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Exchange 2010–Links to nice articles showing how to simply troubleshoot Exchange 2010 performance issues</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/03/27/exchange-2010-nice-links-to-articles-showing-how-to-simply-troubleshoot-exchange-2010-performance-issues.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/03/27/exchange-2010-nice-links-to-articles-showing-how-to-simply-troubleshoot-exchange-2010-performance-issues.aspx</id><published>2013-03-27T13:29:30Z</published><updated>2013-03-27T13:29:30Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The first article is Exchange 2010 counters information from the Technet.&lt;/p&gt;  &lt;p&gt;The principle described in the second and the third article can be applied or declined to any versions of Exchange. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;1&amp;gt; The general counters values and thresholds for all Exchange 2010 servers, and narrowed by role:&lt;/p&gt;  &lt;p&gt;&lt;a title="http://technet.microsoft.com/en-us/library/ff367896(v=exchg.141).aspx" href="http://technet.microsoft.com/en-us/library/ff367896(v=exchg.141).aspx"&gt;http://technet.microsoft.com/en-us/library/ff367896(v=exchg.141).aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;2&amp;gt; From &lt;u&gt;Nicole Allen from the Exchange Team&lt;/u&gt; : how to investigate Exchange performance issues:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/b/exchange/archive/2005/09/28/411674.aspx"&gt;http://blogs.technet.com/b/exchange/archive/2005/09/28/411674.aspx&lt;/a&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;3&amp;gt; An nice and concise article from one of our &lt;u&gt;Exchange MVP, Ratish Nair&lt;/u&gt; that nicely summarizes the above articles :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msexchangeguru.com/2011/02/27/rpc-issues/"&gt;http://msexchangeguru.com/2011/02/27/rpc-issues/&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=3561319" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Windows 2012–Uninstalling AD DS services (demoting GC)–copied Powershell script from the setup</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/02/10/windows-2012-uninstalling-ad-ds-services-demoting-gc-copied-powershell-script-from-the-setup.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/02/10/windows-2012-uninstalling-ad-ds-services-demoting-gc-copied-powershell-script-from-the-setup.aspx</id><published>2013-02-11T03:02:35Z</published><updated>2013-02-11T03:02:35Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;#   &lt;br /&gt;# Windows PowerShell script for AD DS Deployment    &lt;br /&gt;#&lt;/p&gt;  &lt;p&gt;Import-Module ADDSDeployment   &lt;br /&gt;Uninstall-ADDSDomainController `    &lt;br /&gt;-DemoteOperationMasterRole:$true `    &lt;br /&gt;-IgnoreLastDnsServerForZone:$true `    &lt;br /&gt;-LastDomainControllerInDomain:$true `    &lt;br /&gt;-RemoveApplicationPartitions:$true `    &lt;br /&gt;-Force:$true&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551564" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>UNSUPPORTED and DRAFT post - but just to play in a Lab for fun–Installing Exchange system Manager 2003 and Exmerge on a Windows 7 computer to export Exchange 2007 mailbox data to PST files</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/02/08/unsupported-and-draft-post-but-just-to-play-in-a-lab-for-fun-installing-exchange-system-manager-2003-and-exmerge-on-a-windows-7-computer-to-export-exchange-2007-mailbox-data-to-pst-files.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/02/08/unsupported-and-draft-post-but-just-to-play-in-a-lab-for-fun-installing-exchange-system-manager-2003-and-exmerge-on-a-windows-7-computer-to-export-exchange-2007-mailbox-data-to-pst-files.aspx</id><published>2013-02-08T19:24:12Z</published><updated>2013-02-08T19:24:12Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;Installing ExMerge:&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;ExMerge download link :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=2743"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=2743&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;Installing ESM 2003 on a Windows 7 64 bits machine:&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;- First download the ESM for Vista :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=17836"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=17836&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;- Second, extract the MSI (launch the .exe) somewhere&lt;/p&gt;  &lt;p&gt;- Third, run &lt;strong&gt;ESMVISTA.MSI /passive&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Of course an ESM 2003 on a Windows 7 is not supported, but that only means “not tested”, that actually works… now we have to test using ExMerge with this from a Windows 7 64 bits.&lt;/p&gt;  &lt;p&gt;Well it’s just for one export right? Then we just have to make it work. But you won’t get any help if it doesn’t work or if it crashes !&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Note: For a more long-term SUPPORTED solution, we’ll have to install Exchange 2007 management tools on a 32 bits machine.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551343" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Exchange 2007–A Queue Monitoring Console simply built</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/02/07/exchange_2D00_2007a_2D00_queue_2D00_monitoring_2D00_console_2D00_simply_2D00_built.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/02/07/exchange_2D00_2007a_2D00_queue_2D00_monitoring_2D00_console_2D00_simply_2D00_built.aspx</id><published>2013-02-07T20:53:36Z</published><updated>2013-02-07T20:53:36Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Using my DTW (Document-Tool-Walkthru) Excel based tool that you can download through : &lt;a title="http://www.opsvault.com/how-to-build-a-simple-and-efficient-windows-monitoring-solution-dtw/" href="http://www.opsvault.com/how-to-build-a-simple-and-efficient-windows-monitoring-solution-dtw/"&gt;http://www.opsvault.com/how-to-build-a-simple-and-efficient-windows-monitoring-solution-dtw/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is a nice HTA console quickly built with the above Excel tool that I called “DTW” tool :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/0361.image_5F00_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/3173.image_5F00_thumb.png" width="463" height="251" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;And here is the code generated with the help of my &lt;a href="http://www.opsvault.com/how-to-build-a-simple-and-efficient-windows-monitoring-solution-dtw/"&gt;DTW&lt;/a&gt;. Copy and paste the below code into a notepad that you save as “LocalQueueMonitor.hta”. &lt;/p&gt;  &lt;p&gt;The below generated HTA file will only run on a local Exchange 2007 server, but the &lt;a href="http://www.opsvault.com/how-to-build-a-simple-and-efficient-windows-monitoring-solution-dtw/"&gt;DTW&lt;/a&gt; enables you to easily build a console that will run against remote server(s). Plus, you can play with the “Console initialization parameters” as you want to customize the look and feel and behaviour of your console !&lt;/p&gt;  &lt;p&gt;Here is the code, generated by the &lt;a href="http://www.opsvault.com/how-to-build-a-simple-and-efficient-windows-monitoring-solution-dtw/"&gt;DTW tool&lt;/a&gt;, and that will to generate an HTA file that will monitor the local Exchange 2007 server queues:&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;HTML&amp;gt;      &lt;br /&gt;&amp;lt;BODY BGCOLOR=#C0C0C0&amp;gt;       &lt;br /&gt;&amp;lt;OBJECT       &lt;br /&gt;CLASSID=&amp;quot;clsid:C4D2D8E0-D1DD-11CE-940F-008029004347&amp;quot;       &lt;br /&gt;ID=&amp;quot;Monitor&amp;quot;       &lt;br /&gt;HEIGHT=80%       &lt;br /&gt;WIDTH=100%&amp;gt;       &lt;br /&gt;&amp;lt;/OBJECT&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;font face="Courier New"&gt;   &lt;p&gt;     &lt;br /&gt;&amp;lt;SCRIPT LANGUAGE=&amp;quot;VBScript&amp;quot;&amp;gt;&lt;/p&gt;    &lt;p&gt;     &lt;br /&gt;Sub Window_OnLoad       &lt;br /&gt;On Error Resume Next&lt;/p&gt;    &lt;p&gt;     &lt;br /&gt;' Console initialization       &lt;br /&gt;Monitor.DisplayType = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ReportValueType = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.MaximumScale = &amp;quot;100&amp;quot;       &lt;br /&gt;Monitor.MinimumScale = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.ShowLegend = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ShowToolbar = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ShowScaleLabels = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ShowHorizontalGrid = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ShowVerticalGrid = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ShowValueBar = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ManualUpdate = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.Highlight = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.ReadOnly = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.MonitorDuplicateInstances = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.UpdateInterval = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.DisplayFilter = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.BackColorCtl = &amp;quot;-2147483633&amp;quot;       &lt;br /&gt;Monitor.ForeColor = &amp;quot;-1&amp;quot;       &lt;br /&gt;Monitor.BackColor = &amp;quot;-1&amp;quot;       &lt;br /&gt;Monitor.GridColor = &amp;quot;8421504&amp;quot;       &lt;br /&gt;Monitor.TimeBarColor = &amp;quot;255&amp;quot;       &lt;br /&gt;Monitor.BorderStyle = &amp;quot;2&amp;quot;       &lt;br /&gt;Monitor.TimeAxisLabels = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.Tooltip = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.NextCounterColor = &amp;quot;4&amp;quot;       &lt;br /&gt;Monitor.NextCounterWidth = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.NextCounterLineStyle = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.MaximumSamples = &amp;quot;200&amp;quot;       &lt;br /&gt;Monitor.GraphTitle = &amp;quot;CPU and Submission queues&amp;quot;       &lt;br /&gt;Monitor.YAxisLabel = &amp;quot;Y label&amp;quot;       &lt;br /&gt;Monitor.DigitGrouping = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.WrapTimeLine = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.DataSourceType = &amp;quot;1&amp;quot;       &lt;br /&gt;'Monitor.SqlDsnName =       &lt;br /&gt;'Monitor.SqlLogSetName =       &lt;br /&gt;Monitor.LogFileCount = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.AmbientFont = &amp;quot;1&amp;quot;       &lt;br /&gt;'Monitor.LegendColumnWidths =       &lt;br /&gt;Monitor.LegendSortDirection = &amp;quot;-2&amp;quot;       &lt;br /&gt;Monitor.LegendSortColumn = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.CounterCount = &amp;quot;4&amp;quot;       &lt;br /&gt;Monitor.MaximumSamples = &amp;quot;100&amp;quot;&lt;/p&gt;    &lt;p&gt;     &lt;br /&gt;' Counters list added to the console       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Aggregate Delivery Queue Length (All Queues)&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Messages Completed Delivery Per Second&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Poison Queue Length&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Retry Mailbox Delivery Queue Length&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Retry Non-Smtp Delivery Queue Length&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Retry Remote Delivery Queue Length&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Submission Queue Length&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\MSExchangeTransport Queues(_total)\Unreachable Queue Length&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\Memory\Available Mbytes&amp;quot;)       &lt;br /&gt;Monitor.Counters.Add(&amp;quot;\Processor(_Total)\% Processor Time&amp;quot;)&lt;/p&gt;    &lt;p&gt;     &lt;br /&gt;' Counter drawing customization       &lt;br /&gt;Monitor.Counters.Item(19).Color = &amp;quot;100&amp;quot;       &lt;br /&gt;Monitor.Counters.Item(19).Width = &amp;quot;4&amp;quot;       &lt;br /&gt;Monitor.Counters.Item(19).LineStyle = &amp;quot;2&amp;quot;       &lt;br /&gt;Monitor.Counters.Item(19).ScaleFactor = &amp;quot;0.001&amp;quot;       &lt;br /&gt;Monitor.Counters.Item(19).Show = &amp;quot;1&amp;quot;       &lt;br /&gt;Monitor.Counters.Item(19).Selected = &amp;quot;0&amp;quot;       &lt;br /&gt;Monitor.Counters.Item(19).StatisticStatus = &amp;quot;0&amp;quot;       &lt;br /&gt;&lt;/p&gt;    &lt;p&gt;End Sub&lt;/p&gt;    &lt;p&gt;     &lt;br /&gt;&amp;lt;/SCRIPT&amp;gt;       &lt;br /&gt;&amp;lt;/BODY&amp;gt;       &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt; &lt;/font&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551114" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Performance Analysis–Excel (2010) automation : how to create graphs from a Perfmon-generated CSV file–Essay#1</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/01/28/performance-analysis-excel-2010-automation-how-to-create-graphs-from-a-perfmon-generated-csv-file-essay-1.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/01/28/performance-analysis-excel-2010-automation-how-to-create-graphs-from-a-perfmon-generated-csv-file-essay-1.aspx</id><published>2013-01-29T03:30:23Z</published><updated>2013-01-29T03:30:23Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Hi all,&lt;/p&gt;  &lt;p&gt;Today I’m concentrating my efforts into generating graphs as painless as possible for many data collected on Exchange servers. I’ll start by generating graphs from the two following counters which give an idea of the load of the servers:&lt;/p&gt;  &lt;p&gt;- Active User Count&lt;/p&gt;  &lt;p&gt;- RPC Operations/sec&lt;/p&gt;  &lt;p&gt;The first step (Essay#1) is to generate as quickly as possible a nice graph to display the trend for these counters.&lt;/p&gt;  &lt;p&gt;The second step (Essay#2) will be to generate quickly also graphs from a bunch of files located on a folder.&lt;/p&gt;  &lt;p&gt;The third step (Essay#3) will be to quickly generate these graphs on a separate Excel spreadsheet, or even better on a Word document to start a report&lt;/p&gt;  &lt;p&gt;the fourth step (Essay #4) will then be to generate the most significant graphs to generate a report that will enable a good graphical performance analysis of many servers at a time, simply using Excel and Word.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;First you need to collect Perfmon data and configure the Perfmon data collector to dump statistics on .CSV files. You can also chose to convert existing BLG files to .CSV files using RELOG for example … or loading .BLG files onto a Perfmon console, and export the data on .CSV files … many ways to do this, but it’s not the purpose of this post.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Second, we will then generate our graph with the above mentioned two counters (as a start of my live project). &lt;/p&gt;  &lt;p&gt;You have to open Excel 2010, show the “Developer” tab, and copy the following code :&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;Sub Macro_Search_Active_User()&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'NAME the first column which is the timeline column       &lt;br /&gt;&lt;/em&gt;Range(&amp;quot;A:A&amp;quot;).Name = &amp;quot;Time_Line&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'FIND the column showing the number of active user count       &lt;br /&gt;&lt;/em&gt;&amp;#160;&amp;#160;&amp;#160; Cells.Find(What:=&amp;quot;Active User Count&amp;quot;, After:=ActiveCell, LookIn:=xlFormulas, _      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; MatchCase:=False, SearchFormat:=False).Select      &lt;br /&gt;&lt;em&gt;'NAME the column just found       &lt;br /&gt;&lt;/em&gt;Range(Selection, Selection.End(xlDown)).Name = &amp;quot;Active_User_Count&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'FIND the column showing the RPC activity       &lt;br /&gt;&lt;/em&gt;&amp;#160;&amp;#160;&amp;#160; Cells.Find(What:=&amp;quot;RPC Operations/sec&amp;quot;, After:=ActiveCell, LookIn:=xlFormulas, _      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; MatchCase:=False, SearchFormat:=False).Select      &lt;br /&gt;&lt;em&gt;'NAME the column just found&lt;/em&gt;      &lt;br /&gt;Range(Selection, Selection.End(xlDown)).Name = &amp;quot;RPC_Ops_Per_Sec&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'SELECT then all these 3 colums&lt;/em&gt;      &lt;br /&gt;Range(&amp;quot;Time_Line, Active_User_Count, RPC_Ops_Per_Sec&amp;quot;).Select      &lt;br /&gt;Range(&amp;quot;A1&amp;quot;).Activate&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'GENERATE the Excel graph       &lt;br /&gt;&lt;/em&gt;ActiveSheet.Shapes.AddChart2(227, xlLine).Select      &lt;br /&gt;ActiveChart.SetSourceData Source:=Range(&amp;quot;Time_Line, Active_User_Count, RPC_Ops_Per_Sec&amp;quot;)      &lt;br /&gt;&lt;em&gt;'NAME the graph to easily retrieve it on other code lines       &lt;br /&gt;&lt;/em&gt;ActiveChart.Parent.Name = &amp;quot;ActiveUsersAndRPCOps&amp;quot;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'This step is optional : DELETE the X axe label - &amp;quot;xlCategory&amp;quot; (or find an equivalent function to deactivate it) – because you may want to keep the X-axe time data&lt;/em&gt;      &lt;br /&gt;ActiveChart.Axes(xlCategory).Select      &lt;br /&gt;Selection.Delete&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;&lt;em&gt;' Add a secondary Axe for one of the data series(no matter which one)&lt;/em&gt;      &lt;br /&gt;&lt;em&gt;' .. Select series nb 1&lt;/em&gt;      &lt;br /&gt;ActiveChart.FullSeriesCollection(1).Select      &lt;br /&gt;&lt;em&gt;' .. add data as a secondart axe&lt;/em&gt;      &lt;br /&gt;ActiveChart.FullSeriesCollection(1).AxisGroup = 2      &lt;br /&gt;&lt;em&gt;' .. Color selected collection to in RGB(xxx,xxx,xxx) &lt;/em&gt;with xxx btw 0 and 255      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Selection.Format.Line      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Visible = msoTrue      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ForeColor.RGB = RGB(255, 0, 0)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Transparency = 0      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With      &lt;br /&gt;&lt;em&gt;' .. Color the axis linked to the secondary collection into the same color       &lt;br /&gt;' ... Select the secondary axe first        &lt;br /&gt;&lt;/em&gt;ActiveChart.Axes(xlValue, xlSecondary).Select      &lt;br /&gt;&lt;em&gt;' ... then set the selection properties : line visible, color and not transparent ...       &lt;br /&gt;&lt;/em&gt;&amp;#160;&amp;#160;&amp;#160; With Selection.Format.Line      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Visible = msoTrue      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ForeColor.RGB = RGB(255, 0, 0)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Transparency = 0      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; ActiveChart.Axes(xlValue, xlSecondary).Select      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Selection.TickLabels.Font      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Color = RGB(255, 0, 0)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'. Same SELECTing and FORMATting the second data collection and axe       &lt;br /&gt;&lt;/em&gt;ActiveChart.FullSeriesCollection(2).Select      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Selection.Format.Line      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Visible = msoTrue      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ForeColor.RGB = RGB(0, 130, 0)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Transparency = 0      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With      &lt;br /&gt;ActiveChart.Axes(xlValue).Select      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; With Selection.Format.Line      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Visible = msoTrue      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .ForeColor.RGB = RGB(0, 130, 0)      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Transparency = 0      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; End With&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;font face="Courier New"&gt;&lt;em&gt;'Finally, delete the title       &lt;br /&gt;&lt;/em&gt;&amp;#160;&amp;#160;&amp;#160; ActiveChart.ChartTitle.Select      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Selection.Delete&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Courier New"&gt;End Sub&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Execute the macro and you’ll instantly have the following type of graph:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/6366.image_5F00_4.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/1563.image_5F00_thumb_5F00_1.png" width="569" height="343" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Next I’ll try (and succeed hopefully) to generate the above graph type for many CSV Perfmon files stored in a directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3548922" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Exchange 2010–Dumpster V2.0 questions and answers</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/01/17/exchange-2010-dumpster-v2-0-questions-and-answers.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/01/17/exchange-2010-dumpster-v2-0-questions-and-answers.aspx</id><published>2013-01-18T02:52:56Z</published><updated>2013-01-18T02:52:56Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Ø &lt;i&gt;Does the archive database has a separate dumpster with a separate retention ?&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;Remember in my presentation, I talked about the dumpster v2.0 and the purposes of the “Deletions”, “Versions”, and “Purges” subfolders. Note that these will be used only if you activate the “Single Item Recovery” or the “Litigation Hold” feature on your mailboxes :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/8540.clip_5F00_image001_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/6505.clip_5F00_image001_5F00_thumb.jpg" width="244" height="194" /&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-73-61-metablogapi/5100.clip_5F00_image002_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/2388.clip_5F00_image002_5F00_thumb.jpg" width="244" height="134" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The archive mailbox, which can be either in the same database as the “live” mailbox or in a separate, dedicated database that you can chose anytime (when creating the live mailbox or you can also move the archive after a while).&lt;/p&gt;  &lt;p&gt;So each archive mailbox is always associated with the “live” mailbox. And each archive mailbox has exactly the same Dumpster v2.0 structure than the “live” mailbox:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/6683.clip_5F00_image003_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image003" border="0" alt="clip_image003" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/4846.clip_5F00_image003_5F00_thumb.jpg" width="144" height="113" /&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-73-61-metablogapi/3301.clip_5F00_image004_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/5531.clip_5F00_image004_5F00_thumb.jpg" width="183" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Ø &lt;i&gt;What happens when I move an email from my inbox to the archive and then delete it.&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;If you move a mail from the “live” mailbox to the archive mailbox, the mail will reside in the archive mailbox. Then, if you delete it, it will go on the Dumpster V2.0 from the archive mailbox, on the “&lt;b&gt;Deletions&lt;/b&gt;” sub-folder of the archive mailbox’ dumpster v2.0. If you chose to purge it using the “&lt;b&gt;Recover deleted items&lt;/b&gt;” menu from Outlook, e.g :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/8267.clip_5F00_image005_5F00_2.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-73-61-metablogapi/1715.clip_5F00_image005_5F00_thumb.jpg" width="244" height="71" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;… then the mails will go in the “&lt;b&gt;Purge&lt;/b&gt;” items, still on the dumpster of the archive mailbox.&lt;/p&gt;  &lt;p&gt;Ø &lt;i&gt;How long would the deleted copy be kept?&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;- The time period by which the deleted data is maintained is based on the deleted item retention window. The default time period is 14 days in Exchange 2010 and is configurable per database or per mailbox. The following cmdlets let you alter this behavior:&lt;/p&gt;  &lt;p&gt;o For the mailbox database: Set-MailboxDatabase -DeletedItemRetention&lt;/p&gt;  &lt;p&gt;o For the mailbox: Set-Mailbox -RetainDeletedItemsFor&lt;/p&gt;  &lt;p&gt;- Also, to avoid denial of service attacks by placing lot of data into the dumpster (lots of spams for example, that the user deletes), you can configure the dumpster to have a quota. By default, the database-level limits are configured for the dumpster. You can use the RecoverableItemsWarningQuota and/or the RecoverableItemsQuota parameters from the mailbox settings to set the dumpster’s quota and the behavior of the dumpster in case the quota is reached.&lt;/p&gt;  &lt;p&gt;o Recoverable Items Warning Quota : lets the dumpster purge the oldest mails to permit new mails to be placed in the dumpster&lt;/p&gt;  &lt;p&gt;o Recoverable Items Quota : prevents any deletions on the “live” mailbox when the dumpster’s quota is reached.&lt;/p&gt;  &lt;p&gt;More information about all the answers given in the mail can be found on the following links : &lt;/p&gt;  &lt;p&gt;Understanding Recoverable Items&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ee364755(v=exchg.141).aspx"&gt;http://technet.microsoft.com/en-us/library/ee364755(v=exchg.141).aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Recoverable Items Folder&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/b/exchange/archive/2009/09/25/3408389.aspx"&gt;http://blogs.technet.com/b/exchange/archive/2009/09/25/3408389.aspx&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=3546592" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Exchange 2007–Event ID 9786 potentially followed by Event ID 623 possible causes</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2013/01/11/exchange-2007-event-id-9786-potentially-followed-by-event-id-623-possible-causes.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2013/01/11/exchange-2007-event-id-9786-potentially-followed-by-event-id-623-possible-causes.aspx</id><published>2013-01-11T14:40:56Z</published><updated>2013-01-11T14:40:56Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;u&gt;Authors &lt;/u&gt;: Levon Kohoutek (for the question) and Nagesh Mahadev (for the answer)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Question :&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Exchange 2007 SP3 RU6 - Server 2008 SP2 environment. &lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Quite frequently we’re receiving &lt;strong&gt;ExchangeIS Event 9786’s &lt;/strong&gt;potentially followed by ESE Event ID: 623 “The version store for this instance (x) has reached its maximum size of xxxMb.” errors. At this point we’re unsure as to what action is precipitating this (e.g. performing a search in Outlook). Also we may have high item counts, and we know we have to do a procdump of Store.&lt;/p&gt;  &lt;p&gt;The question is as follows:&lt;/p&gt;  &lt;p&gt;When viewing the 623 Event in Event Viewer, we can see that it cites a possible long-running transaction as the cause. It identifies this possible transaction by a SessionID, Session-context, and Session-context ThreadID. &lt;/p&gt;  &lt;p&gt;What the SessionID is referring to ? Is there a way to derive anything identifiable (user/mailbox/etc…) from that number and if so, how?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Answer :&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The SessionID represents a particular connection between the store process and ESE. It has no bearing on the client at the other end of the request. It is only helpful when looking at dump of store process. While ESE.DLL is tightly coupled with the Store.exe, ESE is a database engine and serves clients. Similar to how SQL would handle multiple clients issuing requests against a server, except in this case, the clients are different threads within the store. Within a procdump, you *&lt;b&gt;may&lt;/b&gt;* be able to locate a session (represented by a JSES object) and tie it back to a particular user depending upon context – again typically within a procdump only.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;About event 9786 :&lt;/p&gt;  &lt;p&gt;Event Type:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Warning   &lt;br /&gt;Event Source:&amp;#160;&amp;#160;&amp;#160; MSExchangeIS    &lt;br /&gt;Event Category:&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; Database Storage Engine     &lt;br /&gt;Event ID:&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; 9786    &lt;br /&gt;Date:&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; 10/18/2007    &lt;br /&gt;Time:&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; 1:34:04 PM    &lt;br /&gt;User:&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; N/A    &lt;br /&gt;Computer:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; BORO    &lt;br /&gt;Description:    &lt;br /&gt;The database engine has consumed 90% of the &amp;quot;b-trees&amp;quot; resource (60820 used out of a maximum of 67096) for storage group 'GLDSTORE1'. &lt;/p&gt;  &lt;p&gt;For more information, see Help and Support Center at &lt;a href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/a&gt;.    &lt;br /&gt;Data:    &lt;br /&gt;0000: 46 43 42&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; FCB&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;==&amp;gt; This can indicate that we have a user that sends a huge attachment to a large amount of people for example, or there is a large message that is looping between two servers, anyways, there may be a leak in the ESE process due to an other database usage pattern.&lt;/p&gt;  &lt;p&gt;- To see what happens exactly, we have to get a dump and use the userdmp3.pl script on the Dump to see if there was a message leak and or if someone send a large message to a ton of people.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3545386" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>LogParser or ExRAP tools “Log row too long” issue</title><link rel="alternate" type="text/html" href="http://blogs.technet.com/b/samdrey/archive/2012/12/11/logparser-or-exrap-tools-log-row-too-long-issue.aspx" /><id>http://blogs.technet.com/b/samdrey/archive/2012/12/11/logparser-or-exrap-tools-log-row-too-long-issue.aspx</id><published>2012-12-11T16:38:46Z</published><updated>2012-12-11T16:38:46Z</updated><content type="html">&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Bookmark to Rhoderick’s blog :&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/b/rmilne/archive/2012/07/05/how-to-fix-log-parser-log-row-too-long.aspx"&gt;http://blogs.technet.com/b/rmilne/archive/2012/07/05/how-to-fix-log-parser-log-row-too-long.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Note : The maximum value is *&lt;b&gt;not&lt;/b&gt;* 0xFFFFFFFF.&amp;#160; It’s actually 0x00785111 (hard coded in the LogParser code)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;To determine the value to put on the below registry key, take the performance log file that you have in CSV format (works only on CSV formats), copy the headers only, and paste it in Notepad, then save it as a txt file. The size of the txt file determines the minimum value we need to put on the CSVInMaxRowSize attribute (in Bytes) :&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;x86&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;font face="Courier New"&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Log Parser&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;font face="Courier New"&gt;REG_DWORD CSVInMaxRowSize 393216 decimal&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;To automate adding on x86 machines:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;font face="Courier New"&gt;REG.exe ADD &amp;quot;HKLM\Software\Microsoft\Log Parser&amp;quot; /v CSVInMaxRowSize /t REG_DWORD /d 393216&lt;/font&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;x64&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;font face="Courier New"&gt;HKLM\Software\Wow6432Node\Microsoft\Log Parser&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;font face="Courier New"&gt;REG_DWORD CSVInMaxRowSize 393216 decimal&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;To automate adding on x64 machines:&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;i&gt;&lt;font face="Courier New"&gt;REG.exe ADD &amp;quot;HKLM\Software\Wow6432Node\Microsoft\Log Parser&amp;quot; /v CSVInMaxRowSize /t REG_DWORD /d 393216&lt;/font&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3540142" width="1" height="1"&gt;</content><author><name>SammyKrosoft</name><uri>http://blogs.technet.com/samdrey_4000_microsoft.com/ProfileUrlRedirect.ashx</uri></author></entry></feed>