Recovery of the VM Fails Due to Long Path

Product version: 10.6

Last modified: 03 March 2022

Problem

The recovery of the VM or file fails due to the long filepath.

Background

NAKIVO Backup & Replication does not support recovery for files and folders that have names exceeding 128 characters and for full file paths exceeding 260 characters. Note that URL encoded characters count as 3 characters for the purpose of reaching these limits.

Solution

Besides shortening the filepath, you can try the following:

  1. Run the following command in Powershell on the target VM:

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force

  1. Restart the VM.