Monday 21 July 2014

VEEAM Backup & Replication 7.0.0.833 VM Fails to Backup with Error "Client Error: An Existing Connection was Forcily Closed by the Remote Host".

A Virtual Machine running on vSphere 5.1 running Windows Server 2003 R2 fails with the error "Client Error: An Existing Connection was Forcibly Closed by the Remote Host".


The cause of this issue is that packets are being dropped. The fix is to create a new DWORD key in the Registry of the VM that is failing to backup. The Registry path is \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters, create a new DWORD with the value of SynAttackProtect and set the value to 0.

The following link outlines the function of the SynAttackProtect http://technet.microsoft.com/en-us/library/cc938202.aspx registry value. It is a protection mechanism against TCP SYN's (handshaking) floods, setting the value to 0 disables this features.