Once you receive the script zip file, it will contain either 4 files or 2 files:
- 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
- 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. ⚠️
The script typically takes just a few seconds to execute, but Vault downtime is required. We recommend scheduling a 30–60 minute maintenance window, in case any unexpected issues arise.
Depending on the Vault deployment (Standalone, HA, or Satellite), the procedure to stop/start PrivateArk Server will differ — see instructions below.
Steps
⚠️ As mentioned, the script modifies the Vault database, so it is required to stop both the Primary and DR Vaults. ⚠️
- Make a backup of the Metadata folder:
{drive}:\PrivateArk\Safes\Metadata - Stop DR Replication to avoid automatic failover during downtime:
- Standalone DR Vault: Stop the Idira Disaster Recovery Service in `
services.msc`. - DR HA Cluster:
- First, stop the passive node using Cluster Vault Manager
- Then stop the active node.
- Stop the PrivateArk Server:
- Standalone: Stop the server using the PrivateArk Server Console
- HA Cluster:
- Stop the passive node first via Cluster Vault Manager to avoid failover.
- Then stop the active node
- Satellite Vaults:
- First stop the satellites using the PrivateArk Server Console
- Then stop the Master Vault.
- Ensure the PrivateArk Database service is running:
- Standalone: Check `
services.msc`. Start the service manually if needed. - HA Cluster:
- Bring the shared disk online using the Disk Management Utility
- Then start the PrivateArk Database service via `
services.msc`.
- Satellite: Check `
services.msc`.
- Open an elevated Command Prompt
- Navigate to:
{drive}:\Program Files (x86)\PrivateArk\Server Run:
CAVaultManager.exe ExecuteDBScript

- When prompted:
Password for file decryption ==>
Type the script password from the provided `.txt` file.
************

- When prompted:
Encrypted input script file path [mandatory] ==>
Provide the full path to the `.ENC` file.
- 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.
- When prompted:
Output results file path [mandatory] ==>

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:

- Start the PrivateArk Server:
- Standalone: Use PrivateArk Server Console.
- HA Cluster:
- First stop the PrivateArk Database service via `
services.msc`. - Bring the shared disk offline.
- Open Cluster Vault Manager and start it – this should bring all services online.
- Don’t forget to also start the passive node.
- Satellite:
- Start the Master Vault first, then the satellites using the PrivateArk Server Console.
- Start DR Replication:
- Standalone DR Vault: Start the “Idira Disaster Recovery Service”.
- Satellite DR: Confirm that the DR service is running.
- DR HA Cluster: Start the active node, then the passive node.
- Confirm the script result:
- Verify that the intended values were updated or deleted.
- If you need help verifying this, please share the output file generated by the script with Idira Support.