| Previous | Next |
| HNS_INVALID_ENDPOINT | HNS_INVALID_POLICY_TYPE |
HNS_INVALID_POLICY
HNS_INVALID_POLICY is an HRESULT used by Windows Host Networking Service (HNS). It indicates that the policy has missing fields, invalid values, or a combination unsupported by its target.
What to check for HNS_INVALID_POLICY
- Validate the policy schema and required fields for the intended network, endpoint, or port.
- Check that referenced IP addresses, ports, protocols, and endpoint identifiers are valid.
- Apply policies one at a time when isolating an incompatible or malformed rule.
Microsoft documentation on Windows container networking and HNS
Looking for a different code? Search another status or error code.