Skip to main content

Patching in-place from the command line

Suggest edit
Updated on April 12, 2022

To use the command line to configure the file, the Deployment user must run the appropriate script. For patches 8.3.6, 8.4.4 and later, 8.5.3 and later, use the patch.bat (for Windows) or (for Linux) script; for all other patches, use the upgrade.bat (for Windows) or (for Linux) script.

  1. If you have not done so already, edit the file.
    1. Open the file in the scripts directory of your distribution image: Directories.distributionDirectory\scripts\
    2. Configure the connection properties. Use the existing schema names for the rules schema and data schema names.
    3. Optional: If you have a separate customer data schema, set the target schema name:
    4. Save and close the file.
  2. Open a command prompt and navigate to the scripts directory.
  3. Run either patch.bat or

Pega Platform writes command-line output to a file in the Pega-image\scripts\logs directory.

What to do next: After you patch the data schema, review the post-patch tasks sections to complete the patch. At a minimum, you must reconfigure the application to run using the new rules as described in Reconfiguring the application server and enable rule creation, as described in .
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us