How to run a script that does not require a Database Update in the vault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
PAM Self-Hosted Articles
2 min read
L0 Member
No ratings

Once you receive the script zip file, it will contain either 4 files or 2 files:

  1. If the zip contains 4 files:
    • Script Password (.txt) - Contains the Password required to run the script
    • Readme file (.txt) - Contains the instructions to run the script
    • .ENC file – This is the actual script that runs on the Vault database. The file name typically follows this pattern: <Date>DBScriptName[<Number>].ENC
    • File indicating the script expiration date
  2. If the zip contains 2 files:
    • Instructions.txt – This file includes the script password, the KBA article to follow, and the script expiration date.
    • .ENC file – The script to run on the Vault database. Naming follows the pattern: <Date>DBScriptName[<Number>].ENC

⚠️ Important: Transfer the zip file to the Vault Server and extract the files before proceeding. ⚠️

Since this kind of script is mostly used to print helpful information in the vault database it does NOT require a downtime or shutting down anything before running.

Steps

  1. Ensure the PrivateArk Database service is running:
    1. Standalone: Check `services.msc`. Start the service manually if needed.
    2. HA Cluster:
      1. Bring the shared disk online using the Disk Management Utility
      2. Then start the PrivateArk Database service via `services.msc`.
    3. Satellite: Check `services.msc`.
  2. Open an elevated Command Prompt
    1. Navigate to:
      {drive}:\Program Files (x86)\PrivateArk\Server
    2. Run:
      CAVaultManager.exe ExecuteDBScript
      ka3Vy000009RSwTIAW__eid=ka3Vy000009RSwT&feoid=00N2J000009R3kv&refid=0EM2J0000044JEG.png
  3. When prompted:
    Password for file decryption ==>
    Type the script password from the provided `.txt` file.
    ************
    ka3Vy000009RSwTIAW__eid=ka3Vy000009RSwT&feoid=00N2J000009R3kv&refid=0EM2J000003MV70.png
  4. When prompted:
    Encrypted input script file path [mandatory] ==>
    Provide the full path to the `.ENC` file.
    1. Example:
      C:\Temp\202205191720DBScript[122].ENC
      🔍 *Note:* The number in brackets (e.g., `[122]`) may vary depending on the script you received.
      💡 If the path contains no spaces like in this example, quotation marks are not required.
  5. When prompted:
    1. Output results file path [mandatory] ==>
      ka3Vy000009RSwTIAW__eid=ka3Vy000009RSwT&feoid=00N2J000009R3kv&refid=0EM2J0000044JEu.png
      Provide the full path for the output log file.
      Example: C:\Temp\output.log
      ⚠️ Make sure the output directory is not marked as Read-Only. If reusing an existing output file, it must be writable (not marked Read-Only).
      💡If the path contains no spaces like in this example, quotation marks are not required.
      If the script runs correctly, you will see a success message in the terminal window:
      ka3Vy000009RSwTIAW__eid=ka3Vy000009RSwT&feoid=00N2J000009R3kv&refid=0EM2J0000044JFn.png
  6. Confirm the script result:
    1. Please share the output file generated by the script with Idira Support.
Rate this article:
  • 6270 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 11:50 AM
Updated by: