2.7.1 Removing a HiRDB server program from the exceptions list

This subsection explains how to remove a HiRDB server program from the exceptions list.

Organization of this subsection
(1) Prerequisites
(2) Removal method

(1) Prerequisites

The deletion method depends on how you have registered the HiRDB server program into the exceptions list. For details about the registration method, see 2.6.1 Registering the HiRDB server program to the exceptions list.

When what is registered is not limited to processes that accept connection requests from the HiRDB client
If you did not limit what is registered to processes that accept connection requests from the HiRDB client, see the procedure described in (2)(a) When what is registered is not limited to processes that accept connection requests from the HiRDB client.
When what is registered is limited to processes that accept connection requests from the HiRDB client
If you limited what is registered to processes that accept connection requests from the HiRDB client, see the procedure described in (2)(b) When what is registered is limited to processes that accept connection requests from the HiRDB client.

If the HiRDB server program was registered to the exceptions list on the Register with Windows Firewall page during HiRDB installation, the action described in (2) is not necessary. Proceed to 2.7.2 Removing port numbers used during remote shell execution from the exceptions list.

Reference note
If the HiRDB server program was registered to the exceptions list during HiRDB installation, the HiRDB server program is automatically removed from the exceptions list when HiRDB is uninstalled.

(2) Removal method

(a) When what is registered is not limited to processes that accept connection requests from the HiRDB client

Start up the HiRDB command prompt, and then execute the following batch file.

%PDDIR%\BIN\pddelfw.bat

When this batch file is executed, the HiRDB server program is removed from the Windows Firewall exceptions list.

(b) When what is registered is limited to processes that accept connection requests from the HiRDB client

Delete from the Windows Firewall exceptions list the port numbers or program names (.exe files) of the processes (pdrdmd and pdscdd) that accept connection requests from the HiRDB client. The following procedures describe how to delete this information from the Windows Firewall exceptions list.

To delete port numbers:
  1. Create the following batch file:
    For the port numbers of HiRDB and the scheduler process, specify those that were added to the Windows Firewall exceptions list.

    echo on
    netsh firewall delete portopening protocol = TCP port = port-number-of-HiRDB#1
    netsh firewall delete portopening protocol = TCP port = port-number-of-scheduler-process#2

  2. Start up the HiRDB command prompt, and then execute the created batch file.
#1
The port number of HiRDB will have been specified in one of the following system definition operands:
  • pd_name_port operand
  • -p option of the pdunit operand
#2
The port number of the scheduler process will have been specified in one of the following system definition operands:
  • pd_service_port operand
  • pd_scd_port operand
  • -s option of the pdunit operand
To delete program names:
  1. Create the following batch file:

    echo on
    netsh firewall delete allowedprogram "%PDDIR%\lib\servers\pdrdmd.exe"
    netsh firewall delete allowedprogram "%PDDIR%\lib\servers\pdscdd.exe"

  2. Start up the HiRDB command prompt, and then execute the created batch file.

Note
To handle space characters, make sure that you specify the required double-quotation marks (") in the batch file text.