...
A SureBackup job testing a VMware VM that has Virtualization-Based Security (VBS) enabled fails with the error: An error occurred while taking a snapshot: Invalid change tracker error code. (An error occurred while taking a snapshot: Invalid change tracker error code.)
This error occurs because, by default, SureBackup modifies the VMX of all VMs being tested to set the entry 'vhv.enable' to false. By setting 'vhv.enable' to false, Virtual Hardware-Assisted Virtualization (VHV) is disabled. However, because VHV is a requirement of Virtualization-Based Security (VBS), the VM is then considered to have an "invalid configuration." To confirm this detail, check the Task & Events within the vSphere Client for the error: Invalid virtual machine configuration. Nested Hardware-Assisted Virtualization should be enabled when enabling VBS (Virtualization-Based Security).
To resolve this issue, create the following registry value on the Veeam Backup Server. When set to '0', this registry value will force SureBackup to not change 'vhv.enable' to false within the VMX of VMs it tests. This registry value will take effect on the next run of the SureBackup job. Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\SureBackupValue Name: UseVhvEnableValue Type: DWORD (32-Bit) ValueValue Data: 0 Note: The key SureBackup does not exist by default; it must be created, and then the value must be created within it.
The 'UseVhvEnable' setting state can be checked within the SureBackup job logs. Default settings, Value=True [SureBackup] Dump options [SureBackup] ============================================================================================================================================================= [SureBackup] | # | Name | Type | Value | Default | Description | [SureBackup] ============================================================================================================================================================= [SureBackup] | 12 | UseVhvEnable | Boolean | True | True | Enables or disables using Vhv.Enable parameter in VMX file Modified setting, Value=False [SureBackup] Dump options [SureBackup] ============================================================================================================================================================= [SureBackup] | # | Name | Type | Value | Default | Description | [SureBackup] ============================================================================================================================================================= [SureBackup] | 12 | UseVhvEnable | Boolean | False | True | Enables or disables using Vhv.Enable parameter in VMX file