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

KB ID: 1174
Product: Veeam Backup & Replication
Version: 5.x, 6.x, 7.x, 8.x, 9.x
Published: 2011-08-23
Last Modified: 2022-03-08
Languages: DE | IT | FR | ES
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

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#ms_servers

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

While it is highly uncommon to do, it is possible to reconfigure dynamic port allocation following 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
 

Click here to send feedback regarding this KB, or suggest content for a new KB.
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.