我这里有个处理方法:这个是我自己测试过的脚本(记得后缀要改成.reg)
脚本如下:
这个是禁用TCP/IP的:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]
"NC_AllowAdvancedTCPIPConfig"=dword:00000000
"NC_LanChangeProperties"=dword:00000000
"NC_EnableAdminProhibits"=dword:00000001
这个是启用TCP/IP的:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Network Connections]
"NC_AllowAdvancedTCPIPConfig"=dword:00000000
"NC_LanChangeProperties"=dword:00000001
"NC_EnableAdminProhibits"=dword:00000000
希望这个答案能对你有帮助 ^.^