ERROR_IPSEC_QM_POLICY_IN_USE - 13002 (0x32CA)
The specified quick mode policy is being used.
Updated: Feb 21, 2026
Technical Meaning
The ERROR_IPSEC_QM_POLICY_IN_USE error code indicates that a specified quick mode policy is currently in use. This means that the policy cannot be modified or deleted because it is actively being utilized by the IPsec service.
Error Details
This error typically occurs when an attempt is made to change or remove a quick mode policy that is already in operation. Quick mode policies are used for establishing secure connections between hosts, and they must remain active during the lifetime of the connection.
Usage Context
The context in which this error might occur includes scenarios such as:
- Attempting to modify an existing quick mode policy while a security association (SA) is established using that policy.
- Trying to delete a quick mode policy that is currently being used by an active IPsec connection.
Developer Interpretation
Developers should interpret this error code as indicating that the operation cannot proceed because the specified quick mode policy is in use. This typically means that any changes or deletions must wait until all associated security associations have been terminated and the policy can be safely modified or removed.
Related Errors
ERROR_IPSEC_SA_IN_USE(13004): Indicates that a security association is currently in use, preventing modification or deletion.ERROR_IPSEC_INVALID_POLICY(13005): Indicates an invalid policy was specified and cannot be used.
FAQ
Q: Can I modify the quick mode policy while it's in use?
A: No. The policy must remain active during the lifetime of any associated security associations, so modifications are not allowed until all SAs have been terminated.
Q: How can I resolve this error?
A: Ensure that no active connections or security associations are using the specified quick mode policy before attempting to modify or delete it.
Summary
The ERROR_IPSEC_QM_POLICY_IN_USE error code signifies that a quick mode policy is currently in use and cannot be modified. Developers should ensure all associated security associations have been terminated before making any changes to avoid this error.