| Previous | Next |
| HNS_GUID_CONVERSION_FAILURE | HNS_INVALID_JSON |
HNS_REGKEY_FAILURE
HNS_REGKEY_FAILURE is an HRESULT used by Windows Host Networking Service (HNS). It indicates that HNS could not read, write, or interpret registry data required for the operation.
What to check for HNS_REGKEY_FAILURE
- Inspect HNS and system event logs for a more specific registry, permission, or configuration failure.
- Check service-account access and avoid manually deleting HNS-related registry data.
- Repair the underlying host configuration before recreating networks or endpoints.
Microsoft documentation on Windows container networking and HNS
Diagnostic discriminator: Capture the exact registry operation and key used by HNS, then verify access and value format. This result is a registry-state failure inside HNS rather than a port or policy conflict.
Looking for a different code? Search another status or error code.