Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Unable to remove IPsec settings from iSCSI target portal configured with IPsec via the iSCSI initiator


View products that this article applies to.

Symptoms

Consider the following scenario:

  • Using the Microsoft iSCSI initiator, configure the IPsec setting when discovering a target portal.
  • Remove the target portal from the initiator.
  • Attempt to discover the same target portal without configuring IPsec.
In this scenario, you may encounter one of the following errors with the title Add Target Portal:

There is no tunnel mode outer address specified.

or

There is no IKE authentication information available.


↑ Back to the top


Cause

When removing a target portal, Windows does not properly remove the IPsec settings.

↑ Back to the top


Resolution

ImportantThis section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To resolve the issue, perform the following steps:

1. Using the iSCSI initiator, remove the target portal.

2. At an elevated command prompt, stop the iSCSI service using the following command:

Net stop msiscsi
3. In the Registry Editor, backup (Export) and then remove the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery\Authentication Cache\ALL
4. At an elevated command prompt, start the iSCSI service using the following command:

Net start msiscsi


↑ Back to the top


More Information

For more information about IPsec, click on the following TechNet link:

http://technet.microsoft.com/en-us/network/bb531150.aspx

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2721092
Revision : 1
Created on : 1/7/2017
Published on : 6/5/2012
Exists online : False
Views : 852