Exclude Applications from Requesting a Cab

A list of AppNames to exclude collecting cab files from may be configured for the Error Reporting Web Services. This list takes precedence over rules.xml configurations such as matching EventType.

A semi-colon ';' delimited list may be specified in D:\ERWS_Website\web.config in the ExcludedApplications value.

This functionality will send a MemoryDump=0 flag in the WER Response to any S1 request in which the value matches the value specified in D:\ERWS_Website\web.config.

This feature is to be primarily used to:

  • Protect Organizational PII from low risk applications.
  • Minimize bandwidth consumption from unstable applications which another fix is not likely available.

Any use of this feature should be coordinated with Microsoft support to determine if it is the best course of action for your organization.

Sample S1 Info: Parameter id=0 value=“calc.exe”

See the example where calc.exe is the value in parameter id=0. Calc.exe would will then be added to the ExcludedApplications appSetting in web.config.

XML Code

<WERREPORT xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <COLLECTORINFO id="00000000-0000-0000-0000-000000000001" cabrequested="true" />
  <USERINFO username="WINXP\user" />
  <MACHINEINFO machinename="WINXP" machineip="" os="5.1.2600" lcid="1033" oem="unknown" />
  <APPLICATIONINFO appname="calc.exe" apppath="unavailable" />
  <EVENTINFO reporttype="2" eventtime="131277794549840000" eventtype="BEX" friendlyeventname="BEX" />
    <PARAMETER id="0" name="Application Name" value="calc.exe" />
    <PARAMETER id="1" name="Application Version" value="5.1.2600.0" />
    <PARAMETER id="2" name="Application Timestamp" value="3b7d8410" />
    <PARAMETER id="3" name="Fault Module Name" value="unknown" />
    <PARAMETER id="4" name="Fault Module Version" value="" />
    <PARAMETER id="5" name="Fault Module Timestamp" value="00000000" />
    <PARAMETER id="6" name="Exception Code" value="00000000" />
    <PARAMETER id="7" name="Exception Offset" value="c0000005" />
    <PARAMETER id="8" name="Exception Info" value="00000008" />
  <FILES />
  <OriginalStream><![CDATA[<?xml version="1.0" encoding="UTF-16"?>...

Sample ExcludedApplications value:

XML Code

<add key="ExcludedApplications" value="calc.exe;internalapp.exe" />