Recovery assurance procedures

Creating data copy access jobs

Data copy access (DCA) jobs can be created on your source backup appliance, managed appliances, and distributed appliances. The steps required vary by where the DCA VMs will reside:

  On-virtual host DCA job – When creating your first on-virtual host job, you must create a lab profile that enables you to apply consistent settings across multiple DCA jobs. This step can be omitted when subsequent data copy access jobs are created. For details, see To create an on-virtual host DCA job.

  On-box DCA job – When creating an on-box job, a lab profile is created automatically. There is no need to enter location details since the DCA VMs will reside on the physical appliance itself. For details, see To create an on-box data copy access job.

Running data copy access jobs

If you created a schedule for your data copy access job, it will run in Run Test mode at the times specified. This job displays on the Job Manager tab, where you can select the job to view details, edit settings, or run it on-demand.

For on-box DCA jobs, use the To run a DCA job in Run Test mode procedure to run the job on-demand.

For on-virtual host DCA jobs, you can run the job in any of the three data copy access job modes by using these procedures: To run a DCA job in Run Test mode, To run an on-virtual host DCA job in Instant Lab mode, or To run an on-virtual host DCA job in Failover Mode.

WARNING!  Canceling a data copy access job that is in progress can result in orphaned virtual machine instant recovery sessions.

Viewing the results of data copy access jobs

The results of a data copy access job can be viewed from within the Jobs menu or the Recovery Assurance and Compliance reports. For further information, see Working with reports.

Troubleshooting: Data Copy Access Fails Due to VMware Tools

This section addresses issues where Data Copy Access (DCA) jobs for Windows virtual machines in a VMware/ESXi environment fail with a "VMware tools not installed" error.

Symptom

When running a Data Copy Access (DCA) job for a Windows image-level backup (e.g., Windows Server 2022, Windows Server 2012 R2) on a VMware/ESXi virtual machine, the job fails with the error message:

VMware tools not installed

You might observe that even if the system logs indicate a successful VMware Tools installation, the job still fails.
This can happen because the installation is not fully complete and might be awaiting a system reboot.

Cause

This issue typically occurs for one of two reasons:

  1. The Windows agent on your protected virtual machine does not have the most current script to manage VMware Tools installations during the DCA test.
  2. The VMware Tools installation on the VM was not fully completed or is pending a system reboot, causing the DCA to incorrectly report that VMware Tools are not installed.

Resolution

For most Windows Assets (e.g., Windows Server 2022)

Follow these steps to resolve the issue for most Windows Server versions:

  1. Update the Windows Agent: Ensure the Windows agent installed on the protected virtual machine is updated to the latest version. This update includes the most current scripts for handling VMware Tools installations.
  2. Perform a New Backup: After updating the agent, run a new image-level backup of the Windows asset.
  3. Re-run the DCA Test: Attempt to run the DCA Test job again using the newly created backup.
  4. Check for Pending Reboots (if needed): If the DCA Test still fails with "VMware tools not installed", log in to the VM console of the protected VM and check if VMware Tools installation is still in progress or if a reboot is pending.
    • If a reboot is pending, manually restart the VM.
    • After the reboot, confirm that VMware Tools are reported as "Installed" and "Running" within vSphere.
    • Run another image-level backup, then re-run the DCA Test.

For Windows Server 2012 R2

Due to specific compatibility challenges, Windows Server 2012 R2 virtual machines may require manual intervention to fully resolve this issue:

  1. Access the VM: Log in directly to your Windows Server 2012 R2 virtual machine.
  2. Repair/Reinstall VMware Tools: From vSphere, initiate a repair or reinstallation of VMware Tools. Follow the prompts within the guest operating system to complete the installation, including any necessary reboots.
  3. Verify Installation: After completing the repair/reinstallation, confirm that VMware Tools are correctly installed and running on the VM, and that no reboot is pending.
  4. Perform New Backup and Test: Once VMware Tools are properly installed, run a new image-level backup of the Windows Server 2012 R2 asset, and then re-run the DCA Test.

