方法3:禁止该软件访问 络
修改host文件,将相关域名设置为禁止访问:记事本打开C:WindowsSystem32driversetchosts文件,末行输入以下信息后保存。
127.0.0.1 search.namequery.com
127.0.0.1 search.namequery.com
127.0.0.1 search2.namequery.com
127.0.0.1 search64.namequery.com
127.0.0.1 search.us.namequery.com
127.0.0.1 bh.namequery.com
127.0.0.1 namequery.nettrace.co.za
127.0.0.1 m229.absolute.com
并在防火墙软件中设置将rpcnet.exe、rpcnetp.exe 禁止访问 络。
代码:
echo 127.0.0.1 search.namequery.com >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 search.namequery.com >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 search2.namequery.com >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 search64.namequery.com >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 search.us.namequery.com >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 bh.namequery.com >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 namequery.nettrace.co.za >> %SystemRoot%System32driversetchosts
echo 127.0.0.1 m229.absolute.com >> %SystemRoot%System32driversetchosts
netsh advfirewall set allprofiles state on
netsh advfirewall firewall add rule name=”rpcnet” dir=out program=”C:WindowsSystem32rpcnet.exe” action=block
netsh advfirewall firewall add rule name=”rpcnetp” dir=out program=”C:WindowsSystem32rpcnetp.exe” action=block
pause
将以上代码另存为 1.bat 运行即可 win10需要获取管理员权限
相关资源:Veneer:文件屏蔽软件-开源-其它代码类资源-CSDN文库
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!