When troubleshooting IPSec configuration problems, you may wish to clear the existing security associations.

You can use the GUI:

1. Use Administrative Tools / Services.

2. Right-click the IPSec Policy Agent and press Restart.

I prefer using the CMD prompt:

net stop "ipsec policy agent"
net start "ipsec policy agent"