WIN7无法连接L2TP问题

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

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

 

注册表

Windows Registry Editor Version 5.00  

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan\Parameters]  
"ProhibitIpSec"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]  
"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]
"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

posted on 2020-09-23 10:15  qingchen1984  阅读(894)  评论(0编辑  收藏  举报

导航