Veeam VM Backup software restore agent timeout fix.

Veeam Backup and Replication software is a very popular Virtual Machine backup software at the moment. It is very robust and offers a lot of options for backing up and moving your virtual infrastructure off site.

Recently after setting up the software I discovered that after about 11 hours of a restoration processing of a 4TB MSSQL vm backup the software would hang and the restore would fail.

After about 3 weeks of back and forth with Veeam support and digging into the software my entire infrastructure and even my SAN. The developers came back with a registry entry fix that prevents the software from hanging on restore. This registry needs to be added to the Veeam Server,  Veeam Proxies, and Veeam Repositories.

Essentially you need to add this to any and all installations of Veeam in your infrastructure. Then all you do is Restart the Veeam Transport Service, named Veeam Data Mover Service. Alternatively reboot any and all servers.

The registry entry you need to add is as follows;

name: HangedAgentKillTimeout
path: HKLM\SOFTWARE\Veeam\Veeam Backup Transport
type: REG_DWORD
value: 28800

You can also put the following in a batch file if you’d like.

Reg Add “HKLM\SOFTWARE\Veeam\Veeam Backup Transport” /v HangedAgentKillTimeout /t REG_DWORD /d 28800