netsh » firewall » set » allowedprogram

Microsoft Windows [Version 6.0.6001]
(C) Copyright 2006 Microsoft Corp.
c:\windows>netsh firewall set allowedprogram ? set allowedprogram [ program = ] path [ [ name = ] name [ mode = ] ENABLE|DISABLE [ scope = ] ALL|SUBNET|CUSTOM [ addresses = ] addresses [ profile = ] CURRENT|DOMAIN|STANDARD|ALL ] Sets firewall allowed program configuration. Parameters: program - Program path and file name. name - Program name (optional). mode - Program mode (optional). ENABLE - Allow through firewall (default). DISABLE - Do not allow through firewall. scope - Program scope (optional). ALL - Allow all traffic through firewall (default). SUBNET - Allow only local network (subnet) traffic through firewall. CUSTOM - Allow only specified traffic through firewall. addresses - Custom scope addresses (optional). This comma-separated scope can contain IPv4 addresses, IPv6 addresses, subnets, ranges, or the keyword LocalSubnet. profile - Configuration profile (optional). CURRENT - Applies to the active profile. Active profile can be domain, standard (i.e. private), or public. (default). DOMAIN - Applies to the domain profile. STANDARD - Applies to the standard (i.e. private) profile. ALL - Applies to the domain and standard (i.e. private) profile. Does not apply to the public profile. Remarks: 'scope' must be 'CUSTOM' to specify 'addresses'. 'addresses' can not contain Unspecified or Loopback addresses. Examples: set allowedprogram C:\MyApp\MyApp.exe "My Application" DISABLE set allowedprogram C:\MyApp\MyApp.exe "My Application" ENABLE CUSTOM,,, 12AB:0000:0000:CD30::/60,LocalSubnet set allowedprogram program=C:\MyApp\MyApp.exe name="My Application" mode=DISABLE set allowedprogram program=C:\MyApp\MyApp.exe name="My Application" mode=ENABLE scope=CUSTOM addresses=,,, 12AB:0000:0000:CD30::/60,LocalSubnet


Quick - Link:
netsh p2p group database show statistics
List database stats for given .
netsh interface ipv4 show interfaces
Shows interface parameters.
netsh interface portproxy help
Displays a list of commands.


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

Windows 10 How To

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

Sets firewall allowed program configuration. / Windows Vista

HTTP: ... cmd/en/Windows_Vista/netsh/firewall/set/allowedprogram.htm

Are there any limitations for the file size of not compressible file?

Windows 8.1, 11, 10: Where are the default images for users (picture, directory)!

Blockieren von IP-Adressen mithilfe der Windows-Firewall!

Wie kann ich Clear Type in Windows 8.1 und 10 deaktivieren?

Can I disable Spell-Checking or Auto-Correction in Windows 8.1 and Win 10?

How do I download all of my Facebook data?