Table 4-11 Description of the Netsh commands for defining the policy memory and for exporting the
policy file
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.
-
set
store
Definition of the save location of the pol‐
icy memory for the following commands.
-
local Defines that the work is to be done with
the local policy memory.
-
export Backup of all firewall settings in a policy
file (.wfw).
<File path and file name>.wfw
Example
Example of the Netsh commands for defining the policy memory and for exporting the policy file
netsh advfirewall set store local
export D:\Backup\DefaultSettings.wfw
Further information
Descriptions of the commands and of all of the associated parameters of Netsh within the
Advfirewall context can be found on the Microsoft website:
● Microsoft TechNet: Netsh Commands for Windows Firewall with Advanced Security (https://
technet.microsoft.com/en-us/library/cc771920(v=ws.7).aspx)
4.17.10.3 Restoring of firewall settings
Via the Control Panel
Procedure
Note
Importing a policy file overwrites all existing firewall rules
When the firewall settings are restored, all of the existing firewall rules are overwritten. You
cannot undo the import of firewall rules via a policy file.
Therefore, back up (export) the existing firewall settings before you import a policy file.
Configuration of the system
4.17 Adapting the firewall settings
PCU Base Software (IM10)
92 Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1