首页  编辑  

防火墙禁止禁止程序联网的命令

Tags: /计算机文档/网络与安全/   Date Created:
命令行禁止程序联网:

-- 其中 devenv.exe为程序名称
netsh advfirewall firewall add rule name=BlockVS dir=out action=block program="devenv.exe"
netsh advfirewall firewall add rule name=BlockPS dir=out action=block program="photoshop.exe"
netsh advfirewall firewall add rule name=BlockServerU dir=out action=block program="Server-U.exe"