What does HRESULT 0x80320025 (FWP_E_INVALID_WEIGHT) mean?

 
Previous Next
FWP_E_INVALID_ACTION_TYPE FWP_E_MATCH_TYPE_MISMATCH

FWP_E_INVALID_WEIGHT

FWP_E_INVALID_WEIGHT means that the filter priority value is not valid. In WFP, weights affect the order in which filters are evaluated, so guessing a large numeric value merely to outrank another rule is both unreliable and capable of changing a security policy unexpectedly.

Understand the supplied form

The filter weight is an FWP_VALUE0. Microsoft documents supported forms including an explicit 64-bit weight, a range index, and FWP_EMPTY for automatic assignment based on filter conditions. The correct representation matters as much as the numeric value.

Recommended repair

  • Verify that the declared value type matches the intended weight strategy.
  • Use automatic weighting when the policy does not require a strict, documented priority relation.
  • When explicit precedence is required, define it inside the product’s own sublayer and test arbitration with the complete rule set.

Microsoft: WFP error codes · Microsoft: FWPM_FILTER0 weight forms · Microsoft: use a product-owned sublayer


Looking for a different code? Search another status or error code.