Win10 (Professional Edition): The L2TP connection attempt failed because the security layer encountered a processing error when reinitializing the negotiation with the remote computer.

The error is reported as shown below: the
Insert picture description here
security configuration is as follows:
Insert picture description here

Solution:
1. Check whether the service is started.
Right-click on this computer —> Manage —> Click on the small sharp corner in front of "Services and Applications" —> Service —> Check whether the service "ipsec policy agent" is in the activated state
. If it is not started, start the ipsec policy agent service first.
Steps:
Insert picture description here
Insert picture description here
Insert picture description here
2. Open the registry editor and find the corresponding registry subkey below (how to open the registry, you can click Baidu, output regedit on the cmd command line and press Enter. Find the registry editor)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rasman\Parameters,
right-click in the blank space, and create a new key ProhibitIpSec (recommended copying is not easy to make mistakes)
Note: Create a new key DWORD to choose 32-bit , otherwise it will be solved finally No problem,
after creating the new key, you need to modify it (as shown below):
The data of the AllowL2TPWeakCrypto key is 1 and the data of the
new key ProhibitIpSec is 1.
Insert picture description hereInsert picture description here
Insert picture description here
3. After the above steps are completed, close the registry editor, and then restart the computer. The problem is solved after restarting the computer.

Guess you like

Origin blog.csdn.net/weixin_44901564/article/details/106619826
Recommended