https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxMTc0IiwiaGFzaCI6IjU0YmZmOTZlLWIxYWMtNGFkYy04MWZlLTk5OWRkMWI0NDQ0ZiJ9
1-800-691-1991 | 9am - 8pm ET
EN

RPC function call failed. The RPC server is unavailable. w/ Application-Aware Image Processing

Challenge

VSS fails with the error: RPC error:The RPC server is unavailable. Code: 1722

Cause

1. The ports that Veeam Backup & Replication is attempting to use are blocked by a firewall.
2. The VeeamVSSSupport service is stuck on the Guest OS
3. Antivirus or Antimalware software may attempt to interact with the VeeamVSSSupport service executable.
 
In rarer cases dynamic port allocation needs to be configured.
Note: If the VM that is failing to be connected to is Windows Server 2003, you need to use the RPC Configuration Tool (RPCCfg.exe) from the Windows Server 2003 Resource Kit to complete the process that is described in this article.
 
Additional troubleshooting steps can be found in the following Microsoft KB article:
http://social.technet.microsoft.com/wiki/contents/articles/4494.windows-server-troubleshooting-the-rpc-server-is-unavailable.aspx

Solution

──────────────────────────────────────────────────────────
Firewall / Ports
──────────────────────────────────────────────────────────
A full list of used ports can be found here:  https://helpcenter.veeam.com/docs/backup/vsphere/used_ports.html?ver=95u4
 
When Veeam Backup & Replication connects to a VM it creates firewall exclusions for the ports and processes it uses. Veeam Backup & Replication however is not able to add firewall exclusions to hardware or third-party software firewalls.

The most common ports that cause this issue when using Application-Aware Image Processing are the Dynamic RPC ports that the temporary guest agents are assigned. These ports are:
•1025 to 5000 (for Microsoft Windows 2003)
•49152 to 65535 (for Microsoft Windows 2008 and newer)
 
Note: The NIC’s Network Location being set to Public mode will also cause this, as Public mode sets the firewall it’s strictest settings.


──────────────────────────────────────────────────────────
VeeamVSSSupport service cleanup
──────────────────────────────────────────────────────────
When no job is processing the VM connect to it and check the following things:
1. Make sure the VeeamVSSSupport service is no longer present.
      •If it is, use the command ‘sc delete VeeamVSSSupport’ to remove the service.
2. Make sure the c:\Windows\VeeamVSSSupport folder is not present.
      •If it is, delete the folder. If it fails to delete reboot or resolve the file lock.
 
──────────────────────────────────────────────────────────
Antivirus/Antimalware
──────────────────────────────────────────────────────────
Please review the full list of Antivirus/Antimalware exclusions listed here: http://www.veeam.com/kb1999
 
The most common solution is to exclude the C:\Windows\VeeamVSSSupport\ folder from being scanned.
 
──────────────────────────────────────────────────────────
Dynamic Port Configuration
──────────────────────────────────────────────────────────
To configure dynamic port allocation follow the steps outlined in the following Microsoft KB article.
These changes will need to be made on the server that Veeam Backup & Replication is having trouble connecting to.
 
http://support.microsoft.com/kb/154596

 
KB ID:
1174
Product:
Veeam Backup & Replication
Version:
5.x, 6.x, 7.x, 8.x, 9.x
Published:
2011-08-23
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
2.8 out of 5 based on 2 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later