<Wizard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<!-- *********************************************************************  -->
	<!--  Copyright (C) 2004-2005 Microsoft Corporation. All Rights Reserved.   -->
	<!-- *********************************************************************  -->

	<_locDefinition>
		<_locDefault _loc="locNone"/>
		<_locTag _loc="locNone" _locAttrData="ChangeDescription">Configuration</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title,Class,LogText">Object</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Rule</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Template</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">RestrictionType</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Option</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text,Title">Setting</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">String</_locTag>
		<_locTag _loc="locNone" _locAttrData="Text">IssueLink</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Report</_locTag>
		<_locTag _loc="locNone" _locAttrData="Title">Action</_locTag>
	</_locDefinition>


	<Configuration ConfigVersion="1.3.4.0" ConfigName="ExPTA Master Input File" LongNameStart="Microsoft Exchange Server" LongNameEnd="Performance Troubleshooting Analyzer" ShortName="Exchange Server Performance Troubleshooting Analyzer" DownloadURL="https://www.microsoft.com/Exchange/code/ExPTA" ArticleURL="http://go.microsoft.com/fwlink/?linkid=52683&amp;l={0}&amp;v=ExPTA.{1}&amp;id={2}" HelpFile="ExPTA.chm" RootHelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm" CheckForUpdatesHelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm" StartScanHelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" ScanCompletedHelpId="html\56921c4c-6bcc-4f83-9dd0-dccfded2d8f0.htm" SelectScanHelpId="html\98b6c3e5-7fa6-4435-8c79-27ea0b9abe9d.htm" ChangeDescription="Exchange 2007 的其他分析。" ReferencedFiles="ExPTA.E12.Collection.xml">

		<ObjectProcessor Name="Step" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.StepObjectProcessor"/>
		<ObjectProcessor Name="Panel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Information" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.PanelObjectProcessor"/>
		<ObjectProcessor Name="Progress" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ProgressPanelObjectProcessor"/>
		<ObjectProcessor Name="Action" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Control" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor"/>
		<ObjectProcessor Name="IfResults" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.IfResultsObjectProcessor"/>
		<ObjectProcessor Name="Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor"/>
		<ObjectProcessor Name="Variable" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.VariableInfoObjectProcessor"/>

		<ObjectProcessor Name="Group" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.GroupObjectProcessor"/>
		<ObjectProcessor Name="Cache" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.CacheObjectProcessor"/>
		<ObjectProcessor Name="If" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.IfObjectProcessor"/>
		<ObjectProcessor Name="Resolve" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.ResolveObjectProcessor"/>
		<ObjectProcessor Name="Directory" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DirectoryObjectProcessor"/>
		<ObjectProcessor Name="WMI" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.WMIObjectProcessor"/>
		<ObjectProcessor Name="Registry" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RegistryObjectProcessor"/>
		<ObjectProcessor Name="File" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.FileObjectProcessor"/>
		<ObjectProcessor Name="Perfmon" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PerfmonObjectProcessor"/>
		<ObjectProcessor Name="Pdh" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor"/>
		<ObjectProcessor Name="PdhInfo" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhInfoObjectProcessor"/>
		<ObjectProcessor Name="PdhCollect" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhCollectObjectProcessor"/>
		<ObjectProcessor Name="Metabase" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.MetabaseObjectProcessor"/>
		<ObjectProcessor Name="LookupAccount" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.LookupAccountObjectProcessor"/>
		<ObjectProcessor Name="Protocol" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.ProtocolObjectProcessor"/>
		<ObjectProcessor Name="Port" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PortObjectProcessor"/>
		<ObjectProcessor Name="Routing" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.RoutingObjectProcessor"/>
		<ObjectProcessor Name="DNS" Assembly="BPA.NetworkCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.DNSObjectProcessor"/>
		<ObjectProcessor Name="ExMon" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.ExMonObjectProcessor"/>
		<ObjectProcessor Name="Command" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.CommandLineObjectProcessor"/>
		<ObjectProcessor Name="Engine" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EngineObjectProcessor"/>
		<ObjectProcessor Name="MonadCommand" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadCommandObjectProcessor"/>
		<ObjectProcessor Name="MonadData" Assembly="ExBPA.ExchangeCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.MonadDataObjectProcessor"/>
		<ObjectProcessor Name="FCL" Assembly="ExBPA.Shared.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Exchange.FCLObjectProcessor"/>

		<ExtFunction Name="longest-starts-with" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="LongestStartsWith" Returns="String" Parameters="String,Any"/>
		<ExtFunction Name="regSetValue" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="RegSetValue" Returns="Boolean" Parameters="String,String,String,String"/>
		<ExtFunction Name="setLabel" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="SetLabel" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="nodesort" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="NodeSort" Returns="NodeSet" Parameters="NodeSet,String[,String]"/>
		<ExtFunction Name="ifnumber" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.Utility" Function="IfNumber" Returns="NodeSet" Parameters="Number,Any[,Any]"/>
		<ExtFunction Name="validate-credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsObjectProcessor" Function="ValidateCredentials" Returns="Boolean" Parameters="String"/>
		<ExtFunction Name="control-value" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.ControlObjectProcessor" Function="ControlValue" Returns="String" Parameters="String[,String]"/>
		<ExtFunction Name="roundto" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Function="RoundTo" Returns="Number" Parameters="Number,Number"/>

		<ExtFormat Name="Average" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="AverageFormat"/>
		<ExtFormat Name="Median" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MedianFormat"/>
		<ExtFormat Name="Max" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MaxFormat"/>
		<ExtFormat Name="Min" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="MinFormat"/>
		<ExtFormat Name="Sigma" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="SigmaFormat"/>
		<ExtFormat Name="NinetiethPercentile" Assembly="BPA.ConfigCollector.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Extensions.PdhObjectProcessor" Convert="NinetiethPercentileFormat"/>


		<ConfigPreprocessor Name="2 Credentials" Assembly="BPA.WizardEngine.dll" Class="Microsoft.WindowsServerSystem.Exchange.WizardEngine.CredentialsConfigPreprocessor"/>
		<IssueProcessor Name="Events" Assembly="BPA.Common.dll" Class="Microsoft.WindowsServerSystem.BestPracticesAnalyzer.Common.EventProcessor"/>
		<RestrictionType Name="Task" Title="工作" Text="" Collapse="False"/>

		<Substitution Name="STEPNAMEPREFIX"></Substitution>
		<Template Name="fFCLError2" Query="($.=@S1) and $iDuration &gt; @S2" Error="Error" Sev="2" ReportIssue="Issue" Title="對 {4} 進行函數呼叫的等待時間很長" Text="對 {4} 的函數呼叫比 {5} 秒的閾值耗費更久的時間才完成。呼叫 '{6}' 耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" P5="10*(@S2 div 10000)" P8="$iThreadID" P9="($iDuration div 1000000)*1000"/>

		<!-- Resource Strings which need to be localized -->
		<Resource>
		</Resource>

		<!-- If you make changes to these Custom Reports, also update the reports in ExPTA.E12.Collection.xml -->
		<CustomReports>
			<Report Title="概觀" ArrangeByText="" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Summary']"/>
			<Report Title="效能問題" ArrangeByText="Area,Time Range" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Issue']"/>
			<Report Title="執行問題" ArrangeByText="Area,Time Range" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and not(@Error='None' or not(@Error))]"/>
			<Report Title="建議" ArrangeByText="" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Recommendation']"/>
			<Report Title="一般資訊" ArrangeByText="Area" Query="/Wizard/Object[@Type='Step' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and (@Error='None' or not(@Error))]"/>
		</CustomReports>

	</Configuration>
	<!-- ****************************************************************************************************************** -->

	<Object Type="Step" Name="CheckIfEdge" Title="正在檢查是否在 Edge Server 上執行" Display="Left" SkipSave="True">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%EDGEROLE%" Substitution="EDGEROLE" Display="Hide"/>
			<Object Type="Action">
				<Object Type="Group" Name="Checking if ok to proceed">
					<Setting Key1="OK">
						<Rule Name="fProceed" Query="'%EDGEROLE%'!='1'" NextStep="ReadRegistryConfigurationStep" SQM="90;Set"/>
					</Setting>
					<Setting Key1="NotOK">
						<Rule Name="fAbort" Query="not($fProceed)" Title="找到 Edge Server" Text="尚未配置效能疑難排解員來分析 Edge Server。" Error="Error" SQM="89;Set"/>
						<Rule Name="fAbortProceed" Query="not($fProceed)" NextStep="ShowUnableToProceedScreen"/>
					</Setting>
				</Object>
			</Object>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ShowUnableToProceedScreen" Title="無法繼續" Display="Left" SkipSave="True">
		<Object Type="Panel">
			<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="無法繼續"/>
			<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="尚未配置效能疑難排解員來分析 Edge Server。" ForeColor="Red"/>
			<Object Type="Control" SubType="Link" Name="Exit" Position="IndentBelow" Text="結束"/>
		</Object>
	</Object>

	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="ReadRegistryConfigurationStep" Title="初始化" Display="Left" SkipSave="True">
		<Object Type="Action" HelpId="html\f2edab55-64ad-4a81-8bcf-b62e4c5f491e.htm">
			<Object Type="Group" Name="Executing Workstation">
				<Setting Key1="Rule">
					<Rule NextStep="SelectSymptom" Name="fOptionSelectStep"/>
					<Rule Name="szSymptom1" Query="string(@Title)" Title="每秒 RPC 作業數比預期值高">
						<Variable Name="Symptom[1]" Scope="Global"/>
					</Rule>
					<Rule Name="szSymptom0" Query="string(@Title)" Title="多位使用者抱怨使用 Outlook 時發生延遲，或是經常看見 Outlook 的可取消 RPC 對話方塊">
						<Variable Name="Symptom[0]" Scope="Global"/>
					</Rule>
					<Rule Name="szSymptom2" Query="string(@Title)" Title="未完成的 RPC 要求數目很高">
						<Variable Name="Symptom[2]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame0" Query="string(@Title)" Title="5 分鐘">
						<Variable Name="szTimeFrame[0]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame1" Query="string(@Title)" Title="20 分鐘">
						<Variable Name="szTimeFrame[1]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame2" Query="string(@Title)" Title="1 小時">
						<Variable Name="szTimeFrame[2]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame3" Query="string(@Title)" Title="2 小時">
						<Variable Name="szTimeFrame[3]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame4" Query="string(@Title)" Title="4 小時">
						<Variable Name="szTimeFrame[4]" Scope="Global"/>
					</Rule>
					<Rule Name="szTimeFrame5" Query="string(@Title)" Title="8 小時">
						<Variable Name="szTimeFrame[5]" Scope="Global"/>
					</Rule>
					<Rule Name="iMediumServerMbxCount" Query="500">
						<Variable Name="iMEDIUMSERVERMBXCOUNT" Scope="Global"/>
					</Rule>
					<Rule Name="iLargeServerMbxCount" Query="3000">
						<Variable Name="iLARGESERVERMBXCOUNT" Scope="Global"/>
					</Rule>
					<Rule Name="iSampleSeconds" Query="300">
						<Variable Name="SAMPLESECONDS" Scope="Global"/>
					</Rule>
					<Rule Name="szDC" Query="if($szDCSpecified,string($szDCSpecified),string($szDCDetected))" AlwaysEvaluate="True">
						<Variable Name="DCName" Scope="Global"/>
						<Variable Name="DEFADSERVER" Scope="Global"/>
					</Rule>
					<Rule Name="szServer" Query="if($szServerSpecified,string($szServerSpecified),'')" AlwaysEvaluate="True">
						<Variable Name="SERVERNAME" Scope="Global"/>
						<Variable Name="DEFEXSERVER" Scope="Global"/>
					</Rule>
					<Rule Name="szPdhFile" Query="if($szPdhFileReg,string($szPdhFileReg),'')" AlwaysEvaluate="True">
						<Variable Name="szPDHFILE" Scope="Children"/>
					</Rule>
					<Rule Name="szDoCollectPDHData" Query="if($szCollectPDHData=1,'1',if($szCollectPDHData,'0','1'))" AlwaysEvaluate="True">
						<Variable Name="fCOLLECTPDHREGKEY" Scope="Children"/>
					</Rule>
					<Rule Name="szDontCollectPDHData" Query="if($szCollectPDHData=0,'1','0')" AlwaysEvaluate="True">
						<Variable Name="fDONTCOLLECTPDHREGKEY" Scope="Children"/>
					</Rule>
					<Rule Name="szServerCollectPDHData" Query="if($szCollectPDHData=2,'1','0')" AlwaysEvaluate="True">
						<Variable Name="fSERVERCOLLECTPDHREGKEY" Scope="Children"/>
					</Rule>
					<Rule Name="fSkipInfo" Query="if($szSkipInformationalSteps and $szSkipInformationalSteps=1,'1','0')" AlwaysEvaluate="True">
						<Variable Name="varContinueRun" Scope="Children"/>
					</Rule>
					<Rule Name="szDefaultExistsCollectPDHData" Query="if(not($szCollectPDHData),'1')" AlwaysEvaluate="True">
						<Variable Name="fCOLLECTPDHREGKEY" Scope="Children"/>
					</Rule>
					<Rule Name="szPdhFileDefault" Query="if(not($szPdhFileReg),'C:\PerfLogs')" AlwaysEvaluate="True">
						<Variable Name="szPDHFILE" Scope="Children"/>
					</Rule>
					<Rule Name="szPerfMonDurationDefault" Query="if($szPerfMonDuration,$szPerfMonDuration,'0')" AlwaysEvaluate="True">
						<Variable Name="szSELECTEDDURATION" Scope="Children"/>
					</Rule>
					<Rule Name="iDefaultShortSamplePeriod" Query="5">
						<Variable Name="iSHORTSAMPLEINTERVAL" Scope="Children"/>
					</Rule>
					<Rule Name="iDefaultLongSamplePeriod" Query="10">
						<Variable Name="iLONGSAMPLEINTERVAL" Scope="Children"/>
					</Rule>
					<Rule Name="szRunDuration" Query="'00:00:020'">
						<Variable Name="szRunDuration" Scope="Children"/>
					</Rule>
					<Rule Name="fIsSBS" Query="'0'">
						<Variable Name="fIsSBS" Scope="Children"/>
					</Rule>
					<Rule Name="fSkipSummary" Query="'0'">
						<Variable Name="fSkipSummary" Scope="Global"/>
					</Rule>
					<Rule Name="szAll" Query="string(@Text)" Text="所有時間範圍" Display="Hide">
						<Variable Name="szAll" Scope="Global"/>
					</Rule>
					<Rule Name="szAllBadRPC" Query="string(@Text)" Text="所有找到有 RPC 健康狀況問題的時間範圍" Display="Hide">
						<Variable Name="szAllBadRPC" Scope="Global"/>
					</Rule>
					<!-- iTimeSliceDuration determines the amount of time is in each time range -->
					<Rule Name="iTimeSliceDuration" Query="1200">
						<Variable Name="iTimeSliceDuration" Scope="Global"/>
					</Rule>
					<Rule Name="iProcessMultipleExmonFiles" Query="if($szProcessMultipleExmonFiles=1,1,0)" AlwaysEvaluate="True">
						<Variable Name="PROCESSMULTIPLEEXMONFILES" Scope="Children"/>
					</Rule>
					<Rule Name="szFCLFile" Query="if(string-length($szRegFCLFile) &gt; 0, $szRegFCLFile,'')" AlwaysEvaluate="True">
						<Variable Name="FCLFILE" Scope="Children"/>
					</Rule>
					<Rule Name="fInitializeServerRoles" Query="'0'">
						<Variable Name="varIsExchange12" Scope="Children"/>
						<Variable Name="varIsExchange2000" Scope="Children"/>
						<Variable Name="varIsClientAccessServer" Scope="Children"/>
						<Variable Name="varIsUnifiedMessagingServer" Scope="Children"/>
						<Variable Name="varIsEdgeServer" Scope="Children"/>
						<Variable Name="varIsMailboxServer" Scope="Children"/>
						<Variable Name="varIsHubTransportServer" Scope="Children"/>
						<Variable Name="MailboxCount" Scope="Children"/>
						<Variable Name="SQUEAKYLOBSTER" Scope="Children"/>
						<Variable Name="FCLRETRYCOUNT" Scope="Children"/>
					</Rule>
					<Rule Name="szInitializeFCLAction" Query="'Collect'">
						<Variable Name="FCLACTION" Scope="Children"/>
					</Rule>
					<Rule Name="szInitializeVariables" Query="''">
						<Variable Name="szStartTime" Scope="Children"/>
						<Variable Name="szEndTime" Scope="Children"/>
					</Rule>
					<Rule Name="fCollectFCL" Query="if($iFCLChoice='0','1','0')" AlwaysEvaluate="True">
						<Variable Name="varCollectFCL" Scope="Global"/>
					</Rule>
					<Rule Name="fUseProvidedFCLFile" Query="if($iFCLChoice='1','1','0')" AlwaysEvaluate="True">
						<Variable Name="varUseProvidedFCLFile" Scope="Global"/>
					</Rule>
					<Rule Name="fSkipFCLChoice" Query="if($iFCLChoice='2','1','0')" AlwaysEvaluate="True">
						<Variable Name="varSkipFCL" Scope="Global"/>
					</Rule>
				</Setting>
				<Object Type="WMI" Key3="Win32_OperatingSystem">
					<Setting Key1="LocalDateTime" Substitution="dPrettyDateTime" SubstitutionFormat="(.*?)(\..*)----$1">
						<Rule Name="dCurrentDateTime" Query="date-parse(substring($.,1,14), 'yyyyMMddHHmmss')">
							<Variable Name="varCurrentDateTime" Scope="Children"/>
						</Rule>
						<Rule Name="szPrettyDateTime" Query="@S1" S1="%dPrettyDateTime%">
							<Variable Name="varPrettyDateTime" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Registry" Key1="" Key2="HKEY_CURRENT_USER" Key3="Software\Microsoft\Exchange\ExPTA">
					<Setting Key1="DCSpecified">
						<Rule Name="szDCSpecified" Query="$."/>
					</Setting>
					<Setting Key1="DCDetected">
						<Rule Name="szDCDetected" Query="$."/>
					</Setting>
					<Setting Key1="ServerSpecified">
						<Rule Name="szServerSpecified" Query="$."/>
					</Setting>
					<Setting Key1="PdhFile">
						<Rule Name="szPdhFileReg" Query="$."/>
					</Setting>

					<Setting Key1="CollectPDHData">
						<Rule Name="szCollectPDHData" Query="$."/>
					</Setting>
					<Setting Key1="SkipInformationalSteps">
						<Rule Name="szSkipInformationalSteps" Query="$."/>
					</Setting>
					<Setting Key1="PerfMonCollectionDuration">
						<Rule Name="szPerfMonDuration" Query="$."/>
					</Setting>
					<Setting Key1="ProcessMultipleExmonFiles">
						<Rule Name="szProcessMultipleExmonFiles" Query="$."/>
					</Setting>
					<Setting Key1="FCLFile">
						<Rule Name="szRegFCLFile" Query="$."/>
					</Setting>
					<Setting Key1="FCLChoice">
						<Rule Name="iFCLChoice" Query="$."/>
					</Setting>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Reference File="ExPTA.E12.Collection.xml" Name="E12Collection">
		<Substitution Name="STEPNAMEPREFIX">E12Collection_</Substitution>
	</Reference>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectSymptom" Title="症狀" Display="Left" SkipSave="True">
		<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%EXSERVER%" Substitution="EXSERVER"/>
				<Setting Key1="%DEFEXSERVER%" Substitution="DEFEXSERVER1"/>
				<Setting Key1="%DEFEXSERVER%" Substitution="DEFEXSERVER2"/>
				<Setting Key1="%ADSERVER%" Substitution="ADSERVER"/>
				<Setting Key1="%DEFADSERVER%" Substitution="DEFADSERVER1"/>
				<Setting Key1="%DEFADSERVER%" Substitution="DEFADSERVER2"/>
				<Setting Key1="%Symptom[0]%" Substitution="Symptom[0]"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun"/>
				<Setting Key1="%Symptom%" Substitution="Symptom"/>
				<Setting Key1="%ETLFile%" Substitution="ETLFile"/>
				<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime"/>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="Exchange 效能疑難排解員"/>
				<Object Type="Control" SubType="Label" Name="labelLabel" Position="Below" Width="250" Text="輸入用來識別此分析的標籤:"/>
				<Object Type="Control" SubType="TextBox" Name="Label" Position="265," Width="531" Default="" Display="Hide">
					<Setting Key1="LabelName">
						<Rule Name="szLabelSpecified" Query="$.">
							<Variable Name="varLabel" Scope="Global"/>
						</Rule>
						<Rule Name="szDefaultLabel" Query="if(string-length($.) = 0, @S1,$.)" S1="%DEFEXSERVER1% - %varCurrentDateTime%"/>
						<Rule Name="fSetDefaultLabel" Query="setLabel($szDefaultLabel)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="TopLine" Position="At(labelLabel),After(labelLabel)"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="您看到哪些症狀?"/>
				<Object Type="Control" SubType="ComboBox" Name="Symptoms" Position="Below" Width="780" SelectedValue="%Symptom[0]%" Default="%Symptom%">
					<Setting Key1="SelectedIndex">
						<Rule NextStep="GetCredentials" Query="$.='0'" Priority="1" SQM="112;Set"/>
						<Rule NextStep="GetExmonFile" Query="$.='1'" Priority="2" SQM="113;Set"/>
						<Rule NextStep="GetFCLFile" Query="$.='2'" Priority="3" SQM="114;Set"/>
						<Rule Name="iSelectedSymptomIndex" Query="$.">
							<Variable Name="varSelectedSymptomIndex" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MiddleLine" Position="Below"/>
				<Object Type="Control" SubType="CheckBox" Name="ContinueRun" Position="Below" Text="隱藏資訊性顯示" Default="%varContinueRun%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun" Query="$.">
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetContinueRun" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','SkipInformationalSteps',$.)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="選取此選項將會在分析過程中隱藏詳細分析結果。"/>

				<Object Type="Control" SubType="GradiatedBox" Name="BottomLine" Position="LeftBelow"/>
				<Object Type="Control" SubType="Link" Name="Step0" Position="IndentBelow" Percent="20" Text="下一步"/>
				<Object Type="Group" Name="Initialize">
					<Setting Key1="Rules">
						<Rule Name="szInitializeEXServerName" Query="if(@S1='%EXSERVER%',if(@S2='%DEFEXSERVER%','',string(@S2)),string(@S1))" S1="%DEFEXSERVER1%" S2="%DEFEXSERVER2%" AlwaysEvaluate="True">
							<Variable Name="DEFEXSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="szInitializeADServerName" Query="if(@S1='%ADSERVER%',if(@S2='%DEFADSERVER%','',string(@S2)),string(@S1))" S1="%DEFADSERVER1%" S2="%DEFADSERVER2%" AlwaysEvaluate="True">
							<Variable Name="DEFADSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="szInitializeETLFILEName" Query="if(@S1='%ETLFile%','',string(@S1))" S1="%ETLFile%" AlwaysEvaluate="True">
							<Variable Name="ETLFile" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>
				<Rule Name="iLoopCount" Query="1" AlwaysEvaluate="True">
					<Variable Name="LoopCount" Scope="Children"/>
				</Rule>
				<Rule Name="iNoServerLoopCountInit" Query="1" AlwaysEvaluate="True">
					<Variable Name="NoServerLoopCount" Scope="Children"/>
				</Rule>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetExmonFile" Title="ExMon 檔案" Display="Left">
		<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
			<Object Type="Variable" Key1="Scalar">
				<Setting Key1="%ETLFile%" Substitution="ETLFile"/>
				<Setting Key1="%fCOLLECTPDHREGKEY%" Substitution="fCOLLECTPDHREGKEY"/>
				<Setting Key1="%varContinueRun%" Substitution="varContinueRun"/>
				<Setting Key1="%RPCPROBLEMTIMERANGES%" Substitution="RPCPROBLEMTIMERANGES"/>
				<Setting Key1="%PRETTYRPCPROBLEMTIMERANGES%" Substitution="PRETTYRPCPROBLEMTIMERANGES"/>
				<Setting Key1="%DEFEXSERVER%" Substitution="SERVERNAME"/>
				<Setting Key1="%PROCESSMULTIPLEEXMONFILES%" Substitution="PROCESSMULTIPLEEXMONFILES"/>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="分析使用者 RPC 活動"/>
				<Object Type="If" Name="RPC problems found" Key1="not(contains('%PRETTYRPCPROBLEMTIMERANGES%','PRETTYRPCPROBLEMTIMERANGES'))">
					<Object Type="Control" SubType="Label" Name="labelRpcproblems" Position="Below" Text="分析工具偵測到伺服器 %SERVERNAME% 在下列時間範圍發生 RPC 健康狀況問題: %PRETTYRPCPROBLEMTIMERANGES%。如果您先前收集了這些時間的 ExMon 資料，請在下方提供 Exmon 資料檔案名稱。"/>
				</Object>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="工具將分析 Exchange Server 使用者監視器 (ExMon) 工具所收集的 RPC 追蹤資料，來判定 RPC 負載是由單一使用者所造成，或是分散於多位使用者之間。此外，此工具也可以判定高 RPC 速率是否由已知的效能問題所導致。請注意，ExMon ETL 追蹤可能不會收集伺服器上的所有負載來源 (例如內送 SMTP 郵件)。此分析只會涵蓋由 RPC 流量對伺服器所造成的負載。"/>
				<Object Type="Control" SubType="Label" Name="labelb" Position="Below" Text="如果要讓這個工具能夠處理來自其他電腦的 ExMon 資料，執行此工具的 Windows 版本必須與收集追蹤之伺服器的 Windows 版本相同或更新。例如，Windows 2000、Windows XP 或 Windows Server 2003 電腦都可以讀取由執行 Windows 2000 Server 的電腦所進行的追蹤。不過，由執行 Windows Server 2003 的電腦所進行的追蹤，只能由另一部 Windows Server 2003 電腦進行分析。"/>
				<Object Type="Control" SubType="Label" Name="labelc" Position="Below" Text="因為處理較大檔案所需的時間很長，所以不建議您提供超過 100 MB 的 ExMon 檔案。"/>
				<Object Type="Control" SubType="CheckBox" Name="CollectExmon" Position="Below" Text="為我收集 Exchange Server 使用者監視器 (ExMon) 追蹤資料">
					<Setting Key1="CollectExmon">
						<Rule NextStep="CollectExmon" Name="fCollect" Query="$. = 1"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="若要選取此選項，必須在 Exchange 伺服器上執行此工具。"/>
				<Object Type="Control" SubType="Label" Name="label2" Position="Below" Text="如果尚未選取核取方塊，請提供要分析的 Exchange Server 使用者監視器 (ExMon) ETL 追蹤檔案名稱。如果要略過此分析，請保留文字輸入項目空白。"/>
				<Object Type="Control" SubType="Label" Name="label3" Position="Below" Text="" Percent="30"/>
				<Object Type="Control" SubType="FileDialog" Name="ETLFile" Text="瀏覽..." Title="選取 Exchange Server 使用者監視器資料檔案" FileFilter="ETW files (*.etl)|*.etl|All Files(*.*)|*.*" DialogType="OpenFile" Position="Below" Width="450">
					<Setting Key1="FileName">
						<Rule Name="szETLFile" Query="$.">
							<Variable Name="ETLFile" Scope="Global"/>
						</Rule>
						<Rule NextStep="CheckUserActivity" Name="fCheckUserActivity" Query="not($fCollect) and string-length($szETLFile) &gt; 0"/>
						<Rule Name="fNoInfo" Query="not($fCollect) and not($fCheckUserActivity)" Error="Warning" Sev="1" Title="沒有 Exchange Server 使用者監視器資料" Text="未分析任何 Exchange Server 使用者監視器 (ExMon) 資料。您必須提供包含 ExMon ETL 追蹤資料的檔案名稱，或是選取選項讓此工具收集資料。" AlwaysEvaluate="True"/>
					</Setting>
				</Object>


				<Object Type="Control" SubType="CheckBox" Name="ProcessMoreFiles" Position="Below" Text="處理多個 ExMon 資料檔案" Default="%PROCESSMULTIPLEEXMONFILES%">
					<Setting Key1="Checked">
						<Rule Name="iContinueProcessExmon" Query="$.">
							<Variable Name="PROCESSMULTIPLEEXMONFILES" Scope="Children"/>
						</Rule>
						<Rule NextStep="GetExmonFile" Query="$.=1 and $fCheckUserActivity"/>
						<Rule Name="fSetContinueProcessExmon" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','ProcessMultipleExmonFiles',$.)"/>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Link" Name="label0" Position="Below" Text="告訴我如何安裝 Exchange Server 使用者監視器 (ExMon) 工具並收集資料" URL="http://www.microsoft.com/downloads/details.aspx?FamilyID=9a49c22e-e0c7-4b7c-acef-729d48af7bc9"/>

				<Object Type="Control" SubType="CheckBox" Name="ContinueRun" Position="Below" Text="隱藏資訊性顯示" Default="%varContinueRun%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRunExmon" Query="$.">
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetContinueRunExmon" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','SkipInformationalSteps',$.)"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="選取此選項將會在分析過程中隱藏詳細分析結果。"/>


				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="返回"/>
				<Object Type="Control" SubType="Link" Name="Step0" Position="NextTo" Percent="20" Text="下一步"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetCredentials" Title="伺服器名稱及認證" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%NoServerLoopCount%" Substitution="NoServerLoopCount" Display="Hide"/>
			<Setting Key1="%DEFEXSERVER%" Substitution="SERVERNAME" Display="Hide"/>
			<Setting Key1="%DEFADSERVER%" Substitution="DCName" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%fCOLLECTPDHREGKEY%" Substitution="fCOLLECTPDHREGKEY" Display="Hide"/>
			<Setting Key1="%fDONTCOLLECTPDHREGKEY%" Substitution="fDONTCOLLECTPDHREGKEY" Display="Hide"/>
			<Setting Key1="%varLabel%" Substitution="varLabel" Display="Hide"/>
			<Setting Key1="%varCurrentDateTime%" Substitution="varCurrentDateTime" Display="Hide"/>
			<Setting Key1="%varSelectedSymptomIndex%" Substitution="varSelectedSymptomIndex" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Setting Display="Hide">
					<!-- Get the loop count if it exists. -->
					<Rule Name="iNoServerLoopCount" Query="@S0" S0="%NoServerLoopCount%" AlwaysEvaluate="True"/>
					<Rule Name="fGotCredentials" Query="not(string-length($fADServer) = 0) and not(string-length($fServer) = 0)"/>
					<Rule NextStep="CheckStoreProcess" Name="fCheckStoreProcess" Query="$fGotCredentials and not(@S1='2')" S1="%varSelectedSymptomIndex%" AlwaysEvaluate="True"/>
					<Rule NextStep="NeedName" Name="fNeedName" Query="not($fGotCredentials) and not($iNoServerLoopCount = 3)" Error="None" Title="未提供任何 Exchange 或 Active Directory 伺服器" Text="您必須同時提供 Exchange 和 Active Directory 伺服器的名稱。" Display="Hide" AlwaysEvaluate="True">
						<Rule Name="szProblemStatement" Query="string(@Title)" Title="無法繼續進行效能調查。您必須同時提供 Exchange 和 Active Directory 伺服器的名稱。">
							<Variable Name="Problem"/>
						</Rule>
						<Rule Name="iNewNoServerLoopCount" Query="$iNoServerLoopCount + 1" AlwaysEvaluate="True">
							<Variable Name="NoServerLoopCount"/>
						</Rule>
					</Rule>
					<Rule Name="fThreeStrikesNoCredentials" Query="not($fGotCredentials) and $iNoServerLoopCount = 3" Error="Error" Sev="1" Priority="1" Title="嚴重錯誤: 同時需要 Exchange 伺服器和 Active Directory 伺服器的名稱" Text="未提供 [RPC 取消要求] 對話方塊中的 Exchange 伺服器名稱以及相同網域中的 Active Directory 伺服器名稱。"/>
				</Setting>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="歡迎使用 Exchange 效能疑難排解員"/>
				<Object Type="Control" SubType="Label" Name="label" Position="Below" Text="此工具將協助您識別 Microsoft Office Outlook 出現 [RPC 取消要求] 對話方塊的可能原因。您不需要在執行 Microsoft Exchange Server 的電腦上執行此工具。此工具可疑難排解單一 Exchange 伺服器。"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="為了獲得最佳效果，建議您在發生問題時就執行此工具。"/>

				<Object Type="Control" SubType="Label" Name="EXLabel" Position="LeftBelow" Text="伺服器名稱"/>
				<Object Type="Control" SubType="TextBox" Name="EXName" Position="400," Default="%SERVERNAME%" Display="Hide">
					<Setting Key1="SERVERNAME">
						<Rule Name="fServer" Query="$.">
							<Variable Name="SERVERNAME" Scope="Global"/>
							<Variable Name="DEFEXSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="fCNServerName" Query="if(contains($.,'.'),substring-before($.,'.'),$.)">
							<Variable Name="EXSRVNAME" Scope="Global"/>
						</Rule>
						<Rule Name="fSetServerName" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','ServerSpecified',$.)"/>
						<Rule Name="szDefaultLabelWithNewServerName" Query="if(string-length(@S2) = 0, concat($.,@S1), @S2)" S1=" - %varCurrentDateTime%" S2="%varLabel%">
							<Variable Name="varLabel" Scope="Global"/>
						</Rule>
						<Rule Name="fSetDefaultLabel2" Query="setLabel($szDefaultLabelWithNewServerName)"/>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Label" Name="DCLabel" Position="LeftBelow" Text="通用類別目錄伺服器名稱"/>
				<Object Type="Control" SubType="TextBox" Name="DCName" Position="At(EXName)," Default="%DCName%" Display="Hide">
					<Setting Key1="DCName">
						<Rule Name="fADServer" Query="$.">
							<Variable Name="DCName" Scope="Global"/>
							<Variable Name="DEFADSERVER" Scope="Global"/>
						</Rule>
						<Rule Name="fSetDCName" Query="($. != @S0) and regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','DCSpecified',$.)" S0="%DCName%"/>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Label" Name="InvalidCredentials" Position="Below" Text="認證無效。請提供有效的認證。" ForeColor="Red" FontStyle="Bold" Flags="Visible=False"/>

				<Object Type="Control" SubType="GradiatedBox" Name="MidLine1" Position="LeftBelow"/>
				<Object Type="Control" SubType="ShowHide" Name="ShowHideCreds" Position="Below" Text="顯示進階登入選項，隱藏進階登入選項">
					<Object Type="Control" SubType="Label" Name="EXLabel" Position="TopNoBorder" Text="如果目前的認證權限不足，無法讀取 Exchange 伺服器組態資訊，請在下方輸入替代的認證。"/>
					<Object Type="Credentials" Name="EXLOGON" Position="Below" Key1="385"/>
				</Object>
				<Object Type="Control" SubType="GradiatedBox" Name="MidLine2" Position="Below"/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="返回"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="At(EXName)," Text="下一步">
					<Event Type="Click">
						<Action Type="Proceed" Query="validate-credentials('EXLOGON')"/>
						<Action Type="Visible" ControlName="InvalidCredentials" Query="not(validate-credentials('EXLOGON'))"/>
					</Event>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="BusyUsersInformation" Title="使用設定檔" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%BUSYUSERTEXT%" Substitution="BUSYUSERTEXT" Display="Hide"/>
			<Setting Key1="%SERVERNAME%" Substitution="SERVERNAME" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="User Profile" Class="區域" GroupingClass="True">
					<Object Type="Group" Name="All" Class="時間範圍" GroupingClass="True">
						<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="使用者活動"/>
						<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="%BUSYUSERTEXT%"/>
						<Object Type="Control" SubType="Label" Name="label2a" Position="Below" Default="High RPC rates may be normal for the users on server %SERVERNAME%, although sometimes high activity is due to problems with an application such as a third party Outlook add-in, synchronization device, or desktop search application. For information about how to distinguish between these cases, please select the options that apply to users on this server."/>

						<Object Type="Control" SubType="CheckBox" Name="SyncDevices" Position="Below" Text="%SERVERNAME% 使用者具有會與信箱同步的掌上型裝置">
							<Setting Key1="SyncDevices">
								<Rule NextStep="UsingSyncDevices" Name="fUsingSyncDevices" Query="$. = 1" Text="使用者具有會與信箱同步的掌上型裝置。" Display="Hide"/>
								<Rule Name="fOrgUsesSyncDevices" Query="$.">
									<Variable Name="OrgUsesSyncDevices" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="CheckBox" Name="Third-party plugins" Position="Below" Text="%SERVERNAME% 使用者具有協力廠商 Outlook 增益集。">
							<Setting Key1="plugin">
								<Rule Name="fUsingThirdParty" Query="$. = 1" Text="使用者具有協力廠商 Outlook 增益集。"/>
								<Rule Query="$.">
									<Variable Name="OrgUsesThirdParty" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="CheckBox" Name="DesktopSearch" Position="Below" Text="%SERVERNAME% 使用者具有桌面搜尋應用程式，例如 MSN(tm) 搜尋或 Google(tm) 桌面搜尋">
							<Setting Key1="plugin">
								<Rule Name="fUsingDesktopSearch" Query="$. = 1"/>
								<Rule Query="$.">
									<Variable Name="OrgUsesDesktopSearch" Scope="Global"/>
								</Rule>
								<Rule Name="fUsingDesktopSearchError" Query="$. = 1" Error="Error" Sev="3" ReportIssue="Issue" Title="桌面搜尋" Text="您已指定使用者可能執行桌面搜尋應用程式。桌面搜尋引擎可能會在郵件伺服器上造成效能問題。如果伺服器 RPC 負載最近因此而增加，請考慮要求使用者不要對 Exchange 伺服器執行桌面搜尋，或是考慮將使用者升級為 Outlook 快取模式。" GUID="3a699339-7043-4610-9fad-d662580914c2"/>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="label2b" Position="Below" Default="(Leave the options unchecked if you are uncertain.)"/>

						<Object Type="Group" Name="User Info" Display="Hide">
							<Rule Name="szBusyUsersInformation" Query="'BusyUsersInformation'">
								<Variable Name="PreviousName" Scope="Children"/>
							</Rule>
							<Rule Name="fUsingSyncDevicesError" Query="$fUsingSyncDevices or $fUsingThirdParty" Error="Error" Sev="3" ReportIssue="Issue" Title="協力廠商增益集" Text="您已指出使用者可能正在執行與伺服器進行同步處理的協力廠商應用程式或裝置。一些存取 Exchange 伺服器的應用程式需要伺服器上的大量資源，因為它們會發出大量要求，或者會發出資源密集的要求。如果訊息伺服器的負載太高，則可能會造成效能問題。如果伺服器 RPC 負載最近有增加的情形，您可以調查同步處理電子郵件的協力廠商增益集或程式，找出負載增加的來源。如果無法降低伺服器的負載，而伺服器又已超出容量，則可能需要將一些使用者移至其他伺服器。" GUID="8d42dba9-8b17-4142-a690-76de45cb3322"/>
							<Rule Name="fDisplayIssueStep" NextStep="DisplayResultsStep" Priority="1" Query="$fBusyUserIssueFound" AlwaysEvaluate="True"/>
							<Rule Name="szDisplayClntProfileSummary" Query="string(@Title)" Title="用戶端應用程式設定檔摘要">
								<Variable Name="DISPLAYTITLE" Scope="Global"/>
							</Rule>
							<Rule Query="if($fBusyUserIssueFound, string(@Title))" Title="已知有些類型的用戶端會造成 Exchange 伺服器的高負載。如果無法降低伺服器的負載，而伺服器又已超出容量，可能需要將一些使用者移至其他伺服器。此工具結束時會提供用戶端負載的其他相關資訊。" AlwaysEvaluate="True">
								<Variable Name="ErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="fBusyUserIssueFound" Query="$fUsingSyncDevices or $fUsingThirdParty or $fUsingDesktopSearchError" AlwaysEvaluate="True"/>
						</Object>
						<Rule NextStep="GetExmonFile" Name="fGetExmonData" Priority="1" AlwaysEvaluate="True"/>
						<Object Type="Control" SubType="Label" Name="label3" Position="Below" Text=""/>
						<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="返回"/>
						<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="下一步"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckStoreProcess" Title="連線檢查" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%EXSRVNAME%" Substitution="EXSRVNAME" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%LoopCount%" Substitution="LoopCount" Display="Hide"/>
			<Setting Key1="%iLARGESERVERMBXCOUNT%" Substitution="iLARGESERVERMBXCOUNT" Display="Hide"/>
			<Setting Key1="%iMEDIUMSERVERMBXCOUNT%" Substitution="iMEDIUMSERVERMBXCOUNT" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
			<Object Type="Progress" Text="工具正在檢查 Exchange 伺服器 %SERVER% 及 Active Directory 伺服器 %DC% 的連線，請稍候。" Title="正在檢查 Exchange 和 Active Directory 伺服器連線" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Connectivity Results and Machine Data" Class="區域" GroupingClass="True">
					<Object Type="Group" Name="All" Class="時間範圍" GroupingClass="True">
						<!-- Find out the language of the local computer -->
						<Object Type="Group" Name="Local Machine Info">
							<Object Type="WMI" Key1="" Key3="Win32_OperatingSystem">
								<Setting Key1="OSLanguage">
									<Rule Name="fNonEnglishOS" Query="$. !=1033"/>
								</Setting>
								<Setting Key1="MaxProcessMemorySize">
									<Rule Name="f3GB" Query="$.&gt; 2097024" AlwaysEvaluate="True">
										<Variable Name="f3GB" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="OSProductSuite">
									<Rule Name="fWin2003Dtc" Query="$fExWinVer2003 and bitwise-and($.,128)" Error="None" Text="此伺服器正在執行 Windows Server 2003 Datacenter Edition。"/>
									<Rule Name="fWin2003Ent" Query="$fExWinVer2003 and bitwise-and($.,2)" Error="None" Text="此伺服器正在執行 Windows Server 2003 Enterprise Edition。"/>
									<Rule Name="fWin2003Sbs" Query="$fExWinVer2003 and bitwise-and($.,1)" Error="None" Text="此伺服器正在執行 Windows Server 2003 Small Business Edition。">
										<Variable Name="fIsSBS" Scope="Children"/>
									</Rule>
									<Rule Name="fWin2003Std" Query="$fExWinVer2003 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Text="此伺服器正在執行 Windows Server 2003 Standard Edition。"/>
									<Rule Name="fWin2000Dtc" Query="$fExWinVer2000 and bitwise-and($.,128)" Error="None" Text="此伺服器正在執行 Windows 2000 Datacenter Server。"/>
									<Rule Name="fWin2000Adv" Query="$fExWinVer2000 and bitwise-and($.,2)" Error="None" Text="此伺服器正在執行 Windows 2000 Advanced Server。"/>
									<Rule Name="fWin2000Sbs" Query="$fExWinVer2000 and bitwise-and($.,1)" Error="None" Text="此伺服器正在執行 Windows 2000 Small Business Server。">
										<Variable Name="fIsSBS" Scope="Children"/>
									</Rule>
									<Rule Name="fWin2000Std" Query="$fExWinVer2000 and not (bitwise-and($.,2)) and not (bitwise-and($.,1))" Error="None" Text="此伺服器正在執行 Windows 2000 Server Standard Edition。"/>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="" Key3="Software\Microsoft\Windows NT\CurrentVersion">
								<Setting Key1="SystemRoot" Substitution="WINDOWSPATHDRIVE" Format="(.*?):(.*)----$1:" SubstitutionFormat="(.*?):(.*)----$1:">
									<Rule Name="szWindowsPathDrive" Query="$.">
										<Variable Name="varWindowsPathDrive" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="CurrentVersion">
									<Rule Name="szLocalMachineWinVer" Query="$."/>
									<Rule Name="fLocalMachineWinNT4" Query="$.='4.0'"/>
									<Rule Name="fLocalMachineWinVer2000" Query="$.='5.0'"/>
									<Rule Name="fLocalMachineWinXP" Query="$.='5.1'"/>
									<Rule Name="fLocalMachineWinVer2003" Query="$.='5.2'"/>
									<Rule Name="fWinXPAndNotSP2" Query="$fLocalMachineWinXP and not($fIsSP2)" Title="本機電腦未執行最新的 Service Pack" Text="本機電腦未執行 Windows XP Service Pack 2 或以上版本。效能資料收集將無法在此版本的 Windows 上執行。" Error="Warning" AlwaysEvaluate="True">
										<Variable Name="LOCALWINXPANDNOTSP2" Scope="Children"/>
									</Rule>
									<Rule Name="fWin2000" Query="$fLocalMachineWinVer2000" Title="效能資料收集和分析將無法在此版本的 Windows 上執行" Text="本機電腦正在執行 Windows 2000。效能資料分析和收集將無法在此版本的 Windows 上執行。" Error="Error" AlwaysEvaluate="True">
										<Variable Name="LOCALWIN2000" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="ProductName">
									<Rule Name="fIsSP2" Query="starts-with($.,'Microsoft Windows XP') and $fLocalMachineWinXP"/>
								</Setting>
								<Object Type="Group" Name="Local perfmon log file names">
									<Rule Name="szLocalPdhFileName" Query="concat(@S1,$szPdhFileName)" S1="%WINDOWSPATHDRIVE%\PerfLogs\">
										<Variable Name="szLocalPdhFileName" Scope="Children"/>
									</Rule>
									<Rule Name="szLocalPerfLogsDirectory" Query="@S1" S1="%WINDOWSPATHDRIVE%\PerfLogs">
										<Variable Name="szLocalPerfLogsDirectory" Scope="Children"/>
									</Rule>
								</Object>
							</Object>
						</Object>
						<Object Type="Group" Name="Server Info">
							<Rule Name="fDisplayStoreProcessStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
							<Rule Name="szCheckStoreProcess" Query="'CheckStoreProcess'">
								<Variable Name="PreviousName" Scope="Children"/>
							</Rule>
							<!-- Overall success or failure? -->
							<Rule Name="szError2" Query="string(@Title)" Title="找到一或多個錯誤。"/>
							<Rule Name="szErrorStateText" Query="if($fNoErrorCheckStoreProcessStep,string(@Title),$szError2)" Title="已通過連線測試。" AlwaysEvaluate="True">
								<Variable Name="ErrorStateText" Scope="Global"/>
							</Rule>
							<Rule Name="szConnectivityTestResult" Query="string(@Title)" Title="連線測試結果">
								<Variable Name="DISPLAYTITLE" Scope="Global"/>
							</Rule>
							<Rule Name="fFatalErrorWMI" Query="not($szHardwareManufacturer)" Error="Error" Sev="1" Title="透過 WMI 存取 Exchange 伺服器時發生錯誤。" Text="無法透過 Windows Management Instrumentation (WMI) 查詢伺服器 {0} 上的 'Win32_ComputerSystem'。無法透過 WMI 收集資料。使用者認證可能不正確，您可能沒有足夠權限來執行此工具，或者該電腦上的 WMI 服務有問題。" S0="%SERVER%" AlwaysEvaluate="True"/>
							<Object Type="Directory" Key1="LDAP://%DC%/" Name="cn" SecurityContext="EXLOGON">
								<Rule Name="szExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
								<Rule Name="fDirectoryException" Query="../Exception or ../Instance/Object/Exception"/>
								<Rule Name="fFatalErrorDirectory" Query="($fDirectoryException or $fFailedToGetMailboxCount or $fFailedToFindServerInDirectory)" Error="Error" Sev="1" Title="存取 Active Directory 時發生錯誤" Text="無法查詢伺服器 {0} 上的目錄。可能的原因有使用者認證不正確，或是您沒有足夠的權限可執行此工具。以下是報告的錯誤: {1}" S0="%DC%" P1="$szExceptionText" AlwaysEvaluate="True"/>

								<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
								<Object Type="Resolve" Name="Server Name" Key1="%SERVER%">
									<Setting Key1="Dns" Substitution="RESOLVEDSRV" Format="^$----%SERVER%">
										<Rule Name="fCTExServerDNSResolve" Query="$."/>
									</Setting>
									<Rule Name="iTotalMailboxMDBs" Query="sum($iStatMailboxMDB)" Error="None" AlwaysEvaluate="True" Text="{1} 個資料庫在此伺服器上有信箱。" P1="sum($iStatMailboxMDB)"/>
									<Rule Name="iStatTotalMailboxes" Query="if(count($iMailboxes) &gt; 0,sum($iMailboxes),0)" Error="None" Text="有 {9} 個信箱位於此伺服器上。" P9="sum($iMailboxes)" AlwaysEvaluate="True">
										<Variable Name="MailboxCount" Scope="Children"/>
									</Rule>
									<Rule Name="fIsLargeServer" Query="if($iStatTotalMailboxes &gt;= @S1,1,0)" S1="%iLARGESERVERMBXCOUNT%">
										<Variable Name="fIsLargeServer" Scope="Children"/>
									</Rule>
									<Rule Name="fIsMediumServer" Query="if($iStatTotalMailboxes &lt;= @S1 and $iStatTotalMailboxes &gt; @S2,1,0)" S1="%iLARGESERVERMBXCOUNT%" S2="%iMEDIUMSERVERMBXCOUNT%">
										<Variable Name="fIsMediumServer" Scope="Children"/>
									</Rule>
									<Rule Name="fIsSmallServer" Query="if($iStatTotalMailboxes &lt; @S2,1,0)" S2="%iMEDIUMSERVERMBXCOUNT%">
										<Variable Name="fIsSmallServer" Scope="Children"/>
									</Rule>
									<Rule Name="fFailedToGetMailboxCount" Query="not($iStatTotalMailboxes or $fFailedToFindServerInDirectory or $fIsMailboxServer)" Error="Error" Sev="1" Title="無法存取目錄" Text="存取 Active Directory 伺服器 {1} 上的目錄時發生錯誤。無法取得伺服器 {2} 上的信箱計數。" S1="%DC%" S2="%SERVER%" AlwaysEvaluate="True"/>
									<Rule Name="fFailedToFindServerInDirectory" Query="not($szExchangeServerName) and not($fDirectoryException)" Error="Error" Sev="1" AlwaysEvaluate="True" Title="在目錄中找不到 Exchange 伺服器 {2}" Text="在伺服器 {1} 上的 Active Directory 中找不到 Exchange 伺服器 {2}。" S1="%DC%" S2="%SERVER%"/>
									<Object Type="Directory" Key1="LDAP://%DC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
										<Setting Key1="distinguishedName" Substitution="DN"/>
										<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%RESOLVEDSRV%)(cn=%SERVER%)(cn=%EXSRVNAME%)))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxFailures="WMI,1" MaxTimeouts="ALL,1">
											<Setting Key1="ntSecurityDescriptor" Format="SecurityDescriptor" NotForExport="True" Category="Security"/>
											<Setting Key1="distinguishedName" Substitution="DN">
												<Rule Name="szExchangeServerDN" Query="$."/>
											</Setting>
											<Setting Key1="name">
												<Rule Name="szExchangeServerName" Query="$.">
													<Variable Name="EXSRVNAME" Scope="Children"/>
												</Rule>
												<Rule Name="szExchangeServerNameCaps" Query="upper-case($.)"/>
											</Setting>
											<Setting Key1="serialNumber" Substitution="EXVERSION">
												<Rule Name="fExchange200x" Query="contains ($., 'Version 6')"/>
												<Rule Name="fExchange2003" Query="if(contains ($., 'Version 6.5'),1,0)" AlwaysEvaluate="True">
													<Variable Name="varIsExchange2003" Scope="Global"/>
												</Rule>
												<Rule Name="fExchange2000" Query="contains ($., 'Version 6.0')">
													<Variable Name="varIsExchange2000" Scope="Global"/>
												</Rule>
												<Rule Name="fExchange55" Query="contains ($., 'Version 5.5')"/>
												<Rule Name="fExchange2003SP2" Query="$fExchange2003='1' and contains ($., 'Service Pack 2')"/>
												<Rule Name="fExchange2003SP1" Query="$fExchange2003='1' and contains ($., 'Service Pack 1')"/>
												<Rule Name="fExchange2003SPn" Query="$fExchange2003='1' and contains ($., 'Service Pack')"/>
												<Rule Name="fExchange12" Query="contains ($., 'Version 8.0')" Error="None" Title="已安裝 Exchange Server 2007" Text="伺服器 {2} 正在執行 Exchange Server 2007。" S2="%SERVER%">
													<Variable Name="varIsExchange12" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="networkAddress">
												<Rule Name="szExFQDN" Query="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" Error="None" Title="伺服器的網域全名 (FQDN)" Text="伺服器 {2} 的網域全名 (FQDN) 為 {1}" P1="substring-after($.[contains(.,'ncacn_ip_tcp')],':')" P2="$szExNetBIOSName">
													<Variable Name="varExFQDN" Scope="Children"/>
												</Rule>
												<Rule Name="szExNetBIOSName" Query="substring-before($szExFQDN,'.')"/>
											</Setting>
											<Setting Key1="msExchCurrentServerRoles">
												<Rule Name="fIsMbxServer" Query="boolean(bitwise-and($.,2))"/>
												<Rule Name="fIsCASServer" Query="boolean(bitwise-and($.,4))"/>
												<Rule Name="fIsUMServer" Query="boolean(bitwise-and($.,16))"/>
												<Rule Name="fIsHubServer" Query="boolean(bitwise-and($.,32))"/>
												<Rule Name="fIsHubTransportServer" Query="$fIsHubServer" Error="None" Title="找到 Hub Server role" Text="伺服器 {2} 上的 '{3}' 具有 Hub role。" P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsHubTransportServer" Scope="Children"/>
												</Rule>
												<Rule Name="fIsClientAccessServer" Query="$fIsCASServer" Error="None" Title="找到 Client Access role" Text="伺服器 {2} 上的 '{3}' 具有 Client Access role。" P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsClientAccessServer" Scope="Children"/>
												</Rule>
												<Rule Name="fIsMailboxServer" Query="$fIsMbxServer or (not($fExchange12) and $iStatTotalMailboxes &gt; 10)" Error="None" Title="找到 Mailbox Server role" Text="伺服器 {2} 上的 '{3}' 具有 Mailbox role。" P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsMailboxServer" Scope="Children"/>
												</Rule>
												<Rule Name="fIsUnifiedMessagingServer" Query="$fIsUMServer" Error="None" Title="找到 Unified Messaging role" Text="伺服器 {2} 上的 '{3}' 具有 Unified Messaging role。" P2="$szExNetBIOSName" S3="%SERVER%" AlwaysEvaluate="True">
													<Variable Name="varIsUnifiedMessagingServer" Scope="Children"/>
												</Rule>
											</Setting>
											<Setting Key1="msExchInstallPath" Substitution="EXCHBINPATH">
												<Rule Name="fInstallPath" Query="string-length($.) &gt; 0" Error="None" Title="安裝路徑: '{1}'" Text="Exchange 伺服器安裝於目錄 '{1}' 中。" P1="$."/>
												<Rule Name="szDefaultHubQueuePath" Query="concat($.,'TransportRoles\data\Queue\')">
													<Variable Name="varDefaultHubQueuePath" Scope="Children"/>
												</Rule>
											</Setting>
											<Object Type="Directory" Key2="%DN%" Key3="objectClass=msExchPrivateMDB" Display="Left" Class="私人 MDB">
												<Setting Key1="msExchMaxCachedViews">
													<Rule Name="fMaxCachedViewsLow" Query="$. &lt;5" Error="Warning" Sev="2" Title="快取檢視最大數目設得太低" Text="伺服器 {2} 上資料庫 {3} 的快取檢視 ('msExchMaxCachedViews') 最大數目設得太低。這可能會造成伺服器的過度負擔及用戶端效能問題。目前的值: {9}。" P2="$szExchangeServerName" P3="$szMailboxStore" P9="$." ReportIssue="Issue" GUID="2c732be4-eb00-4cde-8c90-f5f1427575eb"/>
													<Rule Name="fMaxCachedViewsHigh" Query="$. &gt;20" Error="Warning" Sev="2" Title="快取檢視最大數目設得太高" Text="伺服器 {2} 上資料庫 {3} 的快取檢視最大數目 (msExchMaxCachedViews) 設得太高。這可能會造成伺服器的過度負擔及用戶端效能問題。目前的值: {9}。" P2="$szExchangeServerName" P3="$szMailboxStore" P9="$." ReportIssue="Issue" GUID="ba968256-3ae8-4c75-a889-448e3688545b"/>
												</Setting>
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="cn" Substitution="MDBNAME">
													<Rule Name="szMailboxStore" Query="$."/>
												</Setting>
												<Setting Key1="whenCreated" Format="System.DateTime"/>
												<Setting Key1="activationSchedule" Format="System.Byte[]">
													<Rule Name="fMailboxOnlineDefragScheduleNever" Query="$.='000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'" Error="Error" Sev="2" Title="已停用線上維護" Text="伺服器 {2} 上信箱儲存區 '{3}' 的線上維護排程已設定為 [永不]。這會造成 Exchange 的效能問題。" P2="$szExchangeServerName" P3="$szMailboxStore" GUID="143761ef-6bb2-448f-880a-ec59197a4ef1" ReportIssue="Issue"/>
													<Rule Name="fMailboxOnlineDefragScheduleSame" Query="$iTotalMailboxMDBs &gt;2 and $.='0FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF00000000000000000000FFFF0000000000000000000'"/>
												</Setting>
												<Setting Key1="garbageCollPeriod"/>
												<Setting Key1="homeMDBBL" Retrieve="CountOnly">
													<Rule Name="iMailboxes" Query="$."/>
												</Setting>
												<Setting Key1="legacyExchangeDn">
													<Rule Name="iStatMailboxMDB" Query="count($.)"/>
													<Rule Name="szMailboxStoreLegDn" Query="upper-case($.)"/>
												</Setting>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Service" Key4="Name='MSExchangeIS'" SecurityContext="EXLOGON">
								<Setting Key1="PathName">
									<Rule Name="szStorePath" Query="$." Title="儲存區啟動帳戶"/>
								</Setting>
								<Setting Key1="Started">
									<Rule Name="fStoreStoppedBE" Query="$.='False' and $iStatTotalMailboxes &gt;20" Error="Error" Sev="1" Title="儲存區服務並未執行" Text="伺服器 {2} 上的 Microsoft Exchange Information Store 服務不在執行中。使用者將無法存取此伺服器上的信箱。" S2="%SERVER%" GUID="87f257cb-c7d9-4637-b777-b8364f34f339" ReportIssue="Issue"/>
									<Rule Name="fStoreStoppedBEWarn" Query="$.='False' and not($iStatTotalMailboxes &gt;20)" Error="Warning" Sev="1" Title="儲存區服務並未執行" Text="伺服器 {2} 上的 Microsoft Exchange Information Store 服務不在執行中。使用者將無法存取此伺服器上的信箱。" S2="%SERVER%" GUID="87f257cb-c7d9-4637-b777-b8364f34f339" ReportIssue="Issue"/>
								</Setting>
								<Setting Key1="StartMode"/>
								<Setting Key1="StartName">
									<Rule Name="fStoreNotLocalSystem" Query="$.!='LocalSystem'" Error="Error" Sev="2" Title="儲存區啟動帳戶" Text="伺服器 {2} 上的 Microsoft Exchange Information Store 服務未設定為以電腦帳戶 (LocalSystem) 的身分啟動。不支援此組態。目前的啟動帳戶為 {1}。" P1="$." P2="$szExchangeServerName" GUID="12061a98-6132-4725-8897-3af3bcdedb8f" ReportIssue="Issue"/>
								</Setting>
								<Setting Key1="State" Substitution="STATE"/>
								<Setting Key1="Status"/>
							</Object>
							<!-- test that WMI to the server works -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Service" Key4="Name='ClusSvc'" SecurityContext="EXLOGON">
								<Setting Key1="StartName" Substitution="CLUSVCNAME" Retrieve="FailHard"/>
								<Setting Key1="Started">
									<Rule Name="iStatExchangeCluster" Query="count($.)"/>
									<Rule Name="fClusterServiceRunning" Query="$.='True'" Error="None" Text="這是 Exchange 叢集伺服器。"/>
								</Setting>
							</Object>
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_ComputerSystem" SecurityContext="EXLOGON">
								<Setting Key1="Manufacturer">
									<Rule Name="szHardwareManufacturer" Query="$."/>
								</Setting>

								<!-- Get a little info about the machine's setup - virtual server? -->
								<Setting Key1="Model">
									<Rule Name="szComputerModel" Query="$." Error="None" Text="伺服器製造商: {0}。伺服器機型: {1}。" P0="$szHardwareManufacturer" P1="$."/>
									<Rule Name="fVirtualPC" Query="$.='Virtual Machine'" Error="None" Sev="2" Title="偵測到虛擬機器" Text="Exchange 伺服器 {2} 為虛擬機器。" S2="%SERVER%" GUID="7e30d7fb-6218-498f-85c9-38281eb750f5"/>
									<Rule Name="fVirtualMachineBestPractices" Query="$fVirtualPC and $fExchange2003SP2 and not ($fClusterServiceRunning)" Error="BestPractice" Title="虛擬機器組態" Text="Exchange 伺服器 {2} 是一部虛擬機器。如需此組態之支援能力和效能調整的最新資訊，請檢閱 Microsoft 知識庫文章 320220。" S2="%SERVER%" GUID="558ab53f-ce10-4a4d-aac6-44d55fcfd699" AlwaysEvaluate="True" ReportIssue="Issue"/>
									<Rule Name="fVirtualMachineBadExchangeVersion" Query="$fVirtualPC and ($fExchange55 or $fExchange200x) and not ($fExchange2003SP2)" Error="Error" Sev="2" Title="不支援的虛擬機器組態 - Exchange 版本" Text="Exchange 伺服器 {2} 是一部虛擬機器，但未安裝 Exchange Server 2003 SP2 或更新的版本。此組態不受支援。" S2="%SERVER%" GUID="d2739100-7206-43e7-a01f-ecb80ce243a2" ReportIssue="Issue"/>
									<Rule Name="fVirtualMachineCluster" Query="$fVirtualPC and $fClusterServiceRunning" Error="Error" Sev="2" Title="不支援的虛擬機器組態 - 叢集" Text="Exchange 伺服器 {2} 是一部執行 Microsoft 叢集服務的虛擬機器。此組態不受支援。" S2="%SERVER%" GUID="4683ccb0-6de5-4a4a-83f1-ab03596da6d1" ReportIssue="Issue"/>
								</Setting>
								<!-- quick test that Perf counters are accessible -->
								<!-- only run if WMI passes, since bad Pdh connections are cached ~2-3 minutes -->
								<Object Type="Pdh" Name="Performance Data" Key1="%SERVER%" Key2="2" Key3="1" Timeout="%1000">
									<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Average">
										<Rule Name="iMDBPercentProcessorTimeTotalAvg" Query="ifnumber($.,roundto($.,2))"/>
									</Setting>

									<Rule Name="fFatalErrorPERFCTRS" Query="../Exception"/>
									<Rule Name="fUnknownERRORPERFCTRS" Query="../Exception and not($fErrorNoServerAccessingPerfCounters or $fBDBErrorAccessingSomeCounters or $fBB8ErrorNonEnglish)" Title="存取 'Processor' 效能計數器資料時發生錯誤" Text="存取伺服器 {0} 上的效能計數器資料時發生錯誤。{1}。" S0="%SERVER%" P1="../Exception/@Message" Error="Error" Sev="1"/>
									<Rule Name="fErrorNoServerAccessingPerfCounters" Query="contains(../Exception/@Message,'0xc00007d0')" Title="無法連絡伺服器: 存取 RPC 效能計數器資料時發生錯誤" Text="存取伺服器 {0} 上的效能計數器資料時發生錯誤。伺服器可能無法使用，或該伺服器上的遠端登錄服務可能未執行。{2}。" S0="%SERVER%" P2="../Exception/@Message" Error="Error" Sev="1"/>

									<Rule Name="fBDBErrorAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb')" Title="存取 RPC 效能計數器資料時發生錯誤" Text="目前的使用者登入可能沒有足夠的權限可存取 'MSExchangeIS' 效能計數器。{1}。" P1="../Exception/@Message" Error="Error" Sev="1"/>
									<Rule Name="fBB8ErrorNonEnglish" Query="contains(../Exception/@Message,'0xc0000bb8') and $fNonEnglishOS" Title="偵測到非美式英文的作業系統" Text="無法存取效能監視器計數器。此工具必須在美式英文作業系統上執行。" Error="Error" Sev="1"/>
								</Object>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\Windows NT\CurrentVersion" SecurityContext="EXLOGON">
								<Setting Key1="CurrentVersion">
									<Rule Name="szExWinVer" Query="$."/>
									<Rule Name="fExWinVer2003" Query="$.='5.2'" AlwaysEvaluate="True">
										<Variable Name="fExWinVer2003" Scope="Children"/>
									</Rule>
									<Rule Name="fExWinVer2000" Query="$.='5.0'">
										<Variable Name="fExWinVer2000" Scope="Children"/>
									</Rule>
								</Setting>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="SYSTEM\CurrentControlSet\Services\ESE\Performance" SecurityContext="EXLOGON">
								<Rule Name="fJetAdvancedCountersOn" Query="$fJetSqueakyLobster1 or $fJetSqueakyLobster2" AlwaysEvaluate="True">
									<Variable Name="SQUEAKYLOBSTER" Scope="Children"/>
								</Rule>
								<Setting Key1="Show Advanced Counters">
									<Rule Name="fJetSqueakyLobster1" Query="$.=1"/>
								</Setting>
								<Setting Key1="Squeaky Lobster">
									<Rule Name="fJetSqueakyLobster2" Query="$.=1"/>
								</Setting>
							</Object>
							<!-- Figure out where new BLG files can be created - one name on server, one name on client -->
							<Object Type="Group" Name="BLG File" SecurityContext="EXLOGON">
								<Rule Name="szPdhFileName" Query="@S1" S1="ExPTA.%SERVER%.%varPrettyDateTime%.PerfMon.blg">
									<Variable Name="varShortPDHFileName" Scope="Children"/>
								</Rule>
								<Rule Name="szLogManName" Query="@S1" S1="ExPTA.%SERVER%.%varPrettyDateTime%">
									<Variable Name="fLogManName" Scope="Children"/>
								</Rule>
								<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\Windows NT\CurrentVersion">
									<Setting Key1="SystemRoot" Substitution="SERVERWINDOWSPATHDRIVE" Format="(.*?):(.*)----$1:" SubstitutionFormat="(.*?):(.*)----$1:">
										<Rule Name="szWindowsPath" Query="@S1" S1="%SERVERWINDOWSPATHDRIVE%">
											<Variable Name="szSERVERWINDOWSPATHDRIVE" Scope="Children"/>
										</Rule>
									</Setting>
									<Setting Key1="SystemRoot" Substitution="UNCSERVERWINDOWSPATHDRIVE" Format="(.*?):(.*)----\\%SERVER%\$1$" SubstitutionFormat="(.*?):(.*)----\\%SERVER%\$1$">
										<Rule Name="szWindowsPathUNC" Query="@S1" S1="%SERVERWINDOWSPATHDRIVE%">
											<Variable Name="UNCSERVERWINDOWSPATHDRIVE" Scope="Children"/>
										</Rule>
									</Setting>
									<Object Type="Group" Name="Server perfmon log file names">
										<Rule Name="szServerPdhFileName" Query="concat(@S1,$szPdhFileName)" S1="%SERVERWINDOWSPATHDRIVE%\PerfLogs\">
											<Variable Name="szServerPdhFileName" Scope="Children"/>
										</Rule>
										<Rule Name="szServerPdhFileNameRelativeToClient" Query="concat(@S1,$szPdhFileName)" S1="%UNCSERVERWINDOWSPATHDRIVE%\PerfLogs\">
											<Variable Name="szServerPdhFileNameRelativeToClient" Scope="Children"/>
										</Rule>
									</Object>
								</Object>
							</Object>

							<!-- Determine what to do next -->
							<Rule Name="fNoErrorCheckStoreProcessStep" Query="$szServerPdhFileName and $szLocalPdhFileName and not($fIsMailboxServer and ($fFailedToGetMailboxCount or $fNotExchangeServerInMDBCheck)) and not($fFatalErrorPERFCTRS or $fFatalErrorWMI or $fFatalErrorDirectory or $fWin2000)" AlwaysEvaluate="True"/>

							<Rule Name="fFatalErrorCheckStoreProcessStep" Query="not($fNoErrorCheckStoreProcessStep)" Error="Error" Title="找到嚴重錯誤" Text="找到嚴重錯誤，將不採取進一步的步驟。"/>
							<Rule NextStep="GetDataCollectionInfo" Name="fGotoCollectPerfMonData" Priority="2" Display="Hide" Query="$fNoErrorCheckStoreProcessStep" Text="- 收集效能資料，或選取要分析的效能資料檔案。" AlwaysEvaluate="True"/>
							<Rule Name="fNotExchangeServerInMDBCheck" Query="($fIsMailboxServer) and string-length($szStorePath)=0 and not($fFatalErrorWMI or $fFatalErrorDirectory)" Error="Error" Sev="1" Priority="1" Title="疑難排解已中止" Text="伺服器 {0} 尚未安裝 Exchange Server。此工具只會調查執行 Microsoft Exchange Server 的電腦。此工具將不會繼續調查此伺服器。" S0="%SERVER%" AlwaysEvaluate="True"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="DisplayResultsStep" Title="結果" Display="HideAll">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%DISPLAYTITLE%" Substitution="DISPLAYTITLE" Display="Hide"/>
			<Setting Key1="%ErrorStateText%" Substitution="ErrorStateText" Display="Hide"/>
			<Setting Key1="%PreviousName%" Substitution="PreviousName" Display="Hide"/>
 			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
 			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
 			<Setting Key1="%varSelectedSymptomIndex%" Substitution="varSelectedSymptomIndex" Display="Hide"/>

			<Object Type="Information" Hide="%varContinueRun%" HelpId="html\56921c4c-6bcc-4f83-9dd0-dccfded2d8f0.htm">
				<Object Type="Control" SubType="Title" Name="Title" Position="Top" Text="%DISPLAYTITLE%"/>

 				<!-- Only display the server name if we are in the first symptom.  For the second and third symptoms, the SERVERNAME and DCNAME will be
 				 archived from a previous run, and may not be relevant.
 					-->
 				<Object Type="If" Key1="'%varSelectedSymptomIndex%'='0' and not('%SERVER%'='%SERVERNAME%' or '%DC%'='%DCName%')">
 					<Object Type="Control" SubType="Label" Name="ErrorState" Position="Below" Text="伺服器 {0} 及 Active Directory 伺服器 {1} 的結果" S0="%SERVER%" S1="%DC%" Width="FullWidth"/>
 				</Object>
				<Object Type="Control" SubType="Label" Name="ErrorState" Position="Below" Text="%ErrorStateText%" Width="FullWidth"/>
				<Object Type="Control" SubType="Reports" Name="InterimReports" Position="LeftBelow" Width="FullWidth" Height="500">
					<Report Title="效能摘要" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Summary']"/>
					<Report Title="效能詳細資料" ArrangeByText="Time Range" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[@ReportIssue='Issue' and not(@Display='Hide')]"/>
					<Report Title="其他問題" ArrangeByText="Time Range" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and not(@Error='None' or not(@Error))]"/>
					<Report Title="參考項目" ArrangeByText="Time Range" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[not(@ReportIssue) and not (@NextStep) and not(@Display='Hide') and (@Error='None' or not(@Error))]"/>
				</Object>

				<Object Type="IfResults" Name="DoNext" Key1="count(/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Rule[@NextStep and @Pass='True' and not(string-length(@Text)=0)]) &gt; 0">
					<Object Type="Control" SubType="Label" Name="Label" Position="Below" Text="此工具即將執行下列動作: " BackColor="AliceBlue" FontStyle="Bold" Width="FullWidth"/>
					<Object Type="Control" SubType="Labels" Name="Labels" Position="Below" LineSpace="0" Width="FullWidth" FontFamily="Arial" Query="/Wizard/Object[@Name='%STEPNAMEPREFIX%%PreviousName%' and not(@StepStatus='Deactivated')]/*//Message[@NextStep]"/>
				</Object>

				<Object Type="Control" SubType="Link" Name="Previous" Position="Below" LineSpace="2" Text="上一步"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="下一步"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- The BPA Data Gathering Steps -->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="RPCPerfCounters" Title="RPC 效能計數器資料" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%MailboxCount%" Substitution="MAILBOXCOUNT" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%fIsLargeServer%" Substitution="fIsLargeServer" Display="Hide"/>
			<Setting Key1="%fIsSmallServer%" Substitution="fIsSmallServer" Display="Hide"/>
			<Setting Key1="%fIsMediumServer%" Substitution="fIsMediumServer" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%ANALYZEALLBADRPCS%" Substitution="ANALYZEALLBADRPCS" Display="Hide"/>
			<Object Type="Progress" Text="工具正在分析 %SERVER% 的 RPC 效能計數器資料，請稍候。" Title="正在分析 RPC 效能計數器資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">

				<!-- Priority Logic:
			1. tell user what we found. (if there are errors, first loop back to get credentials)
			2. If users are super active, investigate that first
			3. next, check disk health.
			4. Next, check other perf counter health
					-->

				<Object Type="Group" Name="RPC Performance Counters" Class="區域" GroupingClass="True">
					<Rule Name="fDisplayRPCPerfCountsStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szRPCPerfCounters" Query="'RPCPerfCounters'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayRPCPerfData" Query="string(@Title)" Title="RPC 效能資料結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Query="''" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fExtremelyActiveUsersSummary" Error="Error" Sev="1" Query="$fExtremelyActiveUsers" Title="偵測到特別高的使用者活動" Text="每秒 RPC 作業速率表示此伺服器上的一或多個使用者特別活躍。" GUID="24bf01bd-6580-450c-9d3e-478b3c0cdc16" Priority="2" ReportIssue="Summary"/>
					<Rule Name="fActiveUsersSummary" Query="$fActiveUsers and not($fExtremelyActiveUsers)" Error="Warning" ReportIssue="Summary" Title="中度使用者 RPC 活動" Text="由於每位使用者每秒 RPC 作業數大於 0.15，因此將使用者視為「中度活躍」。"/>
					<Rule Name="fNormalActiveUsersSummary" Query="not($fExtremelyActiveUsers) and not($fActiveUsersSummary)" Title="正常的使用者 RPC 活動" Text="由於每位使用者每秒 RPC 作業數少於或等於 0.15，因此將每位使用者的 RPC 速率視為正常。" Error="None" ReportIssue="Summary"/>


					<Object Type="Cache" Name="RPC Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="RPC health during the time range: %szTIMERANGE%">
								<!-- First measure RPC performance counters -->
								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="RPC" Timeout="%1000">
									<Rule Name="fFailedToReadData" Query="not($iAvgRPCOps) and not($fRPCEntryNotInLogFile)" Error="Error" Title="無法從檔案擷取效能計數器資料" Text="無法從檔案 {0} 中擷取 'MSExchangeIS' RPC 效能計數器資料。讀取檔案時發生未指定的錯誤。" S0="%szPDHFILE%" AlwaysEvaluate="True"/>
									<Setting Key1="MSExchangeIS" Key2="RPC Operations/sec" Key3="" Format="Average">
										<Rule Name="iAvgRPCOps" Query="ifnumber($.,$.)">
											<Variable Name="iRPCOpRate" Scope="Global"/>
										</Rule>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Averaged Latency" Key3="" Format="Average">
										<Rule Name="iAvgRPCLat" Query="ifnumber($.,$.)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Averaged Latency" Key3="" Format="Sigma">
										<Rule Name="iSigRPCLat" Query="$. &gt; 10" Text="RPC 延遲的變化大於 10%。"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Active User Count" Key3="" Format="Average">
										<!-- We should have at least one active user.... force this to avoid NaN elsewhere -->
										<Rule Name="iActiveUserCount" Query="ifnumber($.,if($. &lt; 1, 1, round($.)),1)"/>
										<Rule Name="fActiveUserCountZero" Query="$. = 0" Text="'{0}' 顯示 0 位作用中的使用者。" P0="localize-path('MSExchangeIS\Active User Count')"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Requests" Key3="" Format="Average">
										<Rule Name="iAvgRPCRequests" Query="ifnumber($.,roundto($.,1))"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="RPC Requests" Key3="" Format="Max">
										<Rule Name="iMaxRPCRequests" Query="ifnumber($.,$.)"/>
									</Setting>
									<Setting Key1="MSExchangeIS Mailbox" Key2="Client Logons" Key3="_Total" Format="Average">
										<Rule Name="iMbxClientLogons" Query="ifnumber($.,$.)"/>
									</Setting>
									<Setting Key1="MSExchangeIS Public" Key2="Client Logons" Key3="_Total" Format="Average">
										<Rule Name="iPublicClientLogons" Query="ifnumber($.,$.)"/>
									</Setting>

									<!-- Look for errors in gathering the RPC counters -->
									<Rule Name="fErrorAccessingPerformanceCounters" Query="../Exception and not($fBB8ErrorAccessingRPCPerformanceCounters or $fErrorBadServerNameInFile or $fRPCEntryNotInLogFile)" Title="存取 RPC 效能計數器資料時發生錯誤" Text="存取 'MSExchangeIS' RPC 效能計數器時發生錯誤。{1}。" P1="../Exception/@Message" Error="Error" Sev="1"/>
									<Rule Name="fBB8ErrorAccessingRPCPerformanceCounters" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="Error" Sev="2" Title="存取 RPC 效能計數器資料時發生錯誤" Text="無法存取 'MSExchangeIS' RPC 效能計數器。伺服器 {0} 可能不是 Exchange 伺服器，或是一或多個 'MSExchangeIS' 效能計數器有問題。" S0="%SERVER%"/>
									<Rule Name="fErrorBadServerNameInFile" Query="contains(../Exception/@Message,'Specified argument was out of the range of valid')" Title="存取伺服器 {0} 的效能資料時發生錯誤" Text="存取伺服器 {0} 的效能資料時發生錯誤。檔案 {1} 中找不到伺服器名稱。" S0="%SERVER%" S1="%szPDHFILE%" Error="Error" Sev="1"/>
									<Rule Name="fRPCEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取 RPC 效能資料時發生錯誤" Text="存取 RPC 效能資料時發生錯誤。'MSExchangeIS' RPC 效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

								</Object>

								<!-- Look for high RPC latencies or outstanding requests -->
								<Rule Name="fHighRPCLatency" Query="$iAvgRPCLat &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="高 RPC 延遲" Text="'{0}' 高於 {7} 秒 ({6} 毫秒) 的閾值。測量到的值為 {9} 秒 ({8} 毫秒)。" P0="localize-path('MSExchangeIS\RPC Averaged Latency')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iAvgRPCLat" P9="roundto($iAvgRPCLat div 1000,3)" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="fHighMaxRPCRequests" Query="$iMaxRPCRequests = 100" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="未完成的 RPC 要求數已達到最大閾值" Text="'{0}' 已達到 100 的尖峰。" P0="localize-path('MSExchangeIS\RPC Requests')" GUID="da412624-48a8-42ea-b167-093f82b7eba9"/>
								<Rule Name="fHighAvgRPCRequestsLarge" Query="@S2=1 and $iAvgRPCRequests &gt; @S4" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值高於建議值 {4}。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\RPC Requests')" S2="%fIsLargeServer%" S4="50" P9="$iAvgRPCRequests" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="fHighAvgRPCRequestsMedium" Query="@S2=1 and $iAvgRPCRequests &gt; @S4" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值高於建議值 {4}。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\RPC Requests')" S2="%fIsMediumServer%" S4="30" P9="$iAvgRPCRequests" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="fHighAvgRPCRequestsSmall" Query="@S2=1 and $iAvgRPCRequests &gt; @S4" Error="Error" Sev="1" ReportIssue="Issue" Priority="1" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值高於建議值 {4}。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\RPC Requests')" S2="%fIsSmallServer%" S4="15" P9="$iAvgRPCRequests" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607"/>
								<Rule Name="iRatioMailboxCountAndActiveLogon" Query="if(@S2 &gt; 0, ifnumber($iMbxClientLogons, $iMbxClientLogons div @S2))" Text="伺服器上每個信箱的作用中登入比率為 {1}。" P1="roundto($iMbxClientLogons div @S2,2)" S2="%MAILBOXCOUNT%"/>
								<Rule Name="fHighRatioMailboxCountAndActiveLogon" Query="ifnumber($iMbxClientLogons, $iRatioMailboxCountAndActiveLogon &gt; 5 and not($fIsDedicatedPublicFolderServer) and not($fFatalError))" Title="每個信箱的登入數偏高" Text="伺服器上每個信箱的作用中登入比率為 {1}，這可能比預期值高。這表示使用者活動偏高。" P1="roundto($iActiveUserCount div @S2,2)" S2="%MAILBOXCOUNT%"/>

								<!-- Guess the activity level of user -->
								<Rule Name="iActivityLevel" Query="roundto($iAvgRPCOps div $iActiveUserCount,3)" Text="使用者活動等級為每位使用者每秒 {1} 個作業。 " P1="roundto($iAvgRPCOps div $iActiveUserCount,3)">
									<Variable Name="PERUSERRATE" Scope="Children"/>
								</Rule>
								<Rule Name="fActiveUsers" Query="$iActivityLevel &gt; 0.15 and $iActivityLevel &lt;= 0.25 and not($fExtremelyActiveUsers)" Error="Warning" Sev="2" ReportIssue="Issue" Title="作用中的 RPC 使用者活動" Text="由於每位使用者每秒 RPC 作業數大於 0.15，因此將使用者視為「中度活躍」。測量到的每位使用者每秒 RPC 作業速率為 {1}。" P1="$iActivityLevel" GUID="24bf01bd-6580-450c-9d3e-478b3c0cdc16"/>
								<Rule Name="fExtremelyActiveUsers" Query="$iActivityLevel &gt; 0.25" Error="Error" Sev="1" ReportIssue="Issue" Priority="2" Title="使用者 RPC 活動偏高" Text="由於每位使用者每秒 RPC 作業數大於 0.25，每秒 RPC 作業速率表示此伺服器上的使用者特別活躍。測量到的每位使用者每秒 RPC 作業速率為 {1}。 " P1="$iActivityLevel" GUID="24bf01bd-6580-450c-9d3e-478b3c0cdc16"/>
								<Rule Name="fProblemFoundInThisTimeRange" Query="$fHighMaxRPCRequests or $fHighAvgRPCRequestsLarge or $fHighAvgRPCRequestsMedium or $fHighAvgRPCRequestsSmall or $fHighRPCLatency or $fActiveUsers or $fExtremelyActiveUsers"/>
								<Rule Name="szTimeRangeOfProblem" Query="if($fProblemFoundInThisTimeRange,@S1)" S1="%szTIMERANGE%"/>
							</Object>
						</Object>
					</Object>
					<Object Type="Group" Name="Summary of RPC results">
						<Setting Display="Hide">
							<Rule Name="fFatalError" Query="$fFailedToReadData or $fErrorAccessingPerformanceCounters or $fBB8ErrorAccessingRPCPerformanceCounters or $fErrorBadServerNameInFile or $fRPCEntryNotInLogFile" AlwaysEvaluate="True"/>
							<Rule Name="fRPCProblemFound" Query="$fHighMaxRPCRequests or $fHighAvgRPCRequestsLarge or $fHighAvgRPCRequestsMedium or $fHighAvgRPCRequestsSmall or $fHighRPCLatency or $fActiveUsers or $fExtremelyActiveUsers" Sev="1"/>
							<!-- Guess the type of server -->
							<Rule Name="fIsMBXandPublicFolderServer" Query="not($fIsDedicatedPublicFolderServer) and not($fIsDedicatedMailboxServer) and not($fIsNotExchangeServer) and not($fFatalError)" Error="None" Priority="1" Text="此伺服器除了是信箱伺服器之外，可能也同時是公用資料夾伺服器。" AlwaysEvaluate="True"/>
							<Rule Query="if($fIsMBXandPublicFolderServer,'MBXPF')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>

							<Rule Name="fIsDedicatedPublicFolderServer" Query="($iPublicClientLogons * .10 &gt; $iMbxClientLogons ) and not($fFatalError)" Error="None" Priority="1" Text="此伺服器可能是專用的公用資料夾伺服器。" AlwaysEvaluate="True"/>
							<Rule Query="if($fIsDedicatedPublicFolderServer,'PF')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsDedicatedMailboxServer" Query="($iMbxClientLogons * .10 &gt; $iPublicClientLogons) and not($fBB8ErrorAccessingRPCPerformanceCounters) and not($fFatalError) and @S2 &gt; 10" Error="None" Priority="1" Text="此伺服器可能是專用的信箱伺服器。" S2="%MAILBOXCOUNT%" AlwaysEvaluate="True"/>
							<Rule Query="if($fIsDedicatedMailboxServer,'MBX')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsNotExchangeServer" Query="$fBB8ErrorAccessingRPCPerformanceCounters" Error="None" Priority="1" Text="嘗試測量 RPC 效能計數器時發生錯誤。此伺服器不是 Exchange 伺服器。"/>
							<Rule Query="if($fIsNotExchangeServer,'NOTEXCHANGE')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsUnknownTypeServer" Query="$fFatalError and not($fIsMBXandPublicFolderServer) and not($fIsNotExchangeServer) and not($fFatalError)" Error="None" Priority="1" Text="此伺服器為未知的類型。" AlwaysEvaluate="True"/>
							<Rule Query="if($fIsUnknownTypeServer,'UNKNOWN')">
								<Variable Name="ROLE" Scope="Children"/>
							</Rule>
							<Rule Name="fIsProbablyExchangeBEServer" Query="$fIsDedicatedMailboxServer or $fIsDedicatedPublicFolderServer or $fIsMBXandPublicFolderServer" Text="此伺服器可能具有在此調查中未偵測到的其他角色。"/>
						</Setting>
						<Rule Name="fRPCSymptomsFound" Query="$fHighMaxRPCRequests or $fHighAvgRPCRequestsLarge or $fHighAvgRPCRequestsMedium or $fHighAvgRPCRequestsSmall or $fHighRPCLatency" Error="Error" Sev="1" ReportIssue="Summary" Title="伺服器呈現高 RPC 延遲或高 RPC 速率" Text="伺服器 {0} 呈現出 RPC 延遲或高 RPC 要求數的問題。高 RPC 延遲或 RPC 要求數表示此伺服器上的使用者將會在存取郵件時遇到延遲。" S0="%SERVER%" GUID="d97e8f41-97b8-4858-b51c-bcaf48f48607" AlwaysEvaluate="True"/>

						<!-- Inform the user that no issue was found. -->
						<Rule Name="fNoRPCProblemFound" Query="not($fRPCProblemFound) and not($fFatalError) and not($fIsNotExchangeServer)" Error="None" ReportIssue="Summary" Priority="1" Title="找不到使用者活動的問題" Text="找不到伺服器 {0} 上有 RPC 延遲、未完成的要求或使用者活動的問題。" S0="%SERVER%" AlwaysEvaluate="True"/>

						<!-- NO ISSUE WAS FOUND - continue anyway -->
						<Rule Name="fNORPCPRoblemFoundContinue" Query="not($fRPCProblemFound) and not($fFatalError) and not($fIsNotExchangeServer)" AlwaysEvaluate="True"/>

						<!-- ISSUE WAS FOUND... Now check to see if it was caused by disk or any other system resource... -->
						<Rule Name="fRPCProblemFoundContinue" Query="$fRPCProblemFound and not($fFatalError) and not($fIsNotExchangeServer)"/>
						<Rule Name="szTimeRangesWithRPCProblem" Query="join(',',$szTimeRangeOfProblem)">
							<Variable Name="RPCPROBLEMTIMERANGES" Scope="Global"/>
						</Rule>
						<Rule Name="szPrettyTimeRangesWithRPCProblem" Query="join(', ',$szTimeRangeOfProblem)">
							<Variable Name="PRETTYRPCPROBLEMTIMERANGES" Scope="Global"/>
						</Rule>
						<Rule Name="fResetTimeRanges" Query="if(@S1=1,$szTimeRangesWithRPCProblem,@S2)" S1="%ANALYZEALLBADRPCS%" S2="%szSELECTEDLISTOFTIMERANGES%">
							<Variable Name="szSELECTEDLISTOFTIMERANGES" Scope="Global"/>
						</Rule>
						<Rule NextStep="GetExmonFile" Name="fRPCProblemFoundCheckUserActivity" Query="$fRPCProblemFound and not($fFatalError) and not($fIsNotExchangeServer) and not($fExtremelyActiveUsers) and not($fActiveUsers)" Priority="3" Text="- 調查此伺服器上的使用者 RPC 活動。" Display="Hide" AlwaysEvaluate="True"/>
						<Rule NextStep="GetFCLFile" Name="fRPCProblemFoundCheckUserActivityFCL" Query="$fRPCSymptomsFound" Priority="4" Text="- 調查函數呼叫記錄，查看是否有任何已知問題造成用戶端要求的延遲。" Display="Hide" AlwaysEvaluate="True"/>
						<Rule Name="fBusyUsersInformation" Query="$fActiveUsers or $fExtremelyActiveUsers and not($fFatalError) and not($fIsNotExchangeServer) " AlwaysEvaluate="True"/>
						<Rule Name="fBusyUserMessage" Query="$fBusyUsersInformation" Error="BestPractice" ReportIssue="Recommendation" Title="對於負載過重的伺服器上的作用中使用者的建議: 將使用者移到其他伺服器" Text="如果存取 Exchange 伺服器的使用者高度活躍、您無法減輕伺服器上的負載，且伺服器呈現瓶頸，則應該考慮將部分使用者移至另一台伺服器。"/>
						<Rule NextStep="BusyUsersInformation" Name="fBusyUserInfoNS" Query="$fBusyUsersInformation" Priority="2" Text="- 調查使用者活動，以識別高用量是由單一使用者所造成，還是分散於多位使用者之間。" Display="Hide"/>
						<Rule Name="szActiveUserText" Query="string(@Title)" Title="伺服器上找到中高度的 RPC 活動。"/>
						<Rule Name="szExtremelyActiveUserText" Query="string(@Title)" Title="伺服器上找到極高的 RPC 活動。"/>
						<Rule Name="szNormalUserActivityText" Query="string(@Title)" Title="雖然此工具此時未發現很高的每秒 RPC 作業速率，但很高的每秒 RPC 作業速率可能是效能問題的原因。"/>
						<Rule Name="szTypeOfUserText" Query="if($fActiveUsers, $szActiveUserText, if($fExtremelyActiveUsers, $szExtremelyActiveUserText, $szNormalUserActivityText))">
							<Variable Name="BUSYUSERTEXT" Scope="Children"/>
						</Rule>

						<!-- Add ServerRole info for list box -->
						<Rule Query="string(@Title)" Title="信箱及公用資料夾伺服器">
							<Variable Name="ROLES[MbxPub]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="信箱伺服器">
							<Variable Name="ROLES[Mbx]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="公用資料夾伺服器">
							<Variable Name="ROLES[Pub]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="Active Directory 伺服器">
							<Variable Name="ROLES[AD]" Scope="Global"/>
						</Rule>
						<Rule Query="string(@Title)" Title="屬於未知類型 (其他/閘道/前端伺服器)">
							<Variable Name="ROLES[Other]" Scope="Global"/>
						</Rule>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectExmon" Title="ExMon 使用者活動分析" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SAMPLESECONDS%" Substitution="SAMPLESECONDS" Display="Hide"/>
			<Object Type="Progress" Text="工具正在收集 Exchange Server 使用者監視器 (ExMon) 對於伺服器之 RPC 活動的 ETL 追蹤，請稍候。工具將用 %SAMPLESECONDS% 秒的時間收集資料。" Title="正在收集 ExMon ETL 追蹤資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="ExMon" Name="ExMon Collection" Key1="" Key2="%SAMPLESECONDS%" Key3="Collect" Key4="-cmsecCPU">
					<Setting Key1="__FILENAME" Substitution="FILENAME">
						<Rule Name="szEtlFile" Query="$.">
							<Variable Name="ETLFile" Scope="Global"/>
						</Rule>
						<Rule NextStep="CheckUserActivity" Name="fOk" Query="string-length($szEtlFile) &gt; 0"/>
						<Rule Query="not($fOk)" Title="無法收集 ExMon 資料" Text="無法收集 Exchange Server 使用者監視器 (ExMon) 資料。" Error="Error" Sev="1" AlwaysEvaluate="True"/>
					</Setting>
					<!-- If there is a failure to collect, display it -->
					<Rule NextStep="DisplayResultsStep" Name="fDisplayResultsStep" Query="not($szEtlFile)" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szStepNameCE" Query="'CollectExmon'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayTextCE" Query="string(@Title)" Title="ExMon RPC 資料收集結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Query="if(not($szEtlFile),string(@Title))" Title="無法收集 ExMon 資料。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fCollectionException" Query="../Exception" Text="無法收集 ExMon 資料。ExMon 報告下列錯誤: {1}" Title="無法收集 ExMon 資料" P1="../Exception/@Message" Error="Error" Sev="1"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckUserActivity" Title="ExMon 使用者活動分析" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%ETLFile%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="工具正在使用 Exchange Server 使用者監視器 (ExMon) 工具來檢查伺服器上的使用者 RPC 活動，請稍候。" Title="RPC 活動檢查" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- STEP InvestigateUsers -->
				<!--- Goal 1, part 1: Determine if the problem is due to a few users or is distributed across all users -->
				<Object Type="Group" Name="Detailed User Activity Analysis" Class="區域" GroupingClass="True">
					<Rule Name="fDisplayUserActivityStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szCheckUserActivity" Query="'CheckUserActivity'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonRPCAnalysis" Query="string(@Title)" Title="ExMon RPC 分析結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szNoError3" Query="string(@Title)" Title="單一使用者不是造成高 CPU 負載的原因。"/>
					<Rule Name="szError3" Query="string(@Title)" Title="識別出特定使用者活動可能有問題。"/>
					<Rule Query="if($fFailed,$szNoError3 ,if($fBadUserFound, $szError3,string(@Title)))" Title="無法分析 ETL 檔案。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fFailed" Query="$fNoDuration or $fNoUserData or $fOtherFailure" AlwaysEvaluate="True"/>
					<Rule Name="fNoUserData" Query="not(count($iPercentCPU) + count($iUserOpRate) &gt; 0) and not($fOtherFailure)" Error="Error" Sev="1" Title="無法從 ETL 追蹤檔案讀取 ExMon 資料" Text="在 Exchange Server 使用者監視器 (ExMon) ETL 追蹤檔案 '{0}' 中找不到使用者資料。這可能是因為執行此工具所在的 Windows 版本與收集追蹤所在伺服器的 Windows 版本不同或較舊，或是因為追蹤檔案中沒有 RPC 資料。" S0="%ETLFILE%" AlwaysEvaluate="True"/>
					<Rule Name="fNoDuration" Query="not($iETLDuration &gt; 0) and not($fOtherFailure)" Error="Error" Sev="1" Title="無法從 ETL 追蹤檔案讀取 ExMon 資料" Text="無法從檔案 '{0}' 讀取 ETL 擷取的持續時間。" S0="%ETLFILE%" AlwaysEvaluate="True"/>

					<!-- Summary info -->
					<Rule Name="fHighTotalCPUOfTopUsers" Query="sum($iPercentCPU) &gt; 20" Title="前 6 名使用者佔據了伺服器上 {1}% 的 MAPI CPU 使用量" Text="前 6 名使用者佔據了伺服器上 {1}% 的 MAPI CPU 使用量。" P1="sum($iPercentCPU)" Error="Warning" ReportIssue="Summary" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
					<Rule Name="fBadUserFound" Query="count($fFoundHighCPUUser) + count($fFoundHighOpsUser) &gt; 0" Error="Error" Sev="1" ReportIssue="Summary" Title="找到高度活躍的使用者" Text="使用範例顯示有偏高的 RPC 活動集中於一或多位使用者，而非分散於多人。" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
					<Rule Name="fIsDistributedProblem" Query="not($fBadUserFound or $fFailed)" AlwaysEvaluate="True" Title="RPC 活動是分散於多位使用者之間" Text="使用範例顯示 RPC 活動是分散於多位使用者之間，而非由單一使用者所造成。" Error="None" ReportIssue="Summary"/>

					<Object Type="ExMon" Name="Duration of ETL capture" Key1="" Key2="%ETLFILE%" Key3="Summary">
						<Setting Key1="StartTime" Substitution="STARTTIME">
							<Rule Name="iStartTime" Query="(date-parse(substring($.,1,19), 'MM/dd/yyyy HH:mm:ss'))"/>
						</Setting>
						<Setting Key1="EndTime" Substitution="ENDTIME">
							<Rule Name="iEndTime" Query="(date-parse(substring($.,1,19), 'MM/dd/yyyy HH:mm:ss'))"/>
							<Rule Name="szExmonFileTimeRange" Query="concat($iStartTime,' - ',$iEndTime)">
								<Variable Name="EXMONTIMERANGE" Scope="Children"/>
							</Rule>
						</Setting>
						<Rule Name="fOtherFailure" Query="../Exception" Error="Error" Sev="1" Title="無法分析 ExMon 資料" Text="無法分析 Exchange Server 使用者監視器 (ExMon) ETL 追蹤資料 '{0}'。ExMon 報告下列錯誤: {1}" S0="%ETLFILE%" P1="../Exception/@Message"/>
						<Object Type="Group" Name="%STARTTIME% - %ENDTIME%" Class="時間範圍" GroupingClass="True">
							<Object Type="ExMon" Name="RPC load by user" Key1="" Key2="%ETLFILE%" Key3="User" Key4="-opstats.cmsecCPU" Key5="5" Class="作用中使用者" GroupingClass="True">
								<Rule Name="iETLDuration" Query="get-seconds(date-difference($iEndTime, $iStartTime))" AlwaysEvaluate="True"/>
								<Rule Name="fShortDuration" Query="$iETLDuration &lt; 50" Title="短時間執行 ExMon" Text="已擷取 ExMon 追蹤達 {1} 秒。由於某些使用者使用大量 CPU 達數分鐘是正常的，短時間的 ExMon 擷取可能會不正確地指出使用者造成高負載。如果此工具正在分析短時間的擷取，請尋找幾次 ExMon 擷取中都一直造成高資源使用情況的使用者。" P1="$iETLDuration" Error="Warning" Sev="3"/>
								<Setting Key1="opstats.cOps">
									<Rule Name="iUserOpRate" Query="round(100* $. div $iETLDuration) div 100" Text="使用者 {0} 每秒發出 {1} 個 MAPI 作業。" P0="$szUserName" P1="$iUserOpRate"/>
									<Rule Name="fFoundHighOpsUser" Query="$iUserOpRate &gt; 20" Title="找到作用中使用者" Text="使用者 {0} 每秒發出 {1} 個 MAPI 作業，這比預期值高。如果使用者一次發出的作業每秒超過 10 個且達數分鐘之久，這通常表示使用者在執行大量使用資源的應用程式。" P0="$szUserName" P1="$iUserOpRate" ReportIssue="Issue" Error="Error" Sev="1" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
								</Setting>
								<Setting Key1="opstats.pctCPU">
									<Rule Name="iPercentCPU" Query="round($.*100) div 100"/>
								</Setting>
								<Setting Key1="opstats.cmsecCPU">
									<Rule Name="fFoundHighCPUUser" Query="$. div $iETLDuration &gt; 20 or ($. div $iETLDuration &gt; 10 and $iPercentCPU &gt; 40)" Text="使用者 '{0}' 所發出的 RPC 正在耗用大量 ({1}%) 的伺服器 RPC 處理器時間。" Title="識別出高度活躍的使用者" P0="$szUserName" P1="round($iPercentCPU)" Error="Error" Sev="1" ReportIssue="Issue" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
									<Rule Name="szBadUser" Query="if($fFoundHighCPUUser or $fFoundHighOpsUser, string($szUserName))"/>
								</Setting>
								<Setting Key1="__NAME">
									<Rule Name="szUserName" Query="$."/>
									<Rule Name="szUserCPU" Query="ifnumber($.)" Text="使用者 '{0}' 正在使用 {1}% 的 CPU 時間專門來處理 RPC。" P0="$." P1="round($iPercentCPU)" Error="None"/>
								</Setting>
								<!-- Determine the next steps -->
								<Rule Name="szListOfUsers" Query="join('#xef',$szBadUser)">
									<Variable Name="ListOfUsers" Scope="Children"/>
								</Rule>
								<Rule Name="szListOfUsersSpaced" Query="join(', ',$szBadUser)"/>
								<Rule Query="@S1" S1="%ETLFILE%">
									<Variable Name="ETLFILE" Scope="Children"/>
								</Rule>
								<Rule Query="$iETLDuration">
									<Variable Name="SAMPLESECONDS" Scope="Children"/>
								</Rule>
								<Rule Name="iTotalCPUOfTopUsers" Query="sum($iPercentCPU)"/>
								<Rule Name="fTotalCPUOfTopUsersText" Query="not($fHighTotalCPUOfTopUsers)" Text="前 6 名使用者佔據了伺服器上 {1}% 的 MAPI CPU 使用量。" P1="round(100*sum($iPercentCPU)) div 100"/>
								<Rule NextStep="InvestigateHighCPUUsers" Query="$fBadUserFound" Text="- 調查下列使用者的活動: {1}。" Display="Hide" P1="$szListOfUsersSpaced"/>
								<Rule NextStep="InvestigateDistributedProblem" Query="$fIsDistributedProblem" Text="- 調查高負載是否是由特定類型的作業所造成。" Display="Hide"/>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InvestigateHighCPUUsers" Title="活動最頻繁的使用者" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%ETLFILE%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%ListOfUsers%" Substitution="LISTOFUSERS" Display="Hide"/>
			<Setting Key1="%SAMPLESECONDS%" Substitution="SAMPLESECONDS" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%EXMONTIMERANGE%" Substitution="EXMONTIMERANGE" Display="Hide"/>
			<Object Type="Progress" Text="工具正在檢查特定使用者的 RPC 活動，請稍候。" Title="高活動使用者的 RPC 活動檢查" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- STEP InvestigateHighCPUUsers -->
				<!-- Goal 1, part 2: Find out what ops the user is doing... is it expected high load, or unusual? -->
				<Object Type="Group" Name="Detailed User Activity Analysis" Class="區域" GroupingClass="True">
					<Rule Name="fDisplayHighCPUUsersStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szHighCPUUsers" Query="'InvestigateHighCPUUsers'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonUserAnalysis" Query="string(@Title)" Title="作用中使用者的 ExMon RPC 分析結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Query="if($fUserIssueFound,'',string(@Title))" Title="未發現這些使用者的活動有已知問題。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fUserIssueFound" Query="$fAbnormalHighUsagebyUser" Error="Error" ReportIssue="Summary" Title="找到使用者活動的可能問題" Text="識別出特定使用者活動可能有問題。" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8" AlwaysEvaluate="True"/>
					<Rule Name="fNotUserIssueFound" Query="not($fUserIssueFound)" Title="找不到使用者活動的已知問題" Text="雖然某些使用者呈現高 RPC 速率，但並未識別出特定使用者的活動有已知問題。" Error="None" ReportIssue="Summary" AlwaysEvaluate="True"/>
					<Object Type="Group" Name="%EXMONTIMERANGE%" Class="時間範圍" GroupingClass="True">
						<Object Type="Cache" Name="Problem Users" Key1="Add" Key2="ListOfUsers" Key3="%LISTOFUSERS%" Key4="#xef" Class="作用中使用者" GroupingClass="True">
							<Setting Substitution="USER" Display="Hide"/>
							<Object Type="Group" Name="%USER%, Top MAPI ops sorted by CPU usage">
								<Object Type="ExMon" Key1="" Key2="%ETLFILE%" Key4="-cmsecCPU" Key5="3" Key3="Op:User=%USER%">
									<Setting Key1="cmsecCPU">
										<Rule Name="imsCPUperSec" Query="$. div @S1" S1="%SAMPLESECONDS%"/>
										<Rule Name="fBadOp" Query="$iBusyUserPercentCPU &gt; 30 or $imsCPUperSec &gt; 5"/>
									</Setting>
									<Setting Key1="pctCPU">
										<Rule Name="iBusyUserPercentCPU" Query="round($.*100) div 100"/>
									</Setting>
									<Setting Key1="__NAME" Substitution="NAME"/>
									<Setting Key1="cOps" Substitution="COPS"/>
									<Setting Key1="__ROP">
										<Rule Name="fCPUUsageSummary" Query="$iBusyUserPercentCPU &gt; 4" Text="使用者 '{3}' 的 MAPI 作業 &quot;{4}&quot; 正在使用 {0}% 的 CPU。使用者發出了 {1} 個此類型的要求。" P0="$iBusyUserPercentCPU" S1="%COPS%" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserHighFindRowUsage" Query="$. = 79 and $fBadOp" Title="MAPI 限制造成高 CPU 使用量" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 造成此伺服器上的高負載。此使用者所發出的 FindRow 要求佔據了 {0}% 的 RPC 處理器使用量。這表示使用者有大量的項目在 FindRow 操作的資料夾內。請考慮減少每個資料夾的項目數。" P0="$iBusyUserPercentCPU" S3="%USER%" Error="Error" Sev="2" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserHighRestrictUsage" Query="$. = 20 and $fBadOp" Title="MAPI 限制造成高 CPU 使用量" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 造成此伺服器上的高負載。此使用者所發出的限制佔據了 {0}% 的 RPC 處理器使用量。'Restrict' 作業可能會造成在伺服器上建立檢視。請考慮將此使用者升級為 Outlook 快取模式。" P0="$iBusyUserPercentCPU" S3="%USER%" Error="Error" Sev="2" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserHighSetColumnsUsage" Query="$. = 18 and $fBadOp" Title="MAPI SetColumns 造成高 CPU 使用量" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 可能正在建置新檢視，這造成此伺服器上的高負載。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iBusyUserPercentCPU" S3="%USER%" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserBulkOp" Query="not($fBadOp) and ($. = 30 or $. = 51 or $. = 102)" Title="高用量的 MAPI 大量作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行類型 MAPI 作業 &quot;{4}&quot; 的一般大量作業。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserSyncOp" Query="not($fBadOp) and ($. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Title="高用量的 MAPI 同步作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行類型 MAPI 作業 &quot;{4}&quot; 的一般同步作業。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOnlineOp" Query="not($fBadOp) and ($. = 3 or $. = 7 or $. = 10 or $. = 12 or $. = 20 or $. = 21 or $. = 23 or $. = 44 or $. = 79)" Title="高用量的 MAPI 線上動作" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行類型 MAPI 作業 &quot;{4}&quot; 的線上作業。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOddBulkOp" Query="$fBadOp and ($. = 30 or $. = 51 or $. = 102)" Title="高用量的 MAPI 大量作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行類型 MAPI 作業 &quot;{4}&quot; 的大量作業。這佔據了此使用者 {0}% 的 RPC 處理器使用量。通常大量作業的成本非常高昂，但為期很短。它們通常不表示有問題。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOddSyncOp" Query="$fBadOp and ($. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Title="高用量的 MAPI 同步作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行類型 MAPI 作業 &quot;{4}&quot; 的同步作業。這佔據了此使用者 {0}% 的 RPC 處理器使用量。通常同步作業的成本非常高昂，但為期很短。它們通常不表示有問題。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserOddOnlineOp" Query="$fBadOp and ($. = 3 or $. = 7 or $. = 10 or $. = 21 or $. = 23 or $. = 44 )" Title="高用量的 MAPI 線上作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行類型 MAPI 作業 &quot;{4}&quot; 的線上作業。這佔據了此使用者 {0}% 的 MAPI CPU 負載。當單一 MAPI 作業類型造成高百分比的負載時，這可能表示使用者在執行效能不佳的應用程式。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserSaveChangesMessages" Query="$fBadOp and ($. = 12)" Title="高用量的 MAPI 線上作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行成本高昴的 MAPI 作業 &quot;{4}&quot;。這佔據了此使用者 {0}% 的 RPC 處理器使用量。通常此作業的成本非常高昂，但為期很短。它通常不表示有問題。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%"/>
										<Rule Name="fBusyUserTaskQUserKnown" Query="$fBadOp and ($. = 202)" Title="高用量的 TaskQ 作業" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出使用者 '{3}' 正在執行成本高昂的 MAPI 作業 &quot;{4}&quot;。此作業佔據了此使用者 {0}% 的 RPC 處理器使用量。如果您看到此作業與 MAPI 作業 'QueryRows' 一起出現，則表示用戶端可能正在要求大量的項目，或是要求每個項目的大量內容。當與 'MoveCopyMessages'、'DeleteMessages' 或其他大量 MAPI 作業一起使用時，此作業出現高成本是正常現象。" Error="Warning" Sev="1" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
										<Rule Name="fBusyUserOtherTypeofOp" Query="$fBadOp and not($fBusyUserBulkOp or $fBusyUserSyncOp or $fBusyUserOnlineOp or $fBusyUserOddBulkOp or $fBusyUserOddSyncOp or $fBusyUserOddOnlineOp or $fBusyUserSaveChangesMessages or $fBusyUserTaskQUserKnown or $fBusyUserHighRestrictUsage) and not($. = 200 or $. = 201)" Title="高用量的 MAPI 作業" Text="使用者 '{3}' 的 MAPI 作業 &quot;{4}&quot; 造成高 RPC 負載。當單一 MAPI 作業類型造成高百分比的負載時，表示使用者可能正在執行效能不佳的應用程式。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iBusyUserPercentCPU" S3="%USER%" S4="%NAME%" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
									</Setting>
									<Rule Name="fAbnormalHighUsagebyUser" Query="$fBusyUserOtherTypeofOp or $fBusyUserOddBulkOp or $fBusyUserOddOnlineOp or $fBusyUserHighRestrictUsage or $fBusyUserHighSetColumnsUsage" Title="異常的使用者活動" Text="請進一步調查使用者 '{0}' 的電子郵件活動。" S0="%USER%" Error="Error" Sev="1" ReportIssue="Issue" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
									<Rule Name="fNormalUsagebyUser" Query="not($fAbnormalHighUsagebyUser)" Title="線上 RPC 作業數偏高" Text="使用者 '{0}' 的 RPC 活動似乎正常。" S0="%USER%" ReportIssue="Issue"/>
								</Object>
							</Object>

							<!-- Look for a large number of failures -->
							<Object Type="Group" Name="%USER%, MAPI operations sorted by number of failures">
								<Object Type="ExMon" Name="%USER%, by number of failures" Key1="" Key2="%ETLFILE%" Key4="-cOpsFailed" Key5="5" Key3="Op:User=%USER%">
									<Setting Key1="cOps">
										<Rule Name="iUsercOps" Query="$."/>
									</Setting>
									<Setting Key1="pctCPU">
										<Rule Name="iUserFailedCPU" Query="round($.*100) div 100"/>
									</Setting>
									<Setting Key1="cOpsFailed">
										<Rule Name="fUserSummaryOfFailures" Query="$iUserFailedCPU &gt; 4 and $. * 100 div $iUsercOps &gt; 5" Error="Warning" Title="MAPI 作業失敗率" Text="{0}% 的 MAPI 作業 &quot;{4}&quot; 失敗。" P4="$szUserOpName" P0="round($. * 100 div $iUsercOps)" GUID="47e41cad-c842-4914-adf1-2816c6a7c63b"/>
										<Rule Name="fUserHighFailures" Query="$. &gt; 0.20 * $iUsercOps and $. &gt; 20 and $iUsercOps &gt; 0 and $iUserFailedCPU &gt; 4 and not($szUserOpNumber = 2 or $szUserOpNumber = 3 or $szUserOpNumber = 43 or $szUserOpNumber = 79 or $szUserOpNumber = 86 or $szUserOpNumber = 97 or $szUserOpNumber = 120 or $szUserOpNumber = 254)" Title="大量的 RPC 失敗" Text="使用者 '{1}' 的 RPC 發生大量失敗。{3} 個作業中有 {2} 個作業失敗。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iUserFailedCPU" S1="%USER%" P2="$." P3="$iUsercOps" Error="None" Sev="1" GUID="47e41cad-c842-4914-adf1-2816c6a7c63b"/>
										<Rule Name="fUserReallyHighFailures" Query="$. &gt; 0.50 * $iUsercOps and $. &gt; 20 and $iUserFailedCPU &gt; 4 and not($szUserOpNumber = 120 or $szUserOpNumber = 97 or $szUserOpNumber = 79)" Title="大量的 RPC 失敗" Text="使用者 '{1}' 的 RPC 發生大量失敗。{3} 個作業中有 {2} 個作業失敗。這佔據了此使用者 {0}% 的 RPC 處理器使用量。" P0="$iUserFailedCPU" S1="%USER%" P2="$." P3="$iUsercOps" Error="None" Sev="1" GUID="47e41cad-c842-4914-adf1-2816c6a7c63b"/>
										<Rule Name="iUserOpsFailed" Query="$."/>
									</Setting>
									<Setting Key1="__ROP">
										<Rule Name="szUserOpNumber" Query="$."/>
									</Setting>
									<Setting Key1="__NAME">
										<Rule Name="szUserOpName" Query="$."/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="InvestigateDistributedProblem" Title="依 MAPI 作業的使用者活動" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%ETLFILE%" Substitution="ETLFILE" Display="Hide"/>
			<Setting Key1="%LISTOFUSERS%" Substitution="LISTOFUSERS" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="工具正在判定高負載是否由特定 RPC 作業所造成，請稍候" Title="RPC 活動檢查" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- Goal 2, part 1: Determine if the high load is due to a particular operation. (ONLY if distributed) -->
				<Object Type="Group" Name="User Activity by MAPI Operation" Display="Hide">

					<Rule Name="fDisplayDistributedProblemStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDistributedProblem" Query="'InvestigateDistributedProblem'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayExMonDistributedRPCAnalysis" Query="string(@Title)" Title="分散式 RPC 負載的 ExMon RPC 分析結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szError4" Query="string(@Title)" Title="已識別出可能與伺服器上的 RPC 活動有關的問題。"/>

					<Rule Query="if($fDistributedIssueFound,$szError4, string(@Title))" Title="未發現 RPC 負載有已知問題。雖然部分 RPC 作業可能正耗用大量的 CPU 資源，但這不一定表示有效能問題。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fDistributedIssueFound" Query="$fOddOpsFound or $fHighFailuresFound" Title="找到可能的 RPC 活動問題" Text="識別出部分 MAPI 作業的 RPC 活動可能有問題。" Error="Error" ReportIssue="Summary" GUID="b543f97f-53a6-4b94-8d1d-89e7fe56c9c8"/>
					<Rule Name="fNotIssueFound" Query="not($fDistributedIssueFound)" Title="找不到 RPC 活動的問題" Text="找不到已知的 CPU 負載問題。雖然部分 RPC 作業可能在耗用大量的 CPU 資源，但這不一定表示有效能問題。" Error="None" ReportIssue="Summary"/>

					<Rule Name="fNoIssuesFound" Query="not($fOddOpsFound)" Text="找不到已知的效能問題。"/>

					<Object Type="ExMon" Name="RPC load by MAPI operation" Key1="" Key2="%ETLFILE%" Key3="Op" Key4="-cmsecCPU" Key5="5" Class="MAPI 作業" GroupingClass="True">
						<Setting Key1="pctCPU">
							<Rule Name="iOpPercentCPU" Query="round($.*100) div 100"/>
							<Rule Name="fBadRPCOp" Query="$. &gt; 40"/>
						</Setting>
						<Setting Key1="__NAME" Substitution="NAME"/>
						<Setting Key1="__ROP">
							<Rule Name="szCPUOpUsageSummary" Query="$iPercentCPU &gt; 4" Text="作業的 CPU 使用量: MAPI 作業 &quot;{4}&quot; 佔據了 {0}%" P0="$iPercentCPU" S4="%NAME%"/>
							<Rule Name="fHighRestrictUsage" Query="$. = 20 and $fBadRPCOp" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端限制造成此伺服器上的高負載。限制佔據了用於處理 RPC 要求之處理器使用量的 {0}% 。在大量信箱移動之後不久，預期會出現此狀況。如果您最近沒有移動信箱，請進行調查。" Title="MAPI 限制造成伺服器上的高負載" P0="$iOpPercentCPU" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fHighFindRowUsage" Query="$. = 79 and $fBadRPCOp" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端限制造成此伺服器上的高負載。FindRow 限制佔據了用於處理 RPC 要求之處理器使用量的 {0}%。減少每個資料夾的項目計數可以減少 FindRow 作業的成本。" Title="MAPI FindRow 限制造成伺服器上的高負載" P0="$iOpPercentCPU" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fHighSetColumnsUsage" Query="$. = 18 and $fBadRPCOp" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在建置新檢視，這造成此伺服器上的高負載。這佔據了用於處理 RPC 要求之處理器使用量的 {0}%。" Title="MAPI SetColumns 造成伺服器上的高負載" P0="$iOpPercentCPU" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fBulkOp" Query="not($fBadRPCOp) and ($. = 30 or $. = 51 or $. = 102)" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在執行大量作業。大量作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。" P0="$iOpPercentCPU" Error="None" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fSyncOp" Query="not($fBadRPCOp) and ($. = 30 or $. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在執行同步作業。MAPI 作業 &quot;{4}&quot; 的同步作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。" P0="$iOpPercentCPU" S4="%NAME%" Error="None" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOnlineOp" Query="not($fBadRPCOp) and ($. = 12 or $. = 3 or $. = 7 or $. = 10 or $. = 12 or $. = 20 or $. = 21 or $. = 23 or $. = 44 or $. = 79)" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在執行線上作業。MAPI 作業 &quot;{4}&quot; 的線上作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。" P0="$iOpPercentCPU" S4="%NAME%" Error="None" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddBulkOp" Query="$fBadRPCOp and ($. = 30 or $. = 51 or $. = 102)" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在執行成本高昂的大量作業。這些作業可能會造成大量的伺服器負載，導致其他使用者的效能低落。MAPI 作業 &quot;{4}&quot; 的大量作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。" P0="$iOpPercentCPU" S4="%NAME%" Error="Error" Sev="1" Title="大量 RPC 作業數偏高" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddSyncOp" Query="$fBadRPCOp and ($. = 30 or $. = 75 or $. = 78 or $. = 114 or $. = 116 or $. = 117 or $. = 118 or $. = 119 or $. = 120 or $. = 128)" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在執行同步作業。MAPI 作業 &quot;{4}&quot; 的同步作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。" P0="$iOpPercentCPU" S4="%NAME%" Error="Error" Sev="1" Title="RPC 同步作業數偏高" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddOnlineOp" Query="$fBadRPCOp and ($. = 3 or $. = 7 or $. = 10 or $. = 12 or $. = 21 or $. = 23 or $. = 44)" Text="Exchange Server 使用者監視器 (ExMon) RPC 資料指出用戶端正在執行線上作業。MAPI 作業 &quot;{4}&quot; 的線上作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。當單一 MAPI 作業類型造成高百分比的負載時，可能表示使用者在執行效能不佳的應用程式。" P0="$iOpPercentCPU" S4="%NAME%" Title="線上 RPC 作業數偏高" Error="Error" Sev="1" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOtherTypeofOp" Query="$fBadRPCOp and not($fBulkOp or $fSyncOp or $fOnlineOp or $fOddBulkOp or $fOddSyncOp or $fOddOnlineOp) and not($. = 200 or $. = 201)" Title="單一 MAPI 作業類型造成高百分比的負載" Text="MAPI 作業 &quot;{4}&quot; 的 RPC 作業佔據了用於處理 RPC 要求之處理器使用量的 {0}%。當單一 MAPI 作業類型造成高百分比的負載時，這可能表示使用者在執行效能不佳的應用程式。" Error="Error" P0="$iOpPercentCPU" S4="%NAME%" ReportIssue="Issue" GUID="ba59109a-085b-4864-9f5c-c31c0420453e"/>
							<Rule Name="fOddOpsFound" Query="$fOddSyncOp or $fOddOnlineOp or $fOddBulkOp"/>
						</Setting>
					</Object>

					<!-- Look for a large number of failures -->
					<Object Type="ExMon" Name="MAPI operation errors" Key1="" Key2="%ETLFILE%" Key3="Op" Key4="-cOpsFailed" Key5="5">
						<Setting Key1="cOps">
							<Rule Name="icOps" Query="$."/>
						</Setting>
						<Setting Key1="pctCPU">
							<Rule Name="iFailedCPU" Query="round($.*100) div 100"/>
							<Rule Name="fBadFailedRPCOp" Query="$. &gt; 20 and $icOps &gt; 0 and $. &gt; 20"/>
						</Setting>
						<Setting Key1="cOpsFailed">
							<Rule Name="szSummaryOfFailures" Query="$iFailedCPU &gt; 4" Text="{0}% 的 MAPI 作業 &quot;{4}&quot; 失敗了。此作業的失敗總數為 {2}。" P0="round($. * 100 div $icOps)" P4="$szOpName" P2="$."/>
							<Rule Name="fHighFailures" Query="$. &gt; 0.20 * $icOps and $fBadFailedRPCOp and not($szOpNumber = 2 or $szOpNumber = 3 or $szOpNumber = 43 or $szOpNumber = 79 or $szOpNumber = 86 or $szOpNumber = 97 or $szOpNumber = 120 or $szOpNumber = 254)" Title="大量的 RPC 失敗" Text="找到大量的 RPC 失敗。"/>
							<Rule Name="fReallyHighFailures" Query="$. &gt; 0.50 * $icOps and $fBadFailedRPCOp and not($szOpNumber = 120 or $szOpNumber = 97 or $szOpNumber = 79)" Title="大量的 RPC 失敗" Text="找到大量的 RPC 失敗。"/>
							<Rule Name="iOpsFailed" Query="$."/>
						</Setting>
						<Setting Key1="__ROP">
							<Rule Name="szOpNumber" Query="$."/>
						</Setting>
						<Setting Key1="__NAME">
							<Rule Name="szOpName" Query="$."/>
						</Setting>
						<Rule Name="fHighFailuresFound" Query="count($fHighFailures) &gt; 0 or count($fReallyHighFailures) &gt; 0 "/>



						<!-- TODO report that nothing unusual was found. -->
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MiscBasicChecks" Title="效能追蹤檢查" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="工具正在檢查 %SERVER% 是否正在執行 RegTrace 或儲存區追蹤，請稍候。" Title="其他檢查" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<!-- Add openmessage counts, event log checks here temporarily -->
				<Object Type="Group" Name="Performance Tracing Checks" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayMiscBasicCheckStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szMiscBasicChecks" Query="'MiscBasicChecks'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szRegTraceCheck" Query="string(@Title)" Title="追蹤檢查">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szError5" Query="string(@Title)" Title="已識別出可能與追蹤有關的問題。"/>
					<Rule Query="if($fRegTraceActiveEnabledTraces or $fEnableTracing,$szError5,string(@Title))" Title="未識別出與追蹤有關的問題。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Object Type="Registry" Key1="%SERVER%" Key3="Software\Microsoft\MosTrace\CurrentVersion\DebugAsyncTrace">
						<Setting Key1="EnabledTraces">
							<Rule Name="fRegTraceActiveEnabledTraces" Query="$.!=0" Error="Error" Sev="2" Title="已啟用 RegTrace" Text="伺服器 {2} 上目前啟用了 RegTrace。這只應在疑難排解問題時才啟用。繼續啟用追蹤可能會造成效能問題。" S2="%SERVER%" GUID="90b3eb47-ad77-4ae4-87b0-8d8ac5b575fb" ReportIssue="Issue"/>
						</Setting>
					</Object>
					<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem">
						<Setting Key1="Enable Tracing">
							<Rule Name="fEnableTracing" Query="$.&gt;0" Error="Warning" Sev="2" Title="已啟用儲存區追蹤" Text="已針對伺服器 {2} 上的儲存區處理程序啟用追蹤。這可能會對效能有不利的影響。" S2="%SERVER%" ReportIssue="Issue" GUID="f77ea24e-5482-4ce9-86a7-60bcd0d71614"/>
						</Setting>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="MainPerfCounters" Title="記憶體及處理器健康狀況" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%iRPCOpRate%" Substitution="RPCOpRate" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%f3GB%" Substitution="f3GB" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="工具正在分析 %SERVER% 上的處理器及記憶體效能資料，請稍候。這將耗費幾分鐘的時間。" Title="正在分析處理器和記憶體效能資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Memory and Processor Health" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayMainPerfCountsStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szCorePerfCounts" Query="string(@Title)" Title="記憶體及處理器計數器結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szMainPerfCounters" Query="'MainPerfCounters'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="fIssueFound" Query="$fProcessorBottleneckFound or $fMemoryBottleneckFound" AlwaysEvaluate="True"/>
					<Rule Name="fWarningFound" Query="$fWarnMemoryBottleneckFound or $fProcessorWarningFound or $fProcessorWarningFound2" AlwaysEvaluate="True"/>
					<Rule Name="fErrorFound" Query="$fPerfCounterErrorFound" AlwaysEvaluate="True"/>

					<Rule Name="fProcessorBottleneckFound" Query="$fProcessorProblemFound" AlwaysEvaluate="True" Title="找到處理器瓶頸" Text="伺服器正呈現處理器瓶頸。" Error="Error" ReportIssue="Summary"/>
					<Rule Name="fHighProcessFound" Query="$fNoProcessorBottleneckGetProcess" AlwaysEvaluate="True" Title="找到非 Exchange 的高處理器使用量" Text="雖然伺服器未呈現處理器瓶頸，但非 Exchange Server 處理程序耗用了大量的 CPU。" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fMemoryBottleneckFound" Query="$fHMemoryProblemFound or $fKMemoryProblemFound or $fMemoryProblemFound or $fVMemoryProblemFound" AlwaysEvaluate="True" Title="找到記憶體瓶頸" Text="伺服器 {0} 正呈現記憶體瓶頸。" S0="%SERVER%" Error="Error" ReportIssue="Summary"/>
					<Rule Name="fWarnMemoryBottleneckFound" Query="$fKMemoryWarningFound and not($fMemoryBottleneckFound)" AlwaysEvaluate="True" Title="找到可能的記憶體問題" Text="在伺服器 {0} 上找到有可能與記憶體用量有關的效能問題。" S0="%SERVER%" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fWarnProcessorBottleneckFound" Query="$fProcessorWarningFound or $fProcessorWarningFound2 and not($fProcessorBottleneckFound)" AlwaysEvaluate="True" Title="找到處理器問題" Text="伺服器可能正呈現處理器瓶頸; 找到可能有與處理器使用量有關的問題。" Error="Warning" ReportIssue="Summary"/>

					<Rule Name="fNoIssueFound" Query="not($fIssueFound) and not($fWarningFound) and not($fErrorFound)" Error="None" ReportIssue="Summary" Title="找不到處理器或記憶體瓶頸" Text="在伺服器 {0} 上找不到處理器或記憶體瓶頸。" S0="%SERVER%" AlwaysEvaluate="True"/>
					<Rule Name="fMemIssueText" Query="if($fMemoryBottleneckFound,string(@Title))" Title="伺服器正呈現記憶體瓶頸。"/>
					<Rule Name="fProcIssueText" Query="if($fProcessorBottleneckFound,string(@Title))" Title="伺服器正呈現處理器瓶頸。"/>

					<Rule Name="fProcessorBottleneckGetProcess" NextStep="GetHighestCPUProcess" Query="$fWarnProcessorBottleneckFound or $fProcessorBottleneckFound" Text="- 此工具現在將調查正在耗用 CPU 的處理程序。" Display="Hide"/>
					<Rule Name="fNoProcessorBottleneckGetProcess" NextStep="GetHighestCPUProcess" Query="$fHighProcessUnaccountedAndNoBottleneck" Text="- 雖然未發現處理器瓶頸，但此工具將調查耗用大量 CPU 的處理程序。" Display="Hide"/>
					<Rule Query="if($fErrorFound,string(@Title),'')" Title="收集效能計數器時發生問題。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>

					<!-- Set up the variable to say whether or not a processor problem was found -->
					<Rule Name="fFindProcessProblem" Query="$fProcessorBottleneckFound or $fWarnProcessorBottleneckFound" AlwaysEvaluate="True">
						<Variable Name="VARfProcessorProblem" Scope="Children"/>
					</Rule>

					<!-- Get a little info about the machine's processors -->
					<Object Type="WMI" Key1="%SERVER%" Key3="Win32_ComputerSystem" SecurityContext="EXLOGON">
						<Setting Key1="NumberOfProcessors">
							<Rule Name="iRealProcs" Query="$." Error="None" Text="此伺服器安裝了 {9} 個處理器。" P9="$.">
								<Variable Name="NUMBEROFPROCESSORS" Scope="Global"/>
							</Rule>
							<Rule Name="fNumRealProcsOver8" Query="$. &gt; 8" Error="Warning" Sev="3" Title="處理器組態" Text="偵測到 Exchange 伺服器 {2} 有 8 個以上的處理器。如果此伺服器已安裝 8 個以上的實體處理器，可能需要額外的組態調整。如果此伺服器是使用超執行緒技術，就不需採取任何動作。偵測到 {9} 個 CPU。" S2="%SERVER%" P9="$." GUID="a59de247-8f05-419d-a4ea-fc4973788863" ReportIssue="Issue"/>
							<Rule Name="fProcessorWarningFound" Query="$fNumRealProcsOver8" AlwaysEvaluate="True"/>
						</Setting>
					</Object>
					<Object Type="WMI" Name="DeviceID" Key1="%SERVER%" Key3="Win32_Processor">
						<Setting Key1="MaxClockSpeed">
							<Rule Name="iMaxClockSpeed" Query="$."/>
						</Setting>
						<Setting Key1="CurrentClockSpeed">
							<Rule Name="iCurrentClockSpeed" Query="$." Text="伺服器 {2} 上目前的處理器速度為 {9}。" S2="%SERVER%" Error="None" P9="$."/>
						</Setting>
					</Object>

					<!-- First measure main system performance counters -->
					<Object Type="Cache" Name="Memory and Processor Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Memory and Processor health during the time range: %szTIMERANGE%">

								<!--- Measure PROCESSOR health -->
								<Rule Name="iMCCPUPerRPCOP" Query="if(@S1 &gt; 0,$iProcessorPercentProcessorTimeTotalAvg * $iCurrentClockSpeed * $iRealProcs div (100* @S1))" Text="此伺服器上每個 RPC 作業所需的處理器 Megacycles 平均數為 {3} 個 MC/RPC 作業。" S1="%RPCOpRate%" P3="round($iProcessorPercentProcessorTimeTotalAvg * $iCurrentClockSpeed * $iRealProcs div @S1) div 100"/>

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="Processor" Timeout="%1000">
									<Rule Name="fFailedToReadProcessorData" Query="not($iProcessorPercentProcessorTimeTotalAvg) and not($fProcessorDataNotInFile)" Error="Error" Title="無法從檔案擷取效能計數器資料" Text="無法從檔案 {0} 中擷取處理器及記憶體效能計數器資料。讀取檔案時發生未指定的錯誤。" S0="%szPDHFILE%" AlwaysEvaluate="True"/>
									<Rule Name="fProcessorDataNotInFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取處理器效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>
									<Setting Key1="System" Key2="Context Switches/sec" Key3="" Format="Average">
										<Rule Name="iProcessorContextSwitchespersec" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('System\Context Switches/sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Average">
										<Rule Name="iProcessorPercentProcessorTimeTotalAvg" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('Processor(_Total)\% Processor Time')" P9="roundto($.,1)"/>
									</Setting>
									<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Max">
										<Rule Name="iProcessorProcessorTimeTotalMax" Query="ifnumber($.,roundto($.,1))" Text="最大 '{0}' = {9}。" P0="localize-path('Processor(_Total)\% Processor Time')" P9="roundto($.,1)"/>
									</Setting>
									<Setting Key1="System" Key2="Processor Queue Length" Key3="" Format="Average">
										<Rule Name="iSystemProcessorQueueLength" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('System\Processor Queue Length')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="Idle" Format="Average">
										<Rule Name="iProcessIdleProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(Idle)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="_Total" Format="Average">
										<Rule Name="iProcessTotalProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(_Total)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>

									<Setting Key1="Process" Key2="% Processor Time" Key3="store" Format="Average">
										<Rule Name="iProcessStoreProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(store)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="inetinfo" Format="Average">
										<Rule Name="iProcessInetinfoProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(inetinfo)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="emsmta" Format="Average">
										<Rule Name="iProcessEmsmtaProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(emsmta)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="lsass" Format="Average">
										<Rule Name="iProcessLsassProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(lsass)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="mad" Format="Average">
										<Rule Name="iProcessMadProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(mad)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="System" Format="Average">
										<Rule Name="iProcessSystemProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(System)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="w3wp" Format="Average">
										<Rule Name="iProcessW3wpProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(w3wp)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>
									<Setting Key1="Process" Key2="% Processor Time" Key3="exmgmt" Format="Average">
										<Rule Name="iProcessExmgmtProcessorTime" Query="ifnumber($.,roundto($. div $iRealProcs,1))" Text="平均 '{0}' = {9}。" P0="localize-path('Process(exmgmt)\% Processor Time')" P9="roundto($. div $iRealProcs,1)"/>
									</Setting>

									<Rule Name="fProcessorContextSwitchespersec20000" Query="ifnumber($iProcessorContextSwitchespersec,not($iProcessorContextSwitchespersec &lt; 20000))" Error="Error" Sev="1" ReportIssue="Issue" Title="處理器內容切換效能問題" Text="'{0}' 的平均值為 {9}，高於 {8} 的建議上限。這表示伺服器有處理器瓶頸。" P0="localize-path('System\Context Switches/sec')" S8="20000" P9="$iProcessorContextSwitchespersec" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessorProcessorTimeTotal90always" Query="ifnumber($iProcessorPercentProcessorTimeTotalAvg,not($iProcessorPercentProcessorTimeTotalAvg &lt; 90))" Error="Error" Sev="1" ReportIssue="Issue" Title="處理器效能問題" Text="'{0}' 的平均值應該一律低於 {8}%。測量到的值為 {9}%。這表示伺服器有處理器瓶頸。" P0="localize-path('Processor(_Total)\% Processor Time')" S8="90" P9="round($iProcessorPercentProcessorTimeTotalAvg)" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessorProcessorTimeTotal70always" Query="ifnumber($iProcessorPercentProcessorTimeTotalAvg,not($iProcessorPercentProcessorTimeTotalAvg &lt; 70) and not($fProcessorProcessorTimeTotal90always))" Error="Warning" Sev="1" ReportIssue="Issue" Title="高處理器使用量效能問題" Text="Aceepersecond 的平均值應該一律低於 6%，最好低於 5%。測量到的值為 3%。" P0="localize-path('Processor(_Total)\% Processor Time')" S7="70" S8="90" P9="round($iProcessorPercentProcessorTimeTotalAvg)" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fSystemProcessorQueueLength2" Query="ifnumber($iSystemProcessorQueueLength,ifnumber($iProcessorPercentProcessorTimeTotalAvg,not($iSystemProcessorQueueLength &lt; 2) and $iProcessorPercentProcessorTimeTotalAvg &gt; 50))" Error="Error" Sev="1" ReportIssue="Issue" Title="處理器佇列效能問題" Text="'{0}' 的平均值應該少於 {8}。測量到的值為 {9}。這表示伺服器有處理器瓶頸。" P0="localize-path('System\Processor Queue Length')" S8="2" P9="$iSystemProcessorQueueLength" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessStoreProcessorTime90" Query="ifnumber($iProcessStoreProcessorTime,not($iProcessStoreProcessorTime &lt; 90))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="'{0}' 的平均值應該少於 {8}%。實際測量到的處理器使用量為 {9}%" P0="localize-path('Process(store)\% Processor time')" S4="store" S8="90" P9="$iProcessStoreProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessInetinfoProcessorTime20" Query="ifnumber($iProcessInetinfoProcessorTime,not($iProcessInetinfoProcessorTime &lt; 20 * $iRealProcs))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 的平均值應該少於 {8}%。實際測量的處理器使用量為 {9}%。如果此伺服器也是前端伺服器，那麼這還算正常。" P0="localize-path('Process(inetinfo)\% Processor time')" S4="inetinfo" P8="20*$iRealProcs" P9="$iProcessInetinfoProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessEmsmtaProcessorTime40" Query="ifnumber($iProcessEmsmtaProcessorTime,not($iProcessEmsmtaProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 的平均值應該少於 {8}%。實際測量到的處理器使用量為 {9}%。" P0="localize-path('Process(emsmta)\% Processor time')" S4="emsmta" S8="40" P9="$iProcessEmsmtaProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessSystemProcessorTime40" Query="ifnumber($iProcessSystemProcessorTime,not($iProcessSystemProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 的平均值應該少於 {8}%。實際測量到的處理器使用量為 {9}%。" P0="localize-path('Process(System)\% Processor time')" S4="System" S8="40" P9="$iProcessSystemProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessLsassProcessorTime40" Query="ifnumber($iProcessLsassProcessorTime,not($iProcessLsassProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 應該少於 {8}%。實際測量到的處理器使用量為 {9}%。" P0="localize-path('Process(lsass)\% Processor time')" S4="lsass" S8="40" P9="$iProcessLsassProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessMadProcessorTime40" Query="ifnumber($iProcessMadProcessorTime,not($iProcessMadProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 應該少於 {8}%。實際測量到的處理器使用量為 {9}%。" P0="localize-path('Process(mad)\% Processor time')" S4="mad" S8="40" P9="$iProcessMadProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
									<Rule Name="fProcessExmgmtProcessorTime20" Query="ifnumber($iProcessExmgmtProcessorTime,not($iProcessExmgmtProcessorTime &lt; 20))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 應該少於 {8}%。實際測量到的處理器使用量為 {9}%。" P0="localize-path('Process(exmgmt)\% Processor time')" S4="exmgmt" S8="20" P9="$iProcessExmgmtProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>

									<Rule Name="fProcessW3wpProcessorTime40" Query="ifnumber($iProcessW3wpProcessorTime,not($iProcessW3wpProcessorTime &lt; 40))" Error="Error" Sev="1" ReportIssue="Issue" Title="'{4}' 處理程序處理器效能問題" Text="後端伺服器的 '{0}' 應該少於 {8}%。實際測量到的處理器使用量為 {9}%。如果此伺服器也擔任前端伺服器，那麼較高的處理器使用量還算正常。" P0="localize-path('Process(w3wp)\% Processor time')" S4="w3wp" S8="40" P9="$iProcessW3wpProcessorTime" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
									<Rule Name="iProcessUnaccounted" Query="round($iProcessTotalProcessorTime - $iProcessIdleProcessorTime - $iProcessStoreProcessorTime - $iProcessInetinfoProcessorTime - $iProcessEmsmtaProcessorTime - $iProcessLsassProcessorTime - $iProcessMadProcessorTime - $iProcessW3wpProcessorTime - $iProcessExmgmtProcessorTime)" Text="{1}% 的處理器時間是花在 store.exe、inetinfo.exe、emsmta.exe、lsass.exe、w3wp.exe、exmgmt.exe 或 mad.exe 處理程序以外的處理程序。" P1="round($iProcessTotalProcessorTime - $iProcessIdleProcessorTime - $iProcessStoreProcessorTime - $iProcessInetinfoProcessorTime - $iProcessEmsmtaProcessorTime - $iProcessLsassProcessorTime - $iProcessMadProcessorTime - $iProcessW3wpProcessorTime - $iProcessExmgmtProcessorTime)"/>
									<Rule Name="fHighProcessUnaccounted" Query="$iProcessUnaccounted &gt; 0.35* $iProcessTotalProcessorTime" AlwaysEvaluate="True"/>
									<Rule Name="fHighProcessUnaccountedAndBottleneck" Query="($fWarnProcessorBottleneckFound or $fProcessorBottleneckFound) and $iProcessUnaccounted &gt; 0.35* $iProcessTotalProcessorTime" Error="Error" Sev="1" ReportIssue="Issue" Title="不明原因的大量處理器時間" Text="不是花在 store.exe、inetinfo.exe、emsmta.exe、lsass.exe、w3wp.exe 或 mad.exe 處理程序的處理器時間量高於 35%。由那些處理程序以外的處理程序所佔據的 '{0}' 為 {1}%。" P0="localize-path('Process\% Processor time')" P1="$iProcessUnaccounted" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>
									<Rule Name="fHighProcessUnaccountedAndNoBottleneck" Query="$fHighProcessUnaccounted and not($fWarnProcessorBottleneckFound or $fProcessorBottleneckFound)" AlwaysEvaluate="True"/>
									<Rule Name="fModeratelyHighProcessUnaccountedAndBottleneck" Query="($fWarnProcessorBottleneckFound or $fProcessorBottleneckFound) and $iProcessUnaccounted &gt; 0.20 * $iProcessTotalProcessorTime and not($fHighProcessUnaccountedAndBottleneck)" Error="Warning" Sev="1" ReportIssue="Issue" Title="不明原因的處理器時間" Text="不是花在 store.exe、inetinfo.exe、emsmta.exe、lsass.exe、w3wp.exe、exmgmt.exe 或 mad.exe 處理程序的處理器時間量高於 20%。由那些處理程序以外的處理程序所佔據的 '{0}' 為 {1}%。建議您調查其他耗用伺服器 CPU 時間的處理程序。" P0="localize-path('Process\% Processor time')" P1="$iProcessUnaccounted" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>
									<Rule Name="fWarnNonStoreProcessUnaccountedAndBottleneck" Query="$fWarnProcessorBottleneckFound and $iProcessStoreProcessorTime &lt; 0.70* $iProcessTotalProcessorTime and $iProcessStoreProcessorTime &gt; 0.30* $iProcessTotalProcessorTime and not($fHighProcessUnaccountedAndBottleneck)" Error="Warning" Sev="1" ReportIssue="Issue" Title="花在 Exchange 處理程序的處理器使用量少於 {8}%" Text="發生處理器瓶頸，且花在 Exchange 處理程序 store.exe 的處理器時間少於 {8}%。建議您調查其他耗用伺服器 CPU 時間的處理程序。" S8="70" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>
									<Rule Name="fNonStoreProcessUnaccountedAndBottleneck" Query="$fProcessorBottleneckFound and $iProcessStoreProcessorTime &lt; 0.70* $iProcessTotalProcessorTime and $iProcessStoreProcessorTime &gt; 0.40* $iProcessTotalProcessorTime" Error="Error" Sev="1" ReportIssue="Issue" Title="不明原因的處理器時間" Text="發生處理器瓶頸，且花在 Exchange 處理程序 store.exe 的處理器時間少於 {8}%。建議您調查其他耗用伺服器 CPU 時間的處理程序。" S8="70" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7" AlwaysEvaluate="True"/>

									<Rule Name="fProcessorProblemFound" Query="$fProcessorContextSwitchespersec20000 or $fProcessorProcessorTimeTotal90always or $fSystemProcessorQueueLength2 or $fProcessStoreProcessorTime90 or $fProcessInetinfoProcessorTime20 or $fProcessEmsmtaProcessorTime40 or $fProcessSystemProcessorTime40 or $fProcessLsassProcessorTime40 or $fProcessMadProcessorTime40 or $fProcessExmgmtProcessorTime20 or $fProcessW3wpProcessorTime40" AlwaysEvaluate="True"/>
									<Rule Name="fProcessorWarningFound2" Query="$fProcessorProcessorTimeTotal70always" AlwaysEvaluate="True"/>
								</Object>

								<!--- Measure USER MEMORY health -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="Memory" Timeout="%1000">
									<Rule Name="fUserMemoryDataNotInFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取處理程序效能資料時發生錯誤" Text="有一或多個記憶體計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

									<Setting Key1="Process" Key2="Private Bytes" Key3="store" Format="Average">
										<Rule Name="fProcessStorePrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9} MB。" P0="localize-path('Process(store)\Private Bytes')" P9="round($. div 1048576)"/>
									</Setting>
									<Setting Key1="Process" Key2="Private Bytes" Key3="inetinfo" Format="Average">
										<Rule Name="fProcessInetinfoPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9} MB。" P0="localize-path('Process(inetinfo)\Private Bytes')" P9="round($. div 1048576)"/>
									</Setting>
									<Setting Key1="Process" Key2="Private Bytes" Key3="emsmta" Format="Average">
										<Rule Name="fProcessEmsmtaPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9} MB。" P0="localize-path('Process(emsmta)\Private Bytes')" P9="round($. div 1048576)"/>
									</Setting>
									<Setting Key1="Process" Key2="Private Bytes" Key3="System" Format="Average">
										<Rule Name="fProcessSystemPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9} MB。" P0="localize-path('Process(System)\Private Bytes')" P9="roundto($. div 1048576,2)"/>
									</Setting>
									<Setting Key1="Process" Key2="Private Bytes" Key3="lsass" Format="Average">
										<Rule Name="fProcessLsassPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9} MB。" P0="localize-path('Process(lsass)\Private Bytes')" P9="roundto($. div 1048576,2)"/>
									</Setting>
									<Setting Key1="Process" Key2="Private Bytes" Key3="mad" Format="Average">
										<Rule Name="fProcessMadPrivateBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9} MB。" P0="localize-path('Process(mad)\Private Bytes')" P9="round($. div 1048576)"/>
									</Setting>
									<Setting Key1="Database" Key2="Database Cache Size" Key3="Information Store" Format="Max">
										<Rule Name="iDBCacheSizeMax" Query="ifnumber($.,round($. div 1048576))" Error="None" Sev="1" Text="最大 '{0}'= {1} MB。" P0="localize-path('Database(Information Store)\Database Cache Size')" P1="round($. div 1048576)"/>
									</Setting>
									<Setting Key1="Memory" Key2="Available MBytes" Key3="" Format="Average">
										<Rule Name="iMemoryAvailableMbytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9}。" P0="localize-path('Memory\Available MBytes')" P9="round($.)"/>
									</Setting>
									<Setting Key1="Memory" Key2="Pages/sec" Key3="" Format="Average">
										<Rule Name="iMemoryPagessec" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="平均 '{0}' = {9}。" P0="localize-path('Memory\Pages/sec')" P9="round($.)"/>
									</Setting>

									<Rule Name="fDBCacheSizeMaxError" Query="$iDBCacheSizeMax &gt; 1.2 * 1024" Error="Error" Sev="1" ReportIssue="Issue" Title="資料庫快取大小超過建議的最大值" Text="資料庫快取大小為 {1} MB，這大於最大的建議值 1.2 GB。" P1="$iDBCacheSizeMax" GUID="6a524cbf-f4a2-441d-90e5-987ffea42e80"/>

									<Rule Name="fMemoryAvailableMbytes50MB" Query="not($iMemoryAvailableMbytes &gt; 50)" Error="Error" Sev="1" ReportIssue="Issue" Title="使用者記憶體: 可用的記憶體偏低" Text="記憶體: '{0}' 的平均值應該高於 {6} MB。測量到的值為 {9}。" P0="localize-path('Memory\Available MBytes')" S6="50" P9="round($iMemoryAvailableMbytes)" GUID="b29197b9-b206-4622-bfd6-92d9892e83fa"/>

									<Rule Name="fMemoryPagessec1000" Query="not($iMemoryPagessec &lt; 1000)" Error="Error" Sev="1" ReportIssue="Issue" Title="使用者記憶體: 每秒分頁數偏高" Text="平均 '{0}' 應該低於 {6}。測量到的值為 {9}。" P0="localize-path('Memory\Pages/sec')" S6="1000" P9="round($iMemoryPagessec)" GUID="b29197b9-b206-4622-bfd6-92d9892e83fa"/>

									<Rule Name="fMemoryProblemFound" Query="$fDBCacheSizeMaxError or $fMemoryAvailableMbytes50MB or $fMemoryPagessec1000" AlwaysEvaluate="True"/>

								</Object>

								<!--- Measure KERNEL MEMORY health -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="KernelMemory" Timeout="%1000">
									<Rule Name="fKernelMemoryDataNotInFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取核心記憶體效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>
									<Setting Key1="Memory" Key2="Pool Nonpaged Bytes" Key3="" Format="Max">
										<Rule Name="iMemoryPoolNonpagedBytes" Query="ifnumber($.,round($.))" Text="最大 '{0}' = {9} MB。" P0="localize-path('Memory\Pool Nonpaged Bytes')" P9="roundto($. div 1048576,2)"/>
									</Setting>
									<Setting Key1="Memory" Key2="Pool Paged Bytes" Key3="" Format="Max">
										<Rule Name="iMemoryPoolPagedBytes" Query="ifnumber($.,round($.))" Text="最大 '{0}' = {9} MB。" P0="localize-path('Memory\Pool Paged Bytes')" P9="roundto($. div 1048576,2)"/>
									</Setting>
									<Setting Key1="Memory" Key2="Free System Page Table Entries" Key3="" Format="Max">
										<Rule Name="iMemoryFreeSystemPageTableEntries" Query="ifnumber($.,round($.))" Text="最大 '{0}' = {9}。" P0="localize-path('Memory\Free System Page Table Entries')" P9="$."/>
									</Setting>
									<!-- NON PAGED POOL BYTES WARNING RULES -->
									<Rule Name="fPoolNonPaged3GBWarning" Query="(@S4) and ($iMemoryPoolNonpagedBytes div 1048576) &gt;99 and not($fPoolNonPaged3GBError)" Error="Warning" Sev="3" Title="未分頁集區記憶體" Text="伺服器 {2} 上的最大未分頁集區記憶體超過 {8} MB 的警告閾值。這可能會造成系統不穩定。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S8="100" P9="round($iMemoryPoolNonpagedBytes div 1048576)" ReportIssue="Issue" GUID="3a16435d-462e-4e48-b59d-f983dd3f2cf0"/>
									<Rule Name="fPoolNonPaged2GBWarning" Query="(not (@S4)) and ($iMemoryPoolNonpagedBytes div 1048576) &gt;199 and not($fPoolNonPaged2GBError)" Error="Warning" Sev="2" Title="非分頁集區記憶體警告" Text="伺服器 {2} 上的最大未分頁集區記憶體超過 {8} MB 的警告閾值。可能會發生系統不穩定。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S8="200" P9="round($iMemoryPoolNonpagedBytes div 1048576)" ReportIssue="Issue" GUID="3a16435d-462e-4e48-b59d-f983dd3f2cf0"/>

									<!-- NON PAGED POOL BYTES ERRORS RULES -->
									<Rule Name="fPoolNonPaged3GBError" Query="(@S4='1') and ($iMemoryPoolNonpagedBytes div 1048576) &gt;109" Error="Error" Sev="3" ReportIssue="Issue" Title="未分頁集區記憶體" Text="伺服器 {2} 上的最大未分頁集區記憶體超過 {8} MB 的錯誤閾值。這可能會造成系統不穩定。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S8="110" P9="round($iMemoryPoolNonpagedBytes div 1048576)" GUID="ba2ae55a-6bae-4d38-881b-696e7f255b4f"/>
									<Rule Name="fPoolNonPaged2GBError" Query="(not (@S4)) and ($iMemoryPoolNonpagedBytes div 1048576) &gt;219" Error="Error" Sev="2" ReportIssue="Issue" Title="未分頁集區記憶體錯誤" Text="伺服器 {2} 上的最大未分頁集區記憶體超過 {8} MB 的錯誤閾值。系統可能會不穩定。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S8="220" P9="round($iMemoryPoolNonpagedBytes div 1048576)" GUID="ba2ae55a-6bae-4d38-881b-696e7f255b4f"/>

									<!-- PAGED POOL BYTES WARNING RULES -->
									<Rule Name="fPoolPaged3GBW2k3Warning" Query="(@S4 and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;199 and not($fPoolPaged3GBW2k3Error)" Error="Warning" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體" Text="伺服器 {2} 上的最大分頁集區記憶體超過 {8} MB 的警告閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="200" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
									<Rule Name="fPoolPaged2GBW2k3Warning" Query="(not (@S4) and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;299 and not($fPoolPaged2GBW2k3Error)" Error="Warning" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體警告" Text="伺服器 {2} 上的最大分頁集區記憶體超過 {8} MB 的警告閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="300" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
									<Rule Name="fPoolPaged3GBWarning" Query="(@S4 and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;179 and not($fPoolPaged3GBError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體" Text="伺服器 {2} 上的最大分頁集區記憶體超過 {8} MB 的警告閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="180" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
									<Rule Name="fPoolPaged2GBWarning" Query="(not (@S4) and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;179 and not($fPoolPaged2GBError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體警告" Text="伺服器 {2} 上的最大分頁集區記憶體超過 {8} MB 的警告閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="180" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>

									<!-- PAGED POOL BYTES ERROR RULES -->
									<Rule Name="fPoolPaged3GBW2k3Error" Query="(@S4 and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;219" Error="Error" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體" Text="伺服器 {2} 上的分頁集區記憶體超過 {8} MB 的錯誤閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="220" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
									<Rule Name="fPoolPaged2GBW2k3Error" Query="(not (@S4) and @S5) and ($iMemoryPoolPagedBytes div 1048576) &gt;329" Error="Error" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體錯誤" Text="伺服器 {2} 上的分頁集區記憶體超過 {8} MB 的錯誤閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="330" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
									<Rule Name="fPoolPaged3GBError" Query="(@S4 and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;199" Error="Error" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體" Text="伺服器 {2} 上的分頁集區記憶體超過 {8} MB 的錯誤閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="200" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>
									<Rule Name="fPoolPaged2GBError" Query="(not (@S4) and not (@S5)) and ($iMemoryPoolPagedBytes div 1048576) &gt;199" Error="Error" Sev="2" ReportIssue="Issue" Title="分頁集區記憶體錯誤" Text="伺服器 {2} 上的分頁集區記憶體超過 {8} MB 的錯誤閾值。目前的值: {9} MB。" S2="%SERVER%" S4="%f3GB%" S5="%fExWinVer2003%" S8="200" P9="round($iMemoryPoolPagedBytes div 1048576)" GUID="de7537e4-1fa2-4e2f-bd1d-28e5cfc9ca7d"/>

									<Rule Name="fMemoryFreeSystemPageTableEntries5000" Query="not($iMemoryFreeSystemPageTableEntries &gt; 5000)" Error="Error" Sev="1" ReportIssue="Issue" Title="分頁表項目很嚴重" Text="可用的分頁表項目 (PTE) 已達嚴重閾值。系統可能會不穩定。記憶體可用分頁表項目不應該少於 5000。測量到的記憶體可用分頁表項目值為 {1}。" P1="round($iMemoryFreeSystemPageTableEntries)" GUID="67920b35-5e5a-41b2-a118-8016b5149cef"/>
									<Rule Name="fMemoryFreeSystemPageTableEntries8000" Query="not($iMemoryFreeSystemPageTableEntries &gt; 8000) and $iMemoryFreeSystemPageTableEntries &gt; 5000" Error="Error" Sev="1" ReportIssue="Issue" Title="分頁表項目數過低" Text="可用的分頁表項目 (PTE) 已達警告閾值。這可能會造成系統不穩定。記憶體可用分頁表項目不應該少於 8000。測量到的記憶體可用分頁表項目值為 {1}。" P1="round($iMemoryFreeSystemPageTableEntries)" GUID="36e04508-7cd5-44e6-a6b5-551c4b98613c"/>
									<Rule Name="fKMemoryProblemFound" Query="$fPoolNonPaged3GBError or $fPoolNonPaged2GBError or $fPoolPaged3GBW2k3Error or $fPoolPaged2GBW2k3Error or $fPoolPaged3GBError or $fPoolPaged2GBError or $fMemoryFreeSystemPageTableEntries5000" AlwaysEvaluate="True"/>
									<Rule Name="fKMemoryWarningFound" Query="$fPoolNonPaged3GBWarning or $fPoolNonPaged2GBWarning or $fPoolPaged3GBW2k3Warning or $fPoolPaged2GBW2k3Warning or $fPoolPaged3GBWarning or $fPoolPaged2GBWarning or $fMemoryFreeSystemPageTableEntries8000" AlwaysEvaluate="True"/>
								</Object>

								<!--- Measure VIRTUAL MEMORY health -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="VirtualMemory" Timeout="%1000">
									<Setting Key1="MSExchangeIS" Key2="VM Largest Block Size" Key3="" Format="Min">
										<Rule Name="iMSExchangeISVMLargestBlockSize" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="最小 '{0}' = {9} MB。" P0="localize-path('MSExchangeIS\VM Largest Block Size')" P9="roundto($. div 1048576,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="VM Total 16MB Free Blocks" Key3="" Format="Min">
										<Rule Name="iMSExchangeISVMTotal16MBFreeBlocks" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="最小 '{0}' = {9}。" P0="localize-path('MSExchangeIS\VM Total 16 MB Free Blocks')" P9="$."/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="VM Total Free Blocks" Key3="" Format="Min">
										<Rule Name="iMSExchangeISVMTotalFreeBlocks" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="最小 '{0}' = {9}。" P0="localize-path('MSExchangeIS\VM Total Free Blocks')" P9="$."/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="VM Total Large Free Block Bytes" Key3="" Format="Min">
										<Rule Name="iMSExchangeISVMTotalLargeFreeBlockBytes" Query="ifnumber($.,$.)" Error="None" Sev="1" Text="最小 '{0}' = {9} MB。" P0="localize-path('MSExchangeIS\VM Total Large Free Block Bytes')" P9="roundto($. div 1048576,2)"/>
									</Setting>

									<Rule Name="fMSExchangeISVMLargestBlockSize32MB" Query="not($iMSExchangeISVMLargestBlockSize &gt; 32* 1048576)" Error="Error" Sev="1" ReportIssue="Issue" Title="虛擬記憶體發生問題: '{0}' 低於閾值" Text="最小 '{0}' 應該大於 {8} MB。測量到的值為 {9} MB。" P0="localize-path('MSExchangeIS\VM Largest Block Size')" S8="32" P9="roundto($iMSExchangeISVMLargestBlockSize div 1048576,3)" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

									<Rule Name="fMSExchangeISVMTotal16MBFreeBlocks1" Query="not($iMSExchangeISVMTotal16MBFreeBlocks &gt; 0)" Error="Error" Sev="1" ReportIssue="Issue" Title="虛擬記憶體發生問題: '{0}' 低於閾值" Text="最小 '{0}' 永遠不應該小於一。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\VM Total 16 MB Free Blocks')" P9="$iMSExchangeISVMTotal16MBFreeBlocks" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

									<Rule Name="fMSExchangeISVMTotalFreeBlocks1" Query="not($iMSExchangeISVMTotalFreeBlocks &gt; 0)" Error="Error" Sev="1" ReportIssue="Issue" Title="虛擬記憶體發生問題: '{0}' 低於閾值" Text="最小 '{0}' 永遠不應該小於一。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\VM Total Free Blocks')" P9="$iMSExchangeISVMTotal16MBFreeBlocks" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

									<Rule Name="fMSExchangeISVMTotalLargeFreeBlockBytes50MB" Query="not($iMSExchangeISVMTotalLargeFreeBlockBytes &gt; 50* 1048576)" Error="Error" Sev="1" ReportIssue="Issue" Title="虛擬記憶體發生問題: '{0}' 低於閾值" Text="最小 '{0}' 少於 {8} MB。測量到的值為 {9} MB。" P0="localize-path('MSExchangeIS\VM Total Large Free Block Bytes')" S8="50" P9="roundto($iMSExchangeISVMTotalLargeFreeBlockBytes div 1048576,3)" GUID="268a3b3f-e683-4c97-b256-bd0d43f79131"/>

									<Rule Name="fVMemoryProblemFound" Query="$fMSExchangeISVMLargestBlockSize32MB or $fMSExchangeISVMTotal16MBFreeBlocks1 or $fMSExchangeISVMTotalFreeBlocks1 or $fMSExchangeISVMTotalLargeFreeBlockBytes50MB" AlwaysEvaluate="True"/>

									<Rule Name="fNoEMSMTA" Query="contains(../Exception/@Message,'Process(emsmta)') and (contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4'))"/>

									<Rule Name="fErrorAccessingPerformanceCounters1" Query="../Exception and $fNoEMSMTA and not($fErrorAccessingPerformanceCounters2 or $fErrorAccessingPerformanceCountersBB8 or $fErrorAccessingSomeCounters or $fMemProcEntryNotInLogFile)" Title="存取 Memory 和 Processor 效能計數器時發生錯誤" Text="存取效能計數器時發生錯誤。{1}。" P1="../Exception/@Message" Error="Error" Sev="1" AlwaysEvaluate="True"/>
									<Rule Name="fErrorAccessingPerformanceCounters2" Query="../Exception and $fNoEMSMTA and not($fErrorAccessingPerformanceCountersBB8 or $fErrorAccessingSomeCounters or $fMemProcEntryNotInLogFile)" Title="存取 Memory 和 Processor 效能計數器時發生錯誤" Text="存取效能計數器 {2} 時發生錯誤。{1}。" P1="../Exception/@Message" P2="../Exception/@Path" Error="Error" Sev="1"/>
									<Rule Name="fErrorAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb')" Title="存取虛擬記憶體效能計數器時發生錯誤" Text="目前的使用者登入可能沒有足夠的權限可存取效能計數器 {2}。{1}。" P1="../Exception/@Message" P2="../Exception/@Path" Error="Error" Sev="1"/>
									<Rule Name="fErrorAccessingPerformanceCountersBB8" Query="contains(../Exception/@Message,'0xc0000bb8')" Title="存取虛擬記憶體效能計數器時發生錯誤" Text="無法存取記數器 {2} 的效能資料。{1}" P1="../Exception/@Message" P2="../Exception/@Path" Error="Error" Sev="2"/>
									<Rule Name="fPerfCounterErrorFound" Query="../Exception or $fFailedToReadProcessorData" AlwaysEvaluate="True"/>
									<Rule Name="fMemProcEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取虛擬記憶體效能資料時發生錯誤" Text="有一或多個虛擬記憶體效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

								</Object>

								<!--- The measure Heap MEMORY health -->

								<Object Type="If" Name="E2003 Counters" Key1="%varIsExchange2003%">
									<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="HeapMemory" Timeout="%1000">
										<Setting Key1="MSExchangeIS" Key2="Exchmem: Number of heaps with memory errors" Key3="" Format="Average">
											<Rule Name="iMSExchangeISExchmemNumberofHeapsWithMemoryErrors" Query="ifnumber($.,$.)" Error="None" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of heaps with memory errors')" P9="$."/>
										</Setting>
										<Setting Key1="MSExchangeIS" Key2="Exchmem: Number of memory errors" Key3="" Format="Average">
											<Rule Name="iMSExchangeISExchmemNumberofmemoryerrors" Query="ifnumber($.,$.)" Error="None" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of memory errors')" P9="$."/>
										</Setting>
										<Setting Key1="MSExchangeIS" Key2="Exchmem: Number of Additional Heaps" Key3="" Format="Average">
											<Rule Name="iMSExchangeISExchmemNumberofAdditionalHeaps" Query="ifnumber($.,$.)" Error="None" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of Additional Heaps')" P9="$."/>
										</Setting>
										<Rule Name="fMSExchangeISExchmemNumberofHeapsWithMemoryErrors0" Query="$iMSExchangeISExchmemNumberofHeapsWithMemoryErrors &gt; 5" Error="None" Sev="1" Title="虛擬記憶體錯誤 - 有記憶體錯誤的堆積" Text="'{0}' 應該為 0。測量到的數字為 {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of heaps with memory errors')" P9="$iMSExchangeISExchmemNumberofHeapsWithMemoryErrors" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>

										<Rule Name="fMSExchangeISExchmemNumberofmemoryerrors0Warn" Query="$iMSExchangeISExchmemNumberofHeapsWithMemoryErrors &gt; 0 and not($fMSExchangeISExchmemNumberofHeapsWithMemoryErrors0)" Error="None" Title="虛擬記憶體錯誤 - 記憶體錯誤" Text="'{0}' 應該為 0。測量到的數字為 {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of memory errors')" P9="$iMSExchangeISExchmemNumberofmemoryerrors" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>

										<Rule Name="fMSExchangeISExchmemNumberofmemoryerrors500" Query="$iMSExchangeISExchmemNumberofmemoryerrors &gt; 500" Error="None" Sev="1" Title="虛擬記憶體錯誤 - 記憶體錯誤" Text="'{0}' 應該為 0。測量到的數字為 {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of memory errors')" P9="$iMSExchangeISExchmemNumberofmemoryerrors" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>

										<Rule Name="fMSExchangeISExchmemNumberofAdditionalHeaps4" Query="not($iMSExchangeISExchmemNumberofAdditionalHeaps &lt; 4)" Error="Error" Sev="1" ReportIssue="Issue" Title="虛擬記憶體錯誤" Text="'{0}' 不應該大於 {8}。測量到的數字為 {9}。" P0="localize-path('MSExchangeIS\Exchmem: Number of Additional Heaps')" S8="4" P9="$iMSExchangeISExchmemNumberofAdditionalHeaps" GUID="74a9c209-6259-4433-80cf-da90d470846c"/>

										<Rule Name="fHMErrorAccessingPerformanceCounters" Query="../Exception and not($fBB8ErrorAccessingHMPerformanceCounters or $fHMEntryNotInLogFile)" Title="存取堆積記憶體效能資料時發生錯誤" Text="存取堆積記憶體效能計數器時發生錯誤。{1}。" P1="../Exception/@Message" Error="Error" Sev="1"/>

										<Rule Name="fHMERRORAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb')" Title="存取堆積記憶體效能資料時發生錯誤" Text="目前的使用者登入可能沒有足夠的權限可存取效能計數器。{1}。" P1="../Exception/@Message" Error="Error" Sev="1"/>
										<Rule Name="fBB8ErrorAccessingHMPerformanceCounters" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="None" Sev="2" Title="存取堆積記憶體效能資料時發生錯誤" Text="存取伺服器 {0} 上之儲存區處理程序的堆積記憶體效能計數器時發生錯誤。伺服器可能不是 Exchange 伺服器，或是 store.exe 處理程序未啟動。" S0="%SERVER%"/>
										<Rule Name="fHMEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取堆積記憶體效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

										<Rule Name="fHMemoryErrorFound" Query="$fHMErrorAccessingPerformanceCounters or $fHMERRORAccessingSomeCounters or $fBB8ErrorAccessingHMPerformanceCounters" AlwaysEvaluate="True"/>
										<Rule Name="fHMemoryProblemFound" Query="$fMSExchangeISExchmemNumberofAdditionalHeaps4" AlwaysEvaluate="True"/>
										<Rule Name="fHMemoryWarningFound" Query="$fHMEntryNotInLogFile" AlwaysEvaluate="True"/>
									</Object>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="BasicDiskData" Title="磁碟機資料" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="工具正在收集 %SERVER% 的磁碟機組態資料，請稍候。" Title="正在收集磁碟資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Disk configuration data" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayBasicDiskDataStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szBasicDiskData" Query="'BasicDiskData'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szDisplayDiskDrives" Query="string(@Title)" Title="Exchange Server 上磁碟機的清單">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szError1" Query="string(@Title)" Title="無法取得磁碟清單。"/>
					<Rule Name="szDidNotFindExchangeObjectsText" Query="if(not($fFindExchangeObjects),$szError1,string(@Title))" Title="此工具已順利擷取磁碟清單。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Object Type="Group" Name="All" Class="時間範圍" GroupingClass="True">
						<!-- The purpose of this group is to have all rules under the Time Range: All class. Without this group, the rules directly under the object are listed as 'Unclassified' -->
						<Object Type="Group">

							<!-- GET VOLUME DISKS -->
							<Object Type="Group" Name="Volumes/Mountpoints" SecurityContext="EXLOGON">
								<Setting Key1="Mountpoint Check">
									<Rule Name="fMountpointsExist" Query="count($fVolumeMountpoint) &gt;0" AlwaysEvaluate="True"/>
									<Rule Name="fNotMountpointsExist" Query="not($fMountpointsExist)" Text="此伺服器未使用裝載點。" AlwaysEvaluate="True"/>

									<Rule Name="szWMILogicalDisk" AlwaysEvaluate="True" Query="if($fMountpointsExist, 'Win32_Volume','Win32_LogicalDisk')">
										<Variable Name="WMILogicalDisk" Scope="Children"/>
									</Rule>
								</Setting>
								<Object Type="WMI" Key1="%SERVER%" Key3="Win32_Volume" SecurityContext="EXLOGON">
									<Setting Key1="Name" Substitution="DEVICEID">
										<Rule Name="szVolumeDiskName" Query="$."/>
										<Rule Name="fVolumeMountpoint" Query="string-length($.) &gt;3 and substring($., 2,1)=':'" Error="None" Text="磁碟區 {5} 是裝載點。" P5="$." AlwaysEvaluate="True"/>

										<Rule Name="szUseMountpoint" AlwaysEvaluate="True" Query="if($fMountpointsExist, string($.))">
											<Variable Name="LogicalDisks[%DEVICEID%]" Scope="Children"/>
										</Rule>

									</Setting>
									<Setting Key1="Capacity"/>
									<Setting Key1="DriveType">
										<Rule Name="fVolumeDiskFixed" Query="$.=3"/>
									</Setting>
									<Setting Key1="FileSystem"/>
									<Setting Key1="FreeSpace">
										<Rule Name="fVolumeDiskSpaceUnder3GBWarn" Query="$fVolumeMountpoint and $fVolumeDiskFixed and ($. div 1073741824) &lt;3 and not($fVolumeDiskSpaceUnder500MBErr)" Error="Warning" Sev="3" Title="磁碟空間過低" Text="磁碟空間過低。伺服器 {2} 上的裝載點 '{3}' 有 {9} GB ({8} MB) 的可用空間。" S2="%SERVER%" P3="$szVolumeDiskName" P8="round($. div 1048576)" P9="round($. div 1073741824)" GUID="620c733e-ce53-43ca-bd34-d2242de77795" ReportIssue="Issue"/>
										<Rule Name="fVolumeDiskSpaceUnder500MBErr" Query="$fVolumeMountpoint and $fVolumeDiskFixed and ($. div 1048576) &lt;500" Error="Error" Sev="2" Title="磁碟空間過低" Text="磁碟過低不足。伺服器 {2} 上的裝載點 '{3}' 有 {8} MB 的可用空間。" S2="%SERVER%" P3="$szVolumeDiskName" P8="round($. div 1048576)" GUID="620c733e-ce53-43ca-bd34-d2242de77795" ReportIssue="Issue"/>
									</Setting>
								</Object>
							</Object>

							<!-- GET NON-VOLUME DISKS -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_LogicalDisk" SecurityContext="EXLOGON">
								<Setting Key1="DeviceId" Substitution="DEVICEID">
									<Rule Name="szLogicalDeviceID" Query="$."/>
									<Rule Name="szUseLogicalDisk" AlwaysEvaluate="True" Query="if(not($fMountpointsExist[1]), string($.))" Scope="Children">
										<Variable Name="LogicalDisks[%DEVICEID%]" Scope="Children"/>
									</Rule>
								</Setting>
								<Setting Key1="DriveType">
									<Rule Name="fDiskFixed" Query="$.=3"/>
								</Setting>

								<Setting Key1="FreeSpace">
									<Rule Name="fLogicalDiskSpaceUnder3GBWarn" Query="not($fMountpointsExist) and $fDiskFixed and ($. div 1073741824) &lt;3 and not($fLogicalDiskSpaceUnder500MBErr)" Error="Warning" Sev="3" Title="磁碟空間過低" Text="磁碟空間過低。伺服器 {2} 上的磁碟機 '{3}' 有 {9} GB ({8} MB) 的可用空間。" S2="%SERVER%" P3="$szLogicalDeviceID" P8="round($. div 1048576)" P9="round($. div 1073741824)" GUID="5cea6596-470b-464a-be21-df6f5c83bc38" ReportIssue="Issue"/>
									<Rule Name="fLogicalDiskSpaceUnder500MBErr" Query="not($fMountpointsExist) and $fDiskFixed and ($. div 1048576) &lt;500" Error="Warning" Sev="3" Title="磁碟空間過低" Text="磁碟空間過低。伺服器 {2} 上的磁碟機 '{3}' 有 {8} MB 的可用空間。" S2="%SERVER%" P3="$szLogicalDeviceID" P8="round($. div 1048576)" GUID="5cea6596-470b-464a-be21-df6f5c83bc38" ReportIssue="Issue"/>
								</Setting>
							</Object>

							<Rule Name="szFullListOfLogicalDisks" Query="concat(join(',', $szUseMountpoint), join(',',$szUseLogicalDisk))" Text="此伺服器上的邏輯磁碟如下: {4}。" P4="concat(join(',', $szUseMountpoint), join(',',$szUseLogicalDisk))" AlwaysEvaluate="True">
								<Variable Name="FullListOfLogicalDisks" Scope="Children"/>
							</Rule>

							<Rule NextStep="FindExchangeObjects" Name="fFindExchangeObjects" Query="string-length($szFullListOfLogicalDisks) &gt; 0" Text="- 判斷 Exchange 伺服器資料檔案、TEMP 和 TMP 目錄以及系統磁碟機的位置是否可能為效能問題的原因。" Display="Hide"/>
							<Rule Query="not($fFindExchangeObjects)" Text="存取磁碟資訊時發生錯誤。"/>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="FindExchangeObjects" Title="Exchange Server 資料組態" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%FullListOfLogicalDisks%" Substitution="ListofLogicalDisks" Display="Hide"/>
			<Setting Key1="%WMILogicalDisk%" Substitution="WMIDisk" Display="Hide"/>
			<Setting Key1="%fIsSBS%" Substitution="fIsSBS" Display="Hide"/>
			<Setting Key1="%EXSRVNAME%" Substitution="EXSRVNAME" Display="Hide"/>
			<Setting Key1="%szSERVERWINDOWSPATHDRIVE%" Substitution="szSERVERWINDOWSPATHDRIVE" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%fIsSmallServer%" Substitution="fIsSmallServer" Display="Hide"/>
			<Setting Key1="%varIsExchange12%" Substitution="varIsExchange12" Display="Hide"/>
			<Setting Key1="%varIsHubTransportServer%" Substitution="varIsHubTransportServer" Display="Hide"/>
			<Setting Key1="%varIsMailboxServer%" Substitution="varIsMailboxServer" Display="Hide"/>

			<Object Type="Progress" Text="此工具正在收集 %SERVER% 上的資料，請稍候。" Title="正在擷取資料庫和記錄檔的中繼資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Disk Drive and Exchange Data File Information" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">

					<Rule Name="fDisplayExchangeObjectsStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDiskAndDataFileInfo" Query="string(@Title)" Title="磁碟機及 Exchange 資料檔案資訊">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szFindExchangeObjects" Query="'FindExchangeObjects'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Query="concat($szIssueFound, $szNoIssueFound,concat($szErrorFound,$szWarningFound))" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="fSuppressSmallServerErrors" Query="@S1=1 or @S2=1" S1="%fIsSBS%" S2="%fIsSmallServer%"/>
					<Rule Name="fWarningFound" Query="$fTempPathChg or $fTmpPathChg or $fSMTPAndSomethingShareDrive or $fPageFileDriveSharedByExchange or $fSystemDriveSharedByExchange or $fExchangeLogDriveIssueFoundSmallServer" AlwaysEvaluate="True" Title="找到資源有非最佳組態" Text="分頁檔、SMTP 伺服器、TEMP 或 TMP 目錄的位置可能會造成效能瓶頸。如果這些磁碟機都沒有磁碟瓶頸，則組態可能不是問題。" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fExchangeDiskSpaceIssueFound" Query="$fSGDiskFreeSpaceLessThan10percent or $fSGDiskFreeSpaceBelow20MB or $fExchangeDiskFreeSpaceLessThan10percent or $fExchangeDiskFreeSpaceBelow20MB" AlwaysEvaluate="True" Title="發現磁碟空間過低" Text="磁碟空間過低可能會造成效能瓶頸。如果磁碟空間過低的磁碟機上沒有磁碟瓶頸，則這可能不是問題。" Error="Error" ReportIssue="Summary"/>
					<Rule Name="fExchangeLogDriveIssueFound" Query="$fLogAndSomethingShareDrive and not($fSuppressSmallServerErrors)" Title="可能與交易記錄檔位置有關的問題" Text="一或多個交易記錄檔的位置可能造成效能瓶頸。如果磁碟瓶頸不存在，這就可能不是問題。" Error="Error" ReportIssue="Summary" AlwaysEvaluate="True"/>
					<Rule Name="fExchangeLogDriveIssueFoundSmallServer" Query="$fLogAndSomethingShareDrive and $fSuppressSmallServerErrors" AlwaysEvaluate="True" Title="可能與交易記錄檔位置有關的問題" Text="一或多個交易記錄檔的位置可能造成效能瓶頸。如果磁碟瓶頸不存在，這就可能不是問題。" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fSummaryNoIssue" Query="not($fWarningFound or $fExchangeDiskSpaceIssueFound or $fExchangeLogDriveIssueFound or $fErrorFoundFindExchange or $fExchangeLogDriveIssueFoundSmallServer)" AlwaysEvaluate="True" Title="找不到 Exchange 資料檔案位置的問題" Text="找不到 Exchange 資料檔案、分頁檔、TEMP 目錄或 TMP 目錄位置的問題，或是一或多個磁碟機上磁碟空間量的問題。" Error="None" ReportIssue="Summary"/>
					<Rule Name="fErrorFoundFindExchange" Query="$fFatalExchangeErrorDirectory or $fFatalExchangeErrorNotDirectory" AlwaysEvaluate="True"/>

					<Rule Name="szNoIssueFound" Query="if(not($fExchangeDiskSpaceIssueFound or $fExchangeLogDriveIssueFound or $fErrorFoundFindExchange or $fWarningFound), string(@Title))" Title="找不到 Exchange 資料檔案或磁碟機位置的效能問題。" AlwaysEvaluate="True"/>
					<Rule Name="szIssueFound" Query="if($fExchangeDiskSpaceIssueFound or $fExchangeLogDriveIssueFound, string(@Title))" Title="找到可能有與 Exchange 資料檔案或分頁檔位置有關的效能問題。" AlwaysEvaluate="True"/>
					<Rule Name="szErrorFound" Query="if($fErrorFoundFindExchange,string(@Title))" Title="從目錄讀取資訊時發生錯誤。" AlwaysEvaluate="True"/>
					<Rule Name="szWarningFound" Query="if($fWarningFound,string(@Title))" Title="找到可能有與 Exchange 資料檔案、SMTP 伺服器佇列、TEMP 或 TMP 目錄位置有關的效能問題。" AlwaysEvaluate="True"/>

					<Object Type="Group" Name="All" Class="時間範圍" GroupingClass="True">
						<Object Type="Group" Name="Detailed Disk Drive Information" SecurityContext="EXLOGON">

							<!-- Temp and TMP dirs -->
							<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Control\Session Manager" SecurityContext="EXLOGON">
								<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Control\Session Manager\Environment" Level="2">
									<Setting Key1="TEMP" Substitution="TEMPDIR" SubstitutionFormat="\\----\\">
										<Rule Name="fTempPathChg" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and not($fSuppressSmallServerErrors)" Error="Warning" Sev="2" Title="暫存檔路徑最佳化" Text="{1} 路徑與系統磁碟分割位於同一部磁碟機上。這可能會造成儲存區效能的問題。目前的 {1} 路徑: {5}。" S1="TEMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="fTempPathChgSmallServer" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and $fSuppressSmallServerErrors" Error="None" Sev="2" Title="暫存檔路徑最佳化" Text="{1} 路徑與系統磁碟分割位於同一部磁碟機上。這可能會造成儲存區效能的問題。目前的 {1} 路徑: {5}。" S1="TEMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="szTempDir" Query="upper-case($.)" Text=" {1} 路徑設定 '{5}' 有效。" S1="%TEMP%" P5="$.">
											<Variable Name="TEMPDIR" Scope="Children"/>
										</Rule>
										<Rule Name="szTEMPDrive" Query="if($fTempPathChg or $fTempPathChgSmallServer,string($szWinDirDrive),string(longest-starts-with($.,$szLogicalDiskID)))" Error="None" Text="TEMP 目錄在磁碟機 {0}。" P0="$szTEMPDrive">
											<Variable Name="TEMPDrive" Scope="Children"/>
										</Rule>
									</Setting>
									<Setting Key1="TMP" Substitution="TMPDIR" SubstitutionFormat="\\----\\">

										<Rule Name="fTmpPathChg" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and not($fSuppressSmallServerErrors)" Error="Warning" Sev="2" Title="暫存檔路徑最佳化" Text="{1} 路徑與系統磁碟分割位於同一部磁碟機上。這可能會造成儲存區效能的問題。目前的 {1} 路徑: {5}。" S1="TMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="fTmpPathChgSmallServer" Query="(starts-with(upper-case($.), '%SYSTEMROOT') or starts-with(upper-case($.), '%SYSTEMDRIVE')) and $fSuppressSmallServerErrors" Error="None" Sev="2" Title="暫存檔路徑最佳化" Text="{1} 路徑與系統磁碟分割位於同一部磁碟機上。這可能會造成儲存區效能的問題。目前的 {1} 路徑: {5}。" S1="TMP" P5="$." GUID="dc0f01fb-7051-4679-885f-80e25838ccf0" ReportIssue="Issue"/>
										<Rule Name="szTmpDir" Query="upper-case($.)" Text=" {1} 路徑設定 '{5}' 有效。" S1="%TMP%" P5="$.">
											<Variable Name="TMPDIR" Scope="Children"/>
										</Rule>
										<Rule Name="szTMPDrive" Query="if($fTmpPathChg or $fTmpPathChgSmallServer,string($szWinDirDrive),string(longest-starts-with($.,$szLogicalDiskID)))" Error="None" Text="TMP 目錄在磁碟機 {0}。" P0="$szTMPDrive">
											<Variable Name="TMPDrive" Scope="Children"/>
										</Rule>
									</Setting>
								</Object>
							</Object>

							<!-- System Page file -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_PageFile" Level="2">
								<Rule Name="iPageDriveCount" Query="count($szPageDrive)"/>
								<Setting Key1="InitialSize">
									<Rule Query="$." Text="分頁檔初始大小 = {1} MB。" P1="$."/>
								</Setting>
								<Setting Key1="FileSize">
									<Rule Name="iPageFileSize" Query="$. div 1048576" Text="分頁檔大小 = {1} MB。" P1="$. div 1048576"/>
								</Setting>
								<Setting Key1="MaximumSize">
									<Rule Name="iPageFileMaxSize" Query="$." Text="分頁檔大小上限 = {1} MB。" P1="$."/>
								</Setting>
								<Setting Key1="Name">
									<Rule Name="szPageFileName" Query="$."/>
									<Rule Name="szPageDrive" Query="longest-starts-with($szPageFileName,$szLogicalDiskID)" Error="None" Text="Windows 分頁檔 {1} 在磁碟機 {0}。" P0="$szPageDrive" P1="$szPageFileName"/>
									<Rule Name="fPageFileDriveSharedByExchange" Query="$szArrayOfAllDrivesUsedByExchange = $szPageDrive and $iPageDriveCount &lt; 2 and not($fSuppressSmallServerErrors)" Title="磁碟機包含分頁檔和 Exchange 伺服器資料檔案" Text="Exchange 資料檔案和分頁檔位於磁碟機 {4} 上。如果此磁碟機上沒有磁碟瓶頸，則這可能不是問題。" P4="$szPageDrive" ReportIssue="Issue" Error="Warning" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
									<Rule Name="fPageFileDriveSharedByExchangeSmallServer" Query="$szArrayOfAllDrivesUsedByExchange = $szPageDrive and $iPageDriveCount &lt; 2 and $fSuppressSmallServerErrors" Title="磁碟機包含分頁檔和 Exchange 伺服器資料檔案" Text="Exchange 資料檔案和分頁檔位於磁碟機 {4} 上。如果此磁碟機上沒有磁碟瓶頸，則這可能不是問題。" P4="$szPageDrive" ReportIssue="Issue" Error="None" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
								</Setting>
							</Object>

							<!-- System Drive -->
							<Object Type="WMI" Key1="%SERVER%" Key3="Win32_OperatingSystem" Key5="*" SecurityContext="EXLOGON">
								<Setting Key1="WindowsDirectory">
									<Rule Name="szWindowsDirectory" Query="upper-case($.)"/>
									<Rule Name="szWinDirDrive" Query="upper-case(longest-starts-with($szWindowsDirectory,$szLogicalDiskID))" Error="None" Text="Windows 目錄在磁碟機 {0}。" P0="$szWinDirDrive">
										<Variable Name="WinDirDrive" Scope="Children"/>
									</Rule>
									<Rule Name="fSystemDriveSharedByExchange" Query="$szArrayOfAllDrivesUsedByExchange = $szWinDirDrive and not($fSuppressSmallServerErrors)" Title="Windows 系統磁碟機包含 Exchange Server 資料檔案" Text="Exchange 資料檔案和 Windows 系統磁碟分割位於磁碟機 {4} 上。如果此磁碟機上沒有磁碟瓶頸，則這可能不是問題。" P4="$szWinDirDrive" ReportIssue="Issue" Error="Warning" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
									<Rule Name="fSystemDriveSharedByExchangeSmallServer" Query="$szArrayOfAllDrivesUsedByExchange = $szWinDirDrive and $fSuppressSmallServerErrors" Title="Windows 系統磁碟機包含 Exchange Server 資料檔案" Text="Exchange 資料檔案和 Windows 系統磁碟分割位於磁碟機 {4} 上。如果此磁碟機上沒有磁碟瓶頸，則這可能不是問題。" P4="$szWinDirDrive" ReportIssue="Issue" Error="None" Sev="2" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be"/>
								</Setting>
							</Object>

							<!-- GET DISKS -->
							<Object Type="Cache" Name="Cache1" Key1="Add" Key2="drive" Key3="%ListofLogicalDisks%" Key4="," Display="Hide">
								<Setting Substitution="DEVICEID" Format="\\$----" Display="Hide">
									<Rule Name="szLogicalDiskID" Query="upper-case($.)"/>
									<!-- FIND OUT IF ANY Exchange Server resource is on this disk drive -->
									<Rule Name="fDriveContainsExchange" Query=" $fDriveContainsPUBMDB or $fDriveContainsPRIVMDB or $fDriveContainsPUBSLV or $fDriveContainsPRIVSLV or $fDriveContainsSMTP or $fDriveContainsSG" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchange" Query="if($fDriveContainsPage or $fDriveContainsTMP or $fDriveContainsTEMP or $fDriveContainsPUBMDB or $fDriveContainsPRIVMDB or $fDriveContainsPUBSLV or $fDriveContainsPRIVSLV or $fDriveContainsSMTP or $fDriveContainsSG, string($szLogicalDiskID))" Text="磁碟機 {4} 由 Exchange Server 資料檔案所使用。" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePUBMDB" Query="if($fDriveContainsPUBMDB, string($szLogicalDiskID))" Text="磁碟機 {4} 用於公用資料夾儲存區 EDB 資料庫檔案。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePRIVMDB" Query="if($fDriveContainsPRIVMDB, string($szLogicalDiskID))" Text="磁碟機 {4} 用於信箱儲存區 EDB 資料庫檔案。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePRIVSLV" Query="if($fDriveContainsPRIVSLV, string($szLogicalDiskID))" Text="磁碟機 {4} 用於信箱儲存區 STM 資料庫檔案。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangePUBSLV" Query="if($fDriveContainsPUBSLV, string($szLogicalDiskID))" Text="磁碟機 {4} 用於公用資料夾儲存區 STM 資料庫檔案。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangeDB" Query="if($fDriveContainsPUBMDB or $fDriveContainsPRIVMDB or $fDriveContainsPUBSLV or $fDriveContainsPRIVSLV, string($szLogicalDiskID))" Text="磁碟機 {4} 用於 Exchange 伺服器資料庫檔案。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangeSMTP" Query="if($fDriveContainsSMTP, string($szLogicalDiskID))" Text="磁碟機 {4} 用於 SMTP 伺服器佇列。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByExchangeSG" Query="if($fDriveContainsSG, string($szLogicalDiskID))" Text="磁碟機 {4} 用於 Exchange Server 交易記錄檔。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>
									<Rule Name="szUniqueArrayLogicalDiskUsedByPage" Query="if($fDriveContainsPage, string($szLogicalDiskID))" Text="磁碟機 {4} 已用於系統分頁檔。" Display="Hide" P4="$szLogicalDiskID" AlwaysEvaluate="True"/>

									<Rule Name="fDriveContainsPUBMDB" Query="if($szPubEDBDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PUBMDB][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPRIVMDB" Query="if($szPrivEDBDrive = $szLogicalDiskID, string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PRIVMDB][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPUBSLV" Query="if($szPubSLVDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PUBSLV][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPRIVSLV" Query="if($szPrivSLVDrive = $szLogicalDiskID, string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PRIVSLV][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsSMTP" Query="if($szSMTPDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[SMTP][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsSG" Query="if($szStorageDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[SG][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsPage" Query="if($szPageDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[PAGE][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsTMP" Query="if($szTMPDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[TMP][%DEVICEID%]" Scope="Children"/>
									</Rule>
									<Rule Name="fDriveContainsTEMP" Query="if($szTEMPDrive = $szLogicalDiskID,string($szLogicalDiskID))">
										<Variable Name="DRIVECONTAINS[TEMP][%DEVICEID%]" Scope="Children"/>
									</Rule>
								</Setting>

								<Object Type="WMI" Key1="%SERVER%" Key3="%WMIDisk%" Key4="DeviceId='%DEVICEID%'" SecurityContext="EXLOGON">
									<Setting Key1="FreeSpace">
										<Rule Name="iFreeSpace" Query="$."/>
										<Rule Name="fDiskFreeSpaceBelow20MB" Query="($iFreeSpace div 1048576) &lt; 20"/>
										<Rule Name="fLogicalDiskSpaceUnder3GB" Query="not($fDiskFreeSpaceBelow20MB) and $fLogicalDiskFixed and ($. div 1073741824) &lt;4" Error="Warning" Sev="3" Title="磁碟空間過低" Text="伺服器 {2} 上的邏輯磁碟 {3} 有 {9} GB 的可用空間。" S2="%SERVER%" S3="%DEVICEID%" P9="round($. div 1073741824)" GUID="5cea6596-470b-464a-be21-df6f5c83bc38" ReportIssue="Issue"/>
									</Setting>
									<Setting Key1="DriveType">
										<Rule Name="fLogicalDiskFixed" Query="$.=3"/>
									</Setting>
									<Setting Key1="Size">
										<Rule Name="iLogicalDiskSize" Query="round($. div 1073741824)" Error="None" Text="{3} 上的邏輯磁碟 {4} 大小為 {9} GB。 " P4="$szLogicalDiskID" P9="round($. div 1073741824)" S3="%SERVER%"/>
										<Rule Name="fSGDiskFreeSpaceLessThan10percent" Query="$fLogicalDiskFixed and $fDiskFreeSpaceLessThan10percent and $fDriveContainsSG" Error="Error" Sev="1" ReportIssue="Issue" Title="包含 Exchange 交易記錄檔的磁碟機上磁碟空間過低" Text="磁碟機 {0} 上的可用磁碟空間少於百分之十。磁碟機 {0} 包含交易記錄檔。" S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fSGDiskFreeSpaceBelow20MB" Query="$fLogicalDiskFixed and $fDiskFreeSpaceBelow20MB and $fDriveContainsSG" Error="Error" Sev="1" ReportIssue="Issue" Title="包含 Exchange 交易記錄檔的磁碟機上磁碟空間過低" Text="磁碟機 {0} 上的可用磁碟空間少於 20 MB。磁碟機 {0} 包含交易記錄檔。" S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fExchangeDiskFreeSpaceLessThan10percent" Query="$fLogicalDiskFixed and $fDiskFreeSpaceLessThan10percent and $fDriveContainsExchange and not($fDriveContainsSG)" Error="Error" Sev="1" ReportIssue="Issue" Title="包含 Exchange 資料檔案的磁碟機上磁碟空間過低" Text="磁碟機 {0} 上的可用磁碟空間少於百分之十。磁碟機 {0} 包含交易記錄檔。" S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fExchangeDiskFreeSpaceBelow20MB" Query="$fLogicalDiskFixed and $fDiskFreeSpaceBelow20MB and $fDriveContainsExchange" Error="Error" Sev="1" ReportIssue="Issue" Title="包含 Exchange 資料檔案的磁碟機上磁碟空間過低" Text="磁碟機 {0} 上的可用磁碟空間少於 20 MB。磁碟機 {0} 包含交易記錄檔。" S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fDiskFreeSpaceLessThan10percent" Query="$iFreeSpace &lt; (0.10 * $.) and $fLogicalDiskFixed" Error="Warning" ReportIssue="Issue" Title="磁碟空間過低" Text="磁碟機 {0} 上的可用磁碟空間少於百分之十。" S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
										<Rule Name="fErrorDiskFreeSpaceBelow20MB" Query="$fLogicalDiskFixed and $fDiskFreeSpaceBelow20MB and not($fDriveContainsSG)" Error="Error" Title="磁碟空間過低" Text="磁碟機 {0} 上的可用磁碟空間少於 20 MB。" S0="%DEVICEID%" GUID="c4535f56-481a-4900-8cb0-3d2253412f8b"/>
									</Setting>
								</Object>
							</Object>
						</Object>

						<!-- GET LOCATION OF DATABASES, SLV FILES, AND STORAGE GROUPS -->
						<Object Type="If" Key1="not('%varIsExchange12%'='1') or ('%varIsExchange12%'='1' and ('%varIsHubTransportServer%'='1' or '%varIsMailboxServer%'='1'))">
							<Object Type="Directory" Name="cn" Key1="LDAP://%DC%/" SecurityContext="EXLOGON">
								<Rule Name="fFatalExchangeErrorDirectory" Query="../Exception/@Message and not($fFatalExchangeErrorNotDirectory)" Error="Error" Sev="1" Title="存取 Active Directory 時發生錯誤" Text="無法查詢伺服器 {0} 上的目錄。{1}。" S0="%DC%" P1="../Exception/@Message"/>
								<Rule Name="fFatalExchangeErrorNotDirectory" Query="../Exception/@Message = 'The server is not operational'" Error="Error" Sev="1" Title="存取 Active Directory 時發生錯誤" Text="伺服器 {0} 可能不是 Active Directory 伺服器。無法查詢目錄。{1}。" S0="%DC%" P1="../Exception/@Message"/>

								<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
								<Object Type="Directory" Key1="LDAP://%DC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
									<Setting Key1="distinguishedName" Substitution="DN"/>
									<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%SERVER%)(cn=%EXSRVNAME%)))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxTimeouts="ALL,1" MaxFailures="WMI,1">
										<Setting Key1="distinguishedName" Substitution="DN"/>

										<Rule Name="szArrayOfAllNonLogNonSMTPResourceFiles" Query="$szPrivEDBFile | $szPubEDBFile | $szPrivSLVFile | $szPubSLVFile" AlwaysEvaluate="True"/>
										<Rule Name="szArrayOfAllNonLogResourceFiles" Query="$szArrayOfAllNonLogNonSMTPResourceFiles | $szSMTPDir" AlwaysEvaluate="True"/>
										<Rule Name="szArrayOfAllDrivesUsedByExchangeDB" Query="$szPrivEDBDrive | $szPubEDBDrive | $szPrivSLVDrive | $szPubSLVDrive " AlwaysEvaluate="True"/>
										<Rule Name="szArrayOfAllDrivesUsedByExchange" Query="$szArrayOfAllDrivesUsedByExchangeDB | $szSMTPDrive | $szStorageDrive" AlwaysEvaluate="True"/>

										<Object Type="Group" Name="Exchange Server Database and SLV Files">

											<!-- PRIVATE DATABASE INFO -->

											<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=msExchPrivateMDB" Key4="Subtree" Class="私人 MDB" Display="Left">
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="cn" Substitution="MDBNAME">
													<Rule Name="szPrivStoreName" Query="$."/>
												</Setting>
												<Setting Key1="msExchEDBFile" Substitution="EDBPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPrivEDBFile" Query="upper-case($.)"/>
													<Rule Name="szPrivEDBDrive" Query="longest-starts-with($szPrivEDBFile,$szLogicalDiskID)" Text="信箱儲存區 EDB 檔案 '{0}' 位於磁碟機 {1} 上。" P0="$." P1="longest-starts-with($szPrivEDBFile,$szLogicalDiskID)"/>
												</Setting>
												<Setting Key1="msExchSLVFile" Substitution="SLVPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPrivSLVFile" Query="upper-case($.)"/>
													<Rule Name="szPrivSLVDrive" Query="longest-starts-with($szPrivEDBFile,$szLogicalDiskID)" Text="信箱儲存區 STM 檔案 '{0}' 位於磁碟機 {1} 上。" P0="$." P1="$szPrivSLVDrive"/>
												</Setting>
												<Setting Key1="msExchAgingKeepTime">
													<Rule Name="fPrivAgingKeepTimeDS" Query="$.!=3456000" Error="NonDefault" Title="'{1}' 已變更" Text="伺服器 {2} 上資料庫 '{3}' 的 '{1}' 間隔已經修改，不是預設值。只建議在 Microsoft 產品支援服務的指導下使用此組態。目前的 msExchAgingKeepTime 值: {8} 秒。" S1="../@Key1" S2="%SERVER%" P3="$szPrivStoreName" P8="$." GUID="156b4acf-b3e5-438f-9cf6-1ba48663166f"/>
												</Setting>
												<Setting Key1="objectGUID" Substitution="PRIVDBGUID" Format="System.Guid"/>
												<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\%SERVER%\Private-%PRIVDBGUID%">
													<Setting Key1="Aging Keep Time">
														<Rule Name="fAgingKeepTimePrivate" Query="$.!=3456000 and $.!='' and not ($fPrivAgingKeepTimeDS)" Error="NonDefault" Title="'{1}' 已變更" Text="伺服器 {2} 上資料庫 '{3}' 的 '{1}' 間隔已經修改，不是預設值。只建議在 Microsoft 產品支援服務的指導下使用此組態。目前的 '{1}': {8} 秒。" S1="../@Key1" S2="%SERVER%" P3="$szPrivStoreName" P8="$." GUID="06025f22-fe5d-4a52-b917-0c33536465c4" AlwaysEvaluate="True"/>
													</Setting>
													<Setting Key1="Aging Clean Interval">
														<Rule Name="szMailboxStoreAgingCleanInterval" Query="$." Error="NonDefault" Title="儲存區信箱配額過時清除間隔非預設值" Text="伺服器 {2} 上信箱存放區 '{3}' 的 '{4}' 值已經變更，不是預設值。" S2="%SERVER%" P3="$szPrivStoreName" P4="../@Key1" GUID="4932cd20-1ba6-45ee-9efa-2bf1c4aa4c20"/>
													</Setting>
												</Object>
											</Object>

											<!-- PUBLIC DATABASE INFO -->

											<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=msExchPublicMDB" Key4="Subtree" Class="公用 MDB" Display="Left">
												<Setting Key1="distinguishedName" Substitution="DN"/>
												<Setting Key1="cn" Substitution="MDBNAME">
													<Rule Name="szPubStoreName" Query="$."/>
												</Setting>
												<Setting Key1="msExchEDBFile" Substitution="EDBPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPubEDBFile" Query="upper-case($.)"/>
													<Rule Name="szPubEDBDrive" Query="longest-starts-with($szPubEDBFile,$szLogicalDiskID)" Text="公用資料夾儲存區 EDB 檔案 '{0}' 位於磁碟機 {1} 上。" P0="$." P1="$szPubEDBDrive"/>

												</Setting>
												<Setting Key1="msExchSLVFile" Substitution="SLVPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szPubSLVFile" Query="upper-case($.)"/>
													<Rule Name="szPubSLVDrive" Query="longest-starts-with($szPubEDBFile,$szLogicalDiskID)" Text="公用資料夾儲存區 STM 檔案 '{0}' 位於磁碟機 {1} 上。" P0="$." P1="$szPubSLVDrive"/>
												</Setting>
												<Setting Key1="objectGUID" Substitution="PUBDBGUID" Format="System.Guid"/>
												<Setting Key1="msExchAgingKeepTime">
													<Rule Name="fPubAgingKeepTimeDS" Query="$.!=3456000" Error="NonDefault" Title="'{1}' 已變更" Text="伺服器 {2} 上資料庫 '{3}' 的 '{1}' 間隔已經修改，不是預設值。只建議在 Microsoft 產品支援服務的指導下使用此組態。目前的 msExchAgingKeepTime 值: {8} 秒。" S1="../@Key1" S2="%SERVER%" P3="$szPubStoreName" P8="$." GUID="156b4acf-b3e5-438f-9cf6-1ba48663166f"/>
												</Setting>
												<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\%SERVER%\Public-%PUBDBGUID%">
													<Setting Key1="Aging Keep Time">
														<Rule Name="fAgingKeepTimePublic" Query="$.!=3456000 and $.!='' and not ($fPubAgingKeepTimeDS)" Error="NonDefault" Title="'{1}' 已變更" Text="伺服器 {2} 上資料庫 '{3}' 的 &quot;{1}&quot; 間隔已經修改，不是預設值。只建議在 Microsoft 產品支援服務的指導下使用此組態。目前的 '{1}': {8} 秒。" S1="../@Key1" S2="%SERVER%" P3="$szPubStoreName" P8="$." GUID="06025f22-fe5d-4a52-b917-0c33536465c4" AlwaysEvaluate="True"/>
													</Setting>
												</Object>
											</Object>
										</Object>

										<!-- STORAGE GROUP INFO -->

										<Object Type="Group" Name="Exchange Server Transaction Log Files">
											<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=msExchStorageGroup" Key4="Subtree" Class="儲存群組" Display="Left">
												<Pivot Name="SGToPrivMDBName" Key="../@Name"/>
												<Setting Key1="name" Substitution="SGNAME">
													<Rule Name="szStorageGroup" Query="$."/>
												</Setting>
												<Setting Key1="msExchESEParamLogFilePath" Substitution="LOGPATH" SubstitutionFormat="\\----\\">
													<Rule Name="szStorageFile" Query="upper-case($.)"/>
													<Rule Name="szStorageDrive" Query="longest-starts-with($.,$szLogicalDiskID)" Text="儲存群組磁碟機位於 {1} 上。" P1="$."/>

													<!-- NOW CHECK TO SEE IF ANY LOG FILES SHARE A PHYSICAL DISK WITH THE SMTP, EDB OR SLV FILES!!!	-->

													<Rule Name="fLogAndSomethingShareDrive" Query="if(not($fSuppressSmallServerErrors),$szArrayOfAllNonLogResourceFiles[longest-starts-with(.,$szLogicalDiskID) = $szStorageDrive])" Error="Error" Sev="1" ReportIssue="Issue" Title="儲存群組 '{2}' 的交易記錄檔沒有專用的磁碟機" Text="儲存群組 '{2}' 的交易記錄檔與 {1} 共用磁碟機 {3}。" P1="lower-case(join(', ',$_/Result))" P2="$szStorageGroup" P3="$szStorageDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>
													<Rule Name="fLogAndSomethingShareDriveSmallServer" Query="if($fSuppressSmallServerErrors,$szArrayOfAllNonLogResourceFiles[longest-starts-with(.,$szLogicalDiskID) = $szStorageDrive])" Error="Warning" Sev="1" ReportIssue="Issue" Title="儲存群組 '{2}' 的交易記錄檔沒有專用的磁碟機" Text="儲存群組 '{2}' 的交易記錄檔與 {1} 共用磁碟機 {3}。" P1="lower-case(join(', ',$_/Result))" P2="$szStorageGroup" P3="$szStorageDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>

													<!--- TODO Join all the fLogAndSomethingShareDrive rules, for a single NextStep -->
													<!--- TODO Check TEMP DRIVE overlap, system drive overlap -->

												</Setting>
											</Object>
										</Object>

										<!-- SMTP Virtual Server Instance for this Exchange server. -->

										<Object Type="If" Key1="not('%varIsExchange12%'='1')">
											<Object Type="Group" Name="SMTP Virtual Servers">
												<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="objectClass=protocolCfgSMTPServer" Key4="Subtree" Display="Left">
													<Setting Key1="adminDisplayName" Substitution="SMTPNAME" Retrieve="FailHard">
														<Rule Name="szSMTPInstance" Query="$."/>
													</Setting>
													<Setting Key1="msExchSmtpQueueDirectory" Substitution="SMTPDIR" SubstitutionFormat="\\----\\">
														<Rule Name="szSMTPDir" Query="upper-case($.)"/>
														<Rule Name="szSMTPDrive" Query="longest-starts-with($.,$szLogicalDiskID)"/>

														<!-- NOW CHECK TO SEE IF ANY SMTP FILES SHARE A PHYSICAL DISK WITH THE SMTP, EDB FILES!!!	-->
														<Rule Name="fSMTPAndSomethingShareDrive" Query="$szSMTPAndSomethingShareDrive and not($fSuppressSmallServerErrors)" Error="Warning" Sev="3" Title="SMTP 伺服器沒有專用的磁碟機" Text="SMTP 伺服器 '{2}' 的佇列與下列 Exchange 資料檔案共用磁碟機 {3}: {1}。" P1="join(', ', $szSMTPAndSomethingShareDrive/Result)" P2="$szSMTPInstance" P3="$szSMTPDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>
														<Rule Name="fSMTPAndSomethingShareDriveSmallServer" Query="$szSMTPAndSomethingShareDrive and $fSuppressSmallServerErrors" Error="None" Sev="3" Title="SMTP 伺服器沒有專用的磁碟機" Text="SMTP 伺服器 '{2}' 的佇列與下列 Exchange 資料檔案共用磁碟機 {3}: {1}。" P1="join(', ', $szSMTPAndSomethingShareDrive/Result)" P2="$szSMTPInstance" P3="$szSMTPDrive" GUID="da8ec0b4-4dfe-471c-8514-1f33fa8987be" AlwaysEvaluate="True"/>

														<Rule Name="szSMTPAndSomethingShareDrive" Query="$szArrayOfAllNonLogNonSMTPResourceFiles[longest-starts-with(.,$szLogicalDiskID) = $szSMTPDrive]" AlwaysEvaluate="True">
															<!-- TODO Add specific resource name that is sharing the drive	-->
														</Rule>
													</Setting>
												</Object>
											</Object>
										</Object>
									</Object>
								</Object>
							</Object>
						</Object>

						<!-- NOW SOME RULES TO FIND THE NEXT STEP OR TO GATHER LISTS OF DATA FOR THE NEXT STEP -->

						<Object Type="Group" Name="Summary of disk usage" SecurityContext="EXLOGON">
							<Setting Display="Hide">
								<Rule Name="szListOfLogicalDisksUsedByExchange" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchange)" Text="Exchange 使用的磁碟: {4}。" P4="join(',',$szUniqueArrayLogicalDiskUsedByExchange)">
									<Variable Name="ListOfLogicalDisksUsedByExchange" Scope="Children"/>
								</Rule>
								<Rule Name="szListOfLogicalDisksUsedByExchangeDB" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchangeDB)" Text="Exchange Server 資料庫使用的磁碟: {4}。" P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeDB)" AlwaysEvaluate="True">
									<Variable Name="ListofDatabaseDrives" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPUBSLV" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBSLV)" Text="下列磁碟機包含公用資料夾儲存區 STM 檔案: {1}。" P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBSLV)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PUBSLV]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPRIVSLV" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVSLV)" Text="下列磁碟機包含信箱儲存區 STM 檔案: {1}。" P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVSLV)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PRIVSLV]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPUBMDB" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBMDB)" Text="下列磁碟機包含公用資料夾儲存區 EDB 檔案: {1}。" P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePUBMDB)">
									<Variable Name="T2DList[PUBMDB]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPRIVMDB" Query="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVMDB)" Text="下列磁碟機包含信箱儲存區 EDB 檔案: {1}。" P1="join(',', $szUniqueArrayLogicalDiskUsedByExchangePRIVMDB)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PRIVMDB]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListSMTP" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSMTP)" Text="Exchange SMTP 佇列使用的磁碟: {4}。" P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSMTP)" AlwaysEvaluate="True">
									<Variable Name="T2DList[SMTP]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListSG" Query="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSG)" Text="Exchange 交易記錄檔所使用的磁碟: {4}。" P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSG)" AlwaysEvaluate="True">
									<Variable Name="T2DList[SG]" Scope="Children"/>
								</Rule>
								<Rule Name="szT2DListPage" Query="join(',',$szUniqueArrayLogicalDiskUsedByPage)" Text="系統分頁檔使用的磁碟: {4}。" P4="join(',',$szUniqueArrayLogicalDiskUsedByExchangeSG)" AlwaysEvaluate="True">
									<Variable Name="T2DList[PAGE]" Scope="Children"/>
								</Rule>
							</Setting>
							<Setting Key1="">
								<Rule NextStep="PerfmonDiskHealth" Name="fOnToPerfmonDiskHealth" Query="not($fFatalExchangeErrorNotDirectory and $fFatalExchangeErrorDirectory) and not(@S1='1')" Text="- 尋找磁碟瓶頸。此工具將評估下列磁碟的健康狀況: {4}。" Display="Hide" S1="%varIsExchange12%" P4="join(', ',$szUniqueArrayLogicalDiskUsedByExchange)" AlwaysEvaluate="True"/>
								<Rule NextStep="E12Collection_PerfmonDiskHealthE12" Name="fOnToE12PerfmonDiskHealth" Query="not($fFatalExchangeErrorNotDirectory and $fFatalExchangeErrorDirectory) and @S1='1'" Text="- 尋找磁碟瓶頸。此工具將評估下列磁碟的健康狀況: {4}。" Display="Hide" S1="%varIsExchange12%" P4="join(', ',$szUniqueArrayLogicalDiskUsedByExchange)" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="PerfmonDiskHealth" Title="磁碟機健康狀況" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%ListofDatabaseDrives%" Substitution="ListofDatabaseDrives" Display="Hide"/>
			<Setting Key1="%T2DList[PAGE]%" Substitution="T2DListPage" Display="Hide"/>
			<Setting Key1="%T2DList[SG]%" Substitution="T2DListSG" Display="Hide"/>
			<Setting Key1="%T2DList[SMTP]%" Substitution="T2DListSMTP" Display="Hide"/>
			<Setting Key1="%WinDirDrive%" Substitution="WinDirDrive" Display="Hide"/>
			<Setting Key1="%ROLE%" Substitution="ROLE" Display="Hide"/>
			<Setting Key1="%TEMPDIR%" Substitution="TEMPDIR" Display="Hide"/>
			<Setting Key1="%TMPDIR%" Substitution="TMPDIR" Display="Hide"/>
			<Setting Key1="%TEMPDrive%" Substitution="TEMPDRIVE" Display="Hide"/>
			<Setting Key1="%TMPDrive%" Substitution="TMPDRIVE" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>

			<Object Type="Progress" Text="工具正在收集伺服器 %SERVER% 的實體磁碟相關資訊，請稍候。" Title="正在測量磁碟狀況" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Disk Drive Health" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule Name="fDisplayDiskHealthStep" NextStep="DisplayResultsStep" Priority="1" Query="@S1=0" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDrivePerfCount" Query="string(@Title)" Title="磁碟機效能計數器資訊">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szPerfDiskHealth" Query="'PerfmonDiskHealth'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szPerfmonErrorState" Query="concat($szPerfDiskIssueFound, $szPerfDiskErrorFound)" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szNoIssue8" Query="string(@Title)" Title="從磁碟效能計數器未發現效能問題。"/>
					<Rule Name="szPerfDiskIssueFound" Query="if($fPerfIssueFound,string(@Title),$szNoIssue8)" Title="從磁碟效能計數器觀察到可能有效能問題。一或多個磁碟正呈現效能瓶頸。" AlwaysEvaluate="True"/>
					<Rule Name="szPerfDiskErrorFound" Query="if($fPerfDiskErrorFound,string(@Title), '')" Title="讀取效能計數器資訊時發生錯誤。" AlwaysEvaluate="True"/>
					<Rule Name="fPerfDiskErrorFound" Query="$fDBErrorAccessingLogicalDiskCounters or $fSGErrorAccessingSGLogicalDiskCounters or $fSGErrorAccessingPerformanceCounters or $fTMPErrorAccessingLogicalDiskCounters or $fTMPErrorAccessingPerformanceCounters or $fTMPErrorAccessingLogicalDiskCounters or $fTMPErrorAccessingPerformanceCounters or $fTEMPErrorAccessingLogicalDiskCounters or $fTEMPErrorAccessingPerformanceCounters or $fSMTPErrorAccessingPerformanceCounters or $fSMTPErrorAccessingSomeCounters or $fPageErrorAccessingLogicalDiskCounters or $fPageErrorAccessingPerformanceCounters" AlwaysEvaluate="True"/>
					<Rule Name="fPerfIssueFound" Query="$fDBDiskBad or $fSGDiskBad or $fTMPDiskBad or $fTEMPDiskBad or $fSMTPDiskBad or $fPageDiskBad or $fLogStallsBad" AlwaysEvaluate="True" Title="找到磁碟瓶頸" Text="從磁碟效能計數器觀察到可能有效能問題。一或多個磁碟正呈現效能瓶頸。" Error="Error" ReportIssue="Summary"/>
					<Rule Name="fNoPerfDiskIssueFound" Query="not($fPerfIssueFound)" AlwaysEvaluate="True" Title="沒有偵測到磁碟瓶頸" Text="工具在進行分析時沒有偵測到磁碟瓶頸" Error="None" ReportIssue="Summary"/>
					<Rule Query="concat($szPerfDiskIssueFound, $szPerfDiskErrorFound)" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>

					<Object Type="Cache" Name="Disk Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>
							<Object Type="Group" Name="Disk health during the time range: %szTIMERANGE%">
								<!-- DATABASE CHECKS -->

								<Object Type="Cache" Name="Database health: %szTIMERANGE%" Key1="Add" Key2="DBDrive" Key3="%ListofDatabaseDrives%" Key4="," Display="Hide">
									<Setting Substitution="DBDISK" Display="Hide"/>
									<Object Type="Group" Name="%DBDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="DB%DBDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="資料庫磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" P9="roundto($.,3)"/>
												<Rule Name="fDBBadInstance" Query="$. = 'NaN'" Error="Warning" Title="收集效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="資料庫磁碟: 平均 '{0}' = {9} 秒。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%DBDISK%" Format="Max">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Text="資料庫磁碟: 最大 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%DBDISK%" Format="Max">
												<Rule Name="iDBLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Text="資料庫磁碟: 最大 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" P9="roundto($.,3)"/>
											</Setting>

											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,roundto($.,3))" Text="資料庫磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk Queue Length')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Disk Reads/sec" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBNumberOfDiskReadsPerSec" Query="ifnumber($.,round($.))" Text="資料庫磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Disk Reads/Sec')" P9="round($.)"/>
											</Setting>

											<Setting Key1="LogicalDisk" Key2="Disk Writes/sec" Key3="%DBDISK%" Format="Average">
												<Rule Name="iDBNumberOfDiskWritesPerSec" Query="ifnumber($.,round($.))" Text="資料庫磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Disk Writes/Sec')" P9="round($.)"/>
											</Setting>
											<Rule Name="iDBRATIOofReadsToWrites" Query="if($iDBNumberOfDiskWritesPerSec &gt; 0, roundto($iDBNumberOfDiskReadsPerSec div $iDBNumberOfDiskWritesPerSec,2))" Text="資料庫磁碟機 '{2}': 讀取/寫入比率 = {1}。" P1="roundto($iDBNumberOfDiskReadsPerSec div $iDBNumberOfDiskWritesPerSec,1)" S2="%DBDISK%"/>

											<!-- Error Rules -->
											<Rule Name="fDBLogicalDiskAverageDiskSecondsPerRead20" Query="not($iDBLogicalDiskAverageDiskSecondsPerRead &lt; 0.020)" Error="Error" Sev="1" ReportIssue="Issue" Title="包含資料庫檔案的邏輯磁碟上找到效能問題" Text="資料庫磁碟: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" S6="20" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fDBLogicalDiskAverageDiskSecondsPerReadspikes50" Query="not($iDBLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="包含資料庫檔案的邏輯磁碟上找到效能問題" Text="資料庫磁碟: '{0}' 的最大值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fDBLogicalDiskAverageDiskSecondsPerWrite20" Query="not($iDBLogicalDiskAverageDiskSecondsPerWrite &lt; 0.020) and $fDBDatabasePageFaultStallssec1" Error="Error" Sev="1" ReportIssue="Issue" Title="包含資料庫檔案的邏輯磁碟上找到效能問題" Text="資料庫磁碟: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" S6="20" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fDBLogicalDiskAverageDiskSecondsPerWritespikes50" Query="not($iDBLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050) and $fDBDatabasePageFaultStallssec1" Error="Error" Sev="1" ReportIssue="Issue" Title="包含資料庫檔案的邏輯磁碟上找到效能問題" Text="資料庫磁碟: '{0}' 的最大值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iDBLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iDBLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<!-- Next Step rules... -->
											<Rule Name="fDBDiskBad" Query="$fDBLogicalDiskAverageDiskSecondsPerRead20 or $fDBLogicalDiskAverageDiskSecondsPerReadspikes50 or $fDBLogicalDiskAverageDiskSecondsPerWrite20 or $fDBLogicalDiskAverageDiskSecondsPerWritespikes50" AlwaysEvaluate="True"/>
											<Rule Name="fDBLogicalDiskAverageDiskQueueLengthNumOfSpindles" Query="not(if($fIsASan and $fIsNotReplicated, $iDBLogicalDiskAverageDiskQueueLength &lt; @S3,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="包含資料庫檔案的邏輯磁碟上找到效能問題" Text="資料庫磁碟: 平均 '{0}' = {9}。磁針數為 {3}。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk Queue Length')" S3="%NUMBEROFSPINDLES%" P9="$iDBLogicalDiskAverageDiskQueueLength" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fDBLogicalDiskAverageDiskSecondsPerWrite5" Query="not(if($fIsASan and $fIsNotReplicated, $iDBLogicalDiskAverageDiskSecondsPerWrite &lt; 0.005,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="資料庫磁碟機寫入延遲偏高" Text="資料庫磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Write')" P9="$iDBLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<!-- The next 3 rules are added to make debugging easier. Bugs 1507 and 1620 will fix this. -->
											<Rule Name="fIsASan" Query="false()"/>
											<Rule Name="fIsNotASan" Query="true()"/>
											<Rule Name="fIsNotReplicated" Query="false()"/>

											<Rule Name="fDBErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8')" Error="Error" Sev="1" Title="存取資料庫磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="可能未啟用磁碟機 {2} 上的 'LogicalDisk' 計數器。請使用 Diskperf -y 啟用計數器。{1}。" P1="../Exception/@Message" S2="%DBDISK%"/>
											<Rule Name="fDBDiskEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取資料庫磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
											<Rule Name="fDBErrorAccessingPerformanceCounters" Query="../Exception and not($fDBErrorAccessingLogicalDiskCounters or $fDBDiskEntryNotInLogFile)" Error="Error" Sev="1" Title="存取資料庫磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="資料庫磁碟機 '{2}': 存取 'LogicalDisk' 計數器時發生錯誤。{1}。" P1="../Exception/@Message" S2="%DBDISK%"/>
										</Object>
									</Object>
								</Object>

								<!-- STORAGE GROUP (TRANSACTION LOG) CHECKS -->

								<Object Type="Cache" Name="Storage group health: %szTIMERANGE%" Key1="Add" Key2="SGDrive" Key3="%T2DListSG%" Key4="," Display="Hide">
									<Setting Substitution="SGDISK" Display="Hide"/>
									<Object Type="Group" Name="%SGDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="SG%SGDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="交易記錄磁碟: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
												<Rule Name="fSGBadInstance" Query="$. = 'NaN'" Error="Warning" Title="收集效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('LogicalDisk(%DBDISK%)\Avg. Disk sec/Read')"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SGDISK%" Format="Max">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Text="交易記錄磁碟: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="交易記錄磁碟: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SGDISK%" Format="Max">
												<Rule Name="iSGLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Text="交易記錄磁碟: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,round($.))" Text="交易記錄磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk Queue Length')" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Disk Reads/sec" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGNumberOfDiskReadsPerSec" Query="ifnumber($.,round($.))" Text="交易記錄磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%SGDISK%)\Disk Reads/Sec')" P9="round($.)"/>
											</Setting>

											<Setting Key1="LogicalDisk" Key2="Disk Writes/sec" Key3="%SGDISK%" Format="Average">
												<Rule Name="iSGNumberOfDiskWritesPerSec" Query="ifnumber($.,round($.))" Text="交易記錄磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%SGDISK%)\Disk Writes/Sec')" P9="round($.)"/>
											</Setting>
											<Rule Name="iSGRatioofReadsToWrites" Query="if($iSGNumberOfDiskWritesPerSec &gt; 0, roundto($iSGNumberOfDiskReadsPerSec div $iSGNumberOfDiskWritesPerSec,2))" Text="交易記錄磁碟 {2}: 讀取/寫入比率 = {1}。" P1="roundto($iSGNumberOfDiskReadsPerSec div $iSGNumberOfDiskWritesPerSec,2)" S2="%SGDISK%"/>

											<!-- Error rules -->
											<Rule Name="fSGLogicalDiskAverageDiskSecondsPerRead5" Query="not($iSGLogicalDiskAverageDiskSecondsPerRead &lt; 0.005)" Error="Error" Sev="1" ReportIssue="Issue" Title="交易記錄讀取延遲偏高" Text="交易記錄磁碟: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" S6="5" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fSGLogicalDiskAverageDiskSecondsPerReadspikes50" Query="not($iSGLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="交易記錄讀取延遲偏高" Text="交易記錄磁碟: 最大值 '{0}' 應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWrite10" Query="not($fIsNotASan and $iSGLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="交易記錄寫入延遲偏高" Text="交易記錄磁碟: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWritespikes50" Query="not($iSGLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="交易記錄寫入延遲偏高" Text="交易記錄磁碟: '{0}' 的最大值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iSGLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<!-- NextStep Rules -->
											<Rule Name="fSGDiskBad" Query="$fSGLogicalDiskAverageDiskSecondsPerRead5 or $fSGLogicalDiskAverageDiskSecondsPerReadspikes50 or $fSGLogicalDiskAverageDiskSecondsPerWrite10 or $fSGLogicalDiskAverageDiskSecondsPerWritespikes50 or $fSGRatioofReadsToWritesLessThan10" AlwaysEvaluate="True"/>
											<Rule Name="fSGLogicalDiskAverageDiskSecondsPerWrite5" Query="not(if($fIsASan and $fIsNotReplicated, $iSGLogicalDiskAverageDiskSecondsPerWrite &lt; 0.005,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="交易記錄寫入延遲偏高" Text="交易記錄磁碟: '{0}' 的平均值 = {9} ({8} 毫秒)，大於 {7} 秒 ({6} 毫秒) 的閾值。" P0="localize-path('LogicalDisk(%SGDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSGLogicalDiskAverageDiskSecondsPerWrite*1000" P9="round($iSGLogicalDiskAverageDiskSecondsPerWrite)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<Rule Name="fSGRatioofReadsToWritesLessThan10" Query="not($iSGRatioofReadsToWrites &lt; 0.10) and not($iSGNumberOfDiskReadsPerSec = 0)" Title="包含交易記錄檔的磁碟上找到效能問題。磁碟 {2}: 讀取/寫入比率 = {1}。" Text="磁碟機 {2} 上讀取 I/O 與寫入 I/O 的比率為 {1}。一般而言，此比率應小於 0.10; 比率較高表示此磁碟用於寫入交易記錄檔以外的用途。為了達到最佳效能，記錄檔磁碟機應專供交易記錄檔使用。" P1="$iSGRatioofReadsToWrites" S2="%SGDISK%" ReportIssue="Issue" Error="Error" Sev="1" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<Rule Name="fSGErrorAccessingSGLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="存取交易記錄磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="交易記錄磁碟 {2}: 可能未啟用 Logical Disk 計數器。請使用 Diskperf -y 啟用計數器。{1}。" P1="../Exception/@Message" S2="%SGDISK%"/>
											<Rule Name="fSGErrorAccessingPerformanceCounters" Query="../Exception and not($fSGErrorAccessingSGLogicalDiskCounters or $fDBErrorAccessingLogicalDiskCounters or $fSGEntryNotInLogFile)" Error="Error" Sev="1" Title="存取交易記錄磁碟機的 'LogicalDisk' 效能計數器時發生錯誤" Text="交易記錄磁碟 {2}: 存取 'LogicalDisk' 計數器時發生錯誤。{1}。" P1="../Exception/@Message" S2="%SGDISK%"/>
											<Rule Name="fSGEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取交易記錄磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										</Object>
									</Object>
								</Object>

								<!-- TMP DRIVE CHECKS -->
								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="TMP" Timeout="%1000">
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TMPDRIVE%" Format="Average">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TMP 磁碟機: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
										<Rule Name="fTMPBadInstance" Query="$. = 'NaN'" Error="Warning" Title="收集效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TMPDRIVE%" Format="Max">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TMP 磁碟機: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" P8="roundto($.,3)*1000" P9="roundto($.,3)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TMPDRIVE%" Format="Average">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TMP 磁碟機: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TMPDRIVE%" Format="Max">
										<Rule Name="iTMPLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TMP 磁碟機: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="round($.)"/>
									</Setting>

									<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%TMPDRIVE%" Format="Average">
										<Rule Name="iTMPLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,round($.))" Error="None" Sev="1" Text="TMP 磁碟機: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk Queue Length')" P9="round($.)"/>
									</Setting>
									<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerRead10" Query="not($iTMPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="TMP 磁碟機讀取延遲偏高" Text="TMP 磁碟機: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerRead*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerRead,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerReadSpikes50" Query="not($iTMPLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="TMP 磁碟機讀取延遲偏高" Text="TMP 磁碟機: '{0}' 的最大值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerReadspikes*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerReadspikes,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iTMPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="TMP 磁碟機寫入延遲偏高" Text="TMP 磁碟機: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerWrite*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerWrite,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									<Rule Name="fTMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" Query="not($iTMPLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="TMP 磁碟機寫入延遲偏高" Text="TMP 磁碟機: TMP 磁碟機的最大 '{0}' 應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TMPDRIVE%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000, 3)" P8="round($iTMPLogicalDiskAverageDiskSecondsPerWritespikes*1000)" P9="roundto($iTMPLogicalDiskAverageDiskSecondsPerWritespikes,3)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

									<Rule Name="fTMPDiskBad" Query="$fTMPLogicalDiskAverageDiskSecondsPerRead10 or $fTMPLogicalDiskAverageDiskSecondsPerReadSpikes50 or $fTMPLogicalDiskAverageDiskSecondsPerWrite10 or $fTMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" AlwaysEvaluate="True"/>
									<Rule Name="fTMPErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="存取 TMP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="可能未啟用 TMP 磁碟機 {4} 的 'LogicalDisk' 計數器。請使用 Diskperf -y 啟用計數器。{1}。" P1="../Exception/@Message" S4="%TMPDRIVE%"/>
									<Rule Name="fTMPErrorAccessingPerformanceCounters" Query="../Exception and not($fTMPErrorAccessingLogicalDiskCounters or $fDBErrorAccessingLogicalDiskCounters or $fTMPEntryNotInLogFile)" Error="Error" Sev="1" Title="存取 TMP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="存取 'LogicalDisk' 計數器時發生錯誤。{1}。" P1="../Exception/@Message"/>
									<Rule Name="fTMPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取 TMP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
								</Object>

								<!-- TEMP DRIVE CHECKS -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="TEMP" Timeout="%1000">
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TEMPDRIVE%" Format="Average">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TEMP 磁碟機: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>

										<Rule Name="fTEMPBadInstance" Query="$. = 'NaN'" Error="Warning" Title="收集效能計數器資料時發生錯誤" Text="遺失 {0} 的效能資料。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%TEMPDRIVE%" Format="Max">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerReadspikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TEMP 磁碟機: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
									</Setting>

									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TEMPDRIVE%" Format="Average">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TEMP 磁碟機: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" P9="round($.)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%TEMPDRIVE%" Format="Max">
										<Rule Name="iTEMPLogicalDiskAverageDiskSecondsPerWritespikes" Query="ifnumber($.,roundto($.,3))" Error="None" Sev="1" Text="TEMP 磁碟機: 最大 '{0}' = {9}。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" P9="round($.)"/>
									</Setting>
									<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%TEMPDRIVE%" Format="Average">
										<Rule Name="iTEMPLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,round($.))" Error="None" Sev="1" Text="TEMP 磁碟機: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk Queue Length')" P9="round($.)"/>
									</Setting>

									<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerRead10" Query="not($iTEMPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="TEMP 磁碟機讀取延遲偏高" Text="TEMP 磁碟機: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerReadSpikes50" Query="not($iTEMPLogicalDiskAverageDiskSecondsPerReadspikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="TEMP 磁碟機讀取延遲偏高" Text="TEMP 磁碟機: '{0}' 的最大值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerReadspikes*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerReadspikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iTEMPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="TEMP 磁碟機寫入延遲偏高" Text="TEMP 磁碟機: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
									<Rule Name="fTEMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" Query="not($iTEMPLogicalDiskAverageDiskSecondsPerWritespikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="TEMP 磁碟機寫入延遲偏高" Text="TEMP 磁碟機: '{0}' 的最大值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%TEMPDRIVE%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iTEMPLogicalDiskAverageDiskSecondsPerWritespikes*1000" P9="$iTEMPLogicalDiskAverageDiskSecondsPerWritespikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

									<Rule Name="fTEMPDiskBad" Query="$fTEMPLogicalDiskAverageDiskSecondsPerRead10 or $fTEMPLogicalDiskAverageDiskSecondsPerReadSpikes50 or $fTEMPLogicalDiskAverageDiskSecondsPerWrite10 or $fTEMPLogicalDiskAverageDiskSecondsPerWriteSpikes50" AlwaysEvaluate="True"/>

									<Rule Name="fTEMPErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="存取 TEMP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="可能未啟用 TEMP 磁碟機 {4} 的 'LogicalDisk' 計數器。請使用 Diskperf -y 啟用計數器。{1}。" P1="../Exception/@Message" S4="%TEMPDRIVE%"/>
									<Rule Name="fTEMPErrorAccessingPerformanceCounters" Query="../Exception and not($fTEMPErrorAccessingLogicalDiskCounters or $fDBErrorAccessingLogicalDiskCounters or $fTEMPEntryNotInLogFile)" Error="Error" Sev="1" Title="存取 TEMP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="存取 'LogicalDisk' 計數器時發生錯誤。{1}。" P1="../Exception/@Message"/>
									<Rule Name="fTEMPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取 TEMP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>

								</Object>

								<!--- The measure SMTP Disk health -->

								<Object Type="Cache" Name="SMTP health: %szTIMERANGE%" Key1="Add" Key2="SMTPDrive" Key3="%T2DListSMTP%" Key4="," Display="Hide">
									<Setting Substitution="SMTPDISK" Display="Hide"/>
									<Object Type="Group" Name="%SMTPDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="SMTP%SMTPDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SMTPDISK%" Format="Average">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="SMTP 磁碟: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%SMTPDISK%" Format="Max">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes" Query="ifnumber($.,roundto($.,3))" Text="SMTP 磁碟: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SMTPDISK%" Format="Average">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="SMTP 磁碟: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%SMTPDISK%" Format="Max">
												<Rule Name="iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes" Query="ifnumber($.,roundto($.,3))" Text="SMTP 磁碟: 最大 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%SMTPDISK%" Format="Average">
												<Rule Name="iSMTPLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,roundto($.,1))" Text="SMTP 磁碟: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk Queue Length')" P9="roundto($.,1)"/>
											</Setting>

											<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerRead10" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="主控 SMTP 伺服器的磁碟機上有邏輯磁碟效能問題: 平均讀取延遲" Text="SMTP 磁碟機: 平均 '{0}' 應該少於 {6} ({7} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerRead" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerReadSpikes50" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="主控 SMTP 伺服器的磁碟機上有邏輯磁碟效能問題: 最大讀取延遲" Text="SMTP 磁碟機: 最大 '{0}' 應該少於 {6} ({7} 毫秒)。測量到的最大值為 {9} 秒 ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Read')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerReadSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="主控 SMTP 伺服器的磁碟機上有邏輯磁碟效能問題: 平均寫入延遲" Text="SMTP 磁碟機: 平均 '{0}' 應該少於 {6} ({7} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerWrite" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
											<Rule Name="fSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes50" Query="not($iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes &lt; 0.050)" Error="Error" Sev="1" ReportIssue="Issue" Title="主控 SMTP 伺服器的磁碟機上有邏輯磁碟效能問題: 最大寫入延遲" Text="SMTP 磁碟機: 最大 '{0}' 應該少於 {6} ({7} 毫秒)。測量到的最大值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%SMTPDISK%)\Avg. Disk sec/Write')" S6="50" P7="roundto(@S6 div 1000,3)" P8="$iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes*1000" P9="$iSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>

											<Rule Name="fSMTPDiskBad" Query="$fSMTPLogicalDiskAverageDiskSecondsPerRead10 or $fSMTPLogicalDiskAverageDiskSecondsPerReadSpikes50 or $fSMTPLogicalDiskAverageDiskSecondsPerWrite10 or $fSMTPLogicalDiskAverageDiskSecondsPerWriteSpikes50" AlwaysEvaluate="True"/>
											<Rule Name="fSMTPErrorAccessingPerformanceCounters" Query="../Exception and not($fDBErrorAccessingLogicalDiskCounters) and not($fSMTPEntryNotInLogFile)" Error="Error" Sev="1" Title="存取 SMTP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="SMTP 磁碟機 '{2}': 存取 'LogicalDisk' 效能計數器時發生錯誤。{1}。" P1="../Exception/@Message" S2="%SMTPDISK%"/>
											<Rule Name="fSMTPErrorAccessingSomeCounters" Query="contains(../Exception/@Message,'0xc0000bdb') and not($fSMTPErrorAccessingPerformanceCounters or $fDBErrorAccessingLogicalDiskCounters or $fSMTPEntryNotInLogFile)" Error="Error" Sev="1" Title="存取 SMTP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="SMTP 磁碟 {2} 目前的使用者登入可能沒有足夠的權限可存取效能計數器。{1}。" P1="../Exception/@Message" S2="%SMTPDISK%"/>
											<Rule Name="fSMTPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取 SMTP 磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										</Object>
									</Object>
								</Object>

								<!-- PAGE DISK CHECKS -->
								<Object Type="Cache" Name="Storage group health: %szTIMERANGE%" Key1="Add" Key2="PageDrive" Key3="%T2DListPage%" Key4="," Display="Hide">
									<Setting Substitution="PAGEDISK" Display="Hide"/>
									<Object Type="Group" Name="%PAGEDISK%">
										<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="PAGE%PAGEDISK%" Timeout="%1000">
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Read" Key3="%PAGEDISK%" Format="Average">
												<Rule Name="iPageLogicalDiskAverageDiskSecondsPerRead" Query="ifnumber($.,roundto($.,3))" Text="分頁檔磁碟機: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')" P8="roundto($.*1000,1)" P9="roundto($.,3)"/>
												<Rule Name="fPageBadInstance" Query="$. = 'NaN'" Error="Warning" Title="收集分頁檔磁碟機的效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk sec/Write" Key3="%PAGEDISK%" Format="Average">
												<Rule Name="iPageLogicalDiskAverageDiskSecondsPerWrite" Query="ifnumber($.,roundto($.,3))" Text="分頁檔磁碟機: 平均 '{0}' = {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Write')" P8="round($.*1000)" P9="roundto($.,3)"/>
											</Setting>
											<Setting Key1="LogicalDisk" Key2="Avg. Disk Queue Length" Key3="%PAGEDISK%" Format="Average">
												<Rule Name="iPageLogicalDiskAverageDiskQueueLength" Query="ifnumber($.,roundto($.,2))" Text="分頁檔磁碟機: 平均 '{0}' = {9}。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk Queue Length')" P9="roundto($.,2)"/>
											</Setting>
											<Setting Key1="Paging File" Key2="% Usage" Key3="_Total" Format="Average">
												<Rule Name="iPagingFilePercentUsage" Query="ifnumber($.,round($.))" Text="平均 '{0}' = {9}。" P0="localize-path('Paging File(_Total)\% Usage')" P9="round($.)"/>
											</Setting>
											<!-- Error Rules -->
											<Rule Name="fPageLogicalDiskAverageDiskSecondsPerRead10" Query="not($iPageLogicalDiskAverageDiskSecondsPerRead &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="包含系統分頁檔的邏輯磁碟上找到效能問題" Text="分頁檔磁碟機: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Read')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iPageLogicalDiskAverageDiskSecondsPerRead*1000" P9="$iPageLogicalDiskAverageDiskSecondsPerRead" GUID="cddd6e3f-bd51-4e4a-bbbb-6c24dacd42d7"/>
											<Rule Name="fPageLogicalDiskAverageDiskSecondsPerWrite10" Query="not($iPageLogicalDiskAverageDiskSecondsPerWrite &lt; 0.010)" Error="Error" Sev="1" ReportIssue="Issue" Title="包含系統分頁檔的邏輯磁碟上找到效能問題" Text="分頁檔磁碟機: '{0}' 的平均值應該少於 {7} ({6} 毫秒)。測量到的值為 {9} ({8} 毫秒)。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk sec/Write')" S6="10" P7="roundto(@S6 div 1000,3)" P8="$iPageLogicalDiskAverageDiskSecondsPerWrite*1000" P9="$iPageLogicalDiskAverageDiskSecondsPerWrite" GUID="cddd6e3f-bd51-4e4a-bbbb-6c24dacd42d7"/>
											<Rule Name="fPagePagingFilePercentUsage50" Query="not($iPagingFilePercentUsage &lt; 50)" Error="Error" Sev="1" ReportIssue="Issue" Title="包含系統分頁檔的邏輯磁碟上找到效能問題" Text="分頁檔磁碟機: '{0}' 的平均值應該少於 {8}%。測量到的值為 {9}%。" P0="localize-path('Paging File(_Total)\% Usage')" S8="50" P9="$iPagingFilePercentUsage" GUID="faf40b30-9cc2-4aea-a565-6b560f9c0f49"/>
											<Rule Name="fPageDiskBad" Query="$fPageLogicalDiskAverageDiskSecondsPerRead10 or $fPageLogicalDiskAverageDiskSecondsPerWrite10 or $fPagePagingFilePercentUsage50" AlwaysEvaluate="True"/>
											<Rule Name="iPageLogicalDiskAverageDiskQueueLengthNumberOfSpindles" Query="not(if($fIsASan and $fIsNotReplicated, $iPageLogicalDiskAverageDiskQueueLength &lt; @S3,0))" Error="Error" Sev="1" ReportIssue="Issue" Title="包含系統分頁檔的邏輯磁碟上找到效能問題" Text="分頁檔磁碟機: 平均 '{0}' = {9}。磁針數為 {3}。" P0="localize-path('LogicalDisk(%PAGEDISK%)\Avg. Disk Queue Length')" S3="%NUMBEROFSPINDLES%" P9="$iPageLogicalDiskAverageDiskQueueLength"/>
											<Rule Name="fPageErrorAccessingLogicalDiskCounters" Query="contains(../Exception/@Message,'0xc0000bb8') and not($fDBErrorAccessingLogicalDiskCounters)" Error="Error" Sev="1" Title="存取分頁檔磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="可能未啟用磁碟機 {2} 上的 'LogicalDisk' 計數器。請使用 Diskperf -y 啟用計數器。{1}。" P1="../Exception/@Message" S2="%PAGEDISK%"/>
											<Rule Name="fPageErrorAccessingPerformanceCounters" Query="../Exception and not($fDBErrorAccessingLogicalDiskCounters or $fPageErrorAccessingLogicalDiskCounters or $fPageEntryNotInLogFile)" Error="Error" Sev="1" Title="存取分頁檔磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="分頁檔磁碟機 {2}: 存取 'LogicalDisk' 計數器時發生錯誤。{1}。" P1="../Exception/@Message" S2="%PAGEDISK%"/>
											<Rule Name="fPageEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取分頁檔磁碟機的 'LogicalDisk' 效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
										</Object>
									</Object>
								</Object>

								<!-- Get the Log health: Log Record Stalls and Threads Waiting -->

								<Object Type="Pdh" Name="Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="LOGSTALLDUP" Timeout="%1000">
									<Setting Key1="Database" Key2="Log Record Stalls/sec" Key3="Information Store" Format="Average">
										<Rule Name="fAvgLogRecordStallsPerSec10" Query="$. &gt; 10 and not($fSGBadInstanceLogRecord)" Error="Error" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值為 {9}，大於 {8} 的閾值。記錄磁碟機可能會是個瓶頸。" P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" S8="10" P9="roundto($.,2)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iAvgLogRecordStallsPerSec" Query="ifnumber($.,roundto($.,2))" Error="None" Text="平均 '{0}' = {9}。" P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" P9="roundto($.,2)"/>
										<Rule Name="fSGBadInstanceLogRecord" Query="$. = 'NaN'" Error="Warning" Title="收集效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('Database(Information Store)\Log Record Stalls/sec')"/>

									</Setting>
									<Setting Key1="Database" Key2="Log Record Stalls/sec" Key3="Information Store" Format="Max">
										<Rule Name="fMaxLogRecordStallsPerSec10" Query="$. &gt; 100 and not($fSGBadInstanceLogRecord)" Error="Error" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的最大值為 {9}，大於 {8} 的閾值。記錄磁碟機可能會是個瓶頸。" P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" S8="100" P9="roundto($.,2)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iMaxLogRecordStallsPerSec" Query="ifnumber($.,roundto($.,2))" Error="None" Text="最大 '{0}' = {9}。" P0="localize-path('Database(Information Store)\Log Record Stalls/sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Database" Key2="Log Threads Waiting" Key3="Information Store" Format="Average">
										<Rule Name="fAvgLogThreadsWaiting10" Query="$. &gt; 10" Error="Error" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值為 {9}，大於 {8} 的閾值。記錄磁碟機可能會是個瓶頸。" P0="localize-path('Database(Information Store)\Log Threads Waiting')" S8="10" P9="roundto($.,2)" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iAvgLogThreadsWaiting" Query="ifnumber($.,$.)" Text="平均 '{0}' = {9}。" P0="localize-path('Database(Information Store)\Log Threads Waiting')" P9="roundto($.,2)"/>
										<Rule Name="fSGBadInstanceLogThreadsWaiting" Query="$. = 'NaN'" Error="Warning" Title="收集效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('Database(Information Store)\Log Threads Waiting')"/>
									</Setting>
									<Setting Key1="Database" Key2="Log Threads Waiting" Key3="Information Store" Format="Max">
										<Rule Name="fMaxLogThreadsWaiting20" Query="$. &gt; 20 and not($fSGBadInstanceLogThreadsWaiting)" Error="Error" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的最大值為 {9}，大於 {8} 的閾值。記錄磁碟機可能會是個瓶頸。" P0="localize-path('Database(Information Store)\Log Threads Waiting')" S8="20" P9="$." GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="iMaxLogThreadsWaiting" Query="ifnumber($.,roundto($.,2))" Error="None" Text="最大 '{0}' = {9}。" P0="localize-path('Database(Information Store)\Log Threads Waiting')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Database" Key2="Database Page Fault Stalls/sec" Key3="Information Store" Format="Average">
										<Rule Name="iDBDatabasePageFaultStallssec" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('Database(Information Store)\Page Fault Stalls/sec')" P9="roundto($.,3)"/>
										<Rule Name="fDBBadInstancePageFaultStallsSec" Query="$. = 'NaN'" Error="Warning" Title="收集 Database 效能計數器資料時發生錯誤" Text="遺失 '{0}' 的效能資料。" P0="localize-path('Database(Information Store)\Database Page Fault Stalls/sec')"/>
										<Rule Name="fDBDatabasePageFaultStallssec0" Query="ifnumber($.,not($iDBDatabasePageFaultStallssec &lt; 0.05))" Error="Error" Sev="1" ReportIssue="Issue" Title="包含資料庫檔案的邏輯磁碟上找到效能問題" Text="'{0}' 的平均值應該為零。測量到的值為 {9}。" P0="localize-path('Database(Information Store)\Database Page Fault Stalls/sec')" P9="$iDBDatabasePageFaultStallssec" GUID="29f01985-7b44-47cb-96f7-d7c92fd8e867"/>
										<Rule Name="fDBDatabasePageFaultStallssec1" Query="ifnumber($.,not($iDBDatabasePageFaultStallssec &lt; 1))"/>

									</Setting>
									<Rule Name="fLogStallsBad" Query="$fAvgLogRecordStallsPerSec10 or $fMaxLogRecordStallsPerSec10 or $fAvgLogThreadsWaiting10 or $fMaxLogThreadsWaiting20" AlwaysEvaluate="True"/>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectPerfMonData" Title="效能資料收集" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%fCOLLECTPDH%" Substitution="fCOLLECTPDH" Display="Hide"/>
			<Setting Key1="%iSAMPLECOUNT%" Substitution="iSAMPLECOUNT" Display="Hide"/>
			<Setting Key1="%iSampleInterval%" Substitution="iSAMPLEINTERVAL" Display="Hide"/>
			<Setting Key1="%LOCALWINXPANDNOTSP2%" Substitution="LOCALWINXPANDNOTSP2" Display="Hide"/>
			<Setting Key1="%LOCALWIN2000%" Substitution="LOCALWIN2000" Display="Hide"/>
			<Setting Key1="%szLocalPerfLogsDirectory%" Substitution="szLocalPerfLogsDirectory" Display="Hide"/>
			<Object Type="Progress" Text="正在從 Exchange 伺服器 %szSERVER% 收集效能資料，請稍候。" Title="正在從 Exchange 伺服器收集效能資料" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Performance Data Collection" Display="Hide" Timeout="%500" SecurityContext="EXLOGON">
					<Rule Name="fDisplayCollectPerfMonDataStep" NextStep="DisplayResultsStep" Query="$fFatalErrorCollectingPerfmon" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCollectPerfMonData" Query="'CollectPerfMonData'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<!-- Overall success or failure? -->
					<Rule Name="szError6" Query="string(@Title)" Title="找到一或多個錯誤。"/>
					<Rule Name="szErrorStateTextCollectPerfMonData" Query="if(not($fFatalErrorCollectingPerfmon),string(@Title),$szError6)" Title="效能資料已順利收集至檔案 %szPDHFILE%。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCollectPerfMonDataResult" Query="string(@Title)" Title="效能資料收集結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>

					<!-- Establish default settings for performance sampling -->
					<Object Type="Group" Display="Hide" SecurityContext="">
						<!-- Collect Performance Data to a BLG file -->
						<Object Type="If" Name="Collect Pdh Data" Key1="'%fCOLLECTPDH%'=1">
							<Object Type="PdhCollect" Name="Performance Data" Key1="%szSERVER%" Key2="%iSAMPLECOUNT%" Key3="%iSAMPLEINTERVAL%" Key4="%szPDHFILE%" Timeout="%1000" SecurityContext="EXLOGON">
								<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total"/>
								<Setting Key1="__COUNTERFILE" Key2="%szLocalPerfLogsDirectory%\PerfCounters_%szSERVER%.txt"/>
								<Rule Name="fErrorBadServerName" Query="../Exception[contains(@Message,'0x800007d0')]" Error="Warning" Title="收集效能資料時發生錯誤: 伺服器名稱不正確" Text="收集計數器的效能資料時發生錯誤: '{0}'; 所指定的伺服器名稱無效。" P0="join(', ',../Exception[contains(@Message,'0x800007d0')]/@Path)"/>
								<Rule Name="fErrorBadPathName" Query="../Exception[contains(@Message,'0xc0000bc0')]" Error="Warning" Title="收集效能資料時發生錯誤: 效能計數器路徑不正確" Text="收集計數器的效能資料時發生錯誤: '{0}'; 所指定的效能計數器路徑無效。" P0="join(', ',../Exception[contains(@Message,'0xc0000bc0')]/@Path)"/>
								<Rule Name="fErrorBadObjectName" Query="../Exception[contains(@Message,'0xc0000bb8')]" Error="Warning" Title="收集效能資料時發生錯誤: 效能物件不正確" Text="收集計數器的效能資料時發生錯誤: '{0}'; 所指定的效能物件無效。" P0="join(', ',../Exception/@Path)"/>
								<Rule Name="fErrorBadCounterName" Query="../Exception[contains(@Message,'c0000bb9')]" Error="Warning" Title="收集效能資料時發生錯誤: 效能計數器不正確" Text="收集計數器的效能資料時發生錯誤: '{0}'; 所指定的效能計數器無效。" P0="join(', ',../Exception[contains(@Message,'0xc0000bb9')]/@Path)"/>
								<Rule Name="fFatalErrorBadCounterFileName" Query="../Exception[@HResult='-2147024894']" Error="Warning" Title="收集效能資料時發生錯誤: 計數器檔案不正確" Text="從檔案讀取效能計數器時發生錯誤。{1}" P1="join(' ',../Exception[@HResult='-2147024894']/@Message)"/>
								<Rule Name="fFatalErrorCollectingPerfmon" Query="../Exception and not(contains(../Exception/@Message,'0x800007d1') or contains(../Exception/@Message,'0xc00007d0') or contains(../Exception/@Message,'0xc0000bc0') or contains(../Exception/@Message,'0xc0000bb8') or contains(../Exception/@Message,'0xc0000bb9'))"/>
								<Rule Name="fNonFatalErrorCollectingPerfmon" Query="../Exception and not($fFatalErrorCollectingPerfmon)" AlwaysEvaluate="True"/>
								<Rule Name="fAllExceptions" Query="../Exception[not(@Path='')]" Error="Warning" Title="收集部分效能計數器時發生錯誤" Text="收集下列計數器的效能資料時發生錯誤: {1}。" P1="join(', ',../Exception[not(@Path='')]/@Path)"/>
								<Rule Name="fFileExistsError" Query="contains(../Exception/@Message,'0xc0000bc9')" Title="檔案錯誤: 無法收集效能資料" Text="無法收集效能資料。建立檔案 {1} 時發生錯誤。請指定其他檔案名稱。" S1="%szPDHFILE%" Error="Error" Sev="1"/>

								<Rule Name="fNoInstanceExistsError" Query="not(../Instance[1])"/>
								<Rule Name="fNoInstanceExistsErrorTell" Query="$fNoInstanceExistsError and not($fNoInstanceExistsErrorBadOS)" Error="Error" Title="收集效能資料時發生嚴重錯誤" Text="收集效能資料時發生錯誤。"/>
								<Rule Name="fNoInstanceExistsErrorBadOS" Query="$fNoInstanceExistsError and (@S1=1 or @S2=1)" S1="%LOCALWINXPANDNOTSP2%" S2="%LOCALWIN2000%" Error="Error" Title="收集效能資料時發生嚴重錯誤" Text="此工具必須在 Windows XP Service Pack 2 或更新的版本，或是 Windows Server 2003 上執行，才能收集效能資料。"/>
								<Rule Name="fSummaryFailedToCollect" Query="not($fSuccessCollect)" Error="Error" Title="收集效能資料時發生嚴重錯誤" Text="無法收集效能資料。" ReportIssue="Summary" AlwaysEvaluate="True"/>
								<Rule Name="fSummarySomeFailure" Query="($fNonFatalErrorCollectingPerfmon or $fAllExceptions) and not($fSummaryFailedToCollect)" Error="Warning" Title="收集效能資料時發生非嚴重錯誤" Text="收集效能資料時發生一或多個錯誤。這可能表示未收集到部分效能資料。" ReportIssue="Summary" AlwaysEvaluate="True"/>
							</Object>
							<!-- Add rules to check for exceptions/errors. Don't forget about differences between Ex2000 and Ex2003 counters -->
							<Rule NextStep="GetPerfMonTimeFrame" Name="fSuccessCollect" Query="not($fFatalErrorCollectingPerfmon) and not($fNoInstanceExistsError)" Text="- 分析先前收集到的效能資料。" Display="Hide">
							</Rule>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetPerfMonTimeFrame" Title="效能資料收集" Display="Left">
		<!-- This step is called when a users specifies a pre-existing performance data file; the step determines the time ranges of data in the file. -->
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%iTimeSliceDuration%" Substitution="iDURATION" Display="Hide"/>
			<Setting Key1="%szAll%" Substitution="szAll" Display="Hide"/>
			<Setting Key1="%szAllBadRPC%" Substitution="szAllBadRPC" Display="Hide"/>
			<Setting Key1="%varIsMailboxServer%" Substitution="varIsMailboxServer" Display="Hide"/>
			<Object Type="Progress" Text="正在從檔案 %szPDHFILE% 中讀取效能資料，請稍候。這可能會耗費幾分鐘的時間。" Title="正在從效能資料記錄檔讀取時間範圍" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="Get Perfmon Time Frame" Display="Hide" Timeout="%500" SecurityContext="EXLOGON">
					<Object Type="PdhInfo" Key1="%szPDHSERVERNAME%" Key2="%iDURATION%" Key3="%szPDHFILE%" Timeout="%1000">
						<Setting Key1="StartTime" Substitution="szSTARTTIME">
							<Rule Name="szTimeRange" Query="concat($.,' - ',$szEndTime2)">
								<Variable Name="szTimeRange[%szSTARTTIME%]" Scope="Children"/>
							</Rule>
							<Rule Name="szStartTime2" Query="$."/>
						</Setting>
						<Setting Key1="EndTime" Substitution="szENDTIME">
							<Rule Name="szEndTime2" Query="$."/>
						</Setting>
						<Setting Key1="StartSample" Substitution="szSTARTSAMPLE">
							<Rule Name="szStartSample" Query="$.">
								<Variable Name="TimeSliceInfo[%szSTARTTIME%][StartSample]" Scope="Children"/>
							</Rule>
						</Setting>
						<Setting Key1="SampleCount" Substitution="szSAMPLECOUNT">
							<Rule Name="szSampleCount" Query="$.">
								<Variable Name="TimeSliceInfo[%szSTARTTIME%][SampleCount]" Scope="Children"/>
							</Rule>
							<Rule Name="szTimeSliceStructure" Query="concat($szTimeRange,';',$szSampleCount)">
								<Variable Name="TimeSliceInfo[%szSTARTTIME%][TimeSliceInfoList]" Scope="Children"/>
							</Rule>
						</Setting>
					</Object>

					<!-- Create the CSV list of time ranges, and time range + sample count: -->
					<Rule Name="szAllSlices" Query="join(',',$szTimeRange)">
						<Variable Name="szAllTimeRanges" Scope="Children"/>
					</Rule>
					<Rule Name="szAllTime" Query="if($fAskForTimeFrame,@S1)" S1="%szAll%">
						<Variable Name="szTimeRange[All]" Scope="Children"/>
					</Rule>
					<Rule Name="szAllBadRPCTime" Query="if($fAskForTimeFrame and @S2='1',@S1)" S1="%szAllBadRPC%" S2="%varIsMailboxServer%">
						<Variable Name="szTimeRange[AllBadRPC]" Scope="Children"/>
					</Rule>
 					<Rule Name="szAllBadRPCTimeNotMailbox" Query="if($fAskForTimeFrame and not(@S2='1'),@S1)" S1="%szAll%" S2="%varIsMailboxServer%">
						<Variable Name="szTimeRange[All]" Scope="Children"/>
					</Rule>
					<Rule Name="szAllTimeInfoList" Query="if($fAskForTimeFrame,join(',',$szTimeSliceStructure))">
						<Variable Name="TimeSliceInfo[All][TimeSliceInfoList]" Scope="Children"/>
					</Rule>

					<!-- If there is more than one time range, ask the user which one they are interested in -->
					<Rule Name="fAskForTimeFrame" Query="count($szSampleCount) &gt;1"/>
					<Rule NextStep="SelectTimeFrame" Query="$fAskForTimeFrame"/>

					<!-- If there is only one time range, just use that and go directly to analysis: -->
					<Rule Name="szGetTimeIndex" Query="if(not($fAskForTimeFrame), $szStartTime2)">
						<Variable Name="szSELECTEDTIMEINDEX" Scope="Children"/>
					</Rule>
					<Rule Name="szGetTimeRange" Query="if(not($fAskForTimeFrame), $szAllSlices)">
						<Variable Name="szSELECTEDLISTOFTIMERANGES" Scope="Global"/>
					</Rule>
					<Rule NextStep="E12Collection_CheckPerfCounters" Name="fGoToCheckPerfNS" Display="Hide" Query="not($fAskForTimeFrame)" Priority="1" Text="- 分析效能計數器，以判斷伺服器目前是否呈現效能低落的狀態。在下個步驟中，工具將尋找瓶頸。" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectTimeFrame" Title="選取時間範圍" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%varContinueRun%" Substitution="fSKIPINFORMATIONALSTEPS" Display="Hide"/>
			<Setting Key1="%szTimeRange%" Substitution="szTimeRange" Display="Hide"/>
			<Setting Key1="%szAllTimeRanges%" Substitution="szAllTimeRanges" Display="Hide"/>
			<Setting Key1="%szAll%" Substitution="szAll" Display="Hide"/>
			<Setting Key1="%szAllBadRPC%" Substitution="szAllBadRPC" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="選取時間範圍"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="效能資料記錄檔已經以 20 分鐘為單位進行切割。請從檔案的時間範圍清單中，選取發生效能問題的時間範圍。"/>
				<Object Type="Control" SubType="ComboBox" Name="Time Frame" Position="Below" Default="%szTimeRange%" Width="800" SelectedValue="%szAllBadRPC%">
					<Setting Key1="Symptom">
						<Rule Name="szSelectedTimeFrame" Query="$."/>
						<Rule Name="fNotAllTimes" Query="not(contains($.,@S1)) and string-length($.) &gt; 0" S1="%szAll%" Priority="1" AlwaysEvaluate="True">
							<Rule Name="szGetStartTime" Query="substring-before($szSelectedTimeFrame,' - ')"/>
						</Rule>
						<Rule Name="fAnalyzeAllTimeSlices" Query="if($fNotAllTimes,'0','1')">
							<Variable Name="fAnalyzeAllTimeSlices" Scope="Children"/>
						</Rule>
						<Rule Name="fAnalyzeAllBadRPCs" Query="if($szSelectedTimeFrame = @S1,1,0)" S1="%szAllBadRPC%">
							<Variable Name="ANALYZEALLBADRPCS" Scope="Children"/>
						</Rule>
						<Rule Name="szGetTimeIndex2" Query="if($fAnalyzeAllTimeSlices=1, @S1, $szGetStartTime)" S1="%szAll%">
							<Variable Name="szSELECTEDTIMEINDEX" Scope="Children"/>
						</Rule>
						<Rule Name="szAnalyzeAllTimeRanges" Query="if($fAnalyzeAllTimeSlices=1,@S1,$.)" S1="%szAllTimeRanges%">
							<Variable Name="szSELECTEDLISTOFTIMERANGES" Scope="Global"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="CheckBox" Name="SkipInformational" Position="Below" LineSpace="4" Text="隱藏資訊性顯示" Default="%fSKIPINFORMATIONALSTEPS%">
					<Setting Key1="Checked">
						<Rule Name="iContinueRun2" Query="number($.=1)">
							<Variable Name="varContinueRun" Scope="Local"/>
						</Rule>
						<Rule Name="fSetSkipInfo" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','SkipInformationalSteps',number($.=1))"/>
					</Setting>
				</Object>

				<Object Type="Control" SubType="Label" Name="label6" Position="Below" Text="選取此選項將會在分析過程中隱藏詳細分析結果。"/>
				<Object Type="Control" SubType="Link" Name="Step0" Position="Below" Percent="20" Text="下一步"/>
				<Rule NextStep="E12Collection_CheckPerfCounters" Name="fGoToCheckPerfNS2" Display="Hide" Priority="1" Text="- 分析效能計數器，以判斷伺服器目前是否呈現效能低落的狀態。在下個步驟中，工具將尋找瓶頸。" AlwaysEvaluate="True"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetHighestCPUProcess" Title="處理器使用量" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%NUMBEROFPROCESSORS%" Substitution="VARiNumProcs" Display="Hide"/>
			<Setting Key1="%VARfProcessorProblem%" Substitution="VARfProcessorBottleneck" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Text="工具正在收集伺服器上的處理器使用量相關資訊，請稍候。" Title="正在收集關於處理器使用量的效能資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Process information" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">
					<Rule NextStep="DisplayResultsStep" Name="fDisplayResultsStepHighestCPU" Query="@S1=0" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szDisplayTextHighestCPU" Query="string(@Title)" Title="處理程序使用結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Rule Name="szHighCPUStepName" Query="'GetHighestCPUProcess'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szError7" Query="string(@Title)" Title="已識別出 store.exe 以外的處理程序造成大於 10% 的 CPU 負載。"/>
					<Rule Name="szCPUIssueFound" Query="if($fMostProcessorWarn or $fMostProcessorError or $fNextMostProcessorWarn,$szError7,string(@Title))" Title="未發現處理程序問題。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCPUSummaryHighProcFound" Query="@S1 and $szHighCPUUserList" Title="找到耗用了大量伺服器處理器時間的處理程序" Text="處理程序 {2} 可能是造成處理器瓶頸的原因。" S1="%VARfProcessorBottleneck%" P2="$iMostProcName" Error="Warning" ReportIssue="Summary"/>
					<Rule Name="fCPUSummaryNoHighProcFound" Query="@S1='1' and not($szHighCPUUserList)" Error="None" ReportIssue="Summary" Title="{0} 耗用大量處理器時間" Text="除了 {0} 處理程序之外，其他處理程序耗用的伺服器 CPU 均未超過 10%。這表示 {0} 處理程序是造成處理器瓶頸最可能的原因。" S0="Store.exe" S1="%VARfProcessorBottleneck%" AlwaysEvaluate="True"/>

					<Rule Name="fCPUSummaryProcFound" Query="not(@S1='1') and $szHighCPUUserList" Error="None" ReportIssue="Summary" Title="找到耗用了超過 10% 處理器時間的處理程序" Text="已識別出處理程序 {2} 造成超過 10% 的 CPU 負載。" S1="%VARfProcessorBottleneck%" P2="$iMostProcName" AlwaysEvaluate="True"/>
					<Rule Name="fCPUSummaryNoProcFound" Query="not(@S1='1') and not($szHighCPUUserList)" Error="None" ReportIssue="Summary" Title="沒有處理程序耗用超過 10% 的處理器時間" Text="除了 {0} 處理程序之外，其他處理程序耗用的伺服器 CPU 均未超過 10%。" S0="Store.exe" S1="%VARfProcessorBottleneck%" AlwaysEvaluate="True"/>

					<Object Type="Cache" Name="Process Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Process health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="Perfmon Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="PROCESSHEALTH" Timeout="%1000">
									<Rule Name="iRelevantProcesses" Query="$iProcessProcessorTime[../../../@Name != 'Process(_Total)' and ../../../@Name != 'Process(Idle)' and ../../../@Name != 'Process(store)' and text() != '0']/../../.."/>
									<Rule Name="szSortedProcesses" Query="nodesort($iRelevantProcesses, 'number(Instance/Setting/Rule/Result)','-1')"/>
									<Rule Name="iMostProcValue" Query="$szSortedProcesses[1]/Result/Instance/Setting/Rule/Result"/>
									<Rule Name="iMostProcName" Query="substring-before(substring-after($szSortedProcesses[1]/Result/Instance/@Name,'Process('),')')"/>
									<Rule Name="iNextMostProcValue" Query="$szSortedProcesses[2]/Result/Instance/Setting/Rule/Result"/>
									<Rule Name="iNextMostProcName" Query="substring-before(substring-after($szSortedProcesses[2]/Result/Instance/@Name,'Process('),')')"/>
									<Rule Name="fMostProcessor" Query="not($fMostProcessorError or $fMostProcessorWarn)" Error="None" Sev="1" ReportIssue="Issue" Title="使用最多處理器時間的處理程序" Text="不包括 {0} 處理程序在內，使用最多處理器時間的處理程序為 {1}，它耗用 {2}% 的 CPU 時間。" S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue"/>
									<Rule Name="fMostProcessorWarn" Query="$iMostProcValue &gt; 10 and @S3='1' and not($fMostProcessorError)" Error="Warning" Sev="2" ReportIssue="Issue" Title="處理器瓶頸: 使用最多處理器時間的處理程序" Text="不包括 {0} 處理程序在內，使用最多處理器時間的處理程序為 {1}，它耗用 {2}% 的 CPU 時間。此處理程序可能會造成處理器瓶頸。" S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue" S3="%VARfProcessorBottleneck%" GUID="27cf9861-3bb1-42db-9dbc-ba07748c1af7"/>
									<Rule Name="fMostProcessorError" Query="$iMostProcValue &gt; 20 and @S3='1'" Error="Error" Sev="1" ReportIssue="Issue" Title="處理器瓶頸: 使用最多處理器時間的處理程序" Text="不包括 {0} 處理程序在內，使用最多處理器時間的處理程序為 {1}，它耗用 {2}% 的 CPU 時間。此處理程序可能會造成處理器瓶頸。" S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue" S3="%VARfProcessorBottleneck%" GUID="32f1506b-6fd0-44f9-8e95-ace2e194e924"/>
									<Rule Name="fMostProcessorWarnNoBottleneck" Query="$iMostProcValue &gt; 50 and not(@S3)" Error="Warning" Sev="1" ReportIssue="Issue" Title="使用大量處理器時間的處理程序" Text="不包括 {0} 處理程序在內，使用最多處理器時間的處理程序為 {1}，它耗用 {2}% 的 CPU 時間。雖然目前未偵測到處理器瓶頸，但此處理程序可能會造成伺服器效能不佳。" S0="Store.exe" P1="$iMostProcName" P2="$iMostProcValue" S3="%VARfProcessorBottleneck%" GUID="1e479209-4e13-4fd1-97f5-8f79b7275406"/>
									<Rule Name="fNextMostProcessor" Query="$iNextMostProcValue and not($fNextMostProcessorWarn)" Error="None" Sev="1" ReportIssue="Issue" Text="不包括 {0} 處理程序在內，使用次多處理器時間的處理程序為 {1}，它耗用 {2}% 的 CPU 時間。" S0="Store.exe" P1="$iNextMostProcName" P2="$iNextMostProcValue"/>
									<Rule Name="fNextMostProcessorWarn" Query="$iNextMostProcValue &gt; 10 and @S3" Error="Warning" Sev="1" ReportIssue="Issue" Title="使用最多 CPU 時間的處理程序" Text="不包括 {0} 處理程序在內，使用次多處理器時間的處理程序為 {1}，它耗用 {2}% 的 CPU 時間。" S0="Store.exe" P1="$iNextMostProcName" P2="$iNextMostProcValue" S3="%VARfProcessorBottleneck%"/>
									<Rule Name="szHighCPUUserList" Query="$szSortedProcesses/Result/Instance/Setting/Rule/Result[text() &gt; 5]/../../../@Name"/>
									<Rule Name="szListCPUUsers" Query="$szHighCPUUserList" Error="None" ReportIssue="Issue" Text="下列處理程序使用超過 5% 的 CPU (不包括 {0} 處理程序): {1}" S0="Store.exe" P1="join(', ', $szHighCPUUserList)"/>
									<Setting Key1="Process" Key2="% Processor Time" Key3="*" Format="Average">
										<Rule Name="iProcessProcessorTime" Query="ifnumber($.,roundto($. div @S3,2))" Error="None" ReportIssue="Issue" Text="平均 '{0}' = {9}。" P0="concat(../../@Name, '\% Processor Time')" S3="%VARiNumProcs%" P9="roundto($. div @S3,2)"/>
									</Setting>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckTiQueues" Title="佇列健康狀況" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Text="工具正在從檔案 %szPDHFILE% 中讀取佇列效能資料，請稍候。這可能會耗費幾分鐘的時間。" Title="正在從效能記錄檔讀取佇列資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Queue Health" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">
					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayCheckTiQueuesStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCheckTiQueues" Query="'CheckTiQueues'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextCheckTiQueues" Query="if($fAnyErrorCheckTiQueues, string(@Title),' ')" Title="讀取效能資料時找到一或多個錯誤。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCheckTiQueuesResult" Query="string(@Title)" Title="佇列效能計數器結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
				Overall success or failure? AnyError and FatalError refer to problems with data collection.
				PerfError refers to a performance problem identified.
				PerfWarning refers to performance warnings identified.
				PerfIssue refers to both performance errors and warnings.
						-->
					<Rule Name="fFatalErrorCheckTiQueues" Query="$fFatalErrorCheckTiQueuesPERFMON"/>
					<Rule Name="fAnyErrorCheckTiQueues" Query="false()"/>
					<Rule Name="fPerfErrorCheckTiQueues" Query="$fQueue1 or $fQueue2 or $fQueue3 or $fQueue4 or $fQueue5 or $fQueue6 or $fQueue7 or $fQueue8 or $fQueue9 or $fQueue10"/>
					<Rule Name="fPerfWarningCheckTiQueues" Query="$fQueue11"/>
					<Rule Name="fPerfIssueCheckTiQueues" Query="$fPerfWarningCheckTiQueues or $fPerfErrorCheckTiQueues"/>
					<Rule Name="fSummaryFatalErrorCheckTiQueues" Query="$fFatalErrorCheckTiQueues" Error="Error" Sev="1" ReportIssue="Summary" Title="檢查佇列效能時發生嚴重錯誤" Text="檢查佇列效能計數器時發生嚴重錯誤"/>
					<Rule Name="fSummaryPerfIssueSummaryCheckTiQueues" Query="$fPerfIssueCheckTiQueues and not($fFatalErrorCheckTiQueues)" Error="Error" Sev="1" ReportIssue="Summary" Title="識別出佇列效能問題" Text="已從佇列效能計數器識別出效能問題。"/>
					<Rule Name="fSummaryNoPerfIssueCheckTiQueues" Query="not($fPerfIssueCheckTiQueues) and not($fFatalErrorCheckTiQueues)" Error="None" ReportIssue="Summary" Title="沒有識別出佇列效能問題" Text="沒有從佇列效能計數器識別出效能問題。"/>
					<Rule Name="fTryMFA" Query="$fQueue5 or $fQueue6 or $fQueue7 or $fQueue8 or $fQueue9 or $fQueue10" Error="BestPractice" ReportIssue="Summary" Title="找到佇列效能的問題" Text="由於偵測到佇列狀態的一些問題，所以建議您執行郵件流程疑難排解員，來識別有關傳遞的任何已知問題。" AlwaysEvaluate="True"/>

					<Object Type="Cache" Name="Queue Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Queue health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="Queue Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="QUEUEHEALTH" Timeout="%1000">
									<Setting Key1="Epoxy" Key2="Client Out Queue Length" Key3="IMAP" Format="Max">
										<Rule Name="iEpoxyIMAPClientOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('Epoxy(IMAP)\Client Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Epoxy" Key2="Store Out Queue Length" Key3="IMAP" Format="Max">
										<Rule Name="iEpoxyIMAPStoreOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('Epoxy(IMAP)\Store Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Epoxy" Key2="Client Out Queue Length" Key3="POP3" Format="Max">
										<Rule Name="iEpoxyPOP3ClientOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('Epoxy(POP3)\Client Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Epoxy" Key2="Store Out Queue Length" Key3="POP3" Format="Max">
										<Rule Name="iEpoxyPOP3StoreOutQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('Epoxy(POP3)\Store Out Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS Public" Key2="Replication Receive Queue Size" Key3="_Total" Format="Max">
										<Rule Name="iMSExchangeISPublicReplicationReceiveQueueSize" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Active User Count')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Categorizer Queue Length" Key3="_Total" Format="Average">
										<Rule Name="iSMTPServerCategorizerQueueLength" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('SMTP Server(_Total)\Categorizer Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Remote Queue Length" Key3="_Total" Format="Max">
										<Rule Name="iSMTPServerRemoteQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('SMTP Server(_Total)\Remote Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Remote Retry Queue Length" Key3="_Total" Format="Max">
										<Rule Name="iSMTPServerRemoteRetryQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('SMTP Server(_Total)\Remote Retry Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="SMTP Server" Key2="Local Queue Length" Key3="_Total" Format="Max">
										<Rule Name="iSMTPServerLocalQueueLength" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9}。" P0="localize-path('SMTP Server(_Total)\Local Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Queue Length" Key3="" Format="NinetiethPercentile">
										<Rule Name="iMSExchangeISVirusScanQueueLength" Query="ifnumber($.,roundto($.,2))" Text="第 90 個百分位數 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Virus Scan Queue Length')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Files Scanned/sec" Format="Average">
										<Rule Name="iVirusFilesScanned" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Virus Scan Files Scanned/Sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Files Quarantined/sec" Format="Average">
										<Rule Name="iVirusFilesQuarantined" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Virus Scan Files Quarantined/Sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeIS" Key2="Virus Scan Messages Processed/sec" Format="Average">
										<Rule Name="iVirusFilesProcessed" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeIS\Virus Scan Files Processed/Sec')" P9="roundto($.,2)"/>
									</Setting>

									<Rule Name="fQueue1" Query="$iEpoxyIMAPStoreOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('Epoxy(IMAP)\Store Out Queue Length')" S8="50" P9="$iEpoxyIMAPStoreOutQueueLength" GUID="0c5a3ae1-297f-4fff-967d-aa3bdf385f21"/>
									<Rule Name="fQueue2" Query="$iEpoxyIMAPClientOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('Epoxy(IMAP)\Client Out Queue Length')" S8="50" P9="$iEpoxyIMAPClientOutQueueLength" GUID="78ca8fd9-87a1-4406-bc02-8ba67d40c2b5"/>
									<Rule Name="fQueue3" Query="$iEpoxyPOP3StoreOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('Epoxy(POP3)\Store Out Queue Length')" S8="50" P9="$iEpoxyPOP3StoreOutQueueLength" GUID="dc964d28-74eb-4b92-b73d-ab8485a763d2"/>
									<Rule Name="fQueue4" Query="$iEpoxyPOP3ClientOutQueueLength &gt; 50" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('Epoxy(POP3)\Client Out Queue Length')" S8="50" P9="$iEpoxyPOP3ClientOutQueueLength" GUID="ab671905-ce41-41de-b881-b437fa8d7034"/>
									<Rule Name="fQueue5" Query="$iMSExchangeISPublicReplicationReceiveQueueSize &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('MSExchangeIS Public\Replication Receive Queue Size')" S8="1000" P9="$iMSExchangeISPublicReplicationReceiveQueueSize" GUID="666efd86-e6c4-4ad0-a952-d43e0c0bcc87"/>
									<Rule Name="fQueue6" Query="$iSMTPServerCategorizerQueueLength &gt; 10" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('SMTP Server(_Total)\Categorizer Queue Length')" S8="10" P9="$iSMTPServerCategorizerQueueLength" GUID="eb297e25-f90f-4643-b25a-bcd69dbe5ed5"/>
									<Rule Name="fQueue7" Query="$iSMTPServerRemoteQueueLength &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('SMTP Server(_Total)\Remote Queue Length')" S8="1000" P9="$iSMTPServerRemoteQueueLength" GUID="611e9363-19ff-45be-aa60-57c701007ead"/>
									<Rule Name="fQueue8" Query="$iSMTPServerRemoteRetryQueueLength &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('SMTP Server(_Total)\Remote Retry Queue Length')" S8="1000" P9="$iSMTPServerRemoteRetryQueueLength" GUID="0ef8e33b-63ff-409d-b680-636b8dac398b"/>
									<Rule Name="fQueue9" Query="$iSMTPServerLocalQueueLength &gt; 1000" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的上限值超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('SMTP Server(_Total)\Local Queue Length')" S8="1000" P9="$iSMTPServerLocalQueueLength" GUID="9cda2187-f62f-47e0-93eb-7fa56f0dd84a"/>
									<Rule Name="fQueue10" Query="$iMSExchangeISVirusScanQueueLength &gt; 10" Error="Error" Sev="1" ReportIssue="Issue" Title="第 90 個百分位數 '{0}' 超過錯誤閾值" Text="'{0}' 的第 90 個百分位數超過 {8} 的錯誤閾值。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\Virus Scan Queue Length')" S8="10" P9="$iMSExchangeISVirusScanQueueLength" GUID="0e2f1500-4a18-4045-b026-48ff6b95a0a2"/>
									<Rule Name="fQueue11" Query="$iMSExchangeISVirusScanQueueLength &gt; 5 and not($fQueue10)" Error="Warning" Sev="1" ReportIssue="Issue" Title="第 90 個百分位數 '{0}' 超過警告閾值" Text="'{0}' 的第 90 個百分位數超過 {8} 的警告閾值。測量到的值為 {9}。" P0="localize-path('MSExchangeIS\Virus Scan Queue Length')" S8="5" P9="$iMSExchangeISVirusScanQueueLength" GUID="2c99332c-7fa5-48ff-9c94-cba31c91b38a"/>
									<Rule Name="fFatalErrorCheckTiQueuesPERFMON" Query="../Exception and not($fQueueEntryNotInLogFile)" Error="Error" Title="存取佇列效能資料時發生錯誤" Text="存取佇列效能計數器時發生錯誤。{1}" P1="../Exception/@Message"/>
									<Rule Name="fQueueEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Title="存取佇列效能資料時發生錯誤" Text="有一或多個效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)" Error="Warning" Sev="1"/>

								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="TestPdhFileWrite" Title="驗證資料檔案路徑" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%varIsExchange2003%" Substitution="varIsExchange2003" Display="Hide"/>
			<Setting Key1="%WINDOWSPATHDRIVE%" Substitution="WINDOWSPATHDRIVE" Display="Hide"/>
			<Object Type="Progress" Text="正在驗證資料檔案路徑。" Title="資料檔案路徑" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Data File Path Validation" Display="Hide" SecurityContext="EXLOGON">

					<!-- Make sure the path exists, but the file doesn't. -->

					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayTestPdhFileWriteStep" NextStep="DisplayResultsStep" Query="$fFatalErrorTestPdhFileWrite" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szTestPdhFileWrite" Query="'TestPdhFileWrite'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextTestPdhFileWrite" Query="if($fAnyErrorTestPdhFileWrite, string(@Title),' ')" Title="讀取效能資料時發生一或多個錯誤。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szTestPdhFileWriteResult" Query="string(@Title)" Title="資料檔案結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
					Overall success or failure? AnyError and FatalError refer to problems with data collection.
					PerfError refers to a performance problem identified.
					PerfWarning refers to performance warnings identified.
						-->
					<Rule Name="fAnyErrorTestPdhFileWrite" Query="false()"/>
					<Rule Name="fSummaryFatalErrorTestPdhFileWrite" Query="$fFatalErrorTestPdhFileWrite" Error="Error" Sev="1" ReportIssue="Summary" Title="寫入資料檔案時發生錯誤" Text="無法寫入資料檔案 {0}。" S0="%szPDHFILE%"/>
					<Rule Name="fSummaryNoPerfIssueTestPdhFileWrite" Query="not($fFatalErrorTestPdhFileWrite)"/>

					<Object Type="If" Key1="true()">
						<Setting Key1="'%szPDHFILE%'" Substitution="szPDHPATH" SubstitutionFormat="\\[^\\]*$----"/>
						<Object Type="File" Key2="%szPDHFILE%">
							<Setting Key1="Exists">
								<Rule Name="fCollectAndFileExists" Query="$." Title="效能資料檔案已存在" Text="因為檔案已存在，所以無法儲存效能資料至新檔案 {2}。" S2="%szPDHFILE%" Error="Error" Sev="1"/>
							</Setting>
						</Object>
						<Object Type="File" Key2="%szPDHPATH%">
							<Setting Key1="Exists">
								<Rule Name="fCollectAndPathExists" Query="$."/>
							</Setting>
						</Object>
						<Rule Name="fCollectAndPathDoesntExist" Query="not($fCollectAndPathExists)" Error="Error" Sev="1" Title="目錄不存在" Text="無法將效能資料儲存至檔案 {2}，因為路徑不存在。" S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorTestPdhFileWrite" Query="$fCollectAndFileExists or $fCollectAndPathDoesntExist" AlwaysEvaluate="True"/>
						<Rule NextStep="CollectPerfMonData" Query="not($fFatalErrorTestPdhFileWrite)" Text="- 收集效能資料" AlwaysEvaluate="True"/>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckLDAP" Title="LDAP 健康狀況" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Setting Key1="%fIsSmallServer%" Substitution="fIsSmallServer" Display="Hide"/>
			<Object Type="Progress" Title="正在從效能記錄檔中讀取輕量型目錄存取通訊協定 (LDAP) 延遲資料" Text="工具正在從檔案 %szPDHFILE% 中讀取效能資料，請稍候。這可能會耗費幾分鐘的時間。" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="LDAP Health" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">

					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayCheckLDAPStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCheckLDAP" Query="'CheckLDAP'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextCheckLDAP" Query="if($fAnyErrorCheckLDAP, string(@Title),' ')" Title="讀取 '{0}' 效能資料時，找到一或多個錯誤。" S0="MSExchangeDSAccess Domain Controllers" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCheckLDAPResult" Query="string(@Title)" Title="LDAP 健康狀況結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>

					<!--
				Overall success or failure? AnyError and FatalError refer to problems with data collection.
				PerfError refers to a performance problem identified.
				PerfWarning refers to performance warnings identified.
				PerfIssue refers to both performance errors and warnings.
						-->

					<Rule Name="fFatalErrorCheckLDAP" Query="$fFatalErrorCheckLDAPPerfmon"/>
					<Rule Name="fAnyErrorCheckLDAP" Query="false()"/>
					<Rule Name="fPerfErrorCheckLDAP" Query="$fLDAP1 or $fLDAP2 or $fLDAP3 or $fLDAP4 "/>
					<Rule Name="fPerfWarningCheckLDAP" Query="false()"/>
					<Rule Name="fPerfIssueCheckLDAP" Query="$fPerfWarningCheckLDAP or $fPerfErrorCheckLDAP"/>
					<Rule Name="fSummaryFatalErrorCheckLDAP" Query="$fFatalErrorCheckLDAP" Error="Error" Sev="1" ReportIssue="Summary" Title="讀取效能資料時發生嚴重錯誤" Text="存取 '{0}' 效能計數器時發生錯誤。" S0="MSExchangeDSAccess Domain Controllers"/>
					<Rule Name="fSummaryPerfIssueCheckLDAP" Query="$fPerfIssueCheckLDAP and not($fFatalErrorCheckLDAP)" Error="Error" Sev="1" ReportIssue="Summary" Title="超過閾值的輕量型目錄存取通訊協定 (LDAP) 延遲" Text="'{0}' 效能計數器超過建議的閾值。" S0="MSExchangeDSAccess Domain Controllers LDAP"/>
					<Rule Name="fSummaryNoPerfIssueCheckLDAP" Query="not($fPerfIssueCheckLDAP) and not($fFatalErrorCheckLDAP)" Error="None" ReportIssue="Summary" Title="未發現輕量型目錄存取通訊協定 (LDAP) 效能問題" Text="找不到 '{0}' 效能計數器的問題。" S0="MSExchangeDSAccess Domain Controllers LDAP"/>

					<Object Type="Cache" Name="LDAP Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="LDAP health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="MSExchangeDSAccess Domain Controllers Performance Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="LDAPHEALTH" Timeout="%1000">
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Read Time" Key3="*" Format="Average">
										<Rule Name="szDCInstanceName" Query="substring-before(substring-after(../../@Name,'('),')')"/>
										<Rule Name="iLDAPReadAvg" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9} ms。" P0="concat(../../@Name, '\LDAP Read Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP1" Query="$iLDAPReadAvg &gt; 50 and not($fLowLDAPReadCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值超過 {8} 毫秒的錯誤閾值。測量到的值為 {9} 毫秒。" P0="concat(../../@Name, '\LDAP Read Time')" S8="50" P9="$iLDAPReadAvg" GUID="c997d773-b75a-4525-aecb-2b7dd4143f99"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Read Time" Key3="*" Format="Max">
										<Rule Name="iLDAPReadMax" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9} ms。" P0="concat(../../@Name, '\LDAP Read Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP2" Query="$iLDAPReadMax &gt; 100 and not($fLowLDAPReadCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的最大值超過 {8} 毫秒的錯誤閾值。測量到的值為 {9} 毫秒。" P0="concat(../../@Name, '\LDAP Read Time')" S8="100" P9="$iLDAPReadMax" GUID="ecdef5be-83b7-49ba-a48b-618708f4d1c0"/>
										<Rule Name="fLDAPLowReadMax" Query="$iLDAPReadMax &gt; @S8 and $fLowLDAPReadCallRate" Error="Warning" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過警告閾值" Text="最大 '{0}' 超過 {8} 毫秒的警告閾值。測量到的值為 {9} 毫秒。此網域控制站的讀取率為每秒 {3} 次呼叫，表示 Active Directory 伺服器不常使用。比率低於 {4} 就視為低比率。" P0="concat(../../@Name, '\LDAP Read Time')" P3="$fLowLDAPReadCallRate" P4="$iLowLDAPThreshold" S8="100" P9="$iLDAPReadMax" GUID="ecdef5be-83b7-49ba-a48b-618708f4d1c0"/>

									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Search Time" Key3="*" Format="Average">
										<Rule Name="iLDAPSearchAvg" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9} ms。" P0="concat(../../@Name, '\LDAP Search Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP3" Query="$iLDAPSearchAvg &gt; 50 and not($fLowLDAPSearchCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值超過 {8} 毫秒的錯誤閾值。測量到的值為 {9} 毫秒。" P0="concat(../../@Name, '\LDAP Search Time')" S8="50" P9="$iLDAPSearchAvg" GUID="09088f9f-38c8-4701-b871-85d76733e3ac"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Search Time" Key3="*" Format="Max">
										<Rule Name="iLDAPSearchMax" Query="ifnumber($.,roundto($.,2))" Text="最大 '{0}' = {9} ms。" P0="concat(../../@Name, '\LDAP Search Time')" P9="roundto($.,2)"/>
										<Rule Name="fLDAP4" Query="$iLDAPSearchMax &gt; 100 and not($fLowLDAPSearchCallRate)" Error="Error" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過錯誤閾值" Text="'{0}' 的最大值超過 {8} 毫秒的錯誤閾值。測量到的值為 {9} 毫秒。" P0="concat(../../@Name, '\LDAP Search Time')" S8="100" P9="$iLDAPSearchMax" GUID="8d27bbc3-dd41-4463-b4a0-37cbe605ac25"/>
										<Rule Name="fLDAPLowSearchMax" Query="$iLDAPSearchMax &gt; @S8 and $fLowLDAPSearchCallRate" Error="Warning" Sev="1" ReportIssue="Issue" Title="最大 '{0}' 超過警告閾值" Text="最大 '{0}' 超過 {8} 毫秒的警告閾值。測量到的值為 {9} 毫秒。此網域控制站的搜尋率為每秒 {3} 次呼叫，表示 Active Directory 伺服器不常使用。比率低於 {4} 就視為低比率。" P0="concat(../../@Name, '\LDAP Search Time')" P3="$fLowLDAPSearchCallRate" P4="$iLowLDAPThreshold" S8="100" P9="$iLDAPSearchMax" GUID="8d27bbc3-dd41-4463-b4a0-37cbe605ac25"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Search calls/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPSearchCallRate" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="concat(../../@Name, '\LDAP Search calls/Sec')" P9="roundto($.,2)"/>
										<Rule Name="fLowLDAPSearchCallRate" Query="if(@S1='1',$. &lt; 0.1,$. &lt; 0.5)" S1="%fIsSmallServer%"/>
										<Rule Name="iLowLDAPThreshold" Query="if(@S1='1',0.1,0.5)" S1="%fIsSmallServer%"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Domain Controllers" Key2="LDAP Read calls/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPReadRate" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="concat(../../@Name, '\LDAP Read calls/Sec')" P9="roundto($.,2)"/>
										<Rule Name="fLowLDAPReadCallRate" Query="if(@S1='1',$. &lt; 0.1,$. &lt; 0.5)" S1="%fIsSmallServer%"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Caches" Key2="Cache Hits/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPCacheRate" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeDSAccess Caches(0)\Cache Hits/Sec')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="MSExchangeDSAccess Caches" Key2="LDAP Searches/Sec" Key3="*" Format="Average">
										<Rule Name="iLDAPSearchRate" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="localize-path('MSExchangeDSAccess Caches(0)\LDAP Searches/Sec')" P9="roundto($.,2)"/>
									</Setting>

									<Rule Name="fFatalErrorCheckLDAPPerfmon" Query="../Exception and not($fLDAPEntryNotInLogFile)" Error="Error" Title="存取 'MSExchangeDSAccess Domain Controllers' 及 (或) '{0}' 效能計數器資料時發生錯誤" Text="存取 '{3}' 效能計數器時發生錯誤。{1}" S0="MSExchangeDSAccess Caches" P1="../Exception/@Message" S3="MSExchangeDSAccess Domain Controllers"/>
									<Rule Name="fLDAPEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取效能計數器資料時發生錯誤" Text="有一或多個 '{0}' 效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S0="MSExchangeDSAccess Domain Controllers" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>
								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckNetworkUsage" Title="網路使用" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szSERVER" Display="Hide"/>
			<Setting Key1="%szPDHSERVERNAME%" Substitution="szPDHSERVERNAME" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%TimeSliceInfo[%szSELECTEDTIMEINDEX%][TimeSliceInfoList]%" Substitution="szSELECTEDLISTOFTIMESLICES" Display="Hide"/>
			<Setting Key1="%szSELECTEDLISTOFTIMERANGES%" Substitution="szSELECTEDLISTOFTIMERANGES" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" Text="工具正在從檔案 %szPDHFILE% 中讀取效能資料，請稍候。這可能會耗費幾分鐘的時間。" Title="正在從效能記錄檔讀取網路介面資料" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Network Usage" Class="區域" GroupingClass="True" SecurityContext="EXLOGON">


					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayCheckNetworkUsageStep" NextStep="DisplayResultsStep" Query="@S1=0" S1="%varContinueRun%" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szCheckNetworkUsage" Query="'CheckNetworkUsage'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextCheckNetworkUsage" Query="if($fAnyErrorCheckNetworkUsage, string(@Title),' ')" Title="讀取效能資料時找到一或多個錯誤。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szCheckNetworkUsageResult" Query="string(@Title)" Title="網路效能計數器結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
				Overall success or failure? AnyError and FatalError refer to problems with data collection.
				PerfError refers to a performance problem identified.
				PerfWarning refers to performance warnings identified.
				PerfIssue refers to both performance errors and warnings.
						-->
					<Rule Name="fFatalErrorCheckNetworkUsage" Query="$fFatalErrorCheckNetworkUsagePerfmon"/>
					<Rule Name="fAnyErrorCheckNetworkUsage" Query="false()"/>
					<Rule Name="fPerfErrorCheckNetworkUsage" Query="$fNetwork1 or $fNetwork2 or $fNetwork3"/>
					<Rule Name="fPerfWarningCheckNetworkUsage" Query="false()"/>
					<Rule Name="fPerfIssueCheckNetworkUsage" Query="$fPerfWarningCheckNetworkUsage or $fPerfErrorCheckNetworkUsage"/>

					<Rule Name="fSummaryFatalErrorCheckNetworkUsage" Query="$fFatalErrorCheckNetworkUsage" Error="Error" Sev="1" ReportIssue="Summary" Title="存取網路介面資料時發生錯誤" Text="存取 'Network Interface' 效能計數器時發生錯誤"/>
					<Rule Name="fSummaryPerfIssueCheckNetworkUsage" Query="$fPerfIssueCheckNetworkUsage and not($fFatalErrorCheckNetworkUsage)" Error="Error" Sev="1" ReportIssue="Summary" Title="找到網路介面效能問題" Text="找到 Network Interface 效能計數器的效能問題。"/>
					<Rule Name="fSummaryNoPerfIssueCheckNetworkUsage" Query="not($fPerfIssueCheckNetworkUsage) and not($fFatalErrorCheckNetworkUsage)" Error="None" ReportIssue="Summary" Title="沒有識別出網路介面效能問題" Text="找不到 Network Interface 效能計數器的效能問題。"/>

					<Object Type="Cache" Name="Network Performance Counter Health" Key1="Add" Key2="TimeSlices" Key3="%szSELECTEDLISTOFTIMERANGES%" Key4="," Class="時間範圍" GroupingClass="True">
						<Setting Substitution="szTIMERANGE" Display="Hide"/>
						<Object Type="Cache" Name="CurrentTimeSlice" Key1="Add" Key2="Timeslice%szTIMERANGE%" Key3="%szSELECTEDLISTOFTIMESLICES%" Display="Hide">
							<Setting Substitution="iSAMPLECOUNT" Format=".*?%szTIMERANGE%;([^,]*).*----$1" Display="Hide"/>

							<Object Type="Group" Name="Network interface health during the time range: %szTIMERANGE%">
								<Object Type="Pdh" Name="Network Interface Performance Counter Data" Key1="%szPDHSERVERNAME%" Key2="%iSAMPLECOUNT%" Key3="%szPDHFILE%" Key4="%szTIMERANGE%" Key5="NETWORKHEALTH" Timeout="%1000">
									<Setting Key1="Network Interface" Key2="Output Queue Length" Key3="*" Format="Average">
										<Rule Name="szNetworkInstanceName" Query="substring-before(substring-after(../../@Name,'('),')')"/>
										<Rule Name="iNetworkOutQueueAvg" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9} 封包。" P0="concat(../../@Name, '\Output Queue Length')" P9="roundto($.,2)"/>
										<Rule Name="fNetwork1" Query="$iNetworkOutQueueAvg &gt; 10" Error="Error" Sev="1" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="'{0}' 的平均值大於 {8} 個封包的錯誤閾值。測量到的值為 {9} 個封包。" P0="concat(../../@Name, '\Output Queue Length')" S8="10" P9="$iNetworkOutQueueAvg" GUID="892c94fd-62b3-4566-b022-6480693df656"/>
									</Setting>
									<Setting Key1="Network Interface" Key2="Current Bandwidth" Key3="*" Format="Average">
										<Rule Name="iNetworkBandwidth" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="concat(../../@Name, '\Current Bandwidth')" P9="roundto($.,2)"/>
									</Setting>
									<Setting Key1="Network Interface" Key2="Packets Outbound Errors" Key3="*" Format="Average">
										<Rule Name="iNetworkOutErrorsAvg" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9} 封包。" P0="concat(../../@Name, '\Packets Outbound Errors')" P9="roundto($.,2)"/>
										<Rule Name="fNetwork3" Query="$iNetworkOutErrorsAvg &gt; 0" Error="Error" Sev="1" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="平均 '{0}' 大於 {8} 個封包。測量到的值為 {9} 個封包。" P0="concat(../../@Name, '\Packets Outbound Errors')" S8="0" P9="$iNetworkOutErrorsAvg" GUID="888f862e-93ed-4e31-ac1a-8c22f303f43b"/>
									</Setting>
									<Setting Key1="Network Interface" Key2="Bytes Total/sec" Key3="*" Format="Average">
										<Rule Name="iNetworkBytesPerSecAvg" Query="ifnumber($.,roundto($.,2))" Text="平均 '{0}' = {9}。" P0="concat(../../@Name, '\Bytes Total/sec')" P9="roundto($.,2)"/>
										<Rule Name="fNetwork2" Query="$iNetworkBytesPerSecAvg &gt; 0.7 * $iNetworkBandwidth " Error="Error" Sev="1" ReportIssue="Issue" Title="平均 '{0}' 超過錯誤閾值" Text="平均 '{0}' 超過錯誤閾值，即所報告容量的 {8}%。測量到的值為 {9}。測量到的容量為 {2}。" P0="concat(../../@Name, '\Bytes Total/sec')" P2="$iNetworkBandwidth" S8="70" P9="$iNetworkBytesPerSecAvg" GUID="34d6c8c9-181a-4bfc-a90f-0b7bbddf0d2e"/>
										<Rule Name="iNetworkBandwidthUsage" Query="round( 100* $iNetworkBytesPerSecAvg div $iNetworkBandwidth)" Error="None" Sev="1" Title="已使用的平均網路頻寬百分比" Text="網路控制站 '{1}' 的頻寬使用百分比為 {0}%。" P0="$iNetworkBandwidthUsage" P1="$szNetworkInstanceName"/>
									</Setting>
									<Rule Name="fFatalErrorCheckNetworkUsagePerfmon" Query="../Exception and not($fNetworkEntryNotInLogFile)" Error="Error" Title="存取網路效能計數器資料時發生錯誤" Text="存取 'Network Interface' 效能計數器時發生錯誤。{1}" P1="../Exception/@Message"/>
									<Rule Name="fNetworkEntryNotInLogFile" Query="contains(../Exception/@Message,'0xc0000bcd') or contains(../Exception/@Message,'0xc0000bc4')" Error="Warning" Sev="1" Title="存取網路效能計數器資料時發生錯誤" Text="有一或多個 'Network Interface' 效能計數器不在檔案 {1} 中。遺失下列計數器: {2}" S1="%szPDHFILE%" P2="join(',',../Exception/@Path)"/>

								</Object>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="TestPdhFileRead" Title="讀取資料檔案" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Object Type="Progress" Text="" Title="" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Group" Name="Read Data File" Display="Hide" SecurityContext="EXLOGON">

					<!-- Make sure we can read the file. -->

					<!-- These rules identify sucess or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
					<Rule Name="fDisplayTestPdhFileReadStep" NextStep="DisplayResultsStep" Query="$fFatalErrorTestPdhFileRead or $fNoMatchFoundWarning or $fFatalExceptionReadingData" Priority="1" AlwaysEvaluate="True"/>
					<Rule Name="szTestPdhFileRead" Query="'TestPdhFileRead'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<Rule Name="szErrorStateTextTestPdhFileRead" Query="if($fAnyErrorTestPdhFileRead or $fNoMatchFoundWarning, string(@Title),' ')" Title="讀取效能資料時發生一或多個問題。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szTestPdhFileReadResult" Query="string(@Title)" Title="資料檔案結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<!--
					Overall success or failure? AnyError and FatalError refer to problems with data collection.
					PerfError refers to a performance problem identified.
					PerfWarning refers to performance warnings identified.
						-->
					<Rule Name="fAnyErrorTestPdhFileRead" Query="false()"/>
					<Rule Name="fSummaryFatalErrorTestPdhFileRead" Query="$fFatalErrorTestPdhFileRead" Error="Error" Sev="1" ReportIssue="Summary" Title="讀取效能資料時發生錯誤" Text="讀取效能資料檔案 {2} 時發生錯誤。" S2="%szPDHFILE%"/>
					<Rule Name="fSummaryNoPerfIssueTestPdhFileRead" Query="not($fFatalErrorTestPdhFileRead)"/>

					<Object Type="If" Key1="true()">
						<Setting Key1="'%szPDHFILE%'" Substitution="szPDHFILEPATH" SubstitutionFormat="\\[^\\]*$----"/>
						<Object Type="File" Key2="%szPDHFILE%">
							<Setting Key1="Exists">
								<Rule Name="fNoCollectAndFileExists" Query="$."/>
							</Setting>
						</Object>
						<Object Type="File" Key2="%szPDHFILEPATH%">
							<Setting Key1="Exists">
								<Rule Name="fNoCollectAndPathExists" Query="$."/>
							</Setting>
						</Object>
						<Rule Name="fNoCollectAndPathDoesntExist" Query="not($fNoCollectAndPathExists)" Error="Error" Sev="1" Title="無法讀取效能資料: 路徑不正確" Text="因為檔案路徑不存在，所以無法從檔案 {2} 讀取效能資料。" S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fNoCollectAndFileDoesntExist" Query="not($fNoCollectAndFileExists) and $fNoCollectAndPathExists" Error="Error" Sev="1" Title="無法讀取效能資料: 檔案不存在" Text="因為檔案不存在，所以無法從檔案 {2} 讀取效能資料。請驗證檔案確實存在，且對此檔案的資料收集已完成。" S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorTestPdhFileRead" Query="$fFatalErrorReadingPdhFile or $fNoCollectAndFileDoesntExist or $fNoCollectAndPathDoesntExist" AlwaysEvaluate="True"/>
					</Object>
					<Object Type="Pdh" Name="Performance Data" Key1="%SERVER%" Key2="4" Key3="%szPDHFILE%" Key4="0" Timeout="%1000">
						<Setting Key1="Processor" Key2="% Processor Time" Key3="_Total" Format="Average">
							<Rule Name="fTestAvgCPU" Query="$."/>
						</Setting>
						<Rule Name="fFailedToReadProcessor" Query="not($fTestAvgCPU) and not($fNoCollectAndFileDoesntExist) and not($fNoCollectAndPathDoesntExist)" Error="Error" Sev="1" Title="無法讀取伺服器 {1} 的效能資料" Text="在檔案 {2} 中找不到 '{0}' 效能資料。" P0="localize-path('\\%SERVER%\Processor(_Total)\% Processor Time')" S1="%SERVER%" S2="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorReadingPdhFile" Query="not($fTestAvgCPU) and not($fNoMatchFoundWarning)" AlwaysEvaluate="True"/>
					</Object>

					<!-- Enumerate the server names in the file -->
					<Object Type="PdhInfo" Key1="*" Key2="0" Key3="%szPDHFILE%" SecurityContext="EXLOGON" Timeout="%1000">
						<Setting Key1="Server" Substitution="BLGSERVER">
							<Rule Name="szENUMPDHSERVERNAME" Query="@S1" S1="%BLGSERVER%">
								<Variable Name="BLGServers[%BLGSERVER%]" Scope="Children"/>
							</Rule>
							<Rule Name="fMatchFound" Query="upper-case($.) = upper-case(@S1)" S1="%SERVER%"/>
						</Setting>
						<Rule Name="fFatalExceptionReadingData" Query="../Exception and not($fMatchFound)" Error="Error" Title="無法讀取效能資料" Text="無法從檔案 {0} 讀取效能資料。" S0="%szPDHFILE%" AlwaysEvaluate="True"/>
						<Rule Name="fNoMatchFoundWarning" Query="count($szServerList) &gt; 0 and not($fMatchFound) and not($fFatalExceptionReadingData) and not($fNoCollectAndPathDoesntExist) and not($fNoCollectAndFileDoesntExist)" Title="沒有伺服器 {1} 的效能資料" Text="在 {0} 檔案中找不到伺服器 {1} 的效能資料。檔案包含關於下列伺服器的資料: {2} " S0="%szPDHFILE%" S1="%SERVER%" P2="$szServerList" Error="Warning" AlwaysEvaluate="True"/>
						<Rule Name="szServerList" Query="join(',',$szENUMPDHSERVERNAME)"/>
						<Rule Name="iServerCount" Query="count($szENUMPDHSERVERNAME)"/>
						<Rule Name="iNewServerName" Query="if($iServerCount=1,$szENUMPDHSERVERNAME)">
							<Variable Name="szPDHSERVERNAME" Scope="Children"/>
						</Rule>
					</Object>
					<Rule Name="fWarningContinueAnyway" Query="$fNoMatchFoundContinueAnyway" Title="正在使用效能檔案中的伺服器名稱" Text="因為在檔案 {0} 中找不到指定的伺服器名稱 {2}，此工具分析了從檔案擷取之伺服器 {1} 的效能計數器資料。" S0="%szPDHFILE%" P1="$szENUMPDHSERVERNAME" S2="%SERVER%" Error="Warning" Sev="1" AlwaysEvaluate="True"/>
					<Rule NextStep="GetPerfMonTimeFrame" Name="fNoMatchFoundContinueAnyway" Query="$fNoMatchFoundWarning and $iServerCount = 1" Text="- 繼續使用伺服器 {1} 的效能計數器資料 (從檔案 {0} 擷取而來) 進行疑難排解。" S0="%szPDHFILE%" P1="$szENUMPDHSERVERNAME" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="SelectServerFromBLGList" Name="fNoMatchFound" Query="$fNoMatchFoundWarning and $iServerCount &gt; 1" Text="- 可讓您從檔案 {0} 中找到的伺服器清單選取伺服器。" S0="%szPDHFILE%" Display="Hide" AlwaysEvaluate="True"/>
					<Rule NextStep="GetPerfMonTimeFrame" Name="fGetTimeFrameNS" Display="Hide" Query="not($fFatalErrorTestPdhFileRead) and not($fNoMatchFoundWarning) and not($fFatalExceptionReadingData)" Text="- 從效能資料檔案讀取時間範圍。" AlwaysEvaluate="True"/>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetDataCollectionInfo" Title="設定資料收集" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%fDONTCOLLECTPDHREGKEY%" Substitution="fDONTCOLLECTPDHREGKEY" Display="Hide"/>
			<Setting Key1="%fCOLLECTPDHREGKEY%" Substitution="fCOLLECTPDHREGKEY" Display="Hide"/>
			<Setting Key1="%fSERVERCOLLECTPDHREGKEY%" Substitution="fSERVERCOLLECTPDHREGKEY" Display="Hide"/>
			<Setting Key1="%szSELECTEDDURATION%" Substitution="szSELECTEDDURATION" Display="Hide"/>
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%szLocalPdhFileName%" Substitution="szLocalPdhFileName" Display="Hide"/>
			<Setting Key1="%szTimeFrame%" Substitution="szTimeFrame" Display="Hide"/>
			<Setting Key1="%szServerPdhFileName%" Substitution="szServerPdhFileName" Display="Hide"/>
			<Setting Key1="%szServerPdhFileNameRelativeToClient%" Substitution="szServerPdhFileNameRelativeToClient" Display="Hide"/>
			<Setting Key1="%iSHORTSAMPLEINTERVAL%" Substitution="iSHORTSAMPLEINTERVAL" Display="Hide"/>
			<Setting Key1="%iLONGSAMPLEINTERVAL%" Substitution="iLONGSAMPLEINTERVAL" Display="Hide"/>
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%fExWinVer2000%" Substitution="fExWinVer2000" Display="Hide"/>
			<Setting Key1="%UNCSERVERWINDOWSPATHDRIVE%" Substitution="UNCSERVERWINDOWSPATHDRIVE" Display="Hide"/>
			<Setting Key1="%varWindowsPathDrive%" Substitution="varWindowsPathDrive" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="設定資料收集"/>
				<Object Type="Control" SubType="Label" Name="ExBLG" Position="Below" Text="您可以選擇使用先前收集的效能記錄資料，或是建立新的效能記錄檔。"/>
				<Object Type="Control" SubType="GroupBox" Name="User selection of data collection options" Position="LeftBelow" Text="效能資料">
					<Object Type="Control" SubType="Label" Name="indent0" Position="Below" Text=""/>

					<Object Type="Control" SubType="RadioButton" Name="Collect and Analyze" Position="Below" Text="收集和分析效能資料。收集到的效能資料，將會以二進位格式寫入下方文字方塊中指定的新記錄檔。" Default="%fCOLLECTPDHREGKEY%" LineSpace="1">
						<Setting Key1="CollectPdh">
							<Rule Name="fCollectPdh" Query="$. = 1"/>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="APPDataForBLGPath" Query="control-value('Collect and Analyze')='1'"/>
							<Action Type="Enable" ControlName="LocalCollectTimeFrame" Query="control-value('Collect and Analyze')='1'"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Label" Name="indent1" Position="Below" Text=""/>
					<Object Type="Control" SubType="Label" Name="PdhBLGFilelabel1" Position="NextTo" Text="效能監視器資料檔案:" Percent="4"/>
					<Object Type="If" Name="CollectPdh" Key1="true()">
						<Setting Key1="if('%fCOLLECTPDHREGKEY%'='1','True','False')" Substitution="ENABLED"/>

						<Object Type="Control" SubType="TextBox" Name="APPDataForBLGPath" Position="Below" LineSpace="0" Width="390" Flags="Enabled=%ENABLED%" Default="%szLocalPdhFileName%">
							<Setting Key1="PDHFILE">
								<Rule Name="szPDHFileName1" Query="$.">
									<Variable Name="szPDHFILE" Scope="Local"/>
								</Rule>
							</Setting>
						</Object>
						<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="請選取要讓此工具收集效能資料的時間長度。"/>
						<Object Type="Control" SubType="ComboBox" Name="LocalCollectTimeFrame" Position="Below" SelectedIndex="%szSELECTEDDURATION%" Flags="Enabled=%ENABLED%" Default="%szTimeFrame%">
							<Setting Key1="SelectedIndex">
								<Rule Name="iNotServerDuration" Query="$."/>
								<Rule Name="f5Mins" Query="if($fCollectPdh = 1 and $.='0',round(60*5 div @S1))" S1="%iSHORTSAMPLEINTERVAL%">
									<Variable Name="iSAMPLECOUNT" Scope="Children"/>
								</Rule>
								<Rule Name="f20Mins" Query="if($fCollectPdh = 1 and $.='1',round(60*20 div @S1))" S1="%iSHORTSAMPLEINTERVAL%">
									<Variable Name="iSAMPLECOUNT" Scope="Children"/>
								</Rule>
								<Rule Name="f1Hour" Query="if($fCollectPdh = 1 and $.='2',round(60*60*1 div @S1))" S1="%iSHORTSAMPLEINTERVAL%">
									<Variable Name="iSAMPLECOUNT" Scope="Children"/>
								</Rule>
								<Rule Name="f2Hours" Query="if($fCollectPdh = 1 and $. = '3',round(60*60*2 div @S1))" S1="%iLONGSAMPLEINTERVAL%">
									<Variable Name="iSAMPLECOUNT" Scope="Children"/>
								</Rule>
								<Rule Name="f4Hours" Query="if($fCollectPdh = 1 and $. = '4',round(60*60*4 div @S1))" S1="%iLONGSAMPLEINTERVAL%">
									<Variable Name="iSAMPLECOUNT" Scope="Children"/>
								</Rule>
								<Rule Name="f8Hours" Query="if($fCollectPdh = 1 and $. = '5',round(60*60*8 div @S1))" S1="%iLONGSAMPLEINTERVAL%">
									<Variable Name="iSAMPLECOUNT" Scope="Children"/>
								</Rule>
								<Rule Name="fPeriodSample" Query="if($fCollectPdh = 1,if(number($.) &lt; 3,@S0,@S1))" S0="%iSHORTSAMPLEINTERVAL%" S1="%iLONGSAMPLEINTERVAL%">
									<Variable Name="iSampleInterval" Scope="Children"/>
								</Rule>
								<Rule NextStep="E12Collection_GenerateCounterList" Name="fGetCounters" Query="$fCollectPdh = 1">
									<Variable Name="ANALYZEALSO" Scope="Children"/>
								</Rule>
							</Setting>
						</Object>
					</Object>

					<Object Type="Control" SubType="RadioButton" Name="Analyze Only" Position="LeftBelow" Text="對先前收集的效能資料二進位格式記錄檔 (.blg) 執行分析。" Default="%fDONTCOLLECTPDHREGKEY%" LineSpace="2">
						<Setting Key1="DontCollectPdh">
							<Rule NextStep="TestPdhFileRead" Name="fUsePreviouslyCollectedData" Query="$.=1"/>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="APPDataForBLGPath2" Query="control-value('Analyze Only')='1'"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Label" Name="indent2" Position="Below" Text=" "/>
					<Object Type="Control" SubType="Label" Name="PdhBLGFilelabel2" Position="NextTo" Text="效能監視器資料檔案:" Percent="4"/>
					<Object Type="If" Name="DontCollect" Key1="true()">
						<Setting Key1="if('%fDONTCOLLECTPDHREGKEY%'='1','True','False')" Substitution="ENABLED"/>

						<Object Type="Control" SubType="FileDialog" Name="APPDataForBLGPath2" Position="Below" LineSpace="0" Width="390" Title="選取效能資料二進位格式記錄檔 (.blg)" Text="瀏覽..." DialogType="OpenFile" FileFilter="BLG files (*.blg)|*.blg|All Files(*.*)|*.*" Flags="Enabled=%ENABLED%" Default="%szPDHFILE%">
							<Setting Key1="PDHFILE">
								<Rule Name="szPDHFileName" Query="if($fUsePreviouslyCollectedData = 1,if(string-length($.) = 0,if(@S1 != '%szPDHFILE%',@S1,@S2),$.))" S1="%szPDHFILE%" S2="c:\perflogs\">
									<Variable Name="szPDHFILE" Scope="Local"/>
								</Rule>
							</Setting>
						</Object>
					</Object>

					<Object Type="If" Name="fIsNotWin2000" Key1="not('%fExWinVer2000%'='1')">
						<Object Type="Control" SubType="RadioButton" Name="Collect Remote Data" Position="LeftBelow" Text="收集效能計數器資料。收集到的效能資料，將會以二進位格式寫入伺服器上的新記錄檔 %szServerPdhFileNameRelativeToClient%。" Default="%fSERVERCOLLECTPDHREGKEY%" LineSpace="2">
							<Setting Key1="CollectPdh">
								<Rule Name="fServerCollectPdh" Query="if($.=1, string($.))"/>
							</Setting>
							<Event Type="Changed">
								<Action Type="Enable" ControlName="RemoteTimeFrame" Query="control-value('Collect Remote Data')='1'"/>
							</Event>
						</Object>
						<Object Type="Control" SubType="Label" Name="indent3" Position="Below" Text=" "/>
						<Object Type="Control" SubType="Label" Name="label1" Position="NextTo" Text="請選取要讓此工具收集效能資料的時間長度。" Percent="4"/>
						<Object Type="If" Name="ServerCollect" Key1="true()">
							<Setting Key1="if('%fSERVERCOLLECTPDHREGKEY%'='1','True','False')" Substitution="ENABLED"/>

							<Object Type="Control" SubType="ComboBox" Name="RemoteTimeFrame" Position="Below" SelectedIndex="%szSELECTEDDURATION%" Flags="Enabled=%ENABLED%" Default="%szTimeFrame%">
								<Setting Key1="SelectedIndex">
									<Rule Name="iServerDuration" Query="$."/>
									<Rule Name="f5Mins2" Query="if($fServerCollectPdh and $. = '0','00:05:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f20Mins2" Query="if($fServerCollectPdh and $. = '1','00:20:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f1Hour2" Query="if($fServerCollectPdh and $. = '2','01:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f2Hours2" Query="if($fServerCollectPdh and $. = '3','02:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f4Hours2" Query="if($fServerCollectPdh and $. = '4','04:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="f8Hours2" Query="if($fServerCollectPdh and $. = '5','08:00:00')">
										<Variable Name="iTimeFormatDuration" Scope="Children"/>
									</Rule>
									<Rule Name="fPeriodSample2" Query="if($fServerCollectPdh, if(number($.) &lt; 3,@S0,@S1))" Priority="1" S0="%iSHORTSAMPLEINTERVAL%" S1="%iLONGSAMPLEINTERVAL%">
										<Variable Name="iSampleInterval" Scope="Children"/>
									</Rule>
									<Rule NextStep="E12Collection_GenerateCounterList" Name="fGetCounters2" Query="$fServerCollectPdh"/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Rule Name="szSetPDHServerName" Query="@S1" S1="%SERVER%">
						<Variable Name="szPDHSERVERNAME" Scope="Children"/>
					</Rule>

					<Rule Name="iTypeOfCollection" Query="if($fCollectPdh, 1, if($fServerCollectPdh, 2,0))" AlwaysEvaluate="True">
						<Variable Name="fCOLLECTPDH" Scope="Children"/>
					</Rule>
 					<Rule Name="szWindowsSystemDrive" Query="if($fServerCollectPdh,@S1, @S2)" S1="%UNCSERVERWINDOWSPATHDRIVE%" S2="%varWindowsPathDrive%" AlwaysEvaluate="True">
						<Variable Name="WINDOWSPATHDRIVE" Scope="Children"/>
					</Rule>
					<Rule Name="fSetTypeOfCollectionRegKey" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','CollectPDHData',$iTypeOfCollection)"/>

					<Rule Name="szLastFileName" Query="if($fCollectPdh, $szPDHFileName1, if($fUsePreviouslyCollectedData, $szPDHFileName,@S2))" S2="%szServerPdhFileNameRelativeToClient%"/>
					<Rule Name="fSetPDHFileName1" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','PdhFile',$szLastFileName)"/>

					<Rule Name="iGetDuration" Query="if($fCollectPdh, $iNotServerDuration, if($fServerCollectPdh, $iServerDuration))"/>
					<Rule Name="fSetDurationRegKey" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','PerfMonCollectionDuration',$iGetDuration)"/>
					<Object Type="If" Name="IffExWinVer2000" Key1="'%fExWinVer2000%'='1'">
						<Object Type="Control" SubType="Label" Position="LeftBelow" LineSpace="2" Text="因為伺服器執行的是 Windows 2000 Server，所以停用了在伺服器上收集資料的選項。請使用上方的第一個選項按鈕選項，來收集效能資料。"/>
					</Object>
				</Object>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="返回"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="下一步"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="SelectServerFromBLGList" Title="選取伺服器" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%szPDHFILE%" Substitution="szPDHFILE" Display="Hide"/>
			<Setting Key1="%BLGServers%" Substitution="BLGServers" Display="Hide"/>
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>

			<Object Type="Panel" Display="Hide" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="選取伺服器"/>

				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="請從檔案 %szPDHFILE% 的伺服器清單中，選取伺服器。"/>
				<Object Type="Control" SubType="ComboBox" Name="Servers" Position="Below" Default="%BLGServers%">
					<Setting Key1="Performance data server name">
						<Rule Name="szServerName" Query="$.">
							<Variable Name="szPDHSERVERNAME" Scope="Children"/>
						</Rule>
					</Setting>
				</Object>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="返回" LineSpace="4"/>
				<Object Type="Control" SubType="Link" Name="Next" Position="NextTo" Percent="20" Text="下一步" NextStep="GetPerfMonTimeFrame"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectScheduledExMonData" Title="ExMon 資料收集" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="szServer" Display="Hide"/>
			<Setting Key1="%fCollectExMon%" Substitution="fCollectExMon" Display="Hide"/>
			<Setting Key1="%iTimeFormatDuration%" Substitution="iTimeFormatDuration" Display="Hide"/>
			<Setting Key1="%szRunDuration%" Substitution="szRunDuration" Display="Hide"/>

			<Object Type="Progress" Text="正在從 Exchange 伺服器 %szServer% 中收集效能資料，請稍候。這將耗費幾分鐘的時間。" Title="正在從 Exchange 伺服器收集效能資料" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Group" Name="ExMon Collection" Timeout="%500" Display="Hide">

					<!-- This step does the following: (not yet it doesn't...)

				1. Gets the %APPDATA% directory.
				2. Deletes the counter file.
				3. Generates the counter file.
				4. Starts the collection.
				5. Writes the following to the registry:
					- the expected file name
					- the date and time the data collection was started
					- the expected date and time of the collection end
					- the directory or file prefix for the exmon files
						-->
					<!-- Collect ExMon data to a ETL file -->

					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C logman delete ExPTA%szServer% -s %szServer%" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1">
							<Rule Name="fLogmanExMonError1" Query="$fLogmanExMonFailed1" Error="Error" Sev="1" Title="收集 ExMon 檔案失敗" Text="{0}" P0="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed1" Query="$. != 0"/>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C logman create trace ExPTA%szServer% -s %szServer%" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1">
							<Rule Name="fLogmanExMonError2" Query="$fLogmanExMonFailed2" Error="Error" Sev="1" Title="收集 ExMon 檔案失敗" Text="{0}" P0="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed2" Query="$. != 0"/>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C logman update ExPTA%szServer% -p &quot;Exchange Information Store&quot; -s %szServer% -rf %szRunDuration% --a" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1">
							<Rule Name="fLogmanExMonError3" Query="$fLogmanExMonFailed3" Error="Error" Sev="1" Title="收集 ExMon 檔案失敗" Text="{0}" P0="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed3" Query="$. != 0"/>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C beep &amp; logman start ExPTA%szServer% -s %szServer%" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1">
							<Rule Name="fLogmanExMonError4" Query="$fLogmanExMonFailed4" Error="Error" Sev="1" Title="收集 ExMon 檔案失敗" Text="{0}" P0="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed4" Query="$. != 0"/>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C beep &amp; sleep 10 &amp; logman stop ExPTA%szServer% -s %szServer%" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1">
							<Rule Name="fLogmanExMonError5" Query="$fLogmanExMonFailed5" Error="Error" Sev="1" Title="收集 ExMon 檔案失敗" Text="{0}" P0="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed5" Query="$. != 0"/>
						</Setting>
					</Object>
					<Object Type="Command" Key1="%szServer%" Key2="cmd" Key3="/C dir /b \\%szServer%\c$\perflogs\ExPTA%szServer%*" SecurityContext="EXLOGON">
						<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1">
							<Rule Name="szLogmanExMonFileName" Query="$fLogmanExMonFailed6" Error="None" Sev="1" Title="收集 ExMon 檔案失敗" Text="{0}" P0="$."/>
						</Setting>
						<Setting Key1="ReturnValue">
							<Rule Name="fLogmanExMonFailed6" Query="$. != 0"/>
						</Setting>
					</Object>

					<!-- Write the following to the registry:
				- the expected file name
				- the date and time the data collection was started
				- the expected date and time of the collection end
				- whether exmon was collected too
				- the directory or file prefix for the exmon files
						-->
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- ****************************************************************************************************************** -->
	<!-- The Error Steps (as in, an error occurred... can't continue troubleshooting)					-->
	<!-- ****************************************************************************************************************** -->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="NeedName" Title="伺服器名稱" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%Problem%" Substitution="Problem" Display="Hide"/>
			<Object Type="Panel" Display="Hide" HelpId="html\0f7e8793-4cb3-497a-ae58-0de66e4e06dc.htm">
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="資料不足"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Default="%Problem%"/>
				<Object Type="Control" SubType="Label" Name="label" Position="Below" Text=""/>
				<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" Text="返回"/>
				<Object Type="Control" SubType="Link" Name="Next" NextStep="GetCredentials" Position="NextTo" Percent="20" Text="下一步"/>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<!-- FCL DATA PROCESSING STEPS												-->
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="GetFCLFile" Title="FCL 檔案選取" Display="Left">
		<Object Type="Panel" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" Display="Hide">
			<Object Type="Variable" Key1="Scalar" Display="Hide">
				<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
				<Setting Key1="%FCLFILE%" Substitution="FCLFILE" Display="Hide"/>
				<Setting Key1="%varCollectFCL%" Substitution="varCollectFCL" Display="Hide"/>
				<Setting Key1="%varUseProvidedFCLFile%" Substitution="varUseProvidedFCLFile" Display="Hide"/>
				<Setting Key1="%varSkipFCL%" Substitution="varSkipFCL" Display="Hide"/>
				<Setting Key1="%varSelectedSymptomIndex%" Substitution="varSelectedSymptomIndex" Display="Hide"/>
				<Object Type="Control" SubType="Title" Name="title" Position="Top" Text="分析函數呼叫記錄"/>
				<Object Type="Control" SubType="Label" Name="label1" Position="Below" Text="函數呼叫記錄 (FCL) 會將 Exchange 進行的特定外部函數呼叫，記錄到記錄檔中。此工具可以使用此資料來識別造成 RPC 延遲的特定呼叫，以協助疑難排解和診斷 Exchange 效能問題。"/>
				<Object Type="Control" SubType="Label" Name="labelb" Position="Below" Text=""/>
				<Object Type="Control" SubType="GroupBox" Name="FCLRadioButtons" Position="LeftBelow" Text="函數呼叫記錄">

					<Object Type="Control" SubType="RadioButton" Name="CollectFCL" Position="Below" Text="為我收集伺服器上的函數呼叫記錄 (FCL)" Default="%varCollectFCL%">
						<Setting Key1="CollectFCL">
							<Rule NextStep="CollectFCL" Name="fCollect" Query="$.='1'">
								<Variable Name="varCollectFCL" Scope="Global"/>
							</Rule>
							<Rule Name="fSetNotFCLChoice" Query="not($. = '1')">
								<Variable Name="varNotFCLChoice" Scope="Global"/>
							</Rule>
							<Rule NextStep="GetCredentials" Name="fGetCreds" Query="$.='1' and @S1='2'" Priority="1" S1="%varSelectedSymptomIndex%"/>
							<Rule Name="fFCLChoice" Query="if($.='1','0',if($fDontCollect,'1','2'))"/>
							<Rule Name="fSetFCLChoice" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','FCLChoice',$fFCLChoice)"/>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="EXName" Query="control-value('CollectFCL')='1'"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Label" Name="EXLabel" Position="LeftBelow" Text="   伺服器名稱"/>
					<Object Type="If" Name="CollectFCL" Key1="true()">
						<Setting Key1="if('%varCollectFCL%'='1','True','False')" Substitution="ENABLED"/>
						<Object Type="Control" SubType="TextBox" Name="EXName" Position="300," Flags="Enabled=%ENABLED%" Default="%SERVER%" Display="Hide">
							<Setting Key1="SERVERNAME">
								<Rule Name="fServerFCL" Query="if($fCollect,$.)">
									<Variable Name="SERVERNAME" Scope="Global"/>
									<Variable Name="DEFEXSERVER" Scope="Global"/>
								</Rule>
							</Setting>
						</Object>
					</Object>
					<Object Type="Control" SubType="RadioButton" Name="DontCollectFCL" Position="LeftBelow" Text="分析先前收集的函數呼叫記錄 (FCL)" Default="%varUseProvidedFCLFile%">
						<Setting Key1="DontCollectFCL">
							<Rule NextStep="CheckFCLData" Name="fDontCollect" Query="$.='1' and string-length($szFCLFile) &gt; 0"/>
						</Setting>
						<Event Type="Changed">
							<Action Type="Enable" ControlName="FCLFile" Query="control-value('DontCollectFCL')='1'"/>
						</Event>
					</Object>
					<Object Type="Control" SubType="Label" Name="FileLabel" Position="LeftBelow" Text="   FCL 檔案名稱"/>

					<Object Type="If" Name="UseProvided" Key1="true()">
						<Setting Key1="if('%varUseProvidedFCLFile%'='1','True','False')" Substitution="ENABLED"/>

						<Object Type="Control" SubType="FileDialog" Name="FCLFile" Position="300," LineSpace="0" Scale="2.6" Title="選取 Exchange 函數呼叫記錄 (FCL) 檔案" Text="瀏覽..." DialogType="OpenFile" FileFilter="FCL files (*.fcl)|*.fcl|All Files(*.*)|*.*" Flags="Enabled=%ENABLED%" Default="%FCLFILE%">
							<Setting Key1="FileName">
								<Rule Name="szFCLFile" Query="$." AlwaysEvaluate="True">
									<Variable Name="FCLFILE" Scope="Children"/>
								</Rule>
								<Rule Name="fSetFCLFile" Query="regSetValue('','Software\\Microsoft\\Exchange\\ExPTA','FCLFile',$.)"/>

								<Rule Name="fNoFile" Query="string-length($szFCLFile) = 0" AlwaysEvaluate="True"/>
								<Rule Name="fNoInfo" Query="not($fCollect) and not($fDontCollect)" Error="None" Sev="1" Title="沒有 Exchange 函數呼叫記錄" Text="未分析任何 Exchange 函數呼叫記錄 (FCL)。" AlwaysEvaluate="True"/>
							</Setting>
						</Object>
					</Object>
					<Object Type="Control" SubType="Label" Name="InvalidFileName" Position="Below" Text="請提供檔案名稱。" Flags="Visible=False" ForeColor="Red" FontStyle="Bold"/>
					<Object Type="If" Key1="not('%varSelectedSymptomIndex%'='2')">
						<Setting Key1="if('%varSkipFCL%'='1','True','False')" Substitution="ENABLED"/>
						<Object Type="Control" SubType="RadioButton" Name="SkipFCL" Position="LeftBelow" Text="略過 FCL 分析" Default="%varSkipFCL%">
							<Setting Key1="SkipFCL">
								<Rule Name="fSkipCollect" Query="$.='1'"/>
							</Setting>
						</Object>
					</Object>
					<Object Type="Control" SubType="Link" Name="Previous" Position="LeftBelow" LineSpace="4" Text="返回"/>
					<Object Type="Control" SubType="Link" Name="Step0" Position="NextTo" Percent="20" Text="下一步">
						<Event Type="Click">
							<Action Type="Proceed" Query="control-value('CollectFCL') = '1' or control-value('SkipFCL') = '1' or (control-value('DontCollectFCL') = '1' and string-length(control-value('FCLFile')) &gt; 0)"/>
							<Action Type="Visible" ControlName="InvalidFileName" Query="control-value('DontCollectFCL') = '1' and string-length(control-value('FCLFile')) = 0"/>
						</Event>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CollectFCL" Title="函數呼叫記錄收集" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%DCName%" Substitution="DC" Display="Hide"/>
			<Setting Key1="%FCLFILE%" Substitution="FCLFILE" Display="Hide"/>
			<Setting Key1="%FCLACTION%" Substitution="FCLACTION" Display="Hide"/>
			<Setting Key1="%FCLRETRYCOUNT%" Substitution="FCLRETRYCOUNT" Display="Hide"/>
			<Setting Key1="30" Substitution="FLUSHTIMEOUT" Display="Hide"/>
			<Setting Key1="%varPrettyDateTime%" Substitution="varPrettyDateTime" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" Title="正在收集 FCL" Text="工具正在收集 Exchange 函數呼叫記錄 (FCL)，請稍候。此工具最多將等候 3 分鐘，讓資料收集完成。">
				<Object Type="Group" Name="All" Class="時間範圍" GroupingClass="True">
					<Rule NextStep="DisplayResultsStep" Name="fCollectFCLStep" Query="@S1=0 and ($fFCLFlushFileFound or $fCallTracingDisabled)" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
					<Rule Name="szCollectFCL" Query="'CollectFCL'">
						<Variable Name="PreviousName" Scope="Children"/>
					</Rule>
					<!-- Overall success or failure? -->
					<Rule Name="szErrorStringFCL" Query="string(@Title)" Title="找到一或多個錯誤。"/>
					<!-- If we had an error, or tracing is disabled, title should say an error was found -->
 					<Rule Name="szFCLCollectErrorStateText" Query="if($fFatalErrorFCL or $fCallTracingDisabled,$szErrorStringFCL,string(@Title))" Title="FCL 收集成功。" AlwaysEvaluate="True">
						<Variable Name="ErrorStateText" Scope="Global"/>
					</Rule>
					<Rule Name="szConnectivityTestResult" Query="string(@Title)" Title="函數呼叫記錄收集結果">
						<Variable Name="DISPLAYTITLE" Scope="Global"/>
					</Rule>
					<Object Type="Directory" Name="cn" Key1="LDAP://%DC%/" SecurityContext="EXLOGON">
						<Rule Name="szFCLDirExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message,../Instance//Exception/@Message)" AlwaysEvaluate="True"/>
						<Rule Name="fDirectoryException" Query="../Exception or ../Instance//Exception"/>
						<Rule Name="fFatalErrorDirectory" Query="$fDirectoryException" Error="Error" Sev="1" Title="存取 Active Directory 時發生錯誤" Text="無法查詢伺服器 {0} 上的目錄。可能的原因有使用者認證不正確，或是您沒有足夠的權限可執行此工具。以下是報告的錯誤: {1}" S0="%DC%" P1="$szFCLDirExceptionText" AlwaysEvaluate="True"/>
						<Rule Name="fCallTracingDisabled" Query="not($fCallTracingDisabledKey='0') and ($fKeyExists or $fExchange2000)" Error="NonDefault" Title="未開啟伺服器 {2} 的 FCL 記錄功能" Text="未開啟伺服器 {2} 的函數呼叫記錄功能。建議開啟函數呼叫記錄供能，以對 RPC 要求延遲所造成的效能問題進行疑難排解。" S2="%SERVER%" GUID="2b66d484-e1e2-4255-9e0b-d7337e18ed11" AlwaysEvaluate="True"/>
						<Rule Name="fKeyExists" Query="not($fCallTracingDisabledKey='')"/>
						<Setting Key1="configurationNamingContext" Substitution="CONFIGDN"/>
						<Object Type="Resolve" Name="Server Name" Key1="%SERVER%">
							<Setting Key1="Dns" Substitution="RESOLVEDSRV" Format="^$----%SERVER%"/>
							<Object Type="Directory" Key1="LDAP://%DC%/" Key2="cn=Microsoft Exchange,cn=Services,%CONFIGDN%">
								<Setting Key1="distinguishedName" Substitution="DN"/>
								<Object Type="Directory" Key1="LDAP://%DC%/" Key2="%DN%" Key3="(&amp;(objectCategory=msExchExchangeServer)(|(cn=%RESOLVEDSRV%)(cn=%SERVER%)(cn=%EXSRVNAME%)))" Async="100" TrackProgress="TrackProgress" MaxTime="ALL,1" MaxTimeouts="ALL,1" MaxFailures="WMI,1">
									<Setting Key1="serialNumber" Substitution="EXVERSION">
										<Rule Name="fExchange2000" Query="contains ($., 'Version 6.0')">
											<Variable Name="varIsExchange2000" Scope="Global"/>
										</Rule>
									</Setting>
								</Object>
							</Object>
							<Object Type="Registry" Key1="%SERVER%" Key3="SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem" SecurityContext="EXLOGON">
								<Setting Key1="Disable Call Tracing">
									<Rule Name="fCallTracingDisabledKey" Query="$."/>
								</Setting>
							</Object>
						</Object>
					</Object>
					<Object Type="FCL" Name="Flush FCL Data" Key1="%SERVER%" Key2="%FCLACTION%" Key3="%FLUSHTIMEOUT%" Key4="" SecurityContext="EXLOGON">
						<Rule Name="szFCLExceptionText" Query="concat(../Exception/@Message,../Instance/Object/Exception/@Message)" AlwaysEvaluate="True"/>
						<Rule Name="fFatalErrorFCL" Query="(../Exception or ../Instance/Object/Exception) and not($fCallTracingDisabled)" Error="Error" Sev="1" Title="收集 FCL 時發生錯誤" Text="無法從伺服器 {0} 收集函數呼叫記錄 (FCL)。已報告下列錯誤: {1}" S0="%SERVER%" P1="$szFCLExceptionText" AlwaysEvaluate="True"/>
						<Setting Key1="__FILENAME" Substitution="COLLECTEDFCLFILE" SubstitutionFormat="(.*?)\$(.*)----$1$&quot;$2&quot;">
							<Rule Name="szFCLFileCollect" Query="$."/>
							<Rule NextStep="CheckFCLData" Name="fFCLOk" Query="not($fFCLFlushFileNotFound or $fCallTracingDisabled) and string-length($szFCLFileCollect) &gt; 0"/>
						</Setting>
						<Setting Key1="CallTracesFlushed">
							<Rule Name="fFCLFlushFileFound" Query="$.='1' and string-length($.) &gt; 0"/>
							<!-- if the flush failed, give it up to four more tries... sometimes it takes a while to collect... -->
							<Rule NextStep="CollectFCL" Name="fFCLFlushFileNotFound" Query="if($.='0' and @S1&lt;5 and not($fCallTracingDisabled),'Find')" S1="%FCLRETRYCOUNT%">
								<Variable Name="FCLACTION" Scope="Children"/>
							</Rule>
							<Rule Name="iIncrementFCLCount" Query="number(@S1) + 1" S1="%FCLRETRYCOUNT%">
								<Variable Name="FCLRETRYCOUNT" Scope="Children"/>
							</Rule>
						</Setting>
						<Rule Name="fFailedCollectFCL" Query="not($fFCLOk) and @S1='3'" Error="Error" Sev="1" Title="無法收集 FCL" Text="無法收集 Exchange 函數呼叫記錄 (FCL) 資料。" S1="%FCLRETRYCOUNT%" AlwaysEvaluate="True"/>
						<Object Type="Registry" Key1="" Key3="Software\Microsoft\Windows NT\CurrentVersion">
							<Setting Key1="SystemRoot" Substitution="WINDOWSPATHDRIVE" SubstitutionFormat="(.*?):(.*)----$1:"/>
							<Object Type="Command" Key2="cmd" Key3="/C wait 1"/>
							<Object Type="Command" Key2="cmd" Key3="/C md %WINDOWSPATHDRIVE%\PerfLogs">
								<Setting Key1="Output" Key2="stderr" Format="(.*?)\r\n*----$1"/>
								<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1"/>
							</Object>
							<Object Type="Command" Key2="cmd" Key3="/C copy /y %COLLECTEDFCLFILE% &quot;%WINDOWSPATHDRIVE%\PerfLogs\EXPTA_%SERVER%_%varPrettyDateTime%_Store.fcl&quot;">
								<!-- Note: Every time ExPTA is run, it creates a new file. Is this the behavior we want? We may create a lot of files (which can be quite large)....
									Note also that this is the same behavior as the blg file. -->
								<Setting Key1="Output" Key2="stderr" Format="(.*?)\r\n*----$1"/>
								<Setting Key1="Output" Key2="stdout" Format="(.*?)\r\n*----$1"/>
								<Rule Name="szNewFCLName" Query="@S1" S1="%WINDOWSPATHDRIVE%\PerfLogs\EXPTA_%SERVER%_%varPrettyDateTime%_Store.fcl">
									<Variable Name="FCLFILE" Scope="Children"/>
								</Rule>
								<Rule Name="fTellUserNewFileName" Query="$fFCLOk" Error="None" Title="FCL 已儲存至 {1}" Text="收集的函數呼叫記錄 (FCL) 檔案已儲存至 {1}。" P1="$szNewFCLName"/>
							</Object>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
	<!-- ****************************************************************************************************************** -->
	<Object Type="Step" Name="CheckFCLData" Title="FCL 分析" Display="Left">
		<Object Type="Variable" Key1="Scalar" Display="Hide">
			<Setting Key1="%SERVERNAME%" Substitution="SERVER" Display="Hide"/>
			<Setting Key1="%FCLFILE%" Substitution="FCLFILE" Display="Hide"/>
			<Setting Key1="2500" Substitution="DEFAULTTHRESHOLDLOW" Display="Hide"/>
			<Setting Key1="25" Substitution="DEFAULTTHRESHOLDVERYLOW" Display="Hide"/>
			<Setting Key1="%varContinueRun%" Substitution="varContinueRun" Display="Hide"/>
			<Object Type="Progress" HelpId="html\414e3916-420d-492b-b1a2-58dc41236c6a.htm" Title="FCL 記錄檢查" Text="工具正在分析 Exchange 函數呼叫記錄 (FCL)，以檢查是否有緩慢的外部呼叫，請稍候。">
				<!--- Rip apart the FCL and see if something stands out as broken -->
				<Object Type="Group" Name="All" Class="時間範圍" GroupingClass="True">
					<Object Type="Group" Name="Function Call log" Class="區域" GroupingClass="True">
						<!-- These rules identify success or failure for the reporting steps DisplayResultsStep and DisplaySummaryStep -->
						<Rule NextStep="DisplayResultsStep" Name="fDisplayCheckFCLDataStep" Query="@S1=0" Priority="1" S1="%varContinueRun%" AlwaysEvaluate="True"/>
						<Rule Name="szCheckFCLData" Query="'CheckFCLData'">
							<Variable Name="PreviousName" Scope="Children"/>
						</Rule>
						<Rule Name="szCheckFCLDataResult" Query="string(@Title)" Title="FCL 分析結果">
							<Variable Name="DISPLAYTITLE" Scope="Global"/>
						</Rule>
						<Rule Name="szFCLDataAnalysisFailed" Query="string(@Title)" Title="無法分析 Exchange 函數呼叫記錄 (FCL) 檔案。"/>
						<Rule Name="szLongCallFound" Query="string(@Title)" Title="已識別出可能與封鎖呼叫的持續時間或與進行中呼叫有關的問題。"/>
						<Rule Name="fNoFCLErrorFound" Query="not($fLongCallFound or $fInProgressCallFound)" AlwaysEvaluate="True"/>
						<Rule Name="szNoFCLErrorFound" Query="if($fNoFCLErrorFound and not($fFCLDataAnalysisFailed),@Text)" Error="None" ReportIssue="Summary" Title="在 Exchange 函數呼叫記錄 (FCL) 中找不到效能問題" Text="函數呼叫記錄 (FCL) 顯示單一類別的函數呼叫不是單獨造成延遲的原因。"/>
						<Rule Name="szErrorStateTextCheckFCLData" Query="if($fFCLDataAnalysisFailed,$szFCLDataAnalysisFailed,if($fNoFCLErrorFound,$szNoFCLErrorFound,$szLongCallFound))" AlwaysEvaluate="True">
							<Variable Name="ErrorStateText" Scope="Global"/>
						</Rule>
						<Rule Name="fFCLDataAnalysisFailed" Query="$fOtherFCLFailure" AlwaysEvaluate="True"/>
						<Object Type="FCL" Name="Longest FCL Records" Key1="%SERVER%" Key2="%FCLFILE%" Key3="25" Class="FCL 函數名稱" GroupingClass="True" SecurityContext="EXLOGON">
							<!--Here we have the FCL key settings.	We need each call type to have its own rules, as a long value for one call is not necessarily long for another-->
							<Setting Key1="Name">
								<Rule Name="szOpName" Query="$."/>

								<!-- First our grouping rules-->
								<Rule Name="fLSASSCall" Query="$.='LookupAccountSidA' or $.='LookupAccountSidW' or $.='LookupAccountNameA'"/>
								<Rule Name="fDSCall" Query="$.='HrSearchGuid' or $.='HrReadDsvalGuid' or $.='HrSearch' or $.='HrReadDsval'"/>
								<Rule Name="fVSCall" Query="$.='VirusScanAndClean' or $.='VirusScanAndClean2'"/>
								<Rule Name="fImailCall" Query="$.='HrCreateIMailConverter' or $.='TransitionState' or $.='OpenVirtualProperty' or $.='OpenPropertyEx' or $.='GetFileHandleProp' or $.='GetInetHdrProp' or $.='OnSetHdrProp' or $.='OpenUrl' or $.='GetAdrList' or $.='Load'"/>
								<Rule Name="fJetSnapshotCall" Query="$.='JetOSSnapshotPrepareInstance' or $.='JetOSSnapshotFreeze' or $.='JetOSSnapshotThaw' or $.='JetOSSnapshotTruncateLog'" Error="Error" Sev="2" ReportIssue="Summary" Title="快照集呼叫緩慢" Text="函數呼叫記錄 (FCL) 顯示有些對 Jet 快照集的呼叫緩慢。" GUID="f9144365-7064-4f24-bb55-31999ae5b07a" AlwaysEvaluate="True"/>
								<Rule Name="fJetCall" Query="$.='JetOpenTable' or $.='JetMove' or $.='JetGetTableColumnInfo' or $.='JetRetrieveColumn' or $.='JetAddColumn' or $.='JetBeginTransaction' or $.='JetPrepareUpdate' or $.='JetSetColumn' or $.='JetGetColumnInfo' or $.='JetCloseTable' or $.='JetGetLS' or $.='JetSetLS' or $.='JetMakeKey' or $.='JetSeek' or $.='JetIndexRecordCount' or $.='JetGetTableInfo' or $.='JetBeginTransaction2' or $.='JetUpdate' or $.='JetCreateTable' or $.='JetDeleteTable' or $.='JetCommitTransaction' or $.='JetCreateIndex2' or $.='JetCreateTableColumnIndex2' or $.='JetDeleteColumn2' or $.='JetDeleteColumn' or $.='JetDeleteIndex' or $.='JetDelete' or $.='JetSetIndexRange' or $.='JetGetBookmark' or $.='JetGotoBookmark' or $.='JetRetrieveKey' or $.='JetGetRecordPosition' or $.='JetSetCurrentIndex2' or $.='JetRetrieveColumns'"/>

								<!-- Then our threshold rules, by group (longest call by type) -->
								<Rule Name="fLongLSASSCall" Query="not($fInProgress or $fLookupAccountSidA or $fLookupAccountSidW) and ($fLSASSCall and $iDuration &gt; @S2)" Error="Error" Sev="2" ReportIssue="Issue" Title="LSASS 呼叫緩慢: 對 LSASS 進行函數呼叫的等待時間很長" Text="對 {6} 的函數呼叫耗費比 {5} 秒的閾值更久的時間才完成。呼叫耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="9670152d-616f-4e01-adb4-34dafa6873e7"/>
								<Rule Name="fLongDSCall" Query="$fDSCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="對 Active Directory 的呼叫緩慢: 對目錄進行函數呼叫的等待時間很長" Text="對 '{6}' 的函數呼叫比 {5} 秒的閾值耗費更久的時間才完成。呼叫耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="11eb2a4e-b30e-4333-a868-db990345a1cc"/>
								<Rule Name="fLongVSCall" Query="$fVSCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="對病毒掃描程式的呼叫緩慢: 對病毒掃描程式進行函數呼叫的等待時間很長" Text="對 '{6}' 的函數呼叫比 {5} 秒的閾值耗費更久的時間才完成。呼叫耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="10fd9323-882c-43a7-bc17-5facce34885a"/>
								<Rule Name="fLongImailCall" Query="$fImailCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="對內容轉換的呼叫緩慢: 對內容轉換進行函數呼叫的等待時間很長" Text="對 '{6}' 的函數呼叫比 {5} 秒的閾值耗費更久的時間才完成。呼叫耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="730db685-263c-471b-b12b-eb1cb2ecd0ba"/>
								<Rule Name="fLongJetSnapshotCall" Query="$fJetSnapshotCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="對 Jet 快照集的呼叫緩慢: 對 Jet 快照集備份進行函數呼叫的等待時間很長" Text="對 '{6}' 的函數呼叫比 {5} 秒的閾值耗費更久的時間才完成。呼叫耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" S2="20" P5="10*(@S2 div 10000)" P6="$szOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="469f30da-4853-48e8-b4a8-7be74391ec04"/>
								<Rule Name="fLongJetCall" Query="$fJetCall and $iDuration &gt; @S2 and not($fInProgress)" Error="Error" Sev="2" ReportIssue="Issue" Title="對 Jet 的呼叫緩慢: 對 Jet 進行函數呼叫的等待時間很長" Text="對 '{6}' 的函數呼叫比 {5} 秒的閾值耗費更久的時間才完成。呼叫耗費 {9} 秒。此延遲發生於 {7}。呼叫的執行緒識別碼為 {8}。" S2="%DEFAULTTHRESHOLDLOW%" P5="10*(@S2 div 10000)" P6="$szOpName" P7="../../@SampleTime" P8="$iThreadID" P9="($iDuration div 1000000)*1000" GUID="02dce368-071a-46c2-b094-43ed971c2bae"/>

								<!--Next, our rules by individual call (anything where the default threshold may differ...) -->
								<!-- LSASS calls -->
								<Rule Name="fLookupAccountSidA" Template="fFCLError2" S1="LookupAccountSidA" S2="%DEFAULTTHRESHOLDVERYLOW%" S4="LSASS" P6="$szOpName" P7="../../@SampleTime"/>
								<Rule Name="fLookupAccountSidW" Template="fFCLError2" S1="LookupAccountSidW" S2="%DEFAULTTHRESHOLDVERYLOW%" S4="LSASS" P6="$szOpName" P7="../../@SampleTime"/>

								<!-- Now for our 'In Progress' rules, by group (In progress calls can indicate very bad problems)-->
								<Rule Name="fLSASSInProgressCalls" Query="$fLSASSCall and $fInProgress"/>
								<Rule Name="fDSInProgressCalls" Query="$fDSCall and $fInProgress"/>
								<Rule Name="fVSInProgressCalls" Query="$fVSCall and $fInProgress"/>
								<Rule Name="fImailInProgressCalls" Query="$fImailCall and $fInProgress"/>
								<Rule Name="fJetSnapshotInProgressCalls" Query="$fJetSnapshotCall and $fInProgress"/>
								<Rule Name="fJetInProgressCalls" Query="$fJetCall and $fInProgress"/>
							</Setting>
							<Setting Key1="Duration">
								<Rule Name="iDuration" Query="$."/>
							</Setting>
							<Setting Key1="ThreadID">
								<Rule Name="iThreadID" Query="$."/>
							</Setting>
							<Setting Key1="FlushTime">
								<Rule Name="fFlushTime" Query="$."/>
							</Setting>
							<Setting Key1="InProgress">
								<Rule Name="fInProgress" Query="$.='True'"/>
								<Rule Name="fInProgressName" Query="if($.='True',$szOpName)"/>
							</Setting>

							<!-- First our threshold uber-grouping rules-->
							<Rule Name="fLongCallFound" Query="$fLongLSASSCallFound or $fLongDSCallFound or $fLongVSCallFound or $fLongImailCallFound or $fLongJetSnapshotCallFound or $fLongJetCallFound" AlwaysEvaluate="True"/>
							<Rule Name="fLongLSASSCallFound" Query="$fLongLSASSCall or $fLookupAccountSidA or $fLookupAccountSidW" Error="Error" Sev="2" ReportIssue="Summary" Title="本機安全性授權子系統服務呼叫緩慢" Text="函數呼叫記錄 (FCL) 顯示有些對 LSASS 的呼叫緩慢。" GUID="9670152d-616f-4e01-adb4-34dafa6873e7" AlwaysEvaluate="True"/>
							<Rule Name="fLongDSCallFound" Query="$fLongDSCall" Error="Error" Sev="2" ReportIssue="Summary" Title="發現對目錄的呼叫等待時間很長" Text="函數呼叫記錄 (FCL) 顯示 {0} 處理程序對目錄進行呼叫的等待時間過長。請檢查目錄伺服器的健康狀況。" S0="Store.exe" GUID="11eb2a4e-b30e-4333-a868-db990345a1cc" AlwaysEvaluate="True"/>
							<Rule Name="fLongVSCallFound" Query="$fLongVSCall" Error="Error" Sev="2" ReportIssue="Summary" Title="病毒掃描呼叫緩慢" Text="函數呼叫記錄 (FCL) 顯示有些對病毒掃描程式的呼叫緩慢。" GUID="10fd9323-882c-43a7-bc17-5facce34885a" AlwaysEvaluate="True"/>
							<Rule Name="fLongImailCallFound" Query="$fLongImailCall" Error="Error" Sev="2" ReportIssue="Summary" Title="對內容轉換的呼叫等待時間很長" Text="函數呼叫記錄 (FCL) 顯示有些對內容轉換的呼叫緩慢。" GUID="730db685-263c-471b-b12b-eb1cb2ecd0ba" AlwaysEvaluate="True"/>
							<Rule Name="fLongJetSnapshotCallFound" Query="$fLongJetSnapshotCall" Error="Error" Sev="2" ReportIssue="Summary" Title="磁碟區快照呼叫緩慢" Text="函數呼叫記錄 (FCL) 顯示有些對磁碟區快照的呼叫緩慢。" GUID="469f30da-4853-48e8-b4a8-7be74391ec04 " AlwaysEvaluate="True"/>
							<Rule Name="fLongJetCallFound" Query="$fLongJetCall" Error="Error" Sev="2" ReportIssue="Summary" Title="可延伸儲存引擎呼叫緩慢" Text="函數呼叫記錄 (FCL) 顯示有些對 ESE 的呼叫緩慢。" GUID="02dce368-071a-46c2-b094-43ed971c2bae" AlwaysEvaluate="True"/>

							<!-- Next our 'In Progress' uber-grouping rules -->
							<Rule Name="iListOfInProgress" Query="join(', ',$fInProgressName)" Error="Warning" Sev="1" ReportIssue="Issue" Title="進行中的 Exchange 函數呼叫記錄 (FCL) 呼叫清單" Text="下列函數呼叫仍在進行中: {1}" P1="join(', ',$fInProgressName)"/>
							<Rule Name="iCountInProgress" Query="count($fInProgress)"/>
							<Rule Name="iLSASSInProgressCallCount" Query="count($fLSASSInProgressCalls)"/>
							<Rule Name="iDSInProgressCallCount" Query="count($fDSInProgressCalls)"/>
							<Rule Name="iVSInProgressCallCount" Query="count($fVSInProgressCalls)"/>
							<Rule Name="iImailSInProgressCallCount" Query="count($fImailInProgressCalls)"/>
							<Rule Name="iJetSnapshotInProgressCallCount" Query="count($fJetSnapshotInProgressCalls)"/>
							<Rule Name="iJetInProgressCallCount" Query="count($fJetInProgressCalls)"/>

							<!-- The warning rules for in-progress calls -->
							<Rule Name="fInProgressCallFound" Query="$fInProgress"/>
							<Rule Name="fNoInProgressCallFound" Query="not($iListOfInProgress)" Error="None" ReportIssue="Summary" Title="沒有仍在進行中的 Exchange 函數呼叫記錄 (FCL) 呼叫" Text="函數呼叫記錄 (FCL) 未顯示任何進行中的函數呼叫。"/>
							<Rule Name="fLSASSInProgressCallCountWarn" Query="count($fLSASSInProgressCalls)&gt;0 and not($iLSASSMostInProgress)" Error="Error" ReportIssue="Summary" Title="進行中的本機安全性授權子系統服務呼叫" Text="函數呼叫記錄 (FCL) 顯示對 LSASS 的進行中呼叫。" GUID="ee941070-46f6-4be7-85fd-c837b8302804"/>
							<Rule Name="fDSInProgressCallCountWarn" Query="count($fDSInProgressCalls)&gt;0 and not($iDSMostInProgress)" Error="Warning" ReportIssue="Summary" Title="發現對目錄的進行中呼叫" Text="函數呼叫記錄 (FCL) 顯示 {0} 處理程序對目錄進行呼叫的等待時間過長。請檢查目錄伺服器的健康狀況。" S0="Store.exe" GUID="bb380d6b-1c7c-499d-9a7b-d7dfda015398"/>
							<Rule Name="fVSInProgressCallCountWarn" Query="count($fVSInProgressCalls)&gt;0 and not($iVSMostInProgress)" Error="Warning" ReportIssue="Summary" Title="發現對病毒掃描的進行中呼叫" Text="函數呼叫記錄 (FCL) 顯示對病毒掃描程式的進行中呼叫。" GUID="15d0996d-889c-414d-b34e-f5d5b1bbdba4"/>
							<Rule Name="fImailSInProgressCallCountWarn" Query="count($fImailInProgressCalls)&gt;0 and not($iImailSMostInProgress)" Error="Warning" ReportIssue="Summary" Title="發現對內容轉換的進行中呼叫" Text="函數呼叫記錄 (FCL) 顯示對內容轉換的進行中呼叫。" GUID="77d6d674-a0ba-4ca3-8985-849321746c36"/>
							<Rule Name="fJetSnapshotInProgressCallCountWarn" Query="count($fJetSnapshotInProgressCalls) and not($iJetSnapshotMostInProgress)" Error="Warning" ReportIssue="Summary" Title="發現對磁碟區快照集陰影複製的進行中呼叫" Text="函數呼叫記錄 (FCL) 顯示對 Jet 快照集的進行中呼叫。"/>
							<Rule Name="fJetInProgressCallCountWarn" Query="count($fJetInProgressCalls)&gt;0 and not($iJetMostInProgress)" Error="Warning" ReportIssue="Summary" Title="找到對可延伸儲存引擎 (ESE) 的進行中呼叫" Text="函數呼叫記錄 (FCL) 顯示有對 ESE 的進行中呼叫。" GUID="075bb03f-4c21-4d8b-95e3-3408e67ad14d"/>

							<!-- Is any group responsible for a majority of the outstanding calls? -->
							<Rule Name="iLSASSMostInProgress" Query="count($fLSASSInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="大部份的進行中呼叫都在 LSASS 中" Text="在 {1} 個進行中呼叫中，其中 {2} 個在 LSASS 中。" P1="$iCountInProgress" P2="count($fLSASSInProgressCalls)" GUID="6fa92be1-6f85-46df-8ec8-cb5f4df8cc81"/>
							<Rule Name="iDSMostInProgress" Query="count($fDSInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="大部份進行中呼叫都在目錄上等待" Text="在 {1} 個進行中呼叫中，其中 {2} 個正在目錄上等待。請檢查目錄伺服器的健康狀況。" P1="$iCountInProgress" P2="count($fDSInProgressCalls)" GUID="b56f94c9-8841-4c43-b41f-5330f1a00c40"/>
							<Rule Name="iVSMostInProgress" Query="count($fVSInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="大部份進行中呼叫都在病毒掃描中" Text="在 {1} 個進行中呼叫中，其中 {2} 個在病毒掃描程式中。" P1="$iCountInProgress" P2="count($fVSInProgressCalls)" GUID="4da30333-dd95-45eb-b254-73c08fd6bf5d"/>
							<Rule Name="iImailSMostInProgress" Query="count($fImailInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="大部份進行中呼叫都在內容轉換中" Text="在 {1} 個進行中呼叫中，其中 {2} 個在內容轉換中。" P1="$iCountInProgress" P2="count($fImailInProgressCalls)" GUID="9188b533-610f-4330-a559-4d1b1b7a34e0"/>
							<Rule Name="iJetSnapshotMostInProgress" Query="count($fJetSnapshotInProgressCalls) &gt; 0" Error="BestPractice" Sev="1" ReportIssue="Summary" Title="對磁碟區快照集陰影複製的進行中呼叫" Text="有 {2} 個對磁碟區陰影複製快照集的進行中呼叫。" P2="count($fJetSnapshotInProgressCalls)" GUID="f9144365-7064-4f24-bb55-31999ae5b07a"/>
							<Rule Name="iJetMostInProgress" Query="count($fJetInProgressCalls) &gt; 0.5 * $iCountInProgress and $iCountInProgress &gt; 2" Error="Error" Sev="1" ReportIssue="Summary" Title="大部份的進行中呼叫都在 Jet 中" Text="在 {1} 個進行中呼叫中，其中 {2} 個是對 ESE。" P1="$iCountInProgress" P2="count($fJetInProgressCalls)" GUID="846bcbe7-0e27-4762-bff9-1d75727a2897"/>

							<!-- Near any known limits? -->
							<Rule Name="iVSInProgressNearThreadLimit" Query="count($fVSInProgressCalls) &gt; ($iVirusScanningThreads - 2)" Error="Error" ReportIssue="Issue" Title="進行中的病毒掃描呼叫接近執行緒限制" Text="函數呼叫記錄 (FCL) 顯示 {1} 個對病毒掃描程式的進行中呼叫，但只有 {2} 個執行緒可供病毒掃描使用。" P1="count($fVSInProgressCalls)" P2="$iVirusScanningThreads" GUID="c75511c9-6ff4-4bc3-a04d-3e5394875364"/>

							<!-- See if FCL failed entirely.... -->
							<Rule Name="fOtherFCLFailure" Query="../Exception" Error="Error" Sev="1" Title="無法分析 Exchange 函數呼叫記錄 (FCL)" Text="無法分析 Exchange 函數呼叫記錄 (FCL) {0}。FCL 收集報告下列錯誤: {1}" S0="%FCLFILE%" P1="../Exception/@Message"/>
						</Object>
						<Object Type="Registry" Key1="%SERVER%" Key3="System\CurrentControlSet\Services\MSExchangeIS\VirusScan" SecurityContext="EXLOGON">
							<Setting Key1="ScanningThreads">
								<Rule Name="iVirusScanningThreads" Query="$."/>
							</Setting>
						</Object>
					</Object>
				</Object>
			</Object>
		</Object>
	</Object>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>nanNxQmCJ9SXA9v2H5tuhNOX5Fk=</DigestValue></Reference></SignedInfo><SignatureValue>
    ElCTOES/4eD3d5ZdBzHUHx9urPs9ZivxCDZpMRPfU4dCD08Jesmg7NE4XiJIWIn8j/GvlTp3
    X7kbYf/jLwwQ6UL+zkrhwk0D5iDjGa8nf0A7lc1Yg8b8Pa2Ze1JPoPU9TzZQnDDHcGZ03OhT
    ykwduqOz01Gj/WLa2uzGRcw1zsTikI5gbRvrz7J+moP4NXI2/uXkIlG0/F5UnSOqBHSjGiac
    x01oHrUp318wUzVZCf578aJS4E2oOZpuumNX9ebKeUQN+/bAMRJ4wvmYkVbuA8N83+XzP4Ol
    LkArFrpzEilgvzCkSxCpIjYgf1EmpOqJewG5gLuBtJFNE2Sod1fTTw==
  </SignatureValue><KeyInfo>
      <KeyValue>
        <RSAKeyValue>
          <Modulus>
            zYGWOK5covLB397Qq5WN1jydH4vDXYYuXfCxcvWrrIhqtdqxInsLyMilS5FeIhPp+fUjnbX0
            bnau7+6kPMfEwFlcP6uzczMmpmKBYXmhYvRuiJXQbt3Hn9KkURF2YbpwimWhlhaJp12B0ERm
            5dtWnkDK/Nx2JC5EMADl1n17lRHVWB2j6E8LyYjcotZTmWzKY8qZapqSXkxNEegv01tbXl9S
            o3MtpbuERQ2MGRV2ywjamqZwFehN7Gn9XbJrj+0pUTc4i8ZGSRWUUJiw9Gik194JcWd0nneM
            HYVrl+rnX0XM4OZxDdFjAJN7MZiOC7QTvbPQ7vHfIe6pYGHuN0M9ww==
          </Modulus>
          <Exponent>AQAB</Exponent>
        </RSAKeyValue>
      </KeyValue>
      <X509Data>
        <X509Certificate>
          MIIFMzCCBBugAwIBAgIKYUaeywAEAAAAZTANBgkqhkiG9w0BAQUFADCBpjELMAkGA1UEBhMC
          VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p
          Y3Jvc29mdCBDb3Jwb3JhdGlvbjErMCkGA1UECxMiQ29weXJpZ2h0IChjKSAyMDAwIE1pY3Jv
          c29mdCBDb3JwLjEjMCEGA1UEAxMaTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EwHhcNMDYw
          NDA0MTk0MzQ2WhcNMDcxMDA0MTk1MzQ2WjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz
          aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0
          aW9uMR4wHAYDVQQDExVNaWNyb3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQDNgZY4rlyi8sHf3tCrlY3WPJ0fi8Ndhi5d8LFy9ausiGq12rEiewvI
          yKVLkV4iE+n59SOdtfRudq7v7qQ8x8TAWVw/q7NzMyamYoFheaFi9G6IldBu3cef0qRREXZh
          unCKZaGWFomnXYHQRGbl21aeQMr83HYkLkQwAOXWfXuVEdVYHaPoTwvJiNyi1lOZbMpjyplq
          mpJeTE0R6C/TW1teX1Kjcy2lu4RFDYwZFXbLCNqapnAV6E3saf1dsmuP7SlRNziLxkZJFZRQ
          mLD0aKTX3glxZ3Sed4wdhWuX6udfRczg5nEN0WMAk3sxmI4LtBO9s9Du8d8h7qlgYe43Qz3D
          AgMBAAGjggGSMIIBjjAOBgNVHQ8BAf8EBAMCBsAwHQYDVR0OBBYEFO7Za6l1U81P7htOGQYe
          o5yrz5T9MBMGA1UdJQQMMAoGCCsGAQUFBwMDMIGpBgNVHSMEgaEwgZ6AFCX4K0tdyHJUreX2
          oCoXFvvB+VOBoXSkcjBwMSswKQYDVQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0
          IENvcnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jv
          c29mdCBSb290IEF1dGhvcml0eYIQaguZT8AAHasR2sQCoWYnujBLBgNVHR8ERDBCMECgPqA8
          hjpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9Db2RlU2lnblBD
          QTIuY3JsME8GCCsGAQUFBwEBBEMwQTA/BggrBgEFBQcwAoYzaHR0cDovL3d3dy5taWNyb3Nv
          ZnQuY29tL3BraS9jZXJ0cy9Db2RlU2lnblBDQTIuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQA4
          2e+VOJtcmBRdVG5p3wLI57P708JNrS+rf1QN2jK2+GrmDfshGnc+pWh6tJV+ilzyQ8SDm2V9
          iFBRfIIU9YNz16K+XMoCcM4mbBe8UhSlicC35KHMoXWdkXE9G8BWAFa1+IQm2l4z+9Ylel6a
          2qb79PJBGqxVRq1I3JE4E1gJSfHzMYcfvASOWxJlA+kLUdChDIqZvdnBqNAIFSUhtbZXiRzR
          W4Y1pcr9qofsqTc/t0Nr4yDxRbx+runxVbKhSLxlvlM02cnoBmMEBnhuUP9Iu5vqQ1qH260K
          gPVZxSzk5X9bSuUyee4ihZIMLbNQW8bCQFhYq9LN4y/Bzextnzd5
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEEjCCAvqgAwIBAgIPAMEAizw8iBHRPvZj7N9AMA0GCSqGSIb3DQEBBAUAMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4X
          DTk3MDExMDA3MDAwMFoXDTIwMTIzMTA3MDAwMFowcDErMCkGA1UECxMiQ29weXJpZ2h0IChj
          KSAxOTk3IE1pY3Jvc29mdCBDb3JwLjEeMBwGA1UECxMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
          MSEwHwYDVQQDExhNaWNyb3NvZnQgUm9vdCBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUA
          A4IBDwAwggEKAoIBAQCpAr3BcOY78k4bKJ+XeF4w6qKpjSVf+P6VTKO3/p2iID58UaKboo9g
          MmvRQmR57qx2yVTa8uuchhyPn4Rms8VremIj1h083g8BkuiWxL8tZpqaaCaZ0Dosvwy1WCbB
          RucKPjiWLKkoOajsSYNC44QPu5psVWGsgnyhYC13TOmZtGQ7mlAcMQgkFJ+p55ErGOY9mGMU
          YFgFZZ8dN1KH96fvlALGG9O/VUWziYC/OuxUlE6u/ad6bXROrxjMlgkoIQBXkGBpN7tLEgc8
          Vv9b+6RmCgim0oFWV++2O14WgXcE2va+roCV/rDNf9anGnJcPMq88AijIjCzBoXJsyB3E4Xf
          AgMBAAGjgagwgaUwgaIGA1UdAQSBmjCBl4AQW9Bw72lyniNRfhSyTY7/y6FyMHAxKzApBgNV
          BAsTIkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jv
          c29mdCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5gg8A
          wQCLPDyIEdE+9mPs30AwDQYJKoZIhvcNAQEEBQADggEBAJXoC8CN85cYNe24ASTYdxHzXGAy
          n54Lyz4FkYiPyTrmIfLwV5MstaBHyGLv/NfMOztaqTZUaf4kbT/JzKreBXzdMY09nxBwarv+
          Ek8YacD80EPjEVogT+pie6+qGcgrNyUtvmWhEoolD2Oj91Qc+SHJ1hXzUqxuQzIH/YIX+OVn
          bA1R9r3xUse958Qw/CAxCYgdlSkaTdUdAqXxgOADtFv0sd3IV+5lScdSVLa0AygS/5DW8AiP
          friXxas3LOR65Kh343agANBqP8HSNorgQRKoNWobats14dQcBOSoRQTIWjM4bk0cDWK3CqKM
          09VUP0bNHFWmcNsSOoeTdZ+n0qA=
        </X509Certificate>
      </X509Data>
      <X509Data>
        <X509Certificate>
          MIIEwzCCA6+gAwIBAgIQaguZT8AAHasR2sQCoWYnujAJBgUrDgMCHQUAMHAxKzApBgNVBAsT
          IkNvcHlyaWdodCAoYykgMTk5NyBNaWNyb3NvZnQgQ29ycC4xHjAcBgNVBAsTFU1pY3Jvc29m
          dCBDb3Jwb3JhdGlvbjEhMB8GA1UEAxMYTWljcm9zb2Z0IFJvb3QgQXV0aG9yaXR5MB4XDTA2
          MDQwNDE3NDQxNFoXDTEyMDQyNjA3MDAwMFowgaYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX
          YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9y
          YXRpb24xKzApBgNVBAsTIkNvcHlyaWdodCAoYykgMjAwMCBNaWNyb3NvZnQgQ29ycC4xIzAh
          BgNVBAMTGk1pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBMIIBIDANBgkqhkiG9w0BAQEFAAOC
          AQ0AMIIBCAKCAQEAw8wgjbzf/z5Q7nrC1CQl9nbOIf/NKlZOypy3grI1eS0AxKgI1WPJt6X2
          6cHB1rGMlqIH+g+2glKa64LGvRDFqMDua4SOUxu7UPpkAYnBFtSCaABAeET1EjhO+2NR4Po9
          ueU3sd9jByM7cUA0R/Rrrkb1J3MeIstCGR5RtlKa06PQE8YZP3EGbfKVIURfQu3AyZlkILjB
          NPyiROZ7sh0vuKbe9KHfmyEP/lgxQVU4fq9Y5+TsWXklq/cqLxE/OHg+Qn+naOR+ImgX5kqS
          xHhEUkehT4SJk5vAZ3vqCfuGA332mXE8K6dmmMzfLeIrAhoPNEhl9TwSr/GHHB0mUm/MAwIB
          A6OCASowggEmMBMGA1UdJQQMMAoGCCsGAQUFBwMDMIGiBgNVHQEEgZowgZeAEFvQcO9pcp4j
          UX4Usk2O/8uhcjBwMSswKQYDVQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0IENv
          cnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAfBgNVBAMTGE1pY3Jvc29m
          dCBSb290IEF1dGhvcml0eYIPAMEAizw8iBHRPvZj7N9AMBIGCSsGAQQBgjcVAQQFAgMDAAQw
          HQYDVR0OBBYEFCX4K0tdyHJUreX2oCoXFvvB+VOBMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIA
          QwBBMAsGA1UdDwQEAwIBRjAPBgNVHRMBAf8EBTADAQH/MAkGBSsOAwIdBQADggEBAGPj4PMF
          uLDqCws00YIxPoliRdUIp/lhZcguA/o4SEHPtfIng9PjxVZTqLUZzszm8aD5VrZIlEck5akf
          3HrU9hZ6EtvzkBvsCF2zhZC5jFi7HMyV05WUM/SR3v+Im15LSVA5JjogG1Q3/H1cFZPD3ByO
          8GFSPOUH7WbveeyPzldjZZUYSaB632W33yau/sgStsaizMZfi3Dzyturgm4H3GUZuaj2hsIJ
          QpjxJqxperHBK6ewZh+lr4cIa5cTuLA2mR4FoxM4o8CsMD66IdcwpspiEhyvV43l8XoRul48
          DDfxk8GSiE4EWgVcx8/WqdnhfZF4J/u0bqWPBjNYsV4qEQ8=
        </X509Certificate>
      </X509Data>
    </KeyInfo><Object id="ts-countersig"><X509Data><X509Certificate>MIID/zCCAuegAwIBAgIQDekr8NTYKYgYMgUJXpp2iDANBgkqhkiG9w0BAQUFADBTMQswCQYDVQQG
EwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUgU3Rh
bXBpbmcgU2VydmljZXMgQ0EwHhcNMDMxMjA0MDAwMDAwWhcNMDgxMjAzMjM1OTU5WjBXMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xLzAtBgNVBAMTJlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgU2lnbmVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
slAoSN3TaHqEGERmdV1+xLifYyb/PUOcfBE4ECVVc9l1J2n9TrkgXNMK+aAbKu1VViFh2B7b5Lwz
a8fv3aM3ZY4bkwy2Ux5cfGY1XwWKRf52Tt9TgKKBIJ2uiFyiCPflMPnuIjdMQgrO38YfxNZV6YE/
tVKjLKoBevKiqo01/p/mXWoFnz1r47+WwP7MYPlA5wegROuBUW6lKvK2ihAo7Y/cBqCGUJp7SggN
MB3KEJ5r9+lYrgSpQJmyKOiPFqw841NvS9M1nbVvZB2zliy7Ped56216+RbmJq2v75lTt0Aslbh5
qv7UUqspdH5C7DkeomoW5lm7JGjYAIBDEIeAawIDAQABo4HKMIHHMDQGCCsGAQUFBwEBBCgwJjAk
BggrBgEFBQcwAYYYaHR0cDovL29jc3AudmVyaXNpZ24uY29tMAwGA1UdEwEB/wQCMAAwMwYDVR0f
BCwwKjAooCagJIYiaHR0cDovL2NybC52ZXJpc2lnbi5jb20vdHNzLWNhLmNybDAWBgNVHSUBAf8E
DDAKBggrBgEFBQcDCDAOBgNVHQ8BAf8EBAMCBsAwJAYDVR0RBB0wG6QZMBcxFTATBgNVBAMTDFRT
QTIwNDgtMS01NDANBgkqhkiG9w0BAQUFAAOCAQEAh3hw2k5SASBb4HnJgjDE/bkZlr2RAMO9zc3G
9A7Y//lNwDNiMBHF9XQb1JLeX5wgE7F8Rb5QzYPngBeDpyeTZxNG+8q4mEEDzJtRWwWLf6hv8xtQ
GyQu8mmNbCL3u8oWle0MdMBod9nrmWKHwXOQ+Il0eiOro5h7l7H3jylxTS51G0hB2vC1DSBU1neg
l4Jjaf0Jz4rwdbsJm9n5EVUmmmEyvnoCsHuGvqLDiyIseNE1drySc1z5ueZMFQojzOTS1DQuSUAV
PA9geiTGpWbvls9w6z7n9A1+3NF8o3ZxacGcT0cwNSGxoq8aYjwr2Y6qKgd72BizXHvinaVv/jyJ
rQ==</X509Certificate></X509Data><X509Data><X509Certificate>MIIDxDCCAy2gAwIBAgIQR78Zld+NUkZD99ttSA0xpDANBgkqhkiG9w0BAQUFADCBizELMAkGA1UE
BhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNV
BAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhhd3RlIENlcnRpZmljYXRpb24xHzAdBgNVBAMTFlRoYXd0
ZSBUaW1lc3RhbXBpbmcgQ0EwHhcNMDMxMjA0MDAwMDAwWhcNMTMxMjAzMjM1OTU5WjBTMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCpyrKk
zM0grwp9iayHdfC0TvHfwQ+/Z2G9o2Qc2rv5yjOrhDCJWH6M22vdNp4Pv9HsePJ3pn5vPL+Trw26
aPRslMq9Ui2rSD31ttVdXxsCn/ovax6k96OaphrIAuF/TFLjDmDsQBx+uQ3eP8e034e9X3pqMS4D
mYETqEcgzjFzDVctzXg0M5USmRK53mgvqubjwoqMKsOLIYdmvYNYV291vzyqJoddyhAVPJ+E6lTB
Cm7E/sVK3bkHEZcifNs+J9EeeOyfMcnx5iIZ28SzR0OaGl+gHpDkXvXufPF9q2IBj/VNC97QIlao
lc2uiHau7roN8+RN2aD7aKCuFDuzh8G7AgMBAAGjgdswgdgwNAYIKwYBBQUHAQEEKDAmMCQGCCsG
AQUFBzABhhhodHRwOi8vb2NzcC52ZXJpc2lnbi5jb20wEgYDVR0TAQH/BAgwBgEB/wIBADBBBgNV
HR8EOjA4MDagNKAyhjBodHRwOi8vY3JsLnZlcmlzaWduLmNvbS9UaGF3dGVUaW1lc3RhbXBpbmdD
QS5jcmwwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDgYDVR0PAQH/BAQDAgEGMCQGA1UdEQQdMBukGTAX
MRUwEwYDVQQDEwxUU0EyMDQ4LTEtNTMwDQYJKoZIhvcNAQEFBQADgYEASmv56ljCRBwxiXmZK5a/
gqwB1hxMzbCKWG7fCCmjXsjKkxPnBFIN70cnLwA4sOTJk06a1CJiFfc/NyFPcDGA8Ys4h7Po6JcA
/s9Vlk4k0qknTnqut2FB8yrO58nZXt27K4U+tZ212eFX/760xX71zwye8Jf+K9M7UhsbOCf3P0o=</X509Certificate></X509Data><CounterSignature xmlns="http://schemas.microsoft.com/xmldsig/timestamp/2003" ts-format="cms-timestamp-message">MIIDLQYJKoZIhvcNAQcCoIIDHjCCAxoCAQExDjAMBggqhkiG9w0CBQUAMIIBEwYJKoZIhvcNAQcB
oIIBBASCAQASUJM4RL/h4Pd3ll0HMdQfH26s+z1mK/EINmkxE99Th0IPTwl6yaDs0TheIkhYifyP
8a+VOndfuRth/+MvDBDpQv7OSuHCTQPmIOMZryd/QDuVzViDxvw9rZl7Uk+g9T1PNlCcMMdwZnTc
6FPKTB26o7PTUaP9Ytra7MZFzDXOxOKQjmBtG+vPsn6ag/g1cjb+5eQiUbT8XlSdI6oEdKMaJpzH
TWgetSnfXzBTNVkJ/nvxolLgTag5mm66Y1f15sp5RA379sAxEnjC+ZiRVu4Dw3zf5fM/g6UuQCsW
unMSKWC/MKRLEKkiNiB/USak6ol7AbmAu4G0kU0TZKh3V9NPMYIB7DCCAegCAQEwZzBTMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xKzApBgNVBAMTIlZlcmlTaWduIFRpbWUg
U3RhbXBpbmcgU2VydmljZXMgQ0ECEA3pK/DU2CmIGDIFCV6adogwDAYIKoZIhvcNAgUFAKBZMBgG
CSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA2MTEyNzAwMDA1NVowHwYJ
KoZIhvcNAQkEMRIEEBnJhNAhP4SlTQi9c27XTJ8wDQYJKoZIhvcNAQEBBQAEggEAe0QvriIAsKt5
CLOxXnRN2W6dYvhX3wUWGjqo81MwyFQxkQouCrB6hIxwAnTMReh4oTu6tKkgGox0YbTvmGLLbuAa
1C1T8XgT5hVCynEfa1hyIvwuZSN9yRnOhAu2cLKYghodTypWt3NplQ/SJznhMdhaY4EmyEXeLtwD
ZCH6z0ZK6bwlKSWFeTqBosJoP/cxf9KOEZMkk4LoQ3zl6pXTPAhRmziLPjPYfek5Hn6kaEC/Tn88
BGOs2fDFdsmCWLYc55I4+TzKfifPDeIxnnKqGrLIfUdxpclP30Ime48B/C+UWbLLB+OLrkZgzsRn
b3llXoutCas6vcu7GW7L17Mi/w==</CounterSignature></Object></Signature></Wizard>