1、打开控制面板并打开windows防火墙
![006c52bf02a9c9568430c6f853f3eae3.png](https://img-blog.csdnimg.cn/img_convert/006c52bf02a9c9568430c6f853f3eae3.png)
2、点击“高级设置”
![4d3bbdf9ec71df084c153bbbf9be79d3.png](https://img-blog.csdnimg.cn/img_convert/4d3bbdf9ec71df084c153bbbf9be79d3.png)
![216c95d164e432d17fbfef30a8ad858f.png](https://img-blog.csdnimg.cn/img_convert/216c95d164e432d17fbfef30a8ad858f.png)
3、点击“入站规则”
![9fab354460f5b2035492e744f2356c3c.png](https://img-blog.csdnimg.cn/img_convert/9fab354460f5b2035492e744f2356c3c.png)
![00da3eec98a3eccbda31195ecd28548c.png](https://img-blog.csdnimg.cn/img_convert/00da3eec98a3eccbda31195ecd28548c.png)
4、点击“新建规则”
![e330b694865ae47890db2e425015f14f.png](https://img-blog.csdnimg.cn/img_convert/e330b694865ae47890db2e425015f14f.png)
5、点击“下一步”
![66b4c75e4143cd7f00de3bef1b5bc02e.png](https://img-blog.csdnimg.cn/img_convert/66b4c75e4143cd7f00de3bef1b5bc02e.png)
6、点击“浏览”,选择你所要禁止联网的程序所在路径,点击“下一步”
![cb78335339e30ddf548da0c7ee46859b.png](https://img-blog.csdnimg.cn/img_convert/cb78335339e30ddf548da0c7ee46859b.png)
![4cea6f91cd916a7abe2a4abf8ceefff2.png](https://img-blog.csdnimg.cn/img_convert/4cea6f91cd916a7abe2a4abf8ceefff2.png)
7、选择“阻止连接(K)”,点击“下一步”
![5ef69b245688c19d96a48997a50901c2.png](https://img-blog.csdnimg.cn/img_convert/5ef69b245688c19d96a48997a50901c2.png)
8、全部勾选,点击“下一步”
![8f484ca52c9e14eda277548b332fffcf.png](https://img-blog.csdnimg.cn/img_convert/8f484ca52c9e14eda277548b332fffcf.png)
9、填写一个名称,点击“完成”
![1cc0085f28d1bf5c1c04ef573bae00f8.png](https://img-blog.csdnimg.cn/img_convert/1cc0085f28d1bf5c1c04ef573bae00f8.png)
10、用新建入站规则的方法新建出站规则,这样就可以阻止软件联网了。
[1]https://jingyan.baidu.com/article/f0e83a25a693ae22e59101c3.html