home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 5 / Windows / PLA / Rules / Rules.System.Diagnostics.xml < prev    next >
Extensible Markup Language  |  2008-01-05  |  177KB  |  2,682 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?Copyright (c) Microsoft Corporation. All rights reserved.?>
  3. <Rules>
  4.   <Group name="$(GroupDiagnosticsSetup)" enabled="true">
  5.     <Rule name="$(RuleDiagnosticsSetup)" enabled="true">
  6.       <Step select="/Report/Section[@name='advice']/Table[last()]">
  7.         <Exists>
  8.           <Otherwise>
  9.             <Insert>
  10.               <Node axis="preceding-sibling">
  11.                 <Table name="alltests" style="columns" topic="TopicTestResults">
  12.                   <Header>
  13.                     <Data name="alltestgroups" class="string"/>
  14.                     <Data name="allteststatus" class="string"/>
  15.                     <Data name="alltestdesc" class="string"/>
  16.                     <Header>
  17.                       <Data name="allchildtest" class="string"/>
  18.                       <Data name="allchildtotal" class="number"/>
  19.                       <Data name="allchildfail" class="number"/>
  20.                       <Data name="allchilddesc" class="string"/>
  21.                     </Header>
  22.                   </Header>
  23.                 </Table>
  24.               </Node>
  25.             </Insert>
  26.           </Otherwise>
  27.         </Exists>
  28.       </Step>
  29.     </Rule>
  30.     <Rule name="$(RuleInsertSections)" enabled="true" visible="false">
  31.       <Step select="/Report/Section[last()]">
  32.         <Exists>
  33.           <When expression="string-length(/Report/Section[@name='SectionSoftwareConfig']) > 0">
  34.             <Insert select="/Report/Section[@name='SectionSoftwareConfig']">
  35.               <Attribute name="key" value="300"/>
  36.             </Insert>
  37.           </When>
  38.           <Otherwise>
  39.             <Insert>
  40.               <Node axis="preceding-sibling">
  41.                 <Section name="SectionSoftwareConfig" key="300"/>
  42.               </Node>
  43.             </Insert>
  44.           </Otherwise>
  45.         </Exists>
  46.       </Step>
  47.       <Step select="/Report/Section[last()]">
  48.         <Exists>
  49.           <When expression="string-length(/Report/Section[@name='SystemConfig']) > 0">
  50.             <Insert select="/Report/Section[@name='SystemConfig']">
  51.               <Attribute name="key" value="300"/>
  52.             </Insert>
  53.           </When>
  54.           <Otherwise>
  55.             <Insert>
  56.               <Node axis="preceding-sibling">
  57.                 <Section name="SystemConfig" key="300"/>
  58.               </Node>
  59.             </Insert>
  60.           </Otherwise>
  61.         </Exists>
  62.       </Step>
  63.       <Step select="/Report/Section[last()]">
  64.         <Exists>
  65.           <When expression="string-length(/Report/Section[@name='tracerptPrintSpooler']) > 0">
  66.             <Insert select="/Report/Section[@name='tracerptPrintSpooler']">
  67.               <Attribute name="key" value="1000"/>
  68.             </Insert>
  69.           </When>
  70.           <Otherwise>
  71.             <Insert>
  72.               <Node axis="preceding-sibling">
  73.                 <Section name="tracerptPrintSpooler" key="1000"/>
  74.               </Node>
  75.             </Insert>
  76.           </Otherwise>
  77.         </Exists>
  78.       </Step>
  79.       <Step select="/Report/Section[last()]">
  80.         <Exists>
  81.           <When expression="string-length(/Report/Section[@name='tracerptIis']) > 0">
  82.             <Insert select="/Report/Section[@name='tracerptIis']">
  83.               <Attribute name="key" value="2000"/>
  84.             </Insert>
  85.           </When>
  86.           <Otherwise>
  87.             <Insert>
  88.               <Node axis="preceding-sibling">
  89.                 <Section name="tracerptIis" key="2000"/>
  90.               </Node>
  91.             </Insert>
  92.           </Otherwise>
  93.         </Exists>
  94.       </Step>
  95.       <Step select="/Report/Section[last()]">
  96.         <Exists>
  97.           <When expression="string-length(/Report/Section[@name='tracerptUserPdh']) > 0">
  98.             <Insert select="/Report/Section[@name='tracerptUserPdh']">
  99.               <Attribute name="key" value="5000"/>
  100.             </Insert>
  101.           </When>
  102.           <Otherwise>
  103.             <Insert>
  104.               <Node axis="preceding-sibling">
  105.                 <Section name="tracerptUserPdh" key="5000"/>
  106.               </Node>
  107.             </Insert>
  108.           </Otherwise>
  109.         </Exists>
  110.       </Step>
  111.       <Step select="/Report/Section[last()]">
  112.         <Exists>
  113.           <When expression="string-length(/Report/Section[@name='tracerptCpusection']) > 0">
  114.             <Insert select="/Report/Section[@name='tracerptCpusection']">
  115.               <Attribute name="key" value="6000"/>
  116.             </Insert>
  117.           </When>
  118.           <Otherwise>
  119.             <Insert>
  120.               <Node axis="preceding-sibling">
  121.                 <Section name="tracerptCpusection" key="6000"/>
  122.               </Node>
  123.             </Insert>
  124.           </Otherwise>
  125.         </Exists>
  126.       </Step>
  127.       <Step select="/Report/Section[last()]">
  128.         <Exists>
  129.           <When expression="string-length(/Report/Section[@name='tracerptNetwork']) > 0">
  130.             <Insert select="/Report/Section[@name='tracerptNetwork']">
  131.               <Attribute name="key" value="7000"/>
  132.             </Insert>
  133.           </When>
  134.           <Otherwise>
  135.             <Insert>
  136.               <Node axis="preceding-sibling">
  137.                 <Section name="tracerptNetwork" key="7000"/>
  138.               </Node>
  139.             </Insert>
  140.           </Otherwise>
  141.         </Exists>
  142.       </Step>
  143.       <Step select="/Report/Section[last()]">
  144.         <Exists>
  145.           <When expression="string-length(/Report/Section[@name='tracerptDisk']) > 0">
  146.             <Insert select="/Report/Section[@name='tracerptDisk']">
  147.               <Attribute name="key" value="8000"/>
  148.             </Insert>
  149.           </When>
  150.           <Otherwise>
  151.             <Insert>
  152.               <Node axis="preceding-sibling">
  153.                 <Section name="tracerptDisk" key="8000"/>
  154.               </Node>
  155.             </Insert>
  156.           </Otherwise>
  157.         </Exists>
  158.       </Step>
  159.       <Step select="/Report/Section[last()]">
  160.         <Exists>
  161.           <When expression="string-length(/Report/Section[@name='tracerptMemory']) > 0">
  162.             <Insert select="/Report/Section[@name='tracerptMemory']">
  163.               <Attribute name="key" value="9000"/>
  164.             </Insert>
  165.           </When>
  166.           <Otherwise>
  167.             <Insert>
  168.               <Node axis="preceding-sibling">
  169.                 <Section name="tracerptMemory" key="9000"/>
  170.               </Node>
  171.             </Insert>
  172.           </Otherwise>
  173.         </Exists>
  174.       </Step>
  175.       <Step select="/Report/Section[last()]">
  176.         <Exists>
  177.           <When expression="string-length(/Report/Section[@name='tracerptDpcisr']) > 0">
  178.             <Insert select="/Report/Section[@name='tracerptDpcisr']">
  179.               <Attribute name="key" value="10000"/>
  180.             </Insert>
  181.           </When>
  182.           <Otherwise>
  183.             <Insert>
  184.               <Node axis="preceding-sibling">
  185.                 <Section name="tracerptDpcisr" key="10000"/>
  186.               </Node>
  187.             </Insert>
  188.           </Otherwise>
  189.         </Exists>
  190.       </Step>
  191.       <Step select="/Report/Section[last()]">
  192.         <Exists>
  193.           <When expression="string-length(/Report/Section[@name='detailsLast']) > 0">
  194.             <Insert select="/Report/Section[@name='detailsLast']">
  195.               <Attribute name="key" value="20000"/>
  196.             </Insert>
  197.           </When>
  198.           <Otherwise>
  199.             <Insert>
  200.               <Node axis="preceding-sibling">
  201.                 <Section name="detailsLast" key="20000"/>
  202.               </Node>
  203.             </Insert>
  204.           </Otherwise>
  205.         </Exists>
  206.       </Step>
  207.       <Step select="/Report/Section[last()]">
  208.         <Exists>
  209.           <When expression="string-length(/Report/Section[@name='tracerptHeader']) > 0">
  210.             <Insert select="/Report/Section[@name='tracerptHeader']">
  211.               <Attribute name="key" value="-90000"/>
  212.             </Insert>
  213.           </When>
  214.           <Otherwise>
  215.             <Insert>
  216.               <Node axis="preceding-sibling">
  217.                 <Section name="tracerptHeader" key="-90000"/>
  218.               </Node>
  219.             </Insert>
  220.           </Otherwise>
  221.         </Exists>
  222.       </Step>
  223.     </Rule>
  224.     <Rule name="$(RuleAddWarningTable)" enabled="true" visible="false">
  225.       <Step select="/Report/Section[@name='advice']">
  226.         <Exists>
  227.           <Otherwise>
  228.             <Variable name="internalruleindex" expression="'0'"/>
  229.             <Insert select=".">
  230.               <Node axis="child">
  231.                 <Table name="error" style="info" key="1" topic="TopicTestResults" expand="true"/>
  232.               </Node>
  233.             </Insert>
  234.           </Otherwise>
  235.         </Exists>
  236.       </Step>
  237.       <Step select="/Report/Section[@name='advice']/Table[@name='warning']">
  238.         <Otherwise>
  239.           <Otherwise>
  240.             <Insert select="/Report/Section[@name='advice']">
  241.               <Node axis="child">
  242.                 <Table name="warning" style="info" key="2" topic="TopicTestResults" expand="true"/>
  243.               </Node>
  244.             </Insert>
  245.           </Otherwise>
  246.         </Otherwise>
  247.       </Step>
  248.       <Step select="/Report/Section[@name='advice']">
  249.         <Exists>
  250.           <Otherwise>
  251.             <Insert select=".">
  252.               <Node axis="child">
  253.                 <Table name="info" style="info" key="3" topic="TopicTestResults" expand="true"/>
  254.               </Node>
  255.             </Insert>
  256.           </Otherwise>
  257.         </Exists>
  258.       </Step>
  259.     </Rule>
  260.     <Rule name="$(RuleUpdateCounterSections)" enabled="true" visible="false">
  261.       <Step select="/Report/Section[not (@name)]" sortType="all">
  262.         <Exists>
  263.           <Otherwise>
  264.             <Insert select=".">
  265.               <Attribute name="name" value="Performance Counters"/>
  266.             </Insert>
  267.           </Otherwise>
  268.         </Exists>
  269.       </Step>
  270.     </Rule>
  271.   </Group>
  272.   <Group name="$(GroupBasic)" enabled="true">
  273.     <Rule name="$(RuleBasicInsert)" enabled="true" visible="false">
  274.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  275.         <Exists>
  276.           <Otherwise>
  277.             <AddConfigStringTable/>
  278.             <Insert select=".">
  279.               <Node axis="child" document="Operating System.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  280.             </Insert>
  281.             <Insert select="Table[@name='managementObjects']">
  282.               <Attribute name="name" value="TableBasicOperatingSystem"/>
  283.               <Attribute name="topic" value="TopicOsChecks"/>
  284.               <Attribute name="key" value="100"/>
  285.             </Insert>
  286.           </Otherwise>
  287.         </Exists>
  288.       </Step>
  289.       <Step select="/Report/Section[@name='SystemConfig']">
  290.         <Exists>
  291.           <Otherwise>
  292.             <Insert select=".">
  293.               <Node axis="child" document="Processor.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  294.             </Insert>
  295.             <Insert select="Table[@name='managementObjects']">
  296.               <Attribute name="name" value="TableBasicProcessor"/>
  297.               <Attribute name="topic" value="system"/>
  298.               <Attribute name="key" value="101"/>
  299.             </Insert>
  300.           </Otherwise>
  301.         </Exists>
  302.       </Step>
  303.       <Step select="/Report/Section[@name='SystemConfig']">
  304.         <Exists>
  305.           <Otherwise>
  306.             <Insert select=".">
  307.               <Node axis="child" document="SMART Disk Check.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  308.             </Insert>
  309.             <Insert select="Table[@name='managementObjects']">
  310.               <Attribute name="name" value="TableBasicSMART"/>
  311.               <Attribute name="topic" value="TopicDiskChecks"/>
  312.               <Attribute name="key" value="110"/>
  313.             </Insert>
  314.           </Otherwise>
  315.         </Exists>
  316.       </Step>
  317.       <Step select="/Report/Section[@name='SystemConfig']">
  318.         <Exists>
  319.           <Otherwise>
  320.             <Insert select=".">
  321.               <Node axis="child" document="Logical Disk Dirty Test.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  322.             </Insert>
  323.             <Insert select="Table[@name='managementObjects']">
  324.               <Attribute name="name" value="TableBasicDirty"/>
  325.               <Attribute name="topic" value="TopicDiskChecks"/>
  326.               <Attribute name="key" value="111"/>
  327.             </Insert>
  328.           </Otherwise>
  329.         </Exists>
  330.       </Step>
  331.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  332.         <Exists>
  333.           <Otherwise>
  334.             <Insert select=".">
  335.               <Node axis="child" document="AntiSpywareProduct.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  336.             </Insert>
  337.             <Insert select="Table[@name='managementObjects']">
  338.               <Attribute name="name" value="TableBasicAntiSpywareProduct"/>
  339.               <Attribute name="topic" value="TopicSecurityCenter"/>
  340.               <Attribute name="key" value="200"/>
  341.             </Insert>
  342.           </Otherwise>
  343.         </Exists>
  344.       </Step>
  345.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  346.         <Exists>
  347.           <Otherwise>
  348.             <Insert select=".">
  349.               <Node axis="child" document="AntiVirusProduct.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  350.             </Insert>
  351.             <Insert select="Table[@name='managementObjects']">
  352.               <Attribute name="name" value="TableBasicAntiVirusProduct"/>
  353.               <Attribute name="topic" value="TopicSecurityCenter"/>
  354.               <Attribute name="key" value="201"/>
  355.             </Insert>
  356.           </Otherwise>
  357.         </Exists>
  358.       </Step>
  359.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  360.         <Exists>
  361.           <Otherwise>
  362.             <Insert select=".">
  363.               <Node axis="child" document="FirewallProduct.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  364.             </Insert>
  365.             <Insert select="Table[@name='managementObjects']">
  366.               <Attribute name="name" value="TableBasicFirewallProduct"/>
  367.               <Attribute name="topic" value="TopicSecurityCenter"/>
  368.               <Attribute name="key" value="202"/>
  369.             </Insert>
  370.           </Otherwise>
  371.         </Exists>
  372.       </Step>
  373.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  374.         <Exists>
  375.           <Otherwise>
  376.             <Insert select=".">
  377.               <Node axis="child" document="UAC Settings.xml" select="/Report/Section/Table[@name='registryKeys']"/>
  378.             </Insert>
  379.             <Insert select="Table[@name='registryKeys']">
  380.               <Attribute name="name" value="TableBasicLUARegistry"/>
  381.               <Attribute name="topic" value="TopicSecurityCenter"/>
  382.               <Attribute name="key" value="203"/>
  383.             </Insert>
  384.           </Otherwise>
  385.         </Exists>
  386.       </Step>
  387.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  388.         <Exists>
  389.           <Otherwise>
  390.             <Insert select=".">
  391.               <Node axis="child" document="Windows Update Settings.xml" select="/Report/Section/Table[@name='registryKeys']"/>
  392.             </Insert>
  393.             <Insert select="Table[@name='registryKeys']">
  394.               <Attribute name="name" value="TableBasicWURegistry"/>
  395.               <Attribute name="topic" value="TopicSecurityCenter"/>
  396.               <Attribute name="key" value="204"/>
  397.             </Insert>
  398.           </Otherwise>
  399.         </Exists>
  400.       </Step>
  401.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  402.         <Exists>
  403.           <Otherwise>
  404.             <Insert select=".">
  405.               <Node axis="child" document="System Services.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  406.             </Insert>
  407.             <Insert select="Table[@name='managementObjects']">
  408.               <Attribute name="name" value="TableBasicService"/>
  409.               <Attribute name="topic" value="TopicServicesChecks"/>
  410.               <Attribute name="key" value="300"/>
  411.             </Insert>
  412.           </Otherwise>
  413.         </Exists>
  414.       </Step>
  415.     </Rule>
  416.     <Rule name="$(RuleBasicCleanup)" enabled="true">
  417.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='enabled' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  418.         <Exists>
  419.           <Otherwise>
  420.             <Delete select="Data[@name='managementObjectsValue']"/>
  421.             <Insert select=".">
  422.               <Node axis="child">
  423.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  424.               </Node>
  425.             </Insert>
  426.           </Otherwise>
  427.         </Exists>
  428.       </Step>
  429.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='productEnabled' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  430.         <Exists>
  431.           <Otherwise>
  432.             <Delete select="Data[@name='managementObjectsValue']"/>
  433.             <Insert select=".">
  434.               <Node axis="child">
  435.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  436.               </Node>
  437.             </Insert>
  438.           </Otherwise>
  439.         </Exists>
  440.       </Step>
  441.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='productUptoDate' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  442.         <Exists>
  443.           <Otherwise>
  444.             <Delete select="Data[@name='managementObjectsValue']"/>
  445.             <Insert select=".">
  446.               <Node axis="child">
  447.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  448.               </Node>
  449.             </Insert>
  450.           </Otherwise>
  451.         </Exists>
  452.       </Step>
  453.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='onAccessScanningEnabled' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  454.         <Exists>
  455.           <Otherwise>
  456.             <Delete select="Data[@name='managementObjectsValue']"/>
  457.             <Insert select=".">
  458.               <Node axis="child">
  459.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  460.               </Node>
  461.             </Insert>
  462.           </Otherwise>
  463.         </Exists>
  464.       </Step>
  465.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Active' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  466.         <Exists>
  467.           <Otherwise>
  468.             <Delete select="Data[@name='managementObjectsValue']"/>
  469.             <Insert select=".">
  470.               <Node axis="child">
  471.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  472.               </Node>
  473.             </Insert>
  474.           </Otherwise>
  475.         </Exists>
  476.       </Step>
  477.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='PredictFailure' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  478.         <Exists>
  479.           <Otherwise>
  480.             <Delete select="Data[@name='managementObjectsValue']"/>
  481.             <Insert select=".">
  482.               <Node axis="child">
  483.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  484.               </Node>
  485.             </Insert>
  486.           </Otherwise>
  487.         </Exists>
  488.       </Step>
  489.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='VolumeDirty' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  490.         <Exists>
  491.           <Otherwise>
  492.             <Delete select="Data[@name='managementObjectsValue']"/>
  493.             <Insert select=".">
  494.               <Node axis="child">
  495.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  496.               </Node>
  497.             </Insert>
  498.           </Otherwise>
  499.         </Exists>
  500.       </Step>
  501.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Debug' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  502.         <Exists>
  503.           <Otherwise>
  504.             <Delete select="Data[@name='managementObjectsValue']"/>
  505.             <Insert select=".">
  506.               <Node axis="child">
  507.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  508.               </Node>
  509.             </Insert>
  510.           </Otherwise>
  511.         </Exists>
  512.       </Step>
  513.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Primary' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  514.         <Exists>
  515.           <Otherwise>
  516.             <Delete select="Data[@name='managementObjectsValue']"/>
  517.             <Insert select=".">
  518.               <Node axis="child">
  519.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  520.               </Node>
  521.             </Insert>
  522.           </Otherwise>
  523.         </Exists>
  524.       </Step>
  525.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DataExecutionPrevention_32BitApplications' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  526.         <Exists>
  527.           <Otherwise>
  528.             <Delete select="Data[@name='managementObjectsValue']"/>
  529.             <Insert select=".">
  530.               <Node axis="child">
  531.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  532.               </Node>
  533.             </Insert>
  534.           </Otherwise>
  535.         </Exists>
  536.       </Step>
  537.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DataExecutionPrevention_Available' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  538.         <Exists>
  539.           <Otherwise>
  540.             <Delete select="Data[@name='managementObjectsValue']"/>
  541.             <Insert select=".">
  542.               <Node axis="child">
  543.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  544.               </Node>
  545.             </Insert>
  546.           </Otherwise>
  547.         </Exists>
  548.       </Step>
  549.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DataExecutionPrevention_Drivers' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  550.         <Exists>
  551.           <Otherwise>
  552.             <Delete select="Data[@name='managementObjectsValue']"/>
  553.             <Insert select=".">
  554.               <Node axis="child">
  555.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  556.               </Node>
  557.             </Insert>
  558.           </Otherwise>
  559.         </Exists>
  560.       </Step>
  561.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='AutomaticManagedPagefile' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  562.         <Exists>
  563.           <Otherwise>
  564.             <Delete select="Data[@name='managementObjectsValue']"/>
  565.             <Insert select=".">
  566.               <Node axis="child">
  567.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  568.               </Node>
  569.             </Insert>
  570.           </Otherwise>
  571.         </Exists>
  572.       </Step>
  573.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='AutomaticResetBootOption' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  574.         <Exists>
  575.           <Otherwise>
  576.             <Delete select="Data[@name='managementObjectsValue']"/>
  577.             <Insert select=".">
  578.               <Node axis="child">
  579.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  580.               </Node>
  581.             </Insert>
  582.           </Otherwise>
  583.         </Exists>
  584.       </Step>
  585.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='AutomaticResetCapability' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  586.         <Exists>
  587.           <Otherwise>
  588.             <Delete select="Data[@name='managementObjectsValue']"/>
  589.             <Insert select=".">
  590.               <Node axis="child">
  591.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  592.               </Node>
  593.             </Insert>
  594.           </Otherwise>
  595.         </Exists>
  596.       </Step>
  597.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='BootROMSupported' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  598.         <Exists>
  599.           <Otherwise>
  600.             <Delete select="Data[@name='managementObjectsValue']"/>
  601.             <Insert select=".">
  602.               <Node axis="child">
  603.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  604.               </Node>
  605.             </Insert>
  606.           </Otherwise>
  607.         </Exists>
  608.       </Step>
  609.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DaylightInEffect' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  610.         <Exists>
  611.           <Otherwise>
  612.             <Delete select="Data[@name='managementObjectsValue']"/>
  613.             <Insert select=".">
  614.               <Node axis="child">
  615.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  616.               </Node>
  617.             </Insert>
  618.           </Otherwise>
  619.         </Exists>
  620.       </Step>
  621.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='EnableDaylightSavingsTime' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  622.         <Exists>
  623.           <Otherwise>
  624.             <Delete select="Data[@name='managementObjectsValue']"/>
  625.             <Insert select=".">
  626.               <Node axis="child">
  627.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  628.               </Node>
  629.             </Insert>
  630.           </Otherwise>
  631.         </Exists>
  632.       </Step>
  633.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='InfraredSupported' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  634.         <Exists>
  635.           <Otherwise>
  636.             <Delete select="Data[@name='managementObjectsValue']"/>
  637.             <Insert select=".">
  638.               <Node axis="child">
  639.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  640.               </Node>
  641.             </Insert>
  642.           </Otherwise>
  643.         </Exists>
  644.       </Step>
  645.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='NetworkServerModeEnabled' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  646.         <Exists>
  647.           <Otherwise>
  648.             <Delete select="Data[@name='managementObjectsValue']"/>
  649.             <Insert select=".">
  650.               <Node axis="child">
  651.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  652.               </Node>
  653.             </Insert>
  654.           </Otherwise>
  655.         </Exists>
  656.       </Step>
  657.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='PartOfDomain' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  658.         <Exists>
  659.           <Otherwise>
  660.             <Delete select="Data[@name='managementObjectsValue']"/>
  661.             <Insert select=".">
  662.               <Node axis="child">
  663.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  664.               </Node>
  665.             </Insert>
  666.           </Otherwise>
  667.         </Exists>
  668.       </Step>
  669.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='PowerManagementSupported' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  670.         <Exists>
  671.           <Otherwise>
  672.             <Delete select="Data[@name='managementObjectsValue']"/>
  673.             <Insert select=".">
  674.               <Node axis="child">
  675.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  676.               </Node>
  677.             </Insert>
  678.           </Otherwise>
  679.         </Exists>
  680.       </Step>
  681.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='enabled' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  682.         <Exists>
  683.           <Otherwise>
  684.             <Delete select="Data[@name='managementObjectsValue']"/>
  685.             <Insert select=".">
  686.               <Node axis="child">
  687.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  688.               </Node>
  689.             </Insert>
  690.           </Otherwise>
  691.         </Exists>
  692.       </Step>
  693.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='productEnabled' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  694.         <Exists>
  695.           <Otherwise>
  696.             <Delete select="Data[@name='managementObjectsValue']"/>
  697.             <Insert select=".">
  698.               <Node axis="child">
  699.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  700.               </Node>
  701.             </Insert>
  702.           </Otherwise>
  703.         </Exists>
  704.       </Step>
  705.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='productUptoDate' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  706.         <Exists>
  707.           <Otherwise>
  708.             <Delete select="Data[@name='managementObjectsValue']"/>
  709.             <Insert select=".">
  710.               <Node axis="child">
  711.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  712.               </Node>
  713.             </Insert>
  714.           </Otherwise>
  715.         </Exists>
  716.       </Step>
  717.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='onAccessScanningEnabled' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  718.         <Exists>
  719.           <Otherwise>
  720.             <Delete select="Data[@name='managementObjectsValue']"/>
  721.             <Insert select=".">
  722.               <Node axis="child">
  723.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  724.               </Node>
  725.             </Insert>
  726.           </Otherwise>
  727.         </Exists>
  728.       </Step>
  729.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Active' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  730.         <Exists>
  731.           <Otherwise>
  732.             <Delete select="Data[@name='managementObjectsValue']"/>
  733.             <Insert select=".">
  734.               <Node axis="child">
  735.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  736.               </Node>
  737.             </Insert>
  738.           </Otherwise>
  739.         </Exists>
  740.       </Step>
  741.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='PredictFailure' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  742.         <Exists>
  743.           <Otherwise>
  744.             <Delete select="Data[@name='managementObjectsValue']"/>
  745.             <Insert select=".">
  746.               <Node axis="child">
  747.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  748.               </Node>
  749.             </Insert>
  750.           </Otherwise>
  751.         </Exists>
  752.       </Step>
  753.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='VolumeDirty' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  754.         <Exists>
  755.           <Otherwise>
  756.             <Delete select="Data[@name='managementObjectsValue']"/>
  757.             <Insert select=".">
  758.               <Node axis="child">
  759.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  760.               </Node>
  761.             </Insert>
  762.           </Otherwise>
  763.         </Exists>
  764.       </Step>
  765.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Debug' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  766.         <Exists>
  767.           <Otherwise>
  768.             <Delete select="Data[@name='managementObjectsValue']"/>
  769.             <Insert select=".">
  770.               <Node axis="child">
  771.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  772.               </Node>
  773.             </Insert>
  774.           </Otherwise>
  775.         </Exists>
  776.       </Step>
  777.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Primary' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  778.         <Exists>
  779.           <Otherwise>
  780.             <Delete select="Data[@name='managementObjectsValue']"/>
  781.             <Insert select=".">
  782.               <Node axis="child">
  783.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  784.               </Node>
  785.             </Insert>
  786.           </Otherwise>
  787.         </Exists>
  788.       </Step>
  789.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DataExecutionPrevention_32BitApplications' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  790.         <Exists>
  791.           <Otherwise>
  792.             <Delete select="Data[@name='managementObjectsValue']"/>
  793.             <Insert select=".">
  794.               <Node axis="child">
  795.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  796.               </Node>
  797.             </Insert>
  798.           </Otherwise>
  799.         </Exists>
  800.       </Step>
  801.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DataExecutionPrevention_Available' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  802.         <Exists>
  803.           <Otherwise>
  804.             <Delete select="Data[@name='managementObjectsValue']"/>
  805.             <Insert select=".">
  806.               <Node axis="child">
  807.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  808.               </Node>
  809.             </Insert>
  810.           </Otherwise>
  811.         </Exists>
  812.       </Step>
  813.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DataExecutionPrevention_Drivers' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  814.         <Exists>
  815.           <Otherwise>
  816.             <Delete select="Data[@name='managementObjectsValue']"/>
  817.             <Insert select=".">
  818.               <Node axis="child">
  819.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  820.               </Node>
  821.             </Insert>
  822.           </Otherwise>
  823.         </Exists>
  824.       </Step>
  825.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='AutomaticManagedPagefile' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  826.         <Exists>
  827.           <Otherwise>
  828.             <Delete select="Data[@name='managementObjectsValue']"/>
  829.             <Insert select=".">
  830.               <Node axis="child">
  831.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  832.               </Node>
  833.             </Insert>
  834.           </Otherwise>
  835.         </Exists>
  836.       </Step>
  837.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='AutomaticResetBootOption' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  838.         <Exists>
  839.           <Otherwise>
  840.             <Delete select="Data[@name='managementObjectsValue']"/>
  841.             <Insert select=".">
  842.               <Node axis="child">
  843.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  844.               </Node>
  845.             </Insert>
  846.           </Otherwise>
  847.         </Exists>
  848.       </Step>
  849.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='AutomaticResetCapability' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  850.         <Exists>
  851.           <Otherwise>
  852.             <Delete select="Data[@name='managementObjectsValue']"/>
  853.             <Insert select=".">
  854.               <Node axis="child">
  855.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  856.               </Node>
  857.             </Insert>
  858.           </Otherwise>
  859.         </Exists>
  860.       </Step>
  861.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='BootROMSupported' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  862.         <Exists>
  863.           <Otherwise>
  864.             <Delete select="Data[@name='managementObjectsValue']"/>
  865.             <Insert select=".">
  866.               <Node axis="child">
  867.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  868.               </Node>
  869.             </Insert>
  870.           </Otherwise>
  871.         </Exists>
  872.       </Step>
  873.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='DaylightInEffect' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  874.         <Exists>
  875.           <Otherwise>
  876.             <Delete select="Data[@name='managementObjectsValue']"/>
  877.             <Insert select=".">
  878.               <Node axis="child">
  879.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  880.               </Node>
  881.             </Insert>
  882.           </Otherwise>
  883.         </Exists>
  884.       </Step>
  885.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='EnableDaylightSavingsTime' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  886.         <Exists>
  887.           <Otherwise>
  888.             <Delete select="Data[@name='managementObjectsValue']"/>
  889.             <Insert select=".">
  890.               <Node axis="child">
  891.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  892.               </Node>
  893.             </Insert>
  894.           </Otherwise>
  895.         </Exists>
  896.       </Step>
  897.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='InfraredSupported' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  898.         <Exists>
  899.           <Otherwise>
  900.             <Delete select="Data[@name='managementObjectsValue']"/>
  901.             <Insert select=".">
  902.               <Node axis="child">
  903.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  904.               </Node>
  905.             </Insert>
  906.           </Otherwise>
  907.         </Exists>
  908.       </Step>
  909.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='NetworkServerModeEnabled' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  910.         <Exists>
  911.           <Otherwise>
  912.             <Delete select="Data[@name='managementObjectsValue']"/>
  913.             <Insert select=".">
  914.               <Node axis="child">
  915.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  916.               </Node>
  917.             </Insert>
  918.           </Otherwise>
  919.         </Exists>
  920.       </Step>
  921.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='PartOfDomain' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  922.         <Exists>
  923.           <Otherwise>
  924.             <Delete select="Data[@name='managementObjectsValue']"/>
  925.             <Insert select=".">
  926.               <Node axis="child">
  927.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  928.               </Node>
  929.             </Insert>
  930.           </Otherwise>
  931.         </Exists>
  932.       </Step>
  933.       <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='PowerManagementSupported' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  934.         <Exists>
  935.           <Otherwise>
  936.             <Delete select="Data[@name='managementObjectsValue']"/>
  937.             <Insert select=".">
  938.               <Node axis="child">
  939.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  940.               </Node>
  941.             </Insert>
  942.           </Otherwise>
  943.         </Exists>
  944.       </Step>
  945.     </Rule>
  946.     <Rule name="$(RuleOSSetup)" enabled="true">
  947.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']">
  948.         <Exists>
  949.           <When expression="1 = 1">
  950.             <Variable name="group">$(LOC_TableBasicOSSummary)</Variable>
  951.             <Variable name="description">$(LOC_DescOSSummary)</Variable>
  952.             <Insert>
  953.               <Node axis="child">
  954.                 <Item>
  955.                   <Data name="alltestgroups" link="TableBasicOperatingSystem">{group}</Data>
  956.                   <Data name="alltestdesc">{description}</Data>
  957.                 </Item>
  958.               </Node>
  959.             </Insert>
  960.           </When>
  961.           <Otherwise/>
  962.         </Exists>
  963.       </Step>
  964.     </Rule>
  965.     <Rule name="$(RuleSuccessOSVersionCheck)" enabled="true">
  966.       <Step select="/Report/Section/Table[@name='TableBasicOperatingSystem']">
  967.         <Exists>
  968.           <When expression="starts-with(Item/Item/Item[Data[@name = 'managementObjectsProperty'] = 'Version']/Data[@name='managementObjectsValue'], '6.')">
  969.             <Variable name="group">$(LOC_TableBasicOSSummary)</Variable>
  970.             <Variable name="test">$(LOC_Test_RuleSuccessOSVersionCheck)</Variable>
  971.             <Variable name="description">$(LOC_Passed)</Variable>
  972.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  973.               <Node axis="child">
  974.                 <Item>
  975.                   <Data name="allchildtest">{test}</Data>
  976.                   <Data name="allchildtotal">1</Data>
  977.                   <Data name="allchildfail">0</Data>
  978.                   <Data name="allchilddesc">{description}</Data>
  979.                 </Item>
  980.               </Node>
  981.             </Insert>
  982.           </When>
  983.           <Otherwise>
  984.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  985.             <Variable name="ruleFailOSVersionCheck_symptom">$(WarnFailOSVersionCheck_symptom)</Variable>
  986.             <Variable name="ruleFailOSVersionCheck_cause">$(WarnFailOSVersionCheck_cause)</Variable>
  987.             <Variable name="ruleFailOSVersionCheck_details">$(WarnFailOSVersionCheck_details)</Variable>
  988.             <Variable name="ruleFailOSVersionCheck_res1">$(WarnFailOSVersionCheck_res1)</Variable>
  989.             <Variable name="ruleFailOSVersionCheck_related1">$(WarnFailOSVersionCheck_related1)</Variable>
  990.             <Warning tag="ruleFailOSVersionCheck_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicOperatingSystem']/Item/Item/Item[Data[@name = 'managementObjectsProperty'] = 'Version']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  991.               <Item>
  992.                 <Data name="symptom" img="warning" link="ruleFailOSVersionCheck_{internalruleindex}" message="ruleFailOSVersionCheck_{internalruleindex}" translate="value">{ruleFailOSVersionCheck_symptom}</Data>
  993.                 <Data name="cause" message="ruleFailOSVersionCheck_{internalruleindex}">{ruleFailOSVersionCheck_cause}</Data>
  994.                 <Data name="details" message="ruleFailOSVersionCheck_{internalruleindex}">{ruleFailOSVersionCheck_details}</Data>
  995.                 <Data name="resolution" message="ruleFailOSVersionCheck_{internalruleindex}">{ruleFailOSVersionCheck_res1}</Data>
  996.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70097">{ruleFailOSVersionCheck_related1}</Data>
  997.               </Item>
  998.             </Warning>
  999.             <Variable name="group">$(LOC_TableBasicOSSummary)</Variable>
  1000.             <Variable name="test">$(LOC_Test_RuleSuccessOSVersionCheck)</Variable>
  1001.             <Variable name="description">$(LOC_Failed)</Variable>
  1002.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1003.               <Node axis="child">
  1004.                 <Item>
  1005.                   <Data name="allchildtest">{test}</Data>
  1006.                   <Data name="allchildtotal">1</Data>
  1007.                   <Data name="allchildfail">1</Data>
  1008.                   <Data name="allchilddesc">{description}</Data>
  1009.                 </Item>
  1010.               </Node>
  1011.             </Insert>
  1012.           </Otherwise>
  1013.         </Exists>
  1014.       </Step>
  1015.     </Rule>
  1016.     <Rule name="$(RuleAddressWidthCheck)" enabled="true">
  1017.       <Step select="/Report/Section/Table[@name='TableBasicOperatingSystem']">
  1018.         <Variable name="osarchitecture" expression="Item/Item/Item[Data[@name = 'managementObjectsProperty'] = 'OSArchitecture']/Data[@name='managementObjectsValue']"/>
  1019.         <Variable name="processorwidth" expression="/Report/Section[@name='SystemConfig']/Table[@name='TableBasicProcessor']/Item/Item/Item[Data[@name = 'managementObjectsProperty'] = 'AddressWidth']/Data[@name='managementObjectsValue']"/>
  1020.         <Exists>
  1021.           <When expression="starts-with('{osarchitecture}', '{processorwidth}')">
  1022.           </When>
  1023.           <Otherwise>
  1024.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1025.             <Variable name="ruleFailAddressWidthCheck_symptom">$(WarnFailOSAddressWidthCheck_symptom)</Variable>
  1026.             <Variable name="ruleFailAddressWidthCheck_cause">$(WarnFailOSAddressWidthCheck_cause)</Variable>
  1027.             <Variable name="ruleFailAddressWidthCheck_details">$(WarnFailOSAddressWidthCheck_details)</Variable>
  1028.             <Variable name="ruleFailAddressWidthCheck_res1">$(WarnFailOSAddressWidthCheck_res1)</Variable>
  1029.             <Variable name="ruleFailAddressWidthCheck_related1">$(WarnFailOSAddressWidthCheck_related1)</Variable>
  1030.             <Warning tag="ruleFailAddressWidthCheck_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicOperatingSystem']/Item/Item/Item[Data[@name = 'managementObjectsProperty'] = 'OSArchitecture']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1031.               <Item>
  1032.                 <Data name="symptom" img="warning" link="ruleFailAddressWidthCheck_{internalruleindex}" message="ruleFailAddressWidthCheck_{internalruleindex}" translate="value">{ruleFailAddressWidthCheck_symptom}</Data>
  1033.                 <Data name="cause" message="ruleFailAddressWidthCheck_{internalruleindex}">{ruleFailAddressWidthCheck_cause}</Data>
  1034.                 <Data name="details" message="ruleFailAddressWidthCheck_{internalruleindex}">{ruleFailAddressWidthCheck_details}</Data>
  1035.                 <Data name="resolution" message="ruleFailAddressWidthCheck_{internalruleindex}">{ruleFailAddressWidthCheck_res1}</Data>
  1036.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70098">{ruleFailAddressWidthCheck_related1}</Data>
  1037.               </Item>
  1038.             </Warning>
  1039.           </Otherwise>
  1040.         </Exists>
  1041.       </Step>
  1042.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableBasicProcessor']">
  1043.         <Exists>
  1044.           <When expression="1 = 1">
  1045.             <Delete select="."/>
  1046.           </When>
  1047.         </Exists>
  1048.       </Step>
  1049.     </Rule>
  1050.     <Rule name="$(RuleOSSummary)" enabled="true">
  1051.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']" fatal="true">
  1052.         <Variable name="group">$(LOC_TableBasicOSSummary)</Variable>
  1053.         <Variable name="groupfailedtestscount" expression="count(Item[Data[@name='alltestgroups'] = '{group}']/Item[Data[@name='allchildfail'] != '0'])"/>
  1054.         <Exists>
  1055.           <When expression="{groupfailedtestscount} > 0">
  1056.             <Variable name="failedmsg">$(LOC_Failed)</Variable>
  1057.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  1058.               <Node axis="following-sibling">
  1059.                 <Data img="red" name="allteststatus">{failedmsg}</Data>
  1060.               </Node>
  1061.             </Insert>
  1062.           </When>
  1063.           <When expression="{groupfailedtestscount} = 0">
  1064.             <Variable name="passedmsg">$(LOC_Passed)</Variable>
  1065.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  1066.               <Node axis="following-sibling">
  1067.                 <Data img="green" name="allteststatus">{passedmsg}</Data>
  1068.               </Node>
  1069.             </Insert>
  1070.           </When>
  1071.         </Exists>
  1072.       </Step>
  1073.     </Rule>
  1074.     <Rule name="$(RuleDiskSetup)" enabled="true">
  1075.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']">
  1076.         <Exists>
  1077.           <When expression="1 = 1">
  1078.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1079.             <Variable name="description">$(LOC_DescDiskSummary)</Variable>
  1080.             <Insert>
  1081.               <Node axis="child">
  1082.                 <Item>
  1083.                   <Data name="alltestgroups" link="TableBasicSMART">{group}</Data>
  1084.                   <Data name="alltestdesc">{description}</Data>
  1085.                 </Item>
  1086.               </Node>
  1087.             </Insert>
  1088.           </When>
  1089.           <Otherwise/>
  1090.         </Exists>
  1091.       </Step>
  1092.     </Rule>
  1093.     <Rule name="$(RuleSuccessSMARTCheck)" enabled="true">
  1094.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableBasicSMART']">
  1095.         <Exists>
  1096.           <When expression="Item[count(Item)=0] or Item/Item[count(Item)=0]">
  1097.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1098.             <Variable name="test">$(LOC_Test_RuleSuccessSMARTCheck)</Variable>
  1099.             <Variable name="description">$(LOC_Passed)</Variable>
  1100.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1101.               <Node axis="child">
  1102.                 <Item>
  1103.                   <Data name="allchildtest">{test}</Data>
  1104.                   <Data name="allchildtotal">1</Data>
  1105.                   <Data name="allchildfail">0</Data>
  1106.                   <Data name="allchilddesc">{description}</Data>
  1107.                 </Item>
  1108.               </Node>
  1109.             </Insert>
  1110.           </When>
  1111.           <Otherwise>
  1112.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1113.             <Variable name="ruleFailSMART_symptom">$(WarnFailSMARTCheck_symptom)</Variable>
  1114.             <Variable name="ruleFailSMART_cause">$(WarnFailSMARTCheck_cause)</Variable>
  1115.             <Variable name="ruleFailSMART_details">$(WarnFailSMARTCheck_details)</Variable>
  1116.             <Variable name="ruleFailSMART_res1">$(WarnFailSMARTCheck_res1)</Variable>
  1117.             <Variable name="ruleFailSMART_res2">$(WarnFailSMARTCheck_res2)</Variable>
  1118.             <Variable name="ruleFailSMART_related1">$(WarnFailSMARTCheck_related1)</Variable>
  1119.             <Warning tag="ruleFailSMART_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TableBasicSMART']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='error']">
  1120.               <Item>
  1121.                 <Data name="symptom" img="error" link="ruleFailSMART_{internalruleindex}" message="ruleFailSMART_{internalruleindex}" translate="value">{ruleFailSMART_symptom}</Data>
  1122.                 <Data name="cause" message="ruleFailSMART_{internalruleindex}">{ruleFailSMART_cause}</Data>
  1123.                 <Data name="details" message="ruleFailSMART_{internalruleindex}">{ruleFailSMART_details}</Data>
  1124.                 <Data name="resolution" message="ruleFailSMART_{internalruleindex}">{ruleFailSMART_res1}</Data>
  1125.                 <Data name="resolution" message="ruleFailSMART_{internalruleindex}">{ruleFailSMART_res2}</Data>
  1126.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70099">{ruleFailSMART_related1}</Data>
  1127.               </Item>
  1128.             </Warning>
  1129.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1130.             <Variable name="test">$(LOC_Test_RuleSuccessSMARTCheck)</Variable>
  1131.             <Variable name="description">$(LOC_Failed)</Variable>
  1132.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1133.               <Node axis="child">
  1134.                 <Item>
  1135.                   <Data name="allchildtest">{test}</Data>
  1136.                   <Data name="allchildtotal">1</Data>
  1137.                   <Data name="allchildfail">1</Data>
  1138.                   <Data name="allchilddesc">{description}</Data>
  1139.                 </Item>
  1140.               </Node>
  1141.             </Insert>
  1142.           </Otherwise>
  1143.         </Exists>
  1144.       </Step>
  1145.     </Rule>
  1146.     <Rule name="$(RuleSuccessLogicalDiskDirty)" enabled="true">
  1147.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableBasicDirty']">
  1148.         <Exists>
  1149.           <When expression="Item[count(Item)=0] or Item/Item[count(Item)=0]">
  1150.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1151.             <Variable name="test">$(LOC_Test_RuleSuccessLogicalDiskDirty)</Variable>
  1152.             <Variable name="description">$(LOC_Passed)</Variable>
  1153.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1154.               <Node axis="child">
  1155.                 <Item>
  1156.                   <Data name="allchildtest">{test}</Data>
  1157.                   <Data name="allchildtotal">1</Data>
  1158.                   <Data name="allchildfail">0</Data>
  1159.                   <Data name="allchilddesc">{description}</Data>
  1160.                 </Item>
  1161.               </Node>
  1162.             </Insert>
  1163.           </When>
  1164.           <Otherwise>
  1165.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1166.             <Variable name="ruleFailLogicalDiskDirty_symptom">$(WarnFailLogicalDiskDirty_symptom)</Variable>
  1167.             <Variable name="ruleFailLogicalDiskDirty_cause">$(WarnFailLogicalDiskDirty_cause)</Variable>
  1168.             <Variable name="ruleFailLogicalDiskDirty_details">$(WarnFailLogicalDiskDirty_details)</Variable>
  1169.             <Variable name="ruleFailLogicalDiskDirty_res1">$(WarnFailLogicalDiskDirty_res1)</Variable>
  1170.             <Variable name="ruleFailLogicalDiskDirty_res2">$(WarnFailLogicalDiskDirty_res2)</Variable>
  1171.             <Variable name="ruleFailLogicalDiskDirty_related1">$(WarnFailLogicalDiskDirty_related1)</Variable>
  1172.             <Warning tag="ruleFailLogicalDiskDirty_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TableBasicDirty']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1173.               <Item>
  1174.                 <Data name="symptom" img="warning" link="ruleFailLogicalDiskDirty_{internalruleindex}" message="ruleFailLogicalDiskDirty_{internalruleindex}" translate="value">{ruleFailLogicalDiskDirty_symptom}</Data>
  1175.                 <Data name="cause" message="ruleFailLogicalDiskDirty_{internalruleindex}">{ruleFailLogicalDiskDirty_cause}</Data>
  1176.                 <Data name="details" message="ruleFailLogicalDiskDirty_{internalruleindex}">{ruleFailLogicalDiskDirty_details}</Data>
  1177.                 <Data name="resolution" message="ruleFailLogicalDiskDirty_{internalruleindex}">{ruleFailLogicalDiskDirty_res1}</Data>
  1178.                 <Data name="resolution" message="ruleFailLogicalDiskDirty_{internalruleindex}">{ruleFailLogicalDiskDirty_res2}</Data>
  1179.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70100">{ruleFailLogicalDiskDirty_related1}</Data>
  1180.               </Item>
  1181.             </Warning>
  1182.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1183.             <Variable name="test">$(LOC_Test_RuleSuccessLogicalDiskDirty)</Variable>
  1184.             <Variable name="description">$(LOC_Failed)</Variable>
  1185.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1186.               <Node axis="child">
  1187.                 <Item>
  1188.                   <Data name="allchildtest">{test}</Data>
  1189.                   <Data name="allchildtotal">1</Data>
  1190.                   <Data name="allchildfail">1</Data>
  1191.                   <Data name="allchilddesc">{description}</Data>
  1192.                 </Item>
  1193.               </Node>
  1194.             </Insert>
  1195.           </Otherwise>
  1196.         </Exists>
  1197.       </Step>
  1198.     </Rule>
  1199.     <Rule name="$(RuleSuccessDiskFreeSpace)" enabled="true">
  1200.       <Step select="/Report/Section/Table[@name='TableBasicOperatingSystem']/Item/Item/Item[Data[@name='managementObjectsProperty'] = 'SystemDrive']" fatal="true">
  1201.         <Exists>
  1202.           <Otherwise>
  1203.             <Variable name="systemdrive" expression="Data[@name='managementObjectsValue']"/>
  1204.           </Otherwise>
  1205.         </Exists>
  1206.       </Step>
  1207.       <Step select="/Report/Section/Table[@name='configLogicalDisk']/Item" sortType="all">
  1208.         <Variable name="freediskpercent" expression="ceiling( Data[@name='numberOfFreeClusters'] div Data[@name='totalNumberOfClusters'] * 100)"/>
  1209.         <Variable name="freediskspacemb" expression="ceiling(Data[@name='bytesPerSector'] * Data[@name='sectorsPerCluster'] * Data[@name='numberOfFreeClusters'] div number('1024') div number('1024'))"/>
  1210.         <Variable name="minfreediskspacemb" expression="number('5120')"/>
  1211.         <Variable name="minfreediskpercent" expression="number('15')"/>
  1212.         <Variable name="diskname" expression="Data[@name='driveLetterString']"/>
  1213.         <Exists>
  1214.           <When expression="'{diskname}' = '{systemdrive}' and ({freediskpercent} < {minfreediskpercent} or {freediskspacemb} < {minfreediskspacemb})">
  1215.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1216.             <Variable name="ruleFailSystemDiskFreeSpace_symptom">$(WarnFailSystemDiskSpaceFree_symptom)</Variable>
  1217.             <Variable name="ruleFailSystemDiskFreeSpace_cause">$(WarnFailSystemDiskSpaceFree_cause)</Variable>
  1218.             <Variable name="ruleFailSystemDiskFreeSpace_details">$(WarnFailSystemDiskSpaceFree_details)</Variable>
  1219.             <Variable name="ruleFailSystemDiskFreeSpace_res1">$(WarnFailSystemDiskSpaceFree_res1)</Variable>
  1220.             <Variable name="ruleFailSystemDiskFreeSpace_res2">$(WarnFailSystemDiskSpaceFree_res2)</Variable>
  1221.             <Variable name="ruleFailSystemDiskFreeSpace_res3">$(WarnFailSystemDiskSpaceFree_res3)</Variable>
  1222.             <Variable name="ruleFailSystemDiskFreeSpace_related1">$(WarnFailDiskSpaceFree_related1)</Variable>
  1223.             <Warning tag="ruleFailSystemDiskFreeSpace_{internalruleindex}" select="Data[@name='numberOfFreeClusters']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1224.               <Item>
  1225.                 <Data name="symptom" img="warning" link="ruleFailSystemDiskFreeSpace_{internalruleindex}" message="ruleFailSystemDiskFreeSpace_{internalruleindex}" translate="value">{ruleFailSystemDiskFreeSpace_symptom}</Data>
  1226.                 <Data name="cause" message="ruleFailSystemDiskFreeSpace_{internalruleindex}">{ruleFailSystemDiskFreeSpace_cause}</Data>
  1227.                 <Data name="details" message="ruleFailSystemDiskFreeSpace_{internalruleindex}">{ruleFailSystemDiskFreeSpace_details}</Data>
  1228.                 <Data name="resolution" message="ruleFailSystemDiskFreeSpace_{internalruleindex}">{ruleFailSystemDiskFreeSpace_res1}</Data>
  1229.                 <Data name="resolution" message="ruleFailSystemDiskFreeSpace_{internalruleindex}">{ruleFailSystemDiskFreeSpace_res2}</Data>
  1230.                 <Data name="resolution" message="ruleFailSystemDiskFreeSpace_{internalruleindex}">{ruleFailSystemDiskFreeSpace_res3}</Data>
  1231.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70101">{ruleFailSystemDiskFreeSpace_related1}</Data>
  1232.               </Item>
  1233.             </Warning>
  1234.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1235.             <Variable name="test">$(LOC_Test_RuleSuccessDiskFreeSpace)</Variable>
  1236.             <Variable name="description">$(LOC_DescDiskFreeSpace)</Variable>
  1237.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1238.               <Node axis="child">
  1239.                 <Item>
  1240.                   <Data name="allchildtest">{test}</Data>
  1241.                   <Data name="allchildtotal">1</Data>
  1242.                   <Data name="allchildfail">1</Data>
  1243.                   <Data name="allchilddesc">{description}</Data>
  1244.                 </Item>
  1245.               </Node>
  1246.             </Insert>
  1247.           </When>
  1248.           <When expression="{freediskpercent} < {minfreediskpercent}">
  1249.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1250.             <Variable name="ruleFailDiskFreeSpace_symptom">$(WarnFailDiskSpaceFree_symptom)</Variable>
  1251.             <Variable name="ruleFailDiskFreeSpace_cause">$(WarnFailDiskSpaceFree_cause)</Variable>
  1252.             <Variable name="ruleFailDiskFreeSpace_details">$(WarnFailDiskSpaceFree_details)</Variable>
  1253.             <Variable name="ruleFailDiskFreeSpace_res1">$(WarnFailDiskSpaceFree_res1)</Variable>
  1254.             <Variable name="ruleFailDiskFreeSpace_res2">$(WarnFailDiskSpaceFree_res2)</Variable>
  1255.             <Variable name="ruleFailDiskFreeSpace_res3">$(WarnFailDiskSpaceFree_res3)</Variable>
  1256.             <Variable name="ruleFailDiskFreeSpace_related1">$(WarnFailDiskSpaceFree_related1)</Variable>
  1257.             <Warning tag="ruleFailDiskFreeSpace_{internalruleindex}" select="Data[@name='numberOfFreeClusters']" table="/Report/Section[@name='advice']/Table[@name='info']">
  1258.               <Item>
  1259.                 <Data name="symptom" img="info" link="ruleFailDiskFreeSpace_{internalruleindex}" message="ruleFailDiskFreeSpace_{internalruleindex}" translate="value">{ruleFailDiskFreeSpace_symptom}</Data>
  1260.                 <Data name="cause" message="ruleFailDiskFreeSpace_{internalruleindex}">{ruleFailDiskFreeSpace_cause}</Data>
  1261.                 <Data name="details" message="ruleFailDiskFreeSpace_{internalruleindex}">{ruleFailDiskFreeSpace_details}</Data>
  1262.                 <Data name="resolution" message="ruleFailDiskFreeSpace_{internalruleindex}">{ruleFailDiskFreeSpace_res1}</Data>
  1263.                 <Data name="resolution" message="ruleFailDiskFreeSpace_{internalruleindex}">{ruleFailDiskFreeSpace_res2}</Data>
  1264.                 <Data name="resolution" message="ruleFailDiskFreeSpace_{internalruleindex}">{ruleFailDiskFreeSpace_res3}</Data>
  1265.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70101">{ruleFailDiskFreeSpace_related1}</Data>
  1266.               </Item>
  1267.             </Warning>
  1268.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1269.             <Variable name="test">$(LOC_Test_RuleSuccessDiskFreeSpace)</Variable>
  1270.             <Variable name="description">$(LOC_DescDiskFreeSpace)</Variable>
  1271.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1272.               <Node axis="child">
  1273.                 <Item>
  1274.                   <Data name="allchildtest">{test}</Data>
  1275.                   <Data name="allchildtotal">1</Data>
  1276.                   <Data name="allchildfail">1</Data>
  1277.                   <Data name="allchilddesc">{description}</Data>
  1278.                 </Item>
  1279.               </Node>
  1280.             </Insert>
  1281.           </When>
  1282.           <Otherwise>
  1283.             <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1284.             <Variable name="test">$(LOC_Test_RuleSuccessDiskFreeSpace)</Variable>
  1285.             <Variable name="description">$(LOC_DescDiskFreeSpace)</Variable>
  1286.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1287.               <Node axis="child">
  1288.                 <Item>
  1289.                   <Data name="allchildtest">{test}</Data>
  1290.                   <Data name="allchildtotal">1</Data>
  1291.                   <Data name="allchildfail">0</Data>
  1292.                   <Data name="allchilddesc">{description}</Data>
  1293.                 </Item>
  1294.               </Node>
  1295.             </Insert>
  1296.           </Otherwise>
  1297.         </Exists>
  1298.         <Otherwise/>
  1299.       </Step>
  1300.     </Rule>
  1301.     <Rule name="$(RuleDiskSummary)" enabled="true">
  1302.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']" fatal="true">
  1303.         <Variable name="group">$(LOC_TableBasicDiskSummary)</Variable>
  1304.         <Variable name="groupfailedtestscount" expression="count(Item[Data[@name='alltestgroups'] = '{group}']/Item[Data[@name='allchildfail'] != '0'])"/>
  1305.         <Exists>
  1306.           <When expression="{groupfailedtestscount} > 0">
  1307.             <Variable name="failedmsg">$(LOC_Failed)</Variable>
  1308.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  1309.               <Node axis="following-sibling">
  1310.                 <Data img="red" name="allteststatus">{failedmsg}</Data>
  1311.               </Node>
  1312.             </Insert>
  1313.           </When>
  1314.           <When expression="1 = 1 and {groupfailedtestscount} = 0">
  1315.             <Variable name="passedmsg">$(LOC_Passed)</Variable>
  1316.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  1317.               <Node axis="following-sibling">
  1318.                 <Data img="green" name="allteststatus">{passedmsg}</Data>
  1319.               </Node>
  1320.             </Insert>
  1321.           </When>
  1322.         </Exists>
  1323.       </Step>
  1324.     </Rule>
  1325.     <Rule name="$(RuleSecurityCenterSetup)" enabled="true">
  1326.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']">
  1327.         <Exists>
  1328.           <Otherwise>
  1329.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1330.             <Variable name="description">$(LOC_DescSecurityCenterSummary)</Variable>
  1331.             <Insert>
  1332.               <Node axis="child">
  1333.                 <Item>
  1334.                   <Data name="alltestgroups" link="TableBasicAntiSpywareProduct">{group}</Data>
  1335.                   <Data name="alltestdesc">{description}</Data>
  1336.                 </Item>
  1337.               </Node>
  1338.             </Insert>
  1339.           </Otherwise>
  1340.         </Exists>
  1341.       </Step>
  1342.     </Rule>
  1343.     <Rule name="$(RuleSuccessAntiSpywareCheck)" enabled="true">
  1344.       <Step select="/Report/Section/Table[@name='TableBasicAntiSpywareProduct']/Item/Item">
  1345.         <Exists>
  1346.           <Otherwise/>
  1347.         </Exists>
  1348.         <Otherwise>
  1349.           <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1350.           <Variable name="ruleFailAntiSpywareUnknown_symptom">$(WarnFailAntiSpywareUnknown_symptom)</Variable>
  1351.           <Variable name="ruleFailAntiSpywareUnknown_cause">$(WarnFailAntiSpywareUnknown_cause)</Variable>
  1352.           <Variable name="ruleFailAntiSpywareUnknown_res1">$(WarnFailAntiSpywareUnknown_res1)</Variable>
  1353.           <Variable name="ruleFailAntiSpywareUnknown_res2">$(WarnFailAntiSpywareUnknown_res2)</Variable>
  1354.           <Variable name="ruleFailAntiSpywareUnknown_related">$(LinkAntiSpyware)</Variable>
  1355.           <Warning tag="ruleFailAntiSpywareUnknown_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicAntiSpywareProduct']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='info']">
  1356.             <Item>
  1357.               <Data name="symptom" img="info" link="ruleFailAntiSpywareUnknown_{internalruleindex}" message="ruleFailAntiSpywareUnknown_{internalruleindex}" translate="value">{ruleFailAntiSpywareUnknown_symptom}</Data>
  1358.               <Data name="cause" message="ruleFailAntiSpywareUnknown_{internalruleindex}">{ruleFailAntiSpywareUnknown_cause}</Data>
  1359.               <Data name="resolution" message="ruleFailAntiSpywareUnknown_{internalruleindex}">{ruleFailAntiSpywareUnknown_res1}</Data>
  1360.               <Data name="resolution" message="ruleFailAntiSpywareUnknown_{internalruleindex}">{ruleFailAntiSpywareUnknown_res2}</Data>
  1361.               <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70102">{ruleFailAntiSpywareUnknown_related}</Data>
  1362.             </Item>
  1363.           </Warning>
  1364.         </Otherwise>
  1365.       </Step>
  1366.       <Step select="/Report/Section/Table[@name='TableBasicAntiSpywareProduct']/Item/Item" fatal="true">
  1367.         <Exists>
  1368.           <Otherwise/>
  1369.         </Exists>
  1370.       </Step>
  1371.       <Step select="/Report/Section/Table[@name='TableBasicAntiSpywareProduct']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'productEnabled' and Data[@name='managementObjectsValue'] = 'tv_TrueString']]">
  1372.         <Variable name="antispywareproduct" expression="Item[Data[@name='managementObjectsProperty'] = 'displayName']/Data[@name='managementObjectsValue']"/>
  1373.         <Variable name="antispywareproductuptodate" expression="Item[Data[@name='managementObjectsProperty'] = 'productUptoDate']/Data[@name='managementObjectsValue']"/>
  1374.         <Exists>
  1375.           <When expression="{antispywareproductuptodate} != 'tv_TrueString'">
  1376.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1377.             <Variable name="test">$(LOC_Test_CheckAntiSpywareEnabled)</Variable>
  1378.             <Variable name="description">$(LOC_Passed)</Variable>
  1379.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1380.               <Node axis="child">
  1381.                 <Item>
  1382.                   <Data name="allchildtest">{test}</Data>
  1383.                   <Data name="allchildtotal">1</Data>
  1384.                   <Data name="allchildfail">0</Data>
  1385.                   <Data name="allchilddesc">{description}</Data>
  1386.                 </Item>
  1387.               </Node>
  1388.             </Insert>
  1389.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1390.             <Variable name="test">$(LOC_Test_CheckAntiSpywareUpToDate)</Variable>
  1391.             <Variable name="description">$(LOC_Failed)</Variable>
  1392.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1393.               <Node axis="child">
  1394.                 <Item>
  1395.                   <Data name="allchildtest">{test}</Data>
  1396.                   <Data name="allchildtotal">1</Data>
  1397.                   <Data name="allchildfail">1</Data>
  1398.                   <Data name="allchilddesc">{description}</Data>
  1399.                 </Item>
  1400.               </Node>
  1401.             </Insert>
  1402.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1403.             <Variable name="ruleFailAntiSpywareCheckUpToDate_symptom">$(WarnFailAntiSpywareCheckUpToDate_symptom)</Variable>
  1404.             <Variable name="ruleFailAntiSpywareCheckUpToDate_cause">$(WarnFailAntiSpywareCheckUpToDate_cause)</Variable>
  1405.             <Variable name="ruleFailAntiSpywareCheckUpToDate_details">$(WarnFailAntiSpywareCheckUpToDate_details)</Variable>
  1406.             <Variable name="ruleFailAntiSpywareCheckUpToDate_res1">$(WarnFailAntiSpywareCheckUpToDate_res1)</Variable>
  1407.             <Variable name="ruleFailAntiSpywareCheckUpToDate_related1">$(LinkAntiSpyware)</Variable>
  1408.             <Warning tag="ruleFailAntiSpywareCheckUpToDate_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty'] = 'displayName']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1409.               <Item>
  1410.                 <Data name="symptom" img="warning" link="ruleFailAntiSpywareCheckUpToDate_{internalruleindex}" message="ruleFailAntiSpywareCheckUpToDate_{internalruleindex}" translate="value">{ruleFailAntiSpywareCheckUpToDate_symptom}</Data>
  1411.                 <Data name="cause" message="ruleFailAntiSpywareCheckUpToDate_{internalruleindex}">{ruleFailAntiSpywareCheckUpToDate_cause}</Data>
  1412.                 <Data name="details" message="ruleFailAntiSpywareCheckUpToDate_{internalruleindex}">{ruleFailAntiSpywareCheckUpToDate_details}</Data>
  1413.                 <Data name="resolution" message="ruleFailAntiSpywareCheckUpToDate_{internalruleindex}">{ruleFailAntiSpywareCheckUpToDate_res1}</Data>
  1414.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70102">{ruleFailAntiSpywareCheckUpToDate_related1}</Data>
  1415.               </Item>
  1416.             </Warning>
  1417.           </When>
  1418.           <Otherwise>
  1419.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1420.             <Variable name="test">$(LOC_Test_CheckAntiSpywareUpToDate)</Variable>
  1421.             <Variable name="description">$(LOC_Passed)</Variable>
  1422.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1423.               <Node axis="child">
  1424.                 <Item>
  1425.                   <Data name="allchildtest">{test}</Data>
  1426.                   <Data name="allchildtotal">1</Data>
  1427.                   <Data name="allchildfail">0</Data>
  1428.                   <Data name="allchilddesc">{description}</Data>
  1429.                 </Item>
  1430.               </Node>
  1431.             </Insert>
  1432.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1433.             <Variable name="test">$(LOC_Test_CheckAntiSpywareEnabled)</Variable>
  1434.             <Variable name="description">$(LOC_Passed)</Variable>
  1435.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1436.               <Node axis="child">
  1437.                 <Item>
  1438.                   <Data name="allchildtest">{test}</Data>
  1439.                   <Data name="allchildtotal">1</Data>
  1440.                   <Data name="allchildfail">0</Data>
  1441.                   <Data name="allchilddesc">{description}</Data>
  1442.                 </Item>
  1443.               </Node>
  1444.             </Insert>
  1445.           </Otherwise>
  1446.         </Exists>
  1447.         <Otherwise>
  1448.           <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1449.           <Variable name="ruleFailAntiSpywareCheckEnabled_symptom">$(WarnFailAntiSpywareCheckEnabled_symptom)</Variable>
  1450.           <Variable name="ruleFailAntiSpywareCheckEnabled_cause">$(WarnFailAntiSpywareCheckEnabled_cause)</Variable>
  1451.           <Variable name="ruleFailAntiSpywareCheckEnabled_res1">$(WarnFailAntiSpywareCheckEnabled_res1)</Variable>
  1452.           <Variable name="ruleFailAntiSpywareCheckEnabled_res2">$(WarnFailAntiSpywareCheckEnabled_res2)</Variable>
  1453.           <Variable name="ruleFailAntiSpywareCheckEnabled_related1">$(LinkAntiSpyware)</Variable>
  1454.           <Warning tag="ruleFailAntiSpywareCheckEnabled_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicAntiSpywareProduct']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1455.             <Item>
  1456.               <Data name="symptom" img="warning" link="ruleFailAntiSpywareCheckEnabled_{internalruleindex}" message="ruleFailAntiSpywareCheckEnabled_{internalruleindex}" translate="value">{ruleFailAntiSpywareCheckEnabled_symptom}</Data>
  1457.               <Data name="cause" message="ruleFailAntiSpywareCheckEnabled_{internalruleindex}">{ruleFailAntiSpywareCheckEnabled_cause}</Data>
  1458.               <Data name="resolution" message="ruleFailAntiSpywareCheckEnabled_{internalruleindex}">{ruleFailAntiSpywareCheckEnabled_res1}</Data>
  1459.               <Data name="resolution" message="ruleFailAntiSpywareCheckEnabled_{internalruleindex}">{ruleFailAntiSpywareCheckEnabled_res2}</Data>
  1460.               <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70102">{ruleFailAntiSpywareCheckEnabled_related1}</Data>
  1461.             </Item>
  1462.           </Warning>
  1463.           <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1464.           <Variable name="test">$(LOC_Test_CheckAntiSpywareEnabled)</Variable>
  1465.           <Variable name="description">$(LOC_Failed)</Variable>
  1466.           <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1467.             <Node axis="child">
  1468.               <Item>
  1469.                 <Data name="allchildtest">{test}</Data>
  1470.                 <Data name="allchildtotal">1</Data>
  1471.                 <Data name="allchildfail">1</Data>
  1472.                 <Data name="allchilddesc">{description}</Data>
  1473.               </Item>
  1474.             </Node>
  1475.           </Insert>
  1476.         </Otherwise>
  1477.       </Step>
  1478.     </Rule>
  1479.     <Rule name="$(RuleSuccessAntiVirusCheck)" enabled="true">
  1480.       <Step select="/Report/Section/Table[@name='TableBasicAntiVirusProduct']/Item/Item">
  1481.         <Exists>
  1482.           <Otherwise>
  1483.           </Otherwise>
  1484.         </Exists>
  1485.         <Otherwise>
  1486.           <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1487.           <Variable name="ruleFailAntiVirusUnknown_symptom">$(WarnFailAntiVirusUnknown_symptom)</Variable>
  1488.           <Variable name="ruleFailAntiVirusUnknown_cause">$(WarnFailAntiVirusUnknown_cause)</Variable>
  1489.           <Variable name="ruleFailAntiVirusUnknown_res1">$(WarnFailAntiVirusUnknown_res1)</Variable>
  1490.           <Variable name="ruleFailAntiVirusUnknown_res2">$(WarnFailAntiVirusUnknown_res2)</Variable>
  1491.           <Variable name="ruleFailAntiVirusUnknown_related1">$(LinkAntiVirus)</Variable>
  1492.           <Warning tag="ruleFailAntiVirusUnknown_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicAntiVirusProduct']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='info']">
  1493.             <Item>
  1494.               <Data name="symptom" img="info" link="ruleFailAntiVirusUnknown_{internalruleindex}" message="ruleFailAntiVirusUnknown_{internalruleindex}" translate="value">{ruleFailAntiVirusUnknown_symptom}</Data>
  1495.               <Data name="cause" message="ruleFailAntiVirusUnknown_{internalruleindex}">{ruleFailAntiVirusUnknown_cause}</Data>
  1496.               <Data name="resolution" message="ruleFailAntiVirusUnknown_{internalruleindex}">{ruleFailAntiVirusUnknown_res1}</Data>
  1497.               <Data name="resolution" message="ruleFailAntiVirusUnknown_{internalruleindex}">{ruleFailAntiVirusUnknown_res2}</Data>
  1498.               <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70103">{ruleFailAntiVirusUnknown_related1}</Data>
  1499.             </Item>
  1500.           </Warning>
  1501.         </Otherwise>
  1502.       </Step>
  1503.       <Step select="/Report/Section/Table[@name='TableBasicAntiVirusProduct']/Item/Item" fatal="true">
  1504.         <Exists>
  1505.           <Otherwise/>
  1506.         </Exists>
  1507.       </Step>
  1508.       <Step select="/Report/Section/Table[@name='TableBasicAntiVirusProduct']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'onAccessScanningEnabled' and Data[@name='managementObjectsValue'] = 'tv_TrueString']]">
  1509.         <Variable name="antivirusproduct" expression="Item[Data[@name='managementObjectsProperty'] = 'displayName']/Data[@name='managementObjectsValue']"/>
  1510.         <Variable name="antivirusproductuptodate" expression="Item[Data[@name='managementObjectsProperty'] = 'productUptoDate']/Data[@name='managementObjectsValue']"/>
  1511.         <Exists>
  1512.           <When expression="{antivirusproductuptodate} != 'tv_TrueString'">
  1513.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1514.             <Variable name="test">$(LOC_Test_CheckAntiVirusEnabled)</Variable>
  1515.             <Variable name="description">$(LOC_Passed)</Variable>
  1516.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1517.               <Node axis="child">
  1518.                 <Item>
  1519.                   <Data name="allchildtest">{test}</Data>
  1520.                   <Data name="allchildtotal">1</Data>
  1521.                   <Data name="allchildfail">0</Data>
  1522.                   <Data name="allchilddesc">{description}</Data>
  1523.                 </Item>
  1524.               </Node>
  1525.             </Insert>
  1526.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1527.             <Variable name="test">$(LOC_Test_CheckAntiVirusUpToDate)</Variable>
  1528.             <Variable name="description">$(LOC_Failed)</Variable>
  1529.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1530.               <Node axis="child">
  1531.                 <Item>
  1532.                   <Data name="allchildtest">{test}</Data>
  1533.                   <Data name="allchildtotal">1</Data>
  1534.                   <Data name="allchildfail">1</Data>
  1535.                   <Data name="allchilddesc">{description}</Data>
  1536.                 </Item>
  1537.               </Node>
  1538.             </Insert>
  1539.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1540.             <Variable name="ruleFailAntiVirusCheckUpToDate_symptom">$(WarnFailAntiVirusCheckUpToDate_symptom)</Variable>
  1541.             <Variable name="ruleFailAntiVirusCheckUpToDate_cause">$(WarnFailAntiVirusCheckUpToDate_cause)</Variable>
  1542.             <Variable name="ruleFailAntiVirusCheckUpToDate_details">$(WarnFailAntiVirusCheckUpToDate_details)</Variable>
  1543.             <Variable name="ruleFailAntiVirusCheckUpToDate_res1">$(WarnFailAntiVirusCheckUpToDate_res1)</Variable>
  1544.             <Variable name="ruleFailAntiVirusCheckUpToDate_related1">$(LinkAntiVirus)</Variable>
  1545.             <Warning tag="ruleFailAntiVirusCheckUpToDate_{internalruleindex}" select="Item[Data[@name='managementObjectsProperty'] = 'displayName']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1546.               <Item>
  1547.                 <Data name="symptom" img="warning" link="ruleFailAntiVirusCheckUpToDate_{internalruleindex}" message="ruleFailAntiVirusCheckUpToDate_{internalruleindex}" translate="value">{ruleFailAntiVirusCheckUpToDate_symptom}</Data>
  1548.                 <Data name="cause" message="ruleFailAntiVirusCheckUpToDate_{internalruleindex}">{ruleFailAntiVirusCheckUpToDate_cause}</Data>
  1549.                 <Data name="details" message="ruleFailAntiVirusCheckUpToDate_{internalruleindex}">{ruleFailAntiVirusCheckUpToDate_details}</Data>
  1550.                 <Data name="resolution" message="ruleFailAntiVirusCheckUpToDate_{internalruleindex}">{ruleFailAntiVirusCheckUpToDate_res1}</Data>
  1551.                 <Data name="resolution" message="ruleFailAntiVirusCheckUpToDate_{internalruleindex}">{ruleFailAntiVirusCheckUpToDate_res2}</Data>
  1552.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70103">{ruleFailAntiVirusCheckUpToDate_related1}</Data>
  1553.               </Item>
  1554.             </Warning>
  1555.           </When>
  1556.           <Otherwise>
  1557.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1558.             <Variable name="test">$(LOC_Test_CheckAntiVirusUpToDate)</Variable>
  1559.             <Variable name="description">$(LOC_Passed)</Variable>
  1560.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1561.               <Node axis="child">
  1562.                 <Item>
  1563.                   <Data name="allchildtest">{test}</Data>
  1564.                   <Data name="allchildtotal">1</Data>
  1565.                   <Data name="allchildfail">0</Data>
  1566.                   <Data name="allchilddesc">{description}</Data>
  1567.                 </Item>
  1568.               </Node>
  1569.             </Insert>
  1570.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1571.             <Variable name="test">$(LOC_Test_CheckAntiVirusEnabled)</Variable>
  1572.             <Variable name="description">$(LOC_Passed)</Variable>
  1573.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1574.               <Node axis="child">
  1575.                 <Item>
  1576.                   <Data name="allchildtest">{test}</Data>
  1577.                   <Data name="allchildtotal">1</Data>
  1578.                   <Data name="allchildfail">0</Data>
  1579.                   <Data name="allchilddesc">{description}</Data>
  1580.                 </Item>
  1581.               </Node>
  1582.             </Insert>
  1583.           </Otherwise>
  1584.         </Exists>
  1585.         <Otherwise>
  1586.           <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1587.           <Variable name="ruleFailAntiVirusCheckEnabled_symptom">$(WarnFailAntiVirusCheckEnabled_symptom)</Variable>
  1588.           <Variable name="ruleFailAntiVirusCheckEnabled_cause">$(WarnFailAntiVirusCheckEnabled_cause)</Variable>
  1589.           <Variable name="ruleFailAntiVirusCheckEnabled_res1">$(WarnFailAntiVirusCheckEnabled_res1)</Variable>
  1590.           <Variable name="ruleFailAntiVirusCheckEnabled_related1">$(LinkAntiVirus)</Variable>
  1591.           <Warning tag="ruleFailAntiVirusCheckEnabled_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicAntiVirusProduct']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1592.             <Item>
  1593.               <Data name="symptom" img="warning" link="ruleFailAntiVirusCheckEnabled_{internalruleindex}" message="ruleFailAntiVirusCheckEnabled_{internalruleindex}" translate="value">{ruleFailAntiVirusCheckEnabled_symptom}</Data>
  1594.               <Data name="cause" message="ruleFailAntiVirusCheckEnabled_{internalruleindex}">{ruleFailAntiVirusCheckEnabled_cause}</Data>
  1595.               <Data name="resolution" message="ruleFailAntiVirusCheckEnabled_{internalruleindex}">{ruleFailAntiVirusCheckEnabled_res1}</Data>
  1596.               <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70103">{ruleFailAntiVirusCheckEnabled_related1}</Data>
  1597.             </Item>
  1598.           </Warning>
  1599.           <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1600.           <Variable name="test">$(LOC_Test_CheckAntiVirusEnabled)</Variable>
  1601.           <Variable name="description">$(LOC_Failed)</Variable>
  1602.           <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1603.             <Node axis="child">
  1604.               <Item>
  1605.                 <Data name="allchildtest">{test}</Data>
  1606.                 <Data name="allchildtotal">1</Data>
  1607.                 <Data name="allchildfail">1</Data>
  1608.                 <Data name="allchilddesc">{description}</Data>
  1609.               </Item>
  1610.             </Node>
  1611.           </Insert>
  1612.         </Otherwise>
  1613.       </Step>
  1614.     </Rule>
  1615.     <Rule name="$(RuleSuccessFirewallCheck)" enabled="false">
  1616.       <Step select="/Report/Section/Table[@name='TableBasicFirewallProduct']" fatal="true">
  1617.         <Exists>
  1618.           <Otherwise/>
  1619.         </Exists>
  1620.       </Step>
  1621.       <Step select="/Report/Section/Table[@name='TableBasicFirewallProduct']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'enabled' and Data[@name='managementObjectsValue'] = 'tv_TrueString']]">
  1622.         <Variable name="firewallproduct" expression="Item[Data[@name='managementObjectsProperty'] = 'displayName']/Data[@name='managementObjectsValue']"/>
  1623.         <Exists>
  1624.           <Otherwise>
  1625.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1626.             <Variable name="test">$(LOC_Test_CheckFirewallEnabled)</Variable>
  1627.             <Variable name="description">$(LOC_Passed)</Variable>
  1628.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1629.               <Node axis="child">
  1630.                 <Item>
  1631.                   <Data name="allchildtest">{test}</Data>
  1632.                   <Data name="allchildtotal">1</Data>
  1633.                   <Data name="allchildfail">0</Data>
  1634.                   <Data name="allchilddesc">{description}</Data>
  1635.                 </Item>
  1636.               </Node>
  1637.             </Insert>
  1638.           </Otherwise>
  1639.         </Exists>
  1640.         <Otherwise>
  1641.           <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1642.           <Variable name="ruleFailFirewallCheckEnabled_symptom">$(WarnFailFirewallEnabled_symptom)</Variable>
  1643.           <Variable name="ruleFailFirewallCheckEnabled_cause">$(WarnFailFirewallEnabled_cause)</Variable>
  1644.           <Variable name="ruleFailFirewallCheckEnabled_details">$(WarnFailFirewallEnabled_details)</Variable>
  1645.           <Variable name="ruleFailFirewallCheckEnabled_res1">$(WarnFailFirewallEnabled_res1)</Variable>
  1646.           <Variable name="ruleFailFirewallCheckEnabled_res2">$(WarnFailFirewallEnabled_res2)</Variable>
  1647.           <Variable name="ruleFailFirewallCheckEnabled_res3">$(WarnFailFirewallEnabled_res3)</Variable>
  1648.           <Variable name="linkFirewall">$(LinkFirewall)</Variable>
  1649.           <Warning tag="ruleFailFirewallCheckEnabled_{internalruleindex}" select="/Report/Section/Table[@name='TableBasicFirewallProduct']/Item/Data[@name='managementObjectsQuery']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1650.             <Item>
  1651.               <Data name="symptom" img="warning" link="ruleFailFirewallCheckEnabled_{internalruleindex}" message="ruleFailFirewallCheckEnabled_{internalruleindex}" translate="value">{ruleFailFirewallCheckEnabled_symptom}</Data>
  1652.               <Data name="cause" message="ruleFailFirewallCheckEnabled_{internalruleindex}">{ruleFailFirewallCheckEnabled_cause}</Data>
  1653.               <Data name="details" message="ruleFailFirewallCheckEnabled_{internalruleindex}">{ruleFailFirewallCheckEnabled_details}</Data>
  1654.               <Data name="resolution" message="ruleFailFirewallCheckEnabled_{internalruleindex}">{ruleFailFirewallCheckEnabled_res1}</Data>
  1655.               <Data name="resolution" message="ruleFailFirewallCheckEnabled_{internalruleindex}">{ruleFailFirewallCheckEnabled_res2}</Data>
  1656.               <Data name="resolution" message="ruleFailFirewallCheckEnabled_{internalruleindex}">{ruleFailFirewallCheckEnabled_res3}</Data>
  1657.               <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70104">{linkFirewall}</Data>
  1658.             </Item>
  1659.           </Warning>
  1660.           <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1661.           <Variable name="test">$(LOC_Test_CheckFirewallEnabled)</Variable>
  1662.           <Variable name="description">$(LOC_Failed)</Variable>
  1663.           <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1664.             <Node axis="child">
  1665.               <Item>
  1666.                 <Data name="allchildtest">{test}</Data>
  1667.                 <Data name="allchildtotal">1</Data>
  1668.                 <Data name="allchildfail">1</Data>
  1669.                 <Data name="allchilddesc">{description}</Data>
  1670.               </Item>
  1671.             </Node>
  1672.           </Insert>
  1673.         </Otherwise>
  1674.       </Step>
  1675.     </Rule>
  1676.     <Rule name="$(RuleSuccessLUA)" enabled="true">
  1677.       <Step select="/Report/Section/Table[@name='TableBasicLUARegistry']">
  1678.         <Variable name="lualookupresult" expression="Item/Item[Data[@name='registryKeysKey'] = 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA']/Data[@name='registryKeysLookupResult']"/>
  1679.         <Variable name="luavalue" expression="Item/Item[Data[@name='registryKeysKey'] = 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA']/Data[@name='registryKeysValue']"/>
  1680.         <Exists>
  1681.           <When expression="'{lualookupresult}' != '0x0'">
  1682.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1683.             <Variable name="test">$(LOC_Test_RuleSuccessLUA)</Variable>
  1684.             <Variable name="description">$(LOC_Passed)</Variable>
  1685.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1686.               <Node axis="child">
  1687.                 <Item>
  1688.                   <Data name="allchildtest">{test}</Data>
  1689.                   <Data name="allchildtotal">1</Data>
  1690.                   <Data name="allchildfail">0</Data>
  1691.                   <Data name="allchilddesc">{description}</Data>
  1692.                 </Item>
  1693.               </Node>
  1694.             </Insert>
  1695.           </When>
  1696.           <When expression="'{lualookupresult}' = '0x0' and {luavalue} = '1'">
  1697.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1698.             <Variable name="test">$(LOC_Test_RuleSuccessLUA)</Variable>
  1699.             <Variable name="description">$(LOC_Passed)</Variable>
  1700.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1701.               <Node axis="child">
  1702.                 <Item>
  1703.                   <Data name="allchildtest">{test}</Data>
  1704.                   <Data name="allchildtotal">1</Data>
  1705.                   <Data name="allchildfail">0</Data>
  1706.                   <Data name="allchilddesc">{description}</Data>
  1707.                 </Item>
  1708.               </Node>
  1709.             </Insert>
  1710.           </When>
  1711.           <Otherwise>
  1712.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1713.             <Variable name="ruleFailLUA_symptom">$(WarnFailLUA_symptom)</Variable>
  1714.             <Variable name="ruleFailLUA_cause">$(WarnFailLUA_cause)</Variable>
  1715.             <Variable name="ruleFailLUA_res1">$(WarnFailLUA_res1)</Variable>
  1716.             <Variable name="ruleFailLUA_related1">$(WarnFailLUA_related1)</Variable>
  1717.             <Warning tag="ruleFailLUA_{internalruleindex}" select="Item/Item[Data[@name='registryKeysKey'] = 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA']/Data[@name='registryKeysValue']" table="/Report/Section[@name='advice']/Table[@name='info']">
  1718.               <Item>
  1719.                 <Data name="symptom" img="info" link="ruleFailLUA_{internalruleindex}" message="ruleFailLUA_{internalruleindex}" translate="value">{ruleFailLUA_symptom}</Data>
  1720.                 <Data name="cause" message="ruleFailLUA_{internalruleindex}">{ruleFailLUA_cause}</Data>
  1721.                 <Data name="resolution" message="ruleFailLUA_{internalruleindex}">{ruleFailLUA_res1}</Data>
  1722.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70105">{ruleFailLUA_related1}</Data>
  1723.               </Item>
  1724.             </Warning>
  1725.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1726.             <Variable name="test">$(LOC_Test_RuleSuccessLUA)</Variable>
  1727.             <Variable name="description">$(LOC_Failed)</Variable>
  1728.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1729.               <Node axis="child">
  1730.                 <Item>
  1731.                   <Data name="allchildtest">{test}</Data>
  1732.                   <Data name="allchildtotal">1</Data>
  1733.                   <Data name="allchildfail">1</Data>
  1734.                   <Data name="allchilddesc">{description}</Data>
  1735.                 </Item>
  1736.               </Node>
  1737.             </Insert>
  1738.           </Otherwise>
  1739.         </Exists>
  1740.         <Otherwise>
  1741.           <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1742.           <Variable name="test">$(LOC_Test_RuleSuccessLUA)</Variable>
  1743.           <Variable name="description">$(LOC_Passed)</Variable>
  1744.           <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1745.             <Node axis="child">
  1746.               <Item>
  1747.                 <Data name="allchildtest">{test}</Data>
  1748.                 <Data name="allchildtotal">1</Data>
  1749.                 <Data name="allchildfail">0</Data>
  1750.                 <Data name="allchilddesc">{description}</Data>
  1751.               </Item>
  1752.             </Node>
  1753.           </Insert>
  1754.         </Otherwise>
  1755.       </Step>
  1756.     </Rule>
  1757.     <Rule name="$(RuleSuccessWU)" enabled="true">
  1758.       <Step select="/Report/Section/Table[@name='TableBasicWURegistry']">
  1759.         <Variable name="wulookupresult" expression="Item/Item[Data[@name='registryKeysKey'] = 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update\\AUOptions']/Data[@name='registryKeysLookupResult']"/>
  1760.         <Variable name="wuvalue" expression="Item/Item[Data[@name='registryKeysKey'] = 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update\\AUOptions']/Data[@name='registryKeysValue']"/>
  1761.         <Exists>
  1762.           <When expression="'{wulookupresult}' != '0x0'">
  1763.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1764.             <Variable name="test">$(LOC_Test_RuleSuccessLUA)</Variable>
  1765.             <Variable name="description">$(LOC_Passed)</Variable>
  1766.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1767.               <Node axis="child">
  1768.                 <Item>
  1769.                   <Data name="allchildtest">{test}</Data>
  1770.                   <Data name="allchildtotal">1</Data>
  1771.                   <Data name="allchildfail">0</Data>
  1772.                   <Data name="allchilddesc">{description}</Data>
  1773.                 </Item>
  1774.               </Node>
  1775.             </Insert>
  1776.           </When>
  1777.           <When expression="'{wulookupresult}' = '0x0' and {wuvalue} > 1">
  1778.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1779.             <Variable name="test">$(LOC_Test_RuleSuccessWU)</Variable>
  1780.             <Variable name="description">$(LOC_Passed)</Variable>
  1781.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1782.               <Node axis="child">
  1783.                 <Item>
  1784.                   <Data name="allchildtest">{test}</Data>
  1785.                   <Data name="allchildtotal">1</Data>
  1786.                   <Data name="allchildfail">0</Data>
  1787.                   <Data name="allchilddesc">{description}</Data>
  1788.                 </Item>
  1789.               </Node>
  1790.             </Insert>
  1791.           </When>
  1792.           <Otherwise>
  1793.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1794.             <Variable name="ruleFailWU_symptom">$(WarnFailWU_symptom)</Variable>
  1795.             <Variable name="ruleFailWU_cause">$(WarnFailWU_cause)</Variable>
  1796.             <Variable name="ruleFailWU_res1">$(WarnFailWU_res1)</Variable>
  1797.             <Variable name="ruleFailWU_related1">$(WarnFailWU_related1)</Variable>
  1798.             <Warning tag="ruleFailWU_{internalruleindex}" select="Item/Item[Data[@name='registryKeysKey'] = 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update\\AUOptions']/Data[@name='registryKeysValue']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  1799.               <Item>
  1800.                 <Data name="symptom" img="warning" link="ruleFailWU_{internalruleindex}" message="ruleFailWU_{internalruleindex}" translate="value">{ruleFailWU_symptom}</Data>
  1801.                 <Data name="cause" message="ruleFailWU_{internalruleindex}">{ruleFailWU_cause}</Data>
  1802.                 <Data name="resolution" message="ruleFailWU_{internalruleindex}">{ruleFailWU_res1}</Data>
  1803.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70106">{ruleFailWU_related1}</Data>
  1804.               </Item>
  1805.             </Warning>
  1806.             <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1807.             <Variable name="test">$(LOC_Test_RuleSuccessWU)</Variable>
  1808.             <Variable name="description">$(LOC_Failed)</Variable>
  1809.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1810.               <Node axis="child">
  1811.                 <Item>
  1812.                   <Data name="allchildtest">{test}</Data>
  1813.                   <Data name="allchildtotal">1</Data>
  1814.                   <Data name="allchildfail">1</Data>
  1815.                   <Data name="allchilddesc">{description}</Data>
  1816.                 </Item>
  1817.               </Node>
  1818.             </Insert>
  1819.           </Otherwise>
  1820.         </Exists>
  1821.         <Otherwise>
  1822.           <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1823.           <Variable name="test">$(LOC_Test_RuleSuccessWU)</Variable>
  1824.           <Variable name="description">$(LOC_Passed)</Variable>
  1825.           <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1826.             <Node axis="child">
  1827.               <Item>
  1828.                 <Data name="allchildtest">{test}</Data>
  1829.                 <Data name="allchildtotal">1</Data>
  1830.                 <Data name="allchildfail">0</Data>
  1831.                 <Data name="allchilddesc">{description}</Data>
  1832.               </Item>
  1833.             </Node>
  1834.           </Insert>
  1835.         </Otherwise>
  1836.       </Step>
  1837.     </Rule>
  1838.     <Rule name="$(RuleSecurityCenterSummary)" enabled="true">
  1839.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']" fatal="true">
  1840.         <Variable name="group">$(LOC_TableBasicSecurityCenterGroupSummary)</Variable>
  1841.         <Variable name="groupfailedtestscount" expression="count(Item[Data[@name='alltestgroups'] = '{group}']/Item[Data[@name='allchildfail'] != '0'])"/>
  1842.         <Exists>
  1843.           <When expression="{groupfailedtestscount} > 0">
  1844.             <Variable name="failedmsg">$(LOC_Failed)</Variable>
  1845.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  1846.               <Node axis="following-sibling">
  1847.                 <Data img="red" name="allteststatus">{failedmsg}</Data>
  1848.               </Node>
  1849.             </Insert>
  1850.           </When>
  1851.           <When expression="{groupfailedtestscount} = 0">
  1852.             <Variable name="passedmsg">$(LOC_Passed)</Variable>
  1853.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  1854.               <Node axis="following-sibling">
  1855.                 <Data img="green" name="allteststatus">{passedmsg}</Data>
  1856.               </Node>
  1857.             </Insert>
  1858.           </When>
  1859.         </Exists>
  1860.       </Step>
  1861.     </Rule>
  1862.     <Rule name="$(RuleSuccessService)" enabled="true">
  1863.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']">
  1864.         <Exists>
  1865.           <Otherwise>
  1866.             <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  1867.             <Variable name="description">$(LOC_DescServicesSummary)</Variable>
  1868.             <Insert>
  1869.               <Node axis="child">
  1870.                 <Item>
  1871.                   <Data name="alltestgroups" link="TableBasicService">{group}</Data>
  1872.                   <Data name="alltestdesc">{description}</Data>
  1873.                 </Item>
  1874.               </Node>
  1875.             </Insert>
  1876.           </Otherwise>
  1877.         </Exists>
  1878.       </Step>
  1879.       <Step select="/Report/Section/Table[@name='TableBasicService']/Item/Item/Item[Data[@name='managementObjectsProperty']='Started' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  1880.         <Exists>
  1881.           <Otherwise>
  1882.             <Delete select="Data[@name='managementObjectsValue']"/>
  1883.             <Insert select=".">
  1884.               <Node axis="child">
  1885.                 <Data name="managementObjectsValue" note="-1" translate="value">tv_TrueString</Data>
  1886.               </Node>
  1887.             </Insert>
  1888.           </Otherwise>
  1889.         </Exists>
  1890.       </Step>
  1891.       <Step select="/Report/Section/Table[@name='TableBasicService']/Item/Item/Item[Data[@name='managementObjectsProperty']='Started' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  1892.         <Exists>
  1893.           <Otherwise>
  1894.             <Delete select="Data[@name='managementObjectsValue']"/>
  1895.             <Insert select=".">
  1896.               <Node axis="child">
  1897.                 <Data name="managementObjectsValue" note="0" translate="value">tv_FalseString</Data>
  1898.               </Node>
  1899.             </Insert>
  1900.           </Otherwise>
  1901.         </Exists>
  1902.       </Step>
  1903.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  1904.         <Exists>
  1905.           <Otherwise>
  1906.             <Insert select=".">
  1907.               <Node axis="child">
  1908.                 <Table name="TableBasicAbnormallyStoppedServices"/>
  1909.               </Node>
  1910.             </Insert>
  1911.             <Insert select="Table[@name='TableBasicAbnormallyStoppedServices']">
  1912.               <Attribute name="topic" value="TopicServicesChecks"/>
  1913.               <Attribute name="key" value="300"/>
  1914.             </Insert>
  1915.             <Insert select="Table[@name='TableBasicAbnormallyStoppedServices']">
  1916.               <Node axis="child">
  1917.                 <Header>
  1918.                   <Data name="servicename"/>
  1919.                   <Header style="info">
  1920.                     <Data name="displayname"/>
  1921.                     <Data name="exitcode"/>
  1922.                     <Data name="scname"/>
  1923.                     <Data name="pathname"/>
  1924.                     <Data name="servicespecificexitcode"/>
  1925.                     <Data name="started"/>
  1926.                     <Data name="state"/>
  1927.                   </Header>
  1928.                 </Header>
  1929.               </Node>
  1930.             </Insert>
  1931.           </Otherwise>
  1932.         </Exists>
  1933.       </Step>
  1934.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'ExitCode']/Data[@name='managementObjectsValue'][. != '0'][. != '1077']]" sortType="all">
  1935.         <Exists>
  1936.           <Otherwise>
  1937.             <Variable name="servicename" expression="Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue']"/>
  1938.             <Variable name="displayname" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'DisplayName']/Data[@name='managementObjectsValue']"/>
  1939.             <Variable name="description" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'Description']/Data[@name='managementObjectsValue']"/>
  1940.             <Variable name="exitcode" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'ExitCode']/Data[@name='managementObjectsValue']"/>
  1941.             <Variable name="scname" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue']"/>
  1942.             <Variable name="pathname" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'PathName']/Data[@name='managementObjectsValue']"/>
  1943.             <Variable name="servicespecificexitcode" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'ServiceSpecificExitCode']/Data[@name='managementObjectsValue']"/>
  1944.             <Variable name="started" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'Started']/Data[@name='managementObjectsValue']"/>
  1945.             <Variable name="state" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{servicename}']/Item[Data[@name='managementObjectsProperty'] = 'State']/Data[@name='managementObjectsValue']"/>
  1946.             <Insert select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicAbnormallyStoppedServices']">
  1947.               <Node axis="child">
  1948.                 <Item>
  1949.                   <Data name="servicename">{servicename}</Data>
  1950.                   <Item>
  1951.                     <Data name="displayname">{displayname}</Data>
  1952.                     <Data name="exitcode">{exitcode}</Data>
  1953.                     <Data name="scname">{scname}</Data>
  1954.                     <Data name="pathname">{pathname}</Data>
  1955.                     <Data name="servicespecificexitcode">{servicespecificexitcode}</Data>
  1956.                     <Data name="started" translate="value">{started}</Data>
  1957.                     <Data name="state">{state}</Data>
  1958.                   </Item>
  1959.                 </Item>
  1960.               </Node>
  1961.             </Insert>
  1962.           </Otherwise>
  1963.         </Exists>
  1964.       </Step>
  1965.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicAbnormallyStoppedServices']">
  1966.         <Variable name="badservicecount" expression="count(Item)"/>
  1967.         <Exists>
  1968.           <When expression="{badservicecount} = 0">
  1969.             <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  1970.             <Variable name="test">$(LOC_Test_RuleSuccessService)</Variable>
  1971.             <Variable name="description">$(LOC_Passed)</Variable>
  1972.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  1973.               <Node axis="child">
  1974.                 <Item>
  1975.                   <Data name="allchildtest">{test}</Data>
  1976.                   <Data name="allchildtotal">1</Data>
  1977.                   <Data name="allchildfail">0</Data>
  1978.                   <Data name="allchilddesc">{description}</Data>
  1979.                 </Item>
  1980.               </Node>
  1981.             </Insert>
  1982.           </When>
  1983.           <Otherwise>
  1984.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  1985.             <Variable name="ruleFailService_symptom">$(WarnFailService_symptom)</Variable>
  1986.             <Variable name="ruleFailService_cause">$(WarnFailService_cause)</Variable>
  1987.             <Variable name="ruleFailService_details">$(WarnFailService_details)</Variable>
  1988.             <Variable name="ruleFailService_res1">$(WarnFailService_res1)</Variable>
  1989.             <Variable name="ruleFailService_related1">$(WarnFailService_related1)</Variable>
  1990.             <Warning tag="ruleFailService_{internalruleindex}" select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicAbnormallyStoppedServices']" table="/Report/Section[@name='advice']/Table[@name='error']">
  1991.               <Item>
  1992.                 <Data name="symptom" img="error" link="ruleFailService_{internalruleindex}" message="ruleFailService_{internalruleindex}" translate="value">{ruleFailService_symptom}</Data>
  1993.                 <Data name="cause" message="ruleFailService_{internalruleindex}">{ruleFailService_cause}</Data>
  1994.                 <Data name="details" message="ruleFailService_{internalruleindex}">{ruleFailService_details}</Data>
  1995.                 <Data name="resolution" message="ruleFailService_{internalruleindex}">{ruleFailService_res1}</Data>
  1996.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70107">{ruleFailService_related1}</Data>
  1997.               </Item>
  1998.             </Warning>
  1999.             <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  2000.             <Variable name="test">$(LOC_Test_RuleSuccessService)</Variable>
  2001.             <Variable name="description">$(LOC_Failed)</Variable>
  2002.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  2003.               <Node axis="child">
  2004.                 <Item>
  2005.                   <Data name="allchildtest">{test}</Data>
  2006.                   <Data name="allchildtotal">1</Data>
  2007.                   <Data name="allchildfail">{badservicecount}</Data>
  2008.                   <Data name="allchilddesc">{description}</Data>
  2009.                 </Item>
  2010.               </Node>
  2011.             </Insert>
  2012.           </Otherwise>
  2013.         </Exists>
  2014.       </Step>
  2015.       <Step select="/Report/Section[@name='advice']/Table[@name='alltests']" fatal="true">
  2016.         <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  2017.         <Variable name="groupfailedtestscount" expression="count(Item[Data[@name='alltestgroups'] = '{group}']/Item[Data[@name='allchildfail'] != '0'])"/>
  2018.         <Exists>
  2019.           <When expression="{groupfailedtestscount} > 0">
  2020.             <Variable name="failedmsg">$(LOC_Failed)</Variable>
  2021.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  2022.               <Node axis="following-sibling">
  2023.                 <Data img="red" name="allteststatus">{failedmsg}</Data>
  2024.               </Node>
  2025.             </Insert>
  2026.           </When>
  2027.           <When expression="{groupfailedtestscount} = 0">
  2028.             <Variable name="passedmsg">$(LOC_Passed)</Variable>
  2029.             <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  2030.               <Node axis="following-sibling">
  2031.                 <Data img="green" name="allteststatus">{passedmsg}</Data>
  2032.               </Node>
  2033.             </Insert>
  2034.           </When>
  2035.         </Exists>
  2036.       </Step>
  2037.     </Rule>
  2038.     <Rule name="$(RuleCheckWorkstationService)" enabled="true">
  2039.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  2040.         <Exists>
  2041.           <Otherwise>
  2042.             <Insert select=".">
  2043.               <Node axis="child">
  2044.                 <Table name="TableWorkstationServices" topic="TopicServicesChecks"/>
  2045.               </Node>
  2046.             </Insert>
  2047.             <Insert select="Table[@name='TableWorkstationServices']">
  2048.               <Node axis="child">
  2049.                 <Header>
  2050.                   <Data name="servicename" class="string"/>
  2051.                   <Header style="info">
  2052.                     <Data name="displayname"/>
  2053.                     <Data name="exitcode"/>
  2054.                     <Data name="scname"/>
  2055.                     <Data name="pathname"/>
  2056.                     <Data name="servicespecificexitcode"/>
  2057.                     <Data name="started"/>
  2058.                     <Data name="state"/>
  2059.                   </Header>
  2060.                 </Header>
  2061.               </Node>
  2062.             </Insert>
  2063.           </Otherwise>
  2064.         </Exists>
  2065.       </Step>
  2066.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableWorkstationServices']" fatal="true">
  2067.         <Exists>
  2068.           <Otherwise>
  2069.             <Variable name="workstationservicename">$(LOC_Workstation)</Variable>
  2070.           </Otherwise>
  2071.         </Exists>
  2072.       </Step>
  2073.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']" fatal="true">
  2074.         <Exists>
  2075.           <Otherwise>
  2076.             <Variable name="displayname" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'DisplayName']/Data[@name='managementObjectsValue']"/>
  2077.             <Variable name="description" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'Description']/Data[@name='managementObjectsValue']"/>
  2078.             <Variable name="exitcode" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'ExitCode']/Data[@name='managementObjectsValue']"/>
  2079.             <Variable name="scname" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue']"/>
  2080.             <Variable name="pathname" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'PathName']/Data[@name='managementObjectsValue']"/>
  2081.             <Variable name="servicespecificexitcode" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'ServiceSpecificExitCode']/Data[@name='managementObjectsValue']"/>
  2082.             <Variable name="started" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'Started']/Data[@name='managementObjectsValue']"/>
  2083.             <Variable name="state" expression="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableBasicService']/Item/Item[Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue'] = '{workstationservicename}']/Item[Data[@name='managementObjectsProperty'] = 'State']/Data[@name='managementObjectsValue']"/>
  2084.             <Insert select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableWorkstationServices']">
  2085.               <Node axis="child">
  2086.                 <Item>
  2087.                   <Data name="servicename">{workstationservicename}</Data>
  2088.                   <Item>
  2089.                     <Data name="displayname">{displayname}</Data>
  2090.                     <Data name="exitcode">{exitcode}</Data>
  2091.                     <Data name="scname">{scname}</Data>
  2092.                     <Data name="pathname">{pathname}</Data>
  2093.                     <Data name="servicespecificexitcode">{servicespecificexitcode}</Data>
  2094.                     <Data name="started" translate="value">{started}</Data>
  2095.                     <Data name="state">{state}</Data>
  2096.                   </Item>
  2097.                 </Item>
  2098.               </Node>
  2099.             </Insert>
  2100.           </Otherwise>
  2101.         </Exists>
  2102.       </Step>
  2103.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableWorkstationServices']/Item[Data[@name='servicename'] = '{workstationservicename}']">
  2104.         <Variable name="exitcode" expression="Item/Data[@name='exitcode']"/>
  2105.         <Variable name="state" expression="Item/Data[@name='state']"/>
  2106.         <Variable name="test">$(LOC_RuleCheckWorkstationService)</Variable>
  2107.         <Variable name="servicename">{workstationservicename}</Variable>
  2108.         <Exists>
  2109.           <When expression="({exitcode} != 0 and {exitcode} != 1077) or ('{state}' != 'Running')">
  2110.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2111.             <Variable name="ruleFailCheckWorkstationServiceAbnormallyStopped_symptom">$(WarnFailCheckWorkstationServiceAbnormallyStopped_symptom)</Variable>
  2112.             <Variable name="ruleFailCheckWorkstationServiceAbnormallyStopped_cause">$(WarnFailCheckWorkstationServiceAbnormallyStopped_cause)</Variable>
  2113.             <Variable name="ruleFailCheckWorkstationServiceAbnormallyStopped_res1">$(WarnFailCheckWorkstationServiceAbnormallyStopped_res1)</Variable>
  2114.             <Variable name="ruleFailCheckWorkstationServiceAbnormallyStopped_related1">$(WarnFailCheckWorkstationServiceAbnormallyStopped_related1)</Variable>
  2115.             <Warning tag="ruleFailCheckWorkstationServiceAbnormallyStopped_{internalruleindex}" select="Item/Data[@name='exitcode']" table="/Report/Section[@name='advice']/Table[@name='error']">
  2116.               <Item>
  2117.                 <Data name="symptom" img="error" link="ruleFailCheckWorkstationServiceAbnormallyStopped_{internalruleindex}" message="ruleFailCheckWorkstationServiceAbnormallyStopped_{internalruleindex}">{ruleFailCheckWorkstationServiceAbnormallyStopped_symptom}</Data>
  2118.                 <Data name="cause" message="ruleFailCheckWorkstationServiceAbnormallyStopped_{internalruleindex}">{ruleFailCheckWorkstationServiceAbnormallyStopped_cause}</Data>
  2119.                 <Data name="resolution" message="ruleFailCheckWorkstationServiceAbnormallyStopped_{internalruleindex}">{ruleFailCheckWorkstationServiceAbnormallyStopped_res1}</Data>
  2120.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70116">{ruleFailCheckWorkstationServiceAbnormallyStopped_related1}</Data>
  2121.               </Item>
  2122.             </Warning>
  2123.             <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  2124.             <Variable name="test">$(LOC_RuleCheckWorkstationService)</Variable>
  2125.             <Variable name="description">$(LOC_Failed)</Variable>
  2126.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  2127.               <Node axis="child">
  2128.                 <Item>
  2129.                   <Data name="allchildtest">{test}</Data>
  2130.                   <Data name="allchildtotal">1</Data>
  2131.                   <Data name="allchildfail">1</Data>
  2132.                   <Data name="allchilddesc">{description}</Data>
  2133.                 </Item>
  2134.               </Node>
  2135.             </Insert>
  2136.           </When>
  2137.           <Otherwise>
  2138.             <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  2139.             <Variable name="test">$(LOC_RuleCheckWorkstationService)</Variable>
  2140.             <Variable name="description">$(LOC_Passed)</Variable>
  2141.             <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  2142.               <Node axis="child">
  2143.                 <Item>
  2144.                   <Data name="allchildtest">{test}</Data>
  2145.                   <Data name="allchildtotal">1</Data>
  2146.                   <Data name="allchildfail">0</Data>
  2147.                   <Data name="allchilddesc">{description}</Data>
  2148.                 </Item>
  2149.               </Node>
  2150.             </Insert>
  2151.           </Otherwise>
  2152.         </Exists>
  2153.         <Otherwise>
  2154.           <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  2155.           <Variable name="test">$(LOC_RuleCheckWorkstationService)</Variable>
  2156.           <Variable name="description">$(LOC_Failed)</Variable>
  2157.           <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  2158.             <Node axis="child">
  2159.               <Item>
  2160.                 <Data name="allchildtest">{test}</Data>
  2161.                 <Data name="allchildtotal">1</Data>
  2162.                 <Data name="allchildfail">1</Data>
  2163.                 <Data name="allchilddesc">{description}</Data>
  2164.               </Item>
  2165.             </Node>
  2166.           </Insert>
  2167.           <Variable name="group">$(LOC_TableBasicServiceSummary)</Variable>
  2168.           <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2169.           <Variable name="ruleFailCheckWorkstationService_symptom">$(WarnFailServiceNotFound_symptom)</Variable>
  2170.           <Variable name="ruleFailCheckWorkstationService_cause">$(WarnFailServiceNotFound_cause)</Variable>
  2171.           <Variable name="ruleFailCheckWorkstationService_res1">$(WarnFailServiceNotFound_res1)</Variable>
  2172.           <Variable name="ruleFailCheckWorkstationService_related1">$(WarnFailServiceNotFound_related1)</Variable>
  2173.           <Warning tag="ruleFailCheckWorkstationService_{internalruleindex}" select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']/Item/Data[@name='allchildtest'][. = '{test}']" table="/Report/Section[@name='advice']/Table[@name='error']">
  2174.             <Item>
  2175.               <Data name="symptom" img="error" link="ruleFailCheckWorkstationService_{internalruleindex}" message="ruleFailCheckWorkstationService_{internalruleindex}">{ruleFailCheckWorkstationService_symptom}</Data>
  2176.               <Data name="cause" message="ruleFailCheckWorkstationService_{internalruleindex}">{ruleFailCheckWorkstationService_cause}</Data>
  2177.               <Data name="resolution" message="ruleFailCheckWorkstationService_{internalruleindex}">{ruleFailCheckWorkstationService_res1}</Data>
  2178.               <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70116">{ruleFailCheckWorkstationService_related1}</Data>
  2179.             </Item>
  2180.           </Warning>
  2181.         </Otherwise>
  2182.       </Step>
  2183.     </Rule>
  2184.   </Group>
  2185.   <Group name="$(GroupTrbTbl)" enabled="true">
  2186.     <Rule name="$(RuleTrbInsert)" enabled="true" visible="false">
  2187.       <Step select="/Report/Section[@name='SystemConfig']">
  2188.         <Exists>
  2189.           <Otherwise>
  2190.             <Insert select=".">
  2191.               <Node axis="child" document="Interactive Session Processes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2192.             </Insert>
  2193.             <Insert select="Table[@name='managementObjects']">
  2194.               <Attribute name="name" value="TablePerfInteractiveSessionProcess"/>
  2195.             </Insert>
  2196.           </Otherwise>
  2197.         </Exists>
  2198.       </Step>
  2199.       <Step select="/Report/Section[@name='SystemConfig']">
  2200.         <Exists>
  2201.           <Otherwise>
  2202.             <Insert select=".">
  2203.               <Node axis="child" document="Interactive Sessions.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2204.             </Insert>
  2205.             <Insert select="Table[@name='managementObjects']">
  2206.               <Attribute name="name" value="TablePerfInteractiveSession"/>
  2207.             </Insert>
  2208.           </Otherwise>
  2209.         </Exists>
  2210.       </Step>
  2211.       <Step select="/Report/Section[@name='SystemConfig']">
  2212.         <Exists>
  2213.           <Otherwise>
  2214.             <Insert select=".">
  2215.               <Node axis="child" document="Processes.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2216.             </Insert>
  2217.             <Insert select="Table[@name='managementObjects']">
  2218.               <Attribute name="name" value="TablePerfProcess"/>
  2219.             </Insert>
  2220.           </Otherwise>
  2221.         </Exists>
  2222.       </Step>
  2223.       <Step select="/Report/Section[@name='SystemConfig']">
  2224.         <Exists>
  2225.           <Otherwise>
  2226.             <Insert select=".">
  2227.               <Node axis="child" document="Logged On Users.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2228.             </Insert>
  2229.             <Insert select="Table[@name='managementObjects']">
  2230.               <Attribute name="name" value="TablePerfLoggedOnUsers"/>
  2231.             </Insert>
  2232.           </Otherwise>
  2233.         </Exists>
  2234.       </Step>
  2235.       <Step select="/Report/Section[@name='SystemConfig']">
  2236.         <Exists>
  2237.           <Otherwise>
  2238.             <Insert select=".">
  2239.               <Node axis="child" document="User Accounts.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2240.             </Insert>
  2241.             <Insert select="Table[@name='managementObjects']">
  2242.               <Attribute name="name" value="TablePerfUserAccounts"/>
  2243.             </Insert>
  2244.           </Otherwise>
  2245.         </Exists>
  2246.       </Step>
  2247.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  2248.         <Exists>
  2249.           <Otherwise>
  2250.             <Insert select=".">
  2251.               <Node axis="child" document="Startup Programs.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2252.             </Insert>
  2253.             <Insert select="Table[@name='managementObjects']">
  2254.               <Attribute name="name" value="TablePerfStartupPrograms"/>
  2255.             </Insert>
  2256.           </Otherwise>
  2257.         </Exists>
  2258.       </Step>
  2259.       <Step select="/Report/Section[@name='SectionSoftwareConfig']">
  2260.         <Exists>
  2261.           <Otherwise>
  2262.             <Insert select=".">
  2263.               <Node axis="child" document="Startup Settings.xml" select="/Report/Section/Table[@name='registryKeys']"/>
  2264.             </Insert>
  2265.             <Insert select="Table[@name='registryKeys']">
  2266.               <Attribute name="name" value="TablePerfStartupRegistry"/>
  2267.             </Insert>
  2268.           </Otherwise>
  2269.         </Exists>
  2270.       </Step>
  2271.       <Step select="/Report/Section[@name='SystemConfig']">
  2272.         <Exists>
  2273.           <Otherwise>
  2274.             <Insert select=".">
  2275.               <Node axis="child" document="Desktop Rating.xml" select="/Report/Section/Table[@name='managementObjects']"/>
  2276.             </Insert>
  2277.             <Insert select="Table[@name='managementObjects']">
  2278.               <Attribute name="name" value="TablePerfDesktopRating"/>
  2279.               <Attribute name="topic" value="TopicDesktopRating"/>
  2280.             </Insert>
  2281.           </Otherwise>
  2282.         </Exists>
  2283.       </Step>
  2284.     </Rule>
  2285.     <Rule name="$(RuleListInteractiveSessionProcesses)" enabled="true">
  2286.       <Step select="/Report/Section[@name='SystemConfig']/Table[last()]">
  2287.         <Exists>
  2288.           <Otherwise>
  2289.             <Insert>
  2290.               <Node axis="following-sibling">
  2291.                 <Table name="TableInterProc" style="columns">
  2292.                   <Header>
  2293.                     <Data name="HeaderProcName" class="string"/>
  2294.                     <Data name="HeaderUserName" class="string"/>
  2295.                   </Header>
  2296.                 </Table>
  2297.               </Node>
  2298.             </Insert>
  2299.           </Otherwise>
  2300.         </Exists>
  2301.       </Step>
  2302.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfInteractiveSessionProcess']/Item/Item[Item/Data[@name='managementObjectsProperty'] = 'Antecedent'][Item/Data[@name='managementObjectsProperty'] = 'Dependent']" sortType="all">
  2303.         <Variable name="processhandle" expression="Item[Data[@name='managementObjectsProperty'] = 'Dependent']/Data[@name='managementObjectsValue']"/>
  2304.         <Variable name="logonid" expression="Item[Data[@name='managementObjectsProperty'] = 'Antecedent']/Data[@name='managementObjectsValue']"/>
  2305.         <Variable name="counthandle" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePerfProcess']/Item/Item[contains('{processhandle}', Item[Data[@name='managementObjectsProperty'] = '__RELPATH']/Data[@name='managementObjectsValue'])])"/>
  2306.         <Variable name="countsessions" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePerfInteractiveSession']/Item/Item[contains('{logonid}', Item[Data[@name='managementObjectsProperty'] = '__RELPATH']/Data[@name='managementObjectsValue'])])"/>
  2307.         <Variable name="countusers" expression="count(/Report/Section[@name='SystemConfig']/Table[@name='TablePerfLoggedOnUsers']/Item/Item[contains('{logonid}', Item[Data[@name='managementObjectsProperty'] = 'Dependent']/Data[@name='managementObjectsValue'])])"/>
  2308.         <Variable name="useraccount" expression="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfLoggedOnUsers']/Item/Item[contains('{logonid}', Item[Data[@name='managementObjectsProperty'] = 'Dependent']/Data[@name='managementObjectsValue'])]/Item[Data[@name='managementObjectsProperty'] = 'Antecedent']/Data[@name='managementObjectsValue']"/>
  2309.         <Variable name="username" expression="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfUserAccounts']/Item/Item[contains('{useraccount}', substring-after(Item[Data[@name='managementObjectsProperty'] = '__RELPATH']/Data[@name='managementObjectsValue'], 'Win32_UserAccount.'))]/Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue']"/>
  2310.         <Variable name="accountlen" expression="string-length('{useraccount}')"/>
  2311.         <Variable name="namelen" expression="string-length('{username}')"/>
  2312.         <Exists>
  2313.           <When expression="{counthandle} > 0 and {countsessions} > 0 and {countusers} > 0 and {accountlen} > 0 and {namelen} > 0">
  2314.             <Variable name="processname" expression="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfProcess']/Item/Item[contains('{processhandle}', Item[Data[@name='managementObjectsProperty'] = '__RELPATH']/Data[@name='managementObjectsValue'])]/Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue']"/>
  2315.             <Insert select="/Report/Section[@name='SystemConfig']/Table[@name='TableInterProc']">
  2316.               <Node axis="child">
  2317.                 <Item>
  2318.                   <Data name="HeaderProcName">{processname}</Data>
  2319.                   <Data name="HeaderUserName">{username}</Data>
  2320.                 </Item>
  2321.               </Node>
  2322.             </Insert>
  2323.           </When>
  2324.           <Otherwise/>
  2325.         </Exists>
  2326.         <Otherwise/>
  2327.       </Step>
  2328.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TableInterProc']">
  2329.         <Variable name="tempuser" expression="Item/Data[@name='HeaderUserName']"/>
  2330.         <Variable name="counttempuser" expression="count(Item[contains('{tempuser}', Data[@name='HeaderUserName'])])"/>
  2331.         <Variable name="counttotaluser" expression="count(Item)"/>
  2332.         <Exists>
  2333.           <When expression="{counttempuser} = {counttotaluser}">
  2334.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='TableInterProc']"/>
  2335.           </When>
  2336.           <Otherwise>
  2337.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2338.             <Variable name="severitymsg">Information</Variable>
  2339.             <Variable name="msgstring">$(LOC_MultipleLoggedOnUsers)</Variable>
  2340.             <Variable name="msglink">$(WarnListInteractiveSessionProcesses_related1)</Variable>
  2341.             <Warning tag="RuleListInteractiveSessionProcesses_78_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TableInterProc']/Item/Data[@name='username']" table="/Report/Section[@name='advice']/Table[@name='info']">
  2342.               <Item>
  2343.                 <Data name="severity" img="info" link="RuleListInteractiveSessionProcesses_78_{internalruleindex}" message="RuleListInteractiveSessionProcesses_78_{internalruleindex}" translate="value">{severitymsg}</Data>
  2344.                 <Data name="warning" message="RuleListInteractiveSessionProcesses_78_{internalruleindex}">{msgstring}</Data>
  2345.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70108">{msglink}</Data>
  2346.               </Item>
  2347.             </Warning>
  2348.           </Otherwise>
  2349.         </Exists>
  2350.         <Otherwise/>
  2351.       </Step>
  2352.     </Rule>
  2353.     <Rule name="$(RuleListStartupPrograms)" enabled="true">
  2354.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[last()]">
  2355.         <Exists>
  2356.           <Otherwise>
  2357.             <Insert>
  2358.               <Node axis="following-sibling">
  2359.                 <Table name="TableStartup" topic="TopicStartupPrograms">
  2360.                   <Header>
  2361.                     <Data name="HeaderStartupItem" class="string"/>
  2362.                     <Data name="HeaderCommand" class="string"/>
  2363.                   </Header>
  2364.                 </Table>
  2365.               </Node>
  2366.             </Insert>
  2367.           </Otherwise>
  2368.         </Exists>
  2369.       </Step>
  2370.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TablePerfStartupRegistry']/Item/Item" sortType="all">
  2371.         <Variable name="startupitem" expression="substring-after(Data[@name='registryKeysKey'], 'Run\\')"/>
  2372.         <Variable name="command" expression="Data[@name='registryKeysValue']"/>
  2373.         <Variable name="startupitemlen" expression="string-length('{startupitem}')"/>
  2374.         <Exists>
  2375.           <When expression="{startupitemlen} > 0">
  2376.             <Insert select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableStartup']">
  2377.               <Node axis="child">
  2378.                 <Item>
  2379.                   <Data name="HeaderStartupItem">{startupitem}</Data>
  2380.                   <Data name="HeaderCommand">{command}</Data>
  2381.                 </Item>
  2382.               </Node>
  2383.             </Insert>
  2384.           </When>
  2385.           <Otherwise/>
  2386.         </Exists>
  2387.         <Otherwise/>
  2388.       </Step>
  2389.       <Step select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TablePerfStartupPrograms']/Item/Item" sortType="all">
  2390.         <Variable name="startupitem" expression="Item[Data[@name='managementObjectsProperty'] = 'FileName']/Data[@name='managementObjectsValue']"/>
  2391.         <Variable name="command" expression="Item[Data[@name='managementObjectsProperty'] = 'Name']/Data[@name='managementObjectsValue']"/>
  2392.         <Exists>
  2393.           <Otherwise>
  2394.             <Insert select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TableStartup']">
  2395.               <Node axis="child">
  2396.                 <Item>
  2397.                   <Data name="HeaderStartupItem">{startupitem}</Data>
  2398.                   <Data name="HeaderCommand">{command}</Data>
  2399.                 </Item>
  2400.               </Node>
  2401.             </Insert>
  2402.           </Otherwise>
  2403.         </Exists>
  2404.         <Otherwise/>
  2405.       </Step>
  2406.     </Rule>
  2407.     <Rule name="$(RuleDesktopRating)" enabled="true">
  2408.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item">
  2409.         <Variable name="cpurating" expression="../Item[Data[@name='managementObjectsProperty'] = 'CPUScore']/Data[@name='managementObjectsValue']"/>
  2410.         <Exists>
  2411.           <When expression="{cpurating} < 2">
  2412.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2413.             <Variable name="severitymsg">Information</Variable>
  2414.             <Variable name="msgstring">$(LOC_CPUScore)</Variable>
  2415.             <Variable name="msglink">$(LinkPerformanceDiagnosis)</Variable>
  2416.             <Warning tag="RuleDesktopRating_79_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item[Data[@name='managementObjectsProperty'] = 'CPUScore']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='info']">
  2417.               <Item>
  2418.                 <Data name="severity" img="info" link="RuleDesktopRating_79_{internalruleindex}" message="RuleDesktopRating_79_{internalruleindex}" translate="value">{severitymsg}</Data>
  2419.                 <Data name="warning" message="RuleDesktopRating_79_{internalruleindex}">{msgstring}</Data>
  2420.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70109">{msglink}</Data>
  2421.               </Item>
  2422.             </Warning>
  2423.           </When>
  2424.           <Otherwise/>
  2425.         </Exists>
  2426.         <Otherwise/>
  2427.       </Step>
  2428.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item">
  2429.         <Variable name="gamingrating" expression="../Item[Data[@name='managementObjectsProperty'] = 'D3DScore']/Data[@name='managementObjectsValue']"/>
  2430.         <Exists>
  2431.           <When expression="{gamingrating} < 2">
  2432.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2433.             <Variable name="severitymsg">Information</Variable>
  2434.             <Variable name="msgstring">$(LOC_D3DScore)</Variable>
  2435.             <Variable name="msglink">$(LinkPerformanceDiagnosis)</Variable>
  2436.             <Warning tag="RuleDesktopRating_80_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item[Data[@name='managementObjectsProperty'] = 'D3DScore']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='info']">
  2437.               <Item>
  2438.                 <Data name="severity" img="info" link="RuleDesktopRating_80_{internalruleindex}" message="RuleDesktopRating_80_{internalruleindex}" translate="value">{severitymsg}</Data>
  2439.                 <Data name="warning" message="RuleDesktopRating_80_{internalruleindex}">{msgstring}</Data>
  2440.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70110">{msglink}</Data>
  2441.               </Item>
  2442.             </Warning>
  2443.           </When>
  2444.           <Otherwise/>
  2445.         </Exists>
  2446.         <Otherwise/>
  2447.       </Step>
  2448.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item">
  2449.         <Variable name="graphicsrating" expression="../Item[Data[@name='managementObjectsProperty'] = 'GraphicsScore']/Data[@name='managementObjectsValue']"/>
  2450.         <Exists>
  2451.           <When expression="{graphicsrating} < 2">
  2452.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2453.             <Variable name="severitymsg">Information</Variable>
  2454.             <Variable name="msgstring">$(LOC_GraphicsScore)</Variable>
  2455.             <Variable name="msglink">$(LinkPerformanceDiagnosis)</Variable>
  2456.             <Warning tag="RuleDesktopRating_81_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item[Data[@name='managementObjectsProperty'] = 'GraphicsScore']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='info']">
  2457.               <Item>
  2458.                 <Data name="severity" img="info" link="RuleDesktopRating_81_{internalruleindex}" message="RuleDesktopRating_81_{internalruleindex}" translate="value">{severitymsg}</Data>
  2459.                 <Data name="warning" message="RuleDesktopRating_81_{internalruleindex}">{msgstring}</Data>
  2460.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70111">{msglink}</Data>
  2461.               </Item>
  2462.             </Warning>
  2463.           </When>
  2464.           <Otherwise/>
  2465.         </Exists>
  2466.         <Otherwise/>
  2467.       </Step>
  2468.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item">
  2469.         <Variable name="diskrating" expression="../Item[Data[@name='managementObjectsProperty'] = 'DiskScore']/Data[@name='managementObjectsValue']"/>
  2470.         <Exists>
  2471.           <When expression="{diskrating} < 2">
  2472.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2473.             <Variable name="severitymsg">Information</Variable>
  2474.             <Variable name="msgstring">$(LOC_DiskScore)</Variable>
  2475.             <Variable name="msglink">$(LinkPerformanceDiagnosis)</Variable>
  2476.             <Warning tag="RuleDesktopRating_82_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item[Data[@name='managementObjectsProperty'] = 'DiskScore']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='info']">
  2477.               <Item>
  2478.                 <Data name="severity" img="info" link="RuleDesktopRating_82_{internalruleindex}" message="RuleDesktopRating_82_{internalruleindex}" translate="value">{severitymsg}</Data>
  2479.                 <Data name="warning" message="RuleDesktopRating_82_{internalruleindex}">{msgstring}</Data>
  2480.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70112">{msglink}</Data>
  2481.               </Item>
  2482.             </Warning>
  2483.           </When>
  2484.           <Otherwise/>
  2485.         </Exists>
  2486.         <Otherwise/>
  2487.       </Step>
  2488.       <Step select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item">
  2489.         <Variable name="memoryrating" expression="../Item[Data[@name='managementObjectsProperty'] = 'MemoryScore']/Data[@name='managementObjectsValue']"/>
  2490.         <Exists>
  2491.           <When expression="{memoryrating} < 2">
  2492.             <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  2493.             <Variable name="severitymsg">Information</Variable>
  2494.             <Variable name="msgstring">$(LOC_MemoryScore)</Variable>
  2495.             <Variable name="msglink">$(LinkPerformanceDiagnosis)</Variable>
  2496.             <Warning tag="RuleDesktopRating_83_{internalruleindex}" select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfDesktopRating']/Item/Item/Item[Data[@name='managementObjectsProperty'] = 'MemoryScore']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='info']">
  2497.               <Item>
  2498.                 <Data name="severity" img="info" link="RuleDesktopRating_83_{internalruleindex}" message="RuleDesktopRating_83_{internalruleindex}" translate="value">{severitymsg}</Data>
  2499.                 <Data name="warning" message="RuleDesktopRating_83_{internalruleindex}">{msgstring}</Data>
  2500.                 <Data name="related" url="http://go.microsoft.com/fwlink/?LinkID=70113">{msglink}</Data>
  2501.               </Item>
  2502.             </Warning>
  2503.           </When>
  2504.           <Otherwise/>
  2505.         </Exists>
  2506.         <Otherwise/>
  2507.       </Step>
  2508.     </Rule>
  2509.     <Rule name="$(RulePerfCleanup)" enabled="true">
  2510.       <Step select="/Report">
  2511.         <Exists>
  2512.           <Otherwise>
  2513.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfInteractiveSessionProcess']"/>
  2514.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfInteractiveSession']"/>
  2515.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfProcess']"/>
  2516.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfLoggedOnUsers']"/>
  2517.             <Delete select="/Report/Section[@name='SystemConfig']/Table[@name='TablePerfUserAccounts']"/>
  2518.             <Delete select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TablePerfStartupRegistry']"/>
  2519.             <Delete select="/Report/Section[@name='SectionSoftwareConfig']/Table[@name='TablePerfStartupPrograms']"/>
  2520.           </Otherwise>
  2521.         </Exists>
  2522.       </Step>
  2523.     </Rule>
  2524.   </Group>
  2525.   <StringTable>
  2526.     <String ID="GroupDiagnosticsSetup">Basic Troubleshooter Group Setup</String>
  2527.     <String ID="GroupBasic">Basic Troubleshooter Rules</String>
  2528.     <String ID="RuleDiskSummary">Disk Check Summary</String>
  2529.     <String ID="RuleUpdateCounterSections" loc.comment="Marked as not seen anywhere">Add Name to Nameless Coutner Sections</String>
  2530.     <String ID="RuleAddWarningTable" loc.comment="Marked as not seen anywhere">Create Top Warning Table</String>
  2531.     <String ID="RuleDiagnosticsSetup">Basic Troubleshooter Rules Setup</String>
  2532.     <String ID="RuleInsertSections" loc.comment="Marked as not seen anywhere">Insert Sections</String>
  2533.     <String ID="RuleBasicInsert" loc.comment="Rule name for inserting general Support Information into final report">Insert Support Information table into final report</String>
  2534.     <String ID="RuleDiskSetup" loc.comment="Rule name for setting up the summary group for Disk in the Rules Summary Table">Disk Summary Table Setup</String>
  2535.     <String ID="RuleSuccessLogicalDiskDirty" loc.comment="Rule name for checking for the Logical Disk Dirty Bit being set">Logical Disk Dirty Bit Check</String>
  2536.     <String ID="RuleSuccessSMARTCheck" loc.comment="Rule name for checking for the SMART status of disks in the system">SMART Predict Failure Check</String>
  2537.     <String ID="RuleSuccessDiskFreeSpace" loc.comment="Rule name for checking for the amount of free disk space per drive">Free Disk Space Available</String>
  2538.     <String ID="RuleOSSetup" loc.comment="Rule name for setting up the summary group for OS in the Rules Summary Table">OS Summary Table Setup</String>
  2539.     <String ID="RuleSuccessOSVersionCheck" loc.comment="Rule name for checking for OS Version">OS Version Check</String>
  2540.     <String ID="RuleAddressWidthCheck" loc.comment="Rule name for checking for OS architecture against hardware">OS Architecture Check</String>
  2541.     <String ID="RuleOSSummary" loc.comment="Rule name for setting up the summary group for OS in the Rules Summary Table">OS Summary Table Summary</String>
  2542.     <String ID="RuleSuccessService" loc.comment="Rule name for checking for abnormally stopped services">Abnormally Terminated Services Check</String>
  2543.     <String ID="RuleSecurityCenterSetup" loc.comment="Rule name for setting up the summary group for Security Center in the Rules Summary Table">Security Center Summary Table Setup</String>
  2544.     <String ID="RuleSecurityCenterSummary" loc.comment="Rule name for summarizing the Security Center rules run in the Rules Summary Table">Security Center Summary</String>
  2545.     <String ID="RuleSuccessLUA" loc.comment="Rule name for checking to see if user has LUA enabled or not">User Account Control Enabled Check</String>
  2546.     <String ID="RuleSuccessWU" loc.comment="Rule name for checking to see if user has WU enabled or not">Windows Update Enabled Check</String>
  2547.     <String ID="RuleSuccessAntiSpywareCheck" loc.comment="Rule name for checking to see if anti-spyware is enabled and up-to-date">Anti-Spyware Check</String>
  2548.     <String ID="RuleSuccessAntiVirusCheck" loc.comment="Rule name for checking to see if anti-virus is enabled and up-to-date">Anti-Virus Check</String>
  2549.     <String ID="RuleSuccessFirewallCheck" loc.comment="Rule name for checking to see if firewall is enabled and up-to-date">Firewall Check</String>
  2550.     <String ID="RuleBasicCleanup" loc.comment="Rule name for cleaning up tables in Basic System Information">Support Information Cleanup</String>
  2551.     <String ID="RuleCheckWorkstationService" loc.comment="Name of rule that checks the status of the workstation service seen in WPDC">Workstation Service Check</String>
  2552.     <String ID="LOC_Workstation" loc.comment="Name of workstation service seen in report">LanmanWorkstation</String>
  2553.     <String ID="LOC_RuleCheckWorkstationService" loc.comment="Name of check for the status of the workstation service seen in WPDC">Workstation Service Check</String>
  2554.     <String ID="LOC_Test_RuleSuccessLogicalDiskDirty" loc.comment="Test name description checking for the Logical Disk Dirty Bit being set">Logical Disk Dirty Bit Check</String>
  2555.     <String ID="LOC_Test_RuleSuccessSMARTCheck" loc.comment="Test name description checking for the SMART status of disks in the system">SMART Predict Failure Check</String>
  2556.     <String ID="LOC_Test_RuleSuccessDiskFreeSpace" loc.comment="Test name description checking for the amount of free disk space per drive">Free Disk Space Available {diskname}</String>
  2557.     <String ID="LOC_Test_RuleSuccessOSVersionCheck" loc.comment="Test name description checking for OS Version">OS Version Check</String>
  2558.     <String ID="LOC_Test_RuleSuccessService" loc.comment="Test name description checking for abnormally stopped services">Abnormally Terminated Services Check</String>
  2559.     <String ID="LOC_Test_RuleSuccessLUA" loc.comment="Test name description checking to see if user has LUA enabled or not">User Account Control Enabled Check</String>
  2560.     <String ID="LOC_Test_RuleSuccessWU" loc.comment="Test name description checking to see if user has WU enabled or not">Windows Update Enabled Check</String>
  2561.     <String ID="LOC_TableBasicServiceSummary" loc.comment="Title used to describe table of System Services Checks">System Service Checks</String>
  2562.     <String ID="LOC_TableBasicOSSummary" loc.comment="Title used to describe table with Operating System Checks">OS Checks</String>
  2563.     <String ID="LOC_TableBasicDiskSummary" loc.comment="Title used to describe table with Disk Checks">Disk Checks</String>
  2564.     <String ID="LOC_TableBasicSecurityCenterGroupSummary" loc.comment="Title used to describe Summary Table Group for Security Center Tests">Security Center Tests</String>
  2565.     <String ID="LOC_DescOSSummary" loc.comment="Description of the Operation System Summary Group in Rules Summary Table">Checks for attributes of the operating system</String>
  2566.     <String ID="LOC_DescServicesSummary" loc.comment="Description of the System Services Summary Group in Rules Summary Table">Checks for state of system services</String>
  2567.     <String ID="LOC_DescDiskSummary" loc.comment="Description of the Disk Summary Group in the Rules Summary Table">Checks for disk status</String>
  2568.     <String ID="LOC_DescSecurityCenterSummary" loc.comment="Description of the Security Center Summary Group in the Rules Summary Table">Checks for state of Security Center related information.</String>
  2569.     <String ID="LOC_DescDiskFreeSpace" loc.comment="Description of the disk free space check results">Drive {diskname} has {freediskpercent}% free disk space [{freediskspacemb} MB]</String>
  2570.     <String ID="LOC_Test_CheckAntiVirusEnabled" loc.comment="Test that checks to see if there is at least one anti-virus product with on access scanning enabled on the machine">Check for Anti-Virus Product with on access scanning enabled.</String>
  2571.     <String ID="LOC_Test_CheckAntiVirusUpToDate" loc.comment="Test that checks to see if that the anti-virus product is used is up-to-date">Check that Anti-Virus Product is up-to-date.</String>
  2572.     <String ID="LOC_Test_CheckAntiSpywareEnabled" loc.comment="Test that checks to see if there is at least one anti-spyware product that is enabled on the machine">Check for Anti-Spyware Product that is enabled.</String>
  2573.     <String ID="LOC_Test_CheckAntiSpywareUpToDate" loc.comment="Test that checks to see if that the anti-spyware product is used is up-to-date">Check that Anti-Spyware Product is up-to-date.</String>
  2574.     <String ID="LOC_Test_CheckFirewallEnabled" loc.comment="Test that checks to see if there is at least one firewall product that is enabled on the machine">Check for Firewall Product that is enabled.</String>
  2575.     <String ID="LOC_Failed" loc.comment="Text to display when a rule or group of rules failed">Failed</String>
  2576.     <String ID="LOC_Passed" loc.comment="Text to display when a rule or group of rules passed">Passed</String>
  2577.     <String ID="LOC_Running" loc.comment="String that matches the running state for a service">Running</String>
  2578.     <String ID="WarnFailCheckWorkstationServiceAbnormallyStopped_symptom" loc.comment="Symptom string for warning message: WarnFailCheckWorkstationServiceAbnormallyStopped">The Workstation service has stopped abnormally.</String>
  2579.     <String ID="WarnFailCheckWorkstationServiceAbnormallyStopped_cause" loc.comment="Cause string for warning message: WarnFailCheckWorkstationServiceAbnormallyStopped">Application Error. Exit code {exitcode}.</String>
  2580.     <String ID="WarnFailCheckWorkstationServiceAbnormallyStopped_res1" loc.comment="Resolution string for warning message: WarnFailCheckWorkstationServiceAbnormallyStopped">Restart the service</String>
  2581.     <String ID="WarnFailCheckWorkstationServiceAbnormallyStopped_related1">System Diagnosis</String>
  2582.     <String ID="WarnFailServiceNotFound_symptom" loc.comment="Symptom string for warning message: WarnFailServiceNotFound">Service {servicename} not found in system services.</String>
  2583.     <String ID="WarnFailServiceNotFound_cause" loc.comment="Cause string for warning message: WarnFailServiceNotFound">Service not registered with system.</String>
  2584.     <String ID="WarnFailServiceNotFound_res1" loc.comment="Resolution string for warning message: WarnFailServiceNotFound">Register service with system.</String>
  2585.     <String ID="WarnFailServiceNotFound_related1">System Diagnosis</String>
  2586.     <String ID="WarnFailOSVersionCheck_symptom" loc.comment="Symptom string for warning message: WarnFailOSVersionCheck">This computer has failed the Operating System version check</String>
  2587.     <String ID="WarnFailOSVersionCheck_cause" loc.comment="Cause string for warning message: WarnFailOSVersionCheck">The Operating System on this computer is not Windows Vista</String>
  2588.     <String ID="WarnFailOSVersionCheck_details" loc.comment="Details string for warning message: WarnFailOSVersionCheck">OS Version string does not contain 6.0</String>
  2589.     <String ID="WarnFailOSVersionCheck_res1" loc.comment="Resolution string for warning message: WarnFailOSVersionCheck">Verify the Operating System by running winver.exe.</String>
  2590.     <String ID="WarnFailOSVersionCheck_related1">Operating System version</String>
  2591.     <String ID="WarnFailOSAddressWidthCheck_symptom" loc.comment="Symptom string for warning message: WarnFailOSAddressWidthCheck">This computer has failed the Operating System architecture check</String>
  2592.     <String ID="WarnFailOSAddressWidthCheck_cause" loc.comment="Cause string for warning message: WarnFailOSAddressWidthCheck">The architecture for the installed Operating System is not recommended for this hardware</String>
  2593.     <String ID="WarnFailOSAddressWidthCheck_details" loc.comment="Details string for warning message: WarnFailOSAddressWidthCheck">The Operating System architecture is {osarchitecture} whereas the Processor address width is {processorwidth} bit.</String>
  2594.     <String ID="WarnFailOSAddressWidthCheck_res1" loc.comment="Resolution string for warning message: WarnFailOSAddressWidthCheck">Consider reinstalling a {processorwidth} bit Operating System for greater performance</String>
  2595.     <String ID="WarnFailOSAddressWidthCheck_related1">Hardware Compatibility</String>
  2596.     <String ID="WarnFailLogicalDiskDirty_symptom" loc.comment="Symptom string for warning message: WarnFailLogicalDiskDirty">The VolumeDirty flag is set on the disk</String>
  2597.     <String ID="WarnFailLogicalDiskDirty_cause" loc.comment="Cause string for warning message: WarnFailLogicalDiskDirty">A logical disk has the dirty bit set.</String>
  2598.     <String ID="WarnFailLogicalDiskDirty_details" loc.comment="Details string for warning message: WarnFailLogicalDiskDirty">This disk has been marked as dirty, it may be experiencing errors or might have not been shut down correctly</String>
  2599.     <String ID="WarnFailLogicalDiskDirty_res1" loc.comment="Resolution string for warning message: WarnFailLogicalDiskDirty">1. Run chkdsk on the drive and document any errors identified.</String>
  2600.     <String ID="WarnFailLogicalDiskDirty_res2" loc.comment="Resolution string for warning message: WarnFailLogicalDiskDirty">2. If chkdsk determines that there are errors on the drive run chkdsk /f to repair the errors.</String>
  2601.     <String ID="WarnFailLogicalDiskDirty_related1">Disk Diagnosis</String>
  2602.     <String ID="WarnFailService_symptom" loc.comment="Symptom string for warning message: WarnFailService">A service is reported as having an unexpected error code</String>
  2603.     <String ID="WarnFailService_cause" loc.comment="Cause string for warning message: WarnFailService">One or more services has failed. The service did not stop gracefully, suggesting the service may have crashed or one of its components stopped in an unsupported way.</String>
  2604.     <String ID="WarnFailService_details" loc.comment="Details string for warning message: WarnFailService">Service exited with code not equal to 0 or 1077</String>
  2605.     <String ID="WarnFailService_res1" loc.comment="Resolution string for warning message: WarnFailService">Restart the service</String>
  2606.     <String ID="WarnFailService_related1">Performance Diagnosis</String>
  2607.     <String ID="WarnFailSMARTCheck_symptom" loc.comment="Symptom string for warning message: WarnFailSMARTCheck">The PredictFailure flag is set on the disk </String>
  2608.     <String ID="WarnFailSMARTCheck_cause" loc.comment="Cause string for warning message: WarnFailSMARTCheck">A logical disk has the SMART Predict Failure bit set.</String>
  2609.     <String ID="WarnFailSMARTCheck_details" loc.comment="Details string for warning message: WarnFailSMARTCheck">This disk is experiencing a problem and predicts that the drive will fail.  </String>
  2610.     <String ID="WarnFailSMARTCheck_res1" loc.comment="Resolution string for warning message: WarnFailSMARTCheck">1. Back up any critical data on this drive.</String>
  2611.     <String ID="WarnFailSMARTCheck_res2" loc.comment="Resolution string for warning message: WarnFailSMARTCheck">2. After backing up your data you can attempt to run chkdsk /f to repair minor errors.  Do not run chkdsk /f on the drive unless the data has been backed up. Data loss may occur if the drive is experiencing physical failure.</String>
  2612.     <String ID="WarnFailSMARTCheck_related1">Disk Diagnosis</String>
  2613.     <String ID="WarnFailDiskSpaceFree_symptom" loc.comment="Symptom string for warning message: WarnFailDiskSpaceFree">{diskname} has less than {minfreediskpercent}% free disk space</String>
  2614.     <String ID="WarnFailDiskSpaceFree_cause" loc.comment="Cause string for warning message: WarnFailDiskSpaceFree">A logical disk has a low amount of free disk space.</String>
  2615.     <String ID="WarnFailDiskSpaceFree_details" loc.comment="Details string for warning message: WarnFailDiskSpaceFree">{diskname} has {freediskspacemb} MB free disk space. There is {freediskpercent}% free.  Low disk space may cause poor performance and low virtual memory errors</String>
  2616.     <String ID="WarnFailDiskSpaceFree_res1" loc.comment="Resolution string for warning message: WarnFailDiskSpaceFree">1. Verify disk space is low by viewing the drive using "Computer" from the Start menu.</String>
  2617.     <String ID="WarnFailDiskSpaceFree_res2" loc.comment="Resolution string for warning message: WarnFailDiskSpaceFree">2. Back up non-critical files and then remove them from the drive.</String>
  2618.     <String ID="WarnFailDiskSpaceFree_res3" loc.comment="Resolution string for warning message: WarnFailDiskSpaceFree">3. Perform a disk cleanup.</String>
  2619.     <String ID="WarnFailSystemDiskSpaceFree_symptom" loc.comment="Symptom string for warning message: WarnFailSystemDiskSpaceFree">{diskname} has less than {minfreediskpercent}% free or less than {minfreediskspacemb} MB disk space</String>
  2620.     <String ID="WarnFailSystemDiskSpaceFree_cause" loc.comment="Cause string for warning message: WarnFailSystemDiskSpaceFree">The main system disk is low on space.</String>
  2621.     <String ID="WarnFailSystemDiskSpaceFree_details" loc.comment="Details string for warning message: WarnFailSystemDiskSpaceFree">{diskname} has {freediskspacemb} MB of free disk space. There is {freediskpercent}% free.</String>
  2622.     <String ID="WarnFailSystemDiskSpaceFree_res1" loc.comment="Resolution string for warning message: WarnFailSystemDiskSpaceFree">1. Verify disk space is low by viewing the drive in using "Computer" from the Start menu.</String>
  2623.     <String ID="WarnFailSystemDiskSpaceFree_res2" loc.comment="Resolution string for warning message: WarnFailSystemDiskSpaceFree">2. Back up non-critical files and then remove them from the drive.</String>
  2624.     <String ID="WarnFailSystemDiskSpaceFree_res3" loc.comment="Resolution string for warning message: WarnFailSystemDiskSpaceFree">3. Perform a disk cleanup.</String>
  2625.     <String ID="WarnFailDiskSpaceFree_related1">Free up disk space</String>
  2626.     <String ID="WarnFailLUA_symptom" loc.comment="Symptom string for warning message: WarnFailLUA">The Security Center reports that User Access Control is disabled.</String>
  2627.     <String ID="WarnFailLUA_cause" loc.comment="Cause string for warning message: WarnFailLUA">User Access Control is disabled. It is highly recommended that you run Vista with User Access Control enabled.</String>
  2628.     <String ID="WarnFailLUA_res1" loc.comment="Resolution string for warning message: WarnFailLUA">Enable User Access Control using the Security Center.</String>
  2629.     <String ID="WarnFailLUA_related1">User Acess Control</String>
  2630.     <String ID="WarnFailWU_symptom" loc.comment="Symptom string for warning message: WarnFailWU">The Security Center reports that Windows Update is disabled.</String>
  2631.     <String ID="WarnFailWU_cause" loc.comment="Cause string for warning message: WarnFailWU">Windows Update is disabled. It is highly recommended that you run Vista with Windows Update enabled.</String>
  2632.     <String ID="WarnFailWU_res1" loc.comment="Resolution string for warning message: WarnFailWU">1. Enable Windows Update in the Security Center.</String>
  2633.     <String ID="WarnFailWU_related1">Windows Update</String>
  2634.     <String ID="WarnFailAntiVirusCheckEnabled_symptom" loc.comment="Symptom string for warning message: WarnFailAntiVirusCheckEnabled">The Security Center reports that there is no anti-virus product actively protecting this system.</String>
  2635.     <String ID="WarnFailAntiVirusCheckEnabled_cause" loc.comment="Cause string for warning message: WarnFailAntiVirusCheckEnabled">The Security Center has reported that on-access virus scanning is disabled. Either on-access scanning is disabled, or the anti-virus application is not recognized.</String>
  2636.     <String ID="WarnFailAntiVirusCheckEnabled_res1" loc.comment="Resolution string for warning message: WarnFailAntiVirusCheckEnabled">Verify that an anti-virus product is installed.</String>
  2637.     <String ID="WarnFailAntiVirusUnknown_symptom" loc.comment="Symptom string for warning message: WarnFailAntiVirusUnknown">The Security Center has not recorded an anti-virus product.</String>
  2638.     <String ID="WarnFailAntiVirusUnknown_cause" loc.comment="Cause string for warning message: WarnFailAntiVirusUnknown">The Security Center is unable to identify an active anti-virus application. Either there is no anti-virus product installed or it is not recognized.</String>
  2639.     <String ID="WarnFailAntiVirusUnknown_res1" loc.comment="Resolution string for warning message: WarnFailAntiVirusUnknown">1. Verify that an anti-virus product is installed.</String>
  2640.     <String ID="WarnFailAntiVirusUnknown_res2" loc.comment="Resolution string for warning message: WarnFailAntiVirusUnknown">2. If an anti-virus product is installed and functioning configure Security Center to stop monitoring anti-virus status.</String>
  2641.     <String ID="WarnFailAntiVirusCheckUpToDate_symptom" loc.comment="Symptom string for warning message: WarnFailAntiVirusCheckUpToDate">The Security Center has recorded that the anti-virus product: {antivirusproduct} is not up-to-date.</String>
  2642.     <String ID="WarnFailAntiVirusCheckUpToDate_cause" loc.comment="Cause string for warning message: WarnFailAntiVirusCheckUpToDate">{antivirusproduct} is not up-to-date.  It is highly recommended that you run Vista with an anti-virus product that is as up-to-date as possible.</String>
  2643.     <String ID="WarnFailAntiVirusCheckUpToDate_details" loc.comment="Details string for warning message: WarnFailAntiVirusCheckUpToDate">Anti-virus product registered with the Security Center reports that it is not up-to-date.</String>
  2644.     <String ID="WarnFailAntiVirusCheckUpToDate_res1" loc.comment="Resolution string for warning message: WarnFailAntiVirusCheckUpToDate">Refer to the product documentation or manufacturer of {antivirusproduct} for information on how to get up-to-date.</String>
  2645.     <String ID="WarnFailAntiSpywareUnknown_symptom" loc.comment="Symptom string for warning message: WarnFailAntiSpywareUnknown">The Security Center has not recorded an anti-spyware product.</String>
  2646.     <String ID="WarnFailAntiSpywareUnknown_cause" loc.comment="Cause string for warning message: WarnFailAntiSpywareUnknown">The Security Center is unable to identify an active anti-spyware application. Either there is no anti-spyware product installed, or it is not recognized.</String>
  2647.     <String ID="WarnFailAntiSpywareUnknown_res1" loc.comment="Resolution string for warning message: WarnFailAntiSpywareUnknown">1. Verify that an anti-spyware product is installed.</String>
  2648.     <String ID="WarnFailAntiSpywareUnknown_res2" loc.comment="Resolution string for warning message: WarnFailAntiSpywareUnknown">2. If an anti-spyware product is installed and functioning configure Security Center to stop monitoring anti-spyware status.</String>
  2649.     <String ID="WarnFailAntiSpywareCheckEnabled_symptom" loc.comment="Symptom string for warning message: WarnFailAntiSpywareCheckEnabled">The Security Center reports that there is no anti-spyware product actively protecting this system.</String>
  2650.     <String ID="WarnFailAntiSpywareCheckEnabled_cause" loc.comment="Cause string for warning message: WarnFailAntiSpywareCheckEnabled">The Security Center has reported that on-access spyware scanning is disabled. Either on-access scanning is disabled, or the anti-spyware application is not recognized.</String>
  2651.     <String ID="WarnFailAntiSpywareCheckEnabled_res1" loc.comment="Resolution string for warning message: WarnFailAntiSpywareCheckEnabled">1. Verify that an anti-spyware product is installed.</String>
  2652.     <String ID="WarnFailAntiSpywareCheckEnabled_res2" loc.comment="Resolution string for warning message: WarnFailAntiSpywareCheckEnabled">2. If an anti-spyware product is installed and functioning configure Security Center to stop monitoring anti-spyware status.</String>
  2653.     <String ID="WarnFailAntiSpywareCheckUpToDate_symptom" loc.comment="Symptom string for warning message: WarnFailAntiSpywareCheckUpToDate">The Security Center has recorded that the anti-spyware product: {antispywareproduct} is not up-to-date.</String>
  2654.     <String ID="WarnFailAntiSpywareCheckUpToDate_cause" loc.comment="Cause string for warning message: WarnFailAntiSpywareCheckUpToDate">{antispywareproduct} is not up-to-date.  It is highly recommended that you run Vista with an anti-spyware product that is as up-to-date as possible.</String>
  2655.     <String ID="WarnFailAntiSpywareCheckUpToDate_details" loc.comment="Details string for warning message: WarnFailAntiSpywareCheckUpToDate">The Anti-spyware product registered with the Security Center reports that it is not up-to-date.</String>
  2656.     <String ID="WarnFailAntiSpywareCheckUpToDate_res1" loc.comment="Resolution string for warning message: WarnFailAntiSpywareCheckUpToDate">Refer to the product documentation or manufacturer of {antispywareproduct} for information on how to get up-to-date.</String>
  2657.     <String ID="WarnFailFirewallEnabled_symptom" loc.comment="Symptom string for warning message: WarnFailFirewallEnabled">The Security Center reports that there is no firewall product actively protecting this system.</String>
  2658.     <String ID="WarnFailFirewallEnabled_cause" loc.comment="Cause string for warning message: WarnFailFirewallEnabled">A firewall product is not enabled on this system. It is highly recommended you run Vista with one enabled firewall product.</String>
  2659.     <String ID="WarnFailFirewallEnabled_details" loc.comment="Details string for warning message: WarnFailFirewallEnabled">No Firewall products registered with the Security Center reports that it is enabled.</String>
  2660.     <String ID="WarnFailFirewallEnabled_res1" loc.comment="Resolution string for warning message: WarnFailFirewallEnabled">1. Verify that a firewall product is installed.</String>
  2661.     <String ID="WarnFailFirewallEnabled_res2" loc.comment="Resolution string for warning message: WarnFailFirewallEnabled">2. If you are using a 3rd party firewall that does not register with the Security Center you can configure Security Center not to monitor this setting.</String>
  2662.     <String ID="WarnFailFirewallEnabled_res3" loc.comment="Resolution string for warning message: WarnFailFirewallEnabled">3. If you do not have a firewall product installed you should enable the Windows Firewall.</String>
  2663.     <String ID="LinkAntiSpyware">Anti-spyware</String>
  2664.     <String ID="LinkAntiVirus">Anti-virus</String>
  2665.     <String ID="LinkFirewall">Firewall</String>
  2666.     <String ID="LinkPerformanceDiagnosis">Performance Diagnosis</String>
  2667.     <String ID="GroupTrbTbl" loc.comment="Name of PLA rules group">WMI Performance Queries</String>
  2668.     <String ID="RuleTrbInsert" loc.comment="Name of rule that inserts performance sections and tables seen in WPDC">Insert Configuration table into final report</String>
  2669.     <String ID="RuleListInteractiveSessionProcesses" loc.comment="Name of rule that lists all the interactive processes seen in WPDC">Create table of interactive session processes</String>
  2670.     <String ID="RuleListStartupPrograms" loc.comment="Name of rule that lists all the startup programs seen in WPDC">Startup Programs</String>
  2671.     <String ID="RulePerfCleanup" loc.comment="Name of rule that removes all the unwanted performance tables seen in WPDC">Cleanup unwanted performance tables</String>
  2672.     <String ID="RuleDesktopRating" loc.comment="Name of rule that summarizes the desktop rating seen in WPDC">Desktop Rating</String>
  2673.     <String ID="LOC_CPUScore" loc.comment="Informational warning for poor CPU score seen in report">The "CPU" rating for the system is poor and may be the cause of performance problems. Reducing the number of open applications may improve system performance. Check for unnecessary startup applications and disable those that are not required. If the problem continues the CPU may need to be upgraded.</String>
  2674.     <String ID="LOC_D3DScore" loc.comment="Informational warning for poor D3D score seen in report">The "Gaming graphics" rating for the system is poor and may be the cause of performance problems in multimedia applications or games. Disabling Aero Glass may improve performance in multimedia applications or games. If the problem continues the display adapter may need an updated driver or may need to be upgraded.</String>
  2675.     <String ID="LOC_GraphicsScore" loc.comment="Informational warning for poor Graphics score seen in report">The "Graphics" rating for the system is poor and may be the cause of performance problems. Disabling Desktop Composition or reducing screen resolution may improve graphical performance. If the problem continues the display adapter may need an updated driver or may need to be upgraded. </String>
  2676.     <String ID="LOC_DiskScore" loc.comment="Informational warning for poor Disk score seen in report">The "Disk" rating for the system is poor and may be the cause of performance problems. Reducing the number of open applications may improve system performance. Ensure the disk has adequate free space and is defragmented. Check for unnecessary startup applications and disable those that are not required. If the problem continues the disk may need to be upgraded.</String>
  2677.     <String ID="LOC_MemoryScore" loc.comment="Informational warning for poor Memory score seen in report">The "Memory" rating for the system is very poor and may be the cause for performance issues.  Reducing the number of open applications may improve system performance. Check for unnecessary startup applications and disable those that are not required.  If the problem continues the memory may need to be upgraded.</String>
  2678.     <String ID="LOC_MultipleLoggedOnUsers" loc.comment="Informational warning for multiple logged on users seen in report">Multiple users are logged on to the machine and this may be the cause of performance problems. Log off any inactive users to reclaim system resources.</String>
  2679.     <String ID="WarnListInteractiveSessionProcesses_related1">Performance Diagnosis</String>
  2680.   </StringTable>
  2681. </Rules>
  2682.