netsh » firewall » set » service

Microsoft Windows [Version 6.0.6001]
(C) Copyright 2006 Microsoft Corp.
c:\windows>netsh firewall set service ? set service [ type = ] FILEANDPRINT|REMOTEADMIN|REMOTEDESKTOP|UPNP|ALL [ [ mode = ] ENABLE|DISABLE [ scope = ] ALL|SUBNET|CUSTOM [ addresses = ] addresses [ profile = ] CURRENT|DOMAIN|STANDARD|ALL ] Sets firewall service configuration. Parameters: type - Service type. FILEANDPRINT - File and printer sharing. REMOTEADMIN - Remote administration. REMOTEDESKTOP - Remote assistance and remote desktop. UPNP - UPnP framework. ALL - All types. mode - Service mode (optional). ENABLE - Allow through firewall (default). DISABLE - Do not allow through firewall. scope - Service scope (optional). ALL - Allow all traffic through firewall. 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 service FILEANDPRINT set service REMOTEADMIN DISABLE set service REMOTEDESKTOP ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0, 12AB:0000:0000:CD30::/60,LocalSubnet set service type=UPNP set service type=REMOTEADMIN mode=ENABLE scope=SUBNET set service type=REMOTEDESKTOP mode=ENABLE scope=CUSTOM addresses=157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0, 12AB:0000:0000:CD30::/60,LocalSubnet

NETSH / FIREWALL / SET / SERVICE


Quick - Link:








Windows-10


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


Windows 10 How To


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



Sets firewall service configuration. / Windows Vista

HTTP: ... cmd/en/Windows_Vista/netsh/firewall/set/service.htm
0.062
15561

Set all 3 dates create/access/modified time, doesn't want to do?

Bei Windows-Dateien kann man die Uhrzeit bei Letzter Zugriff nicht ändern?

New versions of Windows 11 are released once a year!

Can I do a double-click?

Can I use / install Windows 11 without MS Account / Login / Sing-in?

Why does the YES button not appear in "Start administrative mode"?



(0)