What does Windows error code 13004 (ERROR_IPSEC_MM_POLICY_NOT_FOUND) mean?

 
Previous Next
ERROR_IPSEC_MM_POLICY_EXISTS ERROR_IPSEC_MM_POLICY_IN_USE

ERROR_IPSEC_MM_POLICY_NOT_FOUND

ERROR_IPSEC_MM_POLICY_NOT_FOUND (0x000032CC) This indicates that a tool tried to read, change, or delete a Main Mode policy object that does not exist in the active policy store. The operation may target the wrong policy store, use a stale name, or run before Group Policy has applied.

What to check

  • Enumerate the active Main Mode rules and confirm the exact display name, policy store, and deployment source.
  • Check whether Group Policy refresh, policy removal, or a previous cleanup task already removed the object.
  • For automation, treat missing-on-delete as a state to reconcile rather than recreating unrelated IPsec policies.
Get-NetIPsecMainModeRule

Microsoft: Get-NetIPsecMainModeRule

Microsoft: IPsec/IKE system error codes


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