WIN7无法连接L2TP问题

https://www.cnblogs.com/cainiaoit/p/8580164.html

http://blog.hanlei.org/587/

注册表

Windows Registry Editor Version 5.00  

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesRasManParameters]  
"ProhibitIpSec"=dword:00000000
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesPolicyAgent]  
"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002 
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesPolicyAgent]
"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002

批处理

::显示名称IPsec Policy Agent
sc config "PolicyAgent" start= auto
::显示名称Routing and Remote Access
sc config "RemoteAccess" start= auto
::显示名称Remote Access Auto Connection Manager
sc config "RasAuto" start= auto
::显示名称Remote Access Connection Manager
sc config "RasMan" start= auto
::显示名称Secure Socket Tunneling Protocol Service
sc config "SstpSvc" start= auto
net start PolicyAgent
net start RemoteAccess
net start RasAuto
net start RasMan
net start SstpSvc
l2tp.reg
gpupdate /force /wait:0

原文地址:https://www.cnblogs.com/qingchen1984/p/13716636.html