| Previous | Next |
| HNS_INVALID_POLICY | HNS_INVALID_REMOTE_ENDPOINT_OPERATION |
HNS_INVALID_POLICY_TYPE
HNS_INVALID_POLICY_TYPE is an HRESULT used by Windows Host Networking Service (HNS). It indicates that the specified policy type is unknown or unsupported for the target HNS object.
What to check
- Use the policy type defined by the HNS or HCN schema for the selected object and network mode.
- Check the host Windows version because policy availability can depend on the installed platform.
- Do not reuse policy JSON intended for a different networking driver without validating it.
Microsoft documentation on Windows container networking and HNS
Looking for a different code? Search another status or error code.