Related workaround: Adjust timeouts so VMware Tools can finish installing

When Instant Lab or Failover fails with the error “VMware tools not installed” even though VMware Tools shows as installed on the VM, the problem is that the VM does not have enough time to:

  • Install VMware Tools (approximately 4 minutes)
  • Wait for the Windows Agent delay (WIRSQLDelayRestore, default 10 minutes)
  • Complete additional communication with the Unitrends appliance (approximately 1 minute)

The total required time is about 15–17 minutes, while the Power On Timeout in the DCA job is typically set to 15 minutes. As a result, the job can time out just as the VM becomes ready.

You can work around this by either:

  • Shortening the Windows Agent delay, or
  • Increasing the DCA Power On Timeout.

Option 1 – Lower the Windows Agent delay on the protected Windows asset

  1. Log in to the protected Windows server

    Use an account with administrative rights.

  2. Open the Unitrends Windows Agent configuration file

    • Browse to the folder where the Unitrends Windows Agent is installed (commonly under C:\PCBP\ or similar).
    • Locate the file named master.ini.
  3. Edit the master.ini file

    • Open master.ini in a text editor running as Administrator (for example, Notepad started with “Run as administrator”).
    • Find the setting:
    WIRSQLDelayRestore=10
    				

    The default value of 10 means a 10-minute delay.

  4. Reduce the delay value

    Change the value to something lower so that the overall time fits well under your current DCA Power On Timeout. For example:

    WIRSQLDelayRestore=9
    				

    Save the file.

  5. Restart the Unitrends Windows Agent service (if required in your environment)

    • Open Services on the Windows server.
    • Locate the Unitrends (or Kaseya/Unitrends) Windows Agent service.
    • Restart the service so the updated setting is applied.
  6. Re-run the DCA Instant Lab or Failover job

    Start the same job again and confirm it now completes successfully.

Option 2 – Increase the Power On Timeout in the DCA job

If you prefer not to change the Windows Agent delay, or you want more buffer time, increase the Power On Timeout in the DCA job configuration.

  1. Open the Unitrends UI

    Log in to the Unitrends appliance web interface.

  2. Locate the affected DCA job

    • Go to your DCA / Instant Lab / Failover section.
    • Find the job that is failing with the “VMware tools not installed” error.
  3. Edit the job settings

    • Open the job configuration for editing.
    • Find the Power On Timeout setting (default is typically 15 minutes).
  4. Increase the Power On Timeout

    Set this to a higher value that comfortably covers:

    • VMware Tools install time (approximately 4 minutes)
    • WIRSQLDelayRestore (default 10 minutes)
    • Additional communication (approximately 1 minute)

    In testing for this issue, increasing the Power On Timeout to around 20 minutes allowed the job to succeed. For example, change:

    • 15 minutes → 20 minutes
  5. Save the job and re-run it

    Save your changes, then run the Instant Lab or Failover job again and verify that it completes successfully.

Which option should I use?

  • If you manage only a few affected Windows assets and want to keep your DCA timeouts unchanged, use Option 1 (lower WIRSQLDelayRestore).
  • If you want a central, job-level change that helps multiple assets, or you do not want to modify agent configuration on each VM, use Option 2 (increase Power On Timeout).

Both approaches ensure that the VM has enough time to complete VMware Tools installation and agent initialization before the DCA job times out.

Expected Outcome After Mitigations

Once the steps above are successfully completed:

  • The Windows agent on the protected VM will use the correct and updated VMware Tools installation logic.
  • VMware Tools will be fully and correctly installed and running on the Windows VM, without any pending restarts or partial installations.
  • The DCA Test will proceed successfully, recognizing the presence of VMware Tools, and will complete its validation steps without the "VMware tools not installed" error.
  • System logs will accurately reflect the true status of VMware Tools installations, preventing misleading "success" messages when a reboot is still required.