netsh » firewall » set » service

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1986-2001 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 (default). SUBNET - Allow only local network (subnet) traffic through firewall. CUSTOM - Allow only specified traffic through firewall. addresses - Custom scope addresses (optional). profile - Configuration profile (optional). CURRENT - Current profile (default). DOMAIN - Domain profile. STANDARD - Standard profile. ALL - All profiles. Remarks: 'scope' ignored if 'mode' is DISABLE. 'scope' must be 'CUSTOM' to specify 'addresses'. Examples: set service FILEANDPRINT set service REMOTEADMIN ENABLE SUBNET set service REMOTEDESKTOP ENABLE CUSTOM 157.60.0.1,172.16.0.0/16,10.0.0.0/255.0.0.0,LocalSubnet set service type = FILEANDPRINT 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,LocalSubnet

NETSH / FIREWALL / SET / SERVICE


Quick - Link:
netsh firewall set icmpsetting
Sets firewall ICMP configuration.
netsh routing ip ospf add range
Adds a range for the specified Area ID.
netsh interface show interface
Displays interfaces.
netsh routing ipx sap dump
Displays a configuration script.








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 2000/XP

HTTP: ... cmd/en/Windows_XP/netsh/firewall/set/service.htm
0.046
15086
Ist die CPU auf 100 Prozent eingestellt auf Linux (pro Prozess)? Scan works also on Windows 10/11 to easy save into PDF! Delete and remove locked files and directorys! PC Name einfach umbenennen in Windows 11? Die Maus Rad Auto Scroll-Funktion aktivieren und deaktivieren! File management on Windows can be so easy! Find the printer queue on Windows 11! Die Screenshot Funktion in Desktop-OK How-To verwenden? Turn off the screen in 20 seconds, but never go to sleep, for SmartHome! Mouse tolerance range, 1-10 pixels in Auto Power Options OK!



(0)