If you’ve used iSCSI with the Windows 2008 iSCSI initiator, you may have noticed that on occasion, iSCSI targets will get “stuck” in the iSCSI initiator software. It doesn’t really hurt anything, but if it bothers you, you can remove these iSCSI target definitions in the registry.
Open regedit, and find the following location:
HKLMSoftwareMicrosoftWindows NTCurrentVersioniSCSIDiscoveryStatic Targets
Underneath the above registry keys, there should be subkeys that are pointers to the iSCSI targets that you once had defined. Simply deleting the appropriate subkeys will remove them from the “Targets” list in the Windows Server 2008 iSCSI Initiator.