2.88 pdsetfw.bat (Register into the Windows Firewall exception list)

Organization of this section
(1) Function
(2) Executor
(3) Format
(4) Options
(5) Rules
(6) Notes

(1) Function

The pdsetfw.bat command registers HiRDB into the Windows Firewall exception list.

(2) Executor

HiRDB administrator

(3) Format

 pdsetfw.bat ["setup-identifier"]

           [-fwpro{any|profile{profile}...}]

(4) Options

(a) "setup-identifier"

Specifies enclosed in double quotation marks (") the setup identifier that was specified during installation. Omit this option if you installed HiRDB with the standard setup specified.

The specified setup identifier is displayed in Windows Firewall in the following format:

"product-name setup-identifier (~.exe)"
HiRDB/Single Server or HiRDB/Parallel Server is displayed for product-name.
(b) -fwpro{any|profile{profile}...}

Specifies the range of profiles eligible to be registered into the exception list in Windows Firewall with Advanced Security. Specify this option if the exceptions to be registered differ from the range of profiles currently used by the OS. This option is not supported by any OS earlier than Windows Vista. If this option is omitted, exceptions are registered for the range of profiles that are currently used by the OS.

any:
Registers exceptions for all profiles. For Windows Server 2008 and Windows Server 2012, select any. If any is not selected, a timeout or abnormal termination might result.
profile{profile}...:
Selects from among the following profiles:
pub:
Registers exceptions for public profiles. If you plan on changing the OS's profile, register HiRDB in advance, and select the profile to be used after the change. After you have changed the profile, make sure that you start HiRDB.
dom:
Registers exceptions for domain profiles. If you plan on changing the OS's profile, register HiRDB in advance, and select the profile to be used after the change. After you have changed the profile, make sure that you start HiRDB.
pri:
Registers exceptions for private profiles. If you plan on changing the OS's profile, register HiRDB in advance, and select the profile to be used after the change. After you have changed the profile, make sure that you start HiRDB.

(5) Rules

Execute the pdsetfw.bat command while HiRDB is stopped.

(6) Notes

The results of the pdsetfw.bat command can be checked from the return code from the command's execution or by checking for any error messages. Return code 0 indicates normal termination, and any other return code indicates abnormal termination. Take the appropriate action according to the detail code displayed in the KFPC00406-E message that is issued.