#1 Global Leader in Data Resilience

Restore to EC2 Error: "Failed to validate machine: Cannot find a suitable image for the restored machine."

KB ID: 4503
Product: Veeam Backup & Replication | 11 | 12
Published: 2023-10-18
Last Modified: 2023-10-19
mailbox
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

A Restore to Amazon EC2 fails with the error:

Failed to validate machine <name>: Cannot find a suitable image for restored machine.
Error

Cause

The default list of Windows Images that Veeam Backup & Replication attempts to reference contains images that were recently removed from AWS.

Solution

Note: This issue will be resolved in the next release of Veeam Backup & Replication.

To resolve this issue in Veeam Backup & Replication versions 11/11a/12, create the following registry value on the Veeam Backup Server:

Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication
Value Name: AmazonDefaultWindowsImage
Value Type: Multi-String Value (REG_MULTI_SZ)
Value Data: <see code block below>

Tip: Hover over the code block and click the copy button in the top-right corner.

Windows_Server-2022-English-Full-Base-2023.08.10
Windows_Server-2022-English-Full-Base*
*Windows_Server-2022-English-Full-Base*
*Windows_Server-2022-English-Core-Base*
*Windows_Server-2019-English-Core-Base*

Note: The values shown will support the restore of all Windows OSes, and there is no need to modify this list to add additional OSes.


PowerShell command to create the registry value:

New-ItemProperty -Path 'HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication' -Name 'AmazonDefaultWindowsImage' -Value "Windows_Server-2022-English-Full-Base-2023.08.10","Windows_Server-2022-English-Full-Base*","*Windows_Server-2022-English-Full-Base*","*Windows_Server-2022-English-Core-Base*","*Windows_Server-2019-English-Core-Base*" -PropertyType MultiString -Force
No Reboot Required
This registry value does not require a reboot and will be effective during the next restore attempt.

More Information

Example of correct registry value configuration:
Example
To submit feedback regarding this article, please click this link: Send Article Feedback
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 hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please, try again later.

You have selected too large block!

Please try select less.

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 hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
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.