cpprod_util

Description

This utility works with Check Point Registry ($CPDIR/registry/HKLM_registry.data) without manually opening it:

  • Shows which Check Point products and features are enabled on this Check Point computer.

  • Enables and disables Check Point products and features on this Check Point computer.

Syntax

cpprod_util CPPROD_GetValue "<Product>" "<Parameter>" {0|1}

cpprod_util CPPROD_SetValue "<Product>" "<Parameter>" {1|4} "<Value>" {0|1}

cpprod_util -dump

Parameters

Parameter

Description

CPPROD_GetValue

Gets the configuration status of the specified product or feature:

  • 0 - Disabled

  • 1 - Enabled

CPPROD_SetValue

Sets the configuration for the specified product or feature.

Important - Do not run these commands unless explicitly instructed by Check Point Support or R&D to do so.

"<Product>"

Specifies the product or feature.

"<Parameter>"

Specifies the configuration parameter for the specified product or feature.

"<Value>"

Specifies the value of the configuration parameter for the specified product or feature:

  • One of these integers: 0, 1, 4

  • A string

dump

Creates a dump file of Check Point Registry ($CPDIR/registry/HKLM_registry.data) in the current working directory. The name of the output file is RegDump.

Notes

  • On a Multi-Domain Server, you must run this command in the context of the relevant Domain Management Server.

  • If you run the cpprod_util command without parameters, it prints:

    • The list of all available products and features (for example, "FwIsFirewallMgmt", "FwIsLogServer", "FwIsStandAlone")

    • The type of the expected argument when you configure a product or feature ("no-parameter", "string-parameter", or "integer-parameter")

    • The type of the returned output ("status-output", or "no-output")

  • To redirect the output of the cpprod_util command, it is necessary to redirect the stderr to stdout:

    cpprod_util <options> > <output file> 2>&1

    Example:

    cpprod_util > /tmp/output_of_cpprod_util.txt 2>&1

Examples