Table 4-10 Description of the Netsh commands in the context of the advfirewall firewall
Com‐
mand
Parameter Description Value
netsh Specification of the command line pro‐
gram, which executes the following
commands.
-
adv‐
firewall
Defines the context in which the follow‐
ing commands are to be carried out.
-
firewall Subcontext of "advfirewall". -
set
rule
Adaptation of existing firewall rules. -
name Name firewall rule "File and Printer Sharing (Echo
Request - ICMPv4-In)" | ...
new Specifies that the following parameters
are to be changed or added.
-
enable Activates or deactivates the specified
firewall rule.
yes | no
profile Name of the network profile for which
the firewall rule is to be changed.
Example
Activation of incoming ping requests
netsh advfirewall firewall set rule name="File and Printer Sharing (Echo Request - ICMPv4-
In)" new enable=yes profile=public
Further information
Descriptions of the commands and of all of the associated parameters of Netsh within the
Advfirewall firewall context can be found on the Microsoft website:
● Microsoft TechNet - Netsh AdvFirewall Firewall Commands (
https://technet.microsoft.com/
en-us/library/dd734783(v=ws.7).aspx#BKMK_3_set)
4.17.10 Saving and restoring firewall settings
4.17.10.1 Overview
Overview
You can save all of the Windows Firewall settings of the Siemens PC system as a policy file
with the file extension ".wfw". Policy files are saved in binary format and are Windows version-
dependent.
Configuration of the system
4.17 Adapting the firewall settings
PCU Base Software (IM10)
90 Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1