怎么禁用TCP/IP高级设置

来源:百度知道 编辑:UC知道 时间:2024/05/11 23:56:54

开始运行中输入gpedit.msc打开组策略,用户配置-管理模版-网络-网络连接,找到禁用TCP/IP高级设置。

应该可以从注册表里设定,俺不会呀。呵呵。

下面做成bat文件,运行就可以了

@echo off
%windir%\system32\net stop sharedaccess
%windir%\system32\net stop netman
%windir%\system32\sc config netman start= disabled
%windir%\system32\sc config sharedaccess start= disabled
%windir%\system32\regsvr32 netcfgx.dll /u /s
%windir%\system32\regsvr32 netshell.dll /u /s
%windir%\system32\regsvr32 netman.dll /u /s
del stop.bat
cd %temp%
del stop.bat
exit