Microsoft KB Archive/313236

= HOW TO: Clear Existing IPSec Security Associations in Windows 2000 =

Article ID: 313236

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server

-



This article was previously published under Q313236



IN THIS TASK
SUMMARY
 * How to Clear Existing IPSec Security Associations by Using a Command Prompt
 * How to Clear Existing IPSec Security Associations by Using the GUI



SUMMARY
When you troubleshoot Internet Protocol security (IPSec) configuration problems, you may have to clear existing security associations. For example, you may have to clear existing IPSec security associations in any of the following situations:
 * Security Parameters Index (SPI) errors are logged the event logs.
 * IPSec monitor shows no security associations.
 * A situation occurs that requires you to restart the IPSec Policy Agent service.

Typically, secured IPSec communications may not be established if a soft security association already exists between the computers that are participating in the interchange. After the participants have established software security associations, hard security associations cannot be established.

A soft security association tells the IPSec drive not to use security between the two Internet Protocol (IP) addresses. In this situation, unsecured packets are exchanged by the participants. If you modify the existing IPSec policy and you do not break the extant soft association, no packets are secured across the connection. You can create soft security associations by using both IPSec-aware and non-IPSec-aware computers.

To clear existing IPSec security associations, restart the IPSec Policy Agent service. IPSec Policy Agent retrieves IPSec policy information and passes it to the other IPSec policy mechanisms. IPSec Policy Agent is a service that exists on all Windows 2000-based computers. The service retrieves the appropriate IPSec policy from Active Directory or the local security policy. After the policy is retrieved, IPSec Policy Agent sends it to the IPSec driver.

back to the top

How to Clear Existing IPSec Security Associations by Using a Command Prompt
 Click Start, click Run, type cmd, and then click OK. At the command prompt, type the following command:

net stop &quot;ipsec policy agent&quot;

 To start IPSec Policy Agent from the command prompt, type the following command at the command prompt:

net start &quot;ipsec policy agent&quot;



back to the top

How to Clear Existing IPSec Security Associations by Using the GUI
To use the graphical user interface (GUI) to clear existing security associations:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click Services.
 * 2) Right-click IPSec Policy Agent, and then click Restart.

back to the top

Keywords: kbhowto kbhowtomaster KB313236

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.