netsh » firewall » add » allowedprogram

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1986-2001 Microsoft Corp.
C:\WINDOWS>netsh firewall add allowedprogram ? add allowedprogram [ program = ] path [ name = ] name [ [ mode = ] ENABLE|DISABLE [ scope = ] ALL|SUBNET|CUSTOM [ addresses = ] addresses [ profile = ] CURRENT|DOMAIN|STANDARD|ALL ] 添加防火墙允许的程序配置。 参数: program - 程序路径和文件名。 name - 程序名。 mode - 程序模式(可选)。 ENABLE - 允许通过防火墙(默认值)。 DISABLE –不允许通过防火墙(默认值)。 scope - 程序范围(可选)。 ENABLE - 允许所有流量通过防火墙(默认值)。 SUBNET - 只允许本地网络(子网)流量通过防火墙。 CUSTOM - 只允许指定的流量通过防火墙。 addresses - 自定义范围地址(可选)。 profile - 配置的配置文件(可选)。 CURRENT - 当前配置文件(默认值)。 DOMAIN - 域配置文件。 STANDARD - 标准配置文件。 ALL - 所有配置文件。 备注: 'scope' 必须是 'CUSTOM' 才能指定 'addresses'。 示例: add allowedprogram C:\MyApp\MyApp.exe MyApp ENABLE add allowedprogram C:\MyApp\MyApp.exe MyApp DISABLE add allowedprogram C:\MyApp\MyApp.exe MyApp ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet add allowedprogram program = C:\MyApp\MyApp.exe name = MyApp mode = ENABLE add allowedprogram program = C:\MyApp\MyApp.exe name = MyApp mode = DISABLE add allowedprogram program = C:\MyApp\MyApp.exe name = MyApp mode = ENABLE scope = CUSTOM addresses = 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet

NETSH / FIREWALL / ADD / ALLOWEDPROGRAM


Quick - Link:
netsh routing ip rip add interface
在指定的接口上配置 RIP。
netsh p2p pnrp cloud show pnrpmode
显示 PNRP 模式配置参数。
netsh routing ip igmp help
显示命令列表。
netsh interface ipv6 show dns
显示 DNS 服务器地址。
netsh ras appletalk show config
显示当前远程访问 appletalk 配置。








Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



添加防火墙允许的程序配置。 / Windows 2000/XP

HTTP: ... cmd/cn/Windows_XP/netsh/firewall/add/allowedprogram.htm
0.093
19732

Batch file with several commands output to text file Windows 11, 10, ...!

Adjust Internet Explorer 11 privacy and cookies settings on Windows 10!

Die vorinstallierte Taschenrechner-APP bei Windows-10 finden und einsetzen!

After monitor exchange desktop icons disappeared on Windows 11/10!

Hotkey to switch between virtual desktops in Windows 10 / 11!

Chose when to Turn off the Windows 10 and 11 Display!



(0)