How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

      Comments Off on How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

Did you try to use Veeam Agent for Windows feature to backup physical machines? Have you been noticed the exiting backups with a warning “Collecting recovery media files Details: Windows recovery image file not found”? Today, I am going to show you how to fix the issues.

121021 1701 HowtoFixVee1 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

Veeam Agent for Windows runs the Recovery Media collection process at the end of the backup job. The process enables Veeam Agent for Windows to generate the Veeam Recovery Media for the machine.

The Recovery Media collection process is based on the Windows RE/PE components that may be missing. For example:

  • Starting from Windows 10 version 1809, the WinPE component is an add-on to the Windows Assessment and Deployment Kit (ADK).
  • Veeam Agent machine has a hardware recovery partition instead of the system partition.

As a result, the backup job fails to process the WinRE image and displays the warning.

Check the status of the Windows RE components with the following command:

1.Start the command prompt.

2.Run the command: reagentc /info.

  • If the command returns Enabled, there is a possibility that system might be corrupted. It is worth checking system integrity. Use the dism.log command that may point to a possible cause.
  • If the command returns Disabled, it is most likely that the Windows RE/PE components are not installed or configured on the Veeam Agent machine.

121021 1701 HowtoFixVee2 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

If Windows RE/PE components are not installed or configured on the Veeam Agent machine, fix the Recovery Media collection process as shown here:

Veeam Recovery Environment is built off the Windows Recovery Environment, and the Recovery Environment is made from the Windows Preinstallation Environment.

If a system is missing the Windows PE/RE components, Veeam Recovery Media will fail to create.

The missing Windows Recovery Environment files will need to be copied from the Windows Installation media to the running system to resolve this issue.

Solution 1:

You should perform the following steps on the machine which is having the issue.

1.Mount the Windows Installation ISO, or insert the installation media

2.Using Windows Explorer, check the “sources” folder on the Windows install media:

  • If install.wim is present, skip to step 4
  • if install.esd is present, proceed to step 3

3.Using the DISM Export-Image function, extract the install.wim from the install.esd file in the install media:

*How to export install.wim from install.esd file

First, using the DISM Get-ImageInfo function, determine which Index ID inside the install.esd matches the installed version of Windows.

Modify file paths as needed for your environment.

dism /get-imageinfo /imagefile:D:\sources\install.esd

In this example, the machine had Windows 10 Pro installed, and using the previous command, Index #6 matched that version.

The /Compress switch must be included, if not the resulting wim file will fail to mount using DISM.

Dism /Export-image /SourceImageFile:D:\sources\install.esd /SourceIndex:6 /DestinationImageFile:C:\tempsources\install.wim /Compress:fast /CheckIntegrity

4.Using the DISM Mount-Image function, mount the install.wim:

Correct file paths as needed depending on the location of the install.wim.

  • Create dism folder at C drive.
  • DISM /Mount-image /imagefile:F:\sources\install.wim /Index:1 /MountDir:C:\dism /readonly /optimize

121021 1701 HowtoFixVee3 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

5.Copy WinRe.wim and ReAgent.xml files from the mounted image to the system’s C:\Windows\System32\Recovery folder:

Note: The example command will overwrite all data in the C:\Windows\System32\Recovery folder with content from the mounted image.

(WinRe.wim is a system file and is hidden by default, as such, you won’t be able to see the file once it’s copied to the target location.)

robocopy /MIR C:\dism\Windows\System32\Recovery\ C:\Windows\System32\Recovery

121021 1701 HowtoFixVee4 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

6.Enable Recovery image using REAgentC

reagentc /setreimage /path C:\Windows\System32\Recovery

121021 1701 HowtoFixVee5 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

7.Using the DISM Unmount-Image function, unmount the image mounted in Step 4.

Note: If the install.wim was extracted from an install.esd file, you can manually delete it during this step.

Dism /Unmount-image /MountDir:C:\dism /discard

121021 1701 HowtoFixVee6 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

Solution 2:

If it’s still not working, download and install ADK and Windows PE add-on with default settings as following link.

https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install

1.Run following command to verify WIN RE Image status.

reagentc / enable

dir /a /s c:\winre.wim

121021 1701 HowtoFixVee7 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

2.Run adkwinpesetup,exe to install ADK.

121021 1701 HowtoFixVee8 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

3.On the Specify location page, click Next.

121021 1701 HowtoFixVee9 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

4.On the Windows Key Privacy page, click Next.

121021 1701 HowtoFixVee10 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

5.On the License Agreement page, click Accept.

121021 1701 HowtoFixVee11 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

6.On the Select the features you want to install page, select Windows Preinstallation Environment (Windows PE), click Install.

121021 1701 HowtoFixVee12 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

7.On the User Account Control page, click Yes.

121021 1701 HowtoFixVee13 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

8.On the Welcome page, click Close.

121021 1701 HowtoFixVee14 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

121021 1701 HowtoFixVee15 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

9.Open Regedit.

10.Browse to “HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup”

11.Right-click Veeam Endpoint Backup, select New, click DWORD (32-bit) Value.

121021 1701 HowtoFixVee16 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

12.Edit DWORD (32-bit Value key with these details, click OK.

Name: ForceUseAdkForRecoveryMedia

Base: Hexadecimal

Value data: 1

121021 1701 HowtoFixVee17 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

13.Restart the “Veeam Agent for Microsoft Windows” service.

121021 1701 HowtoFixVee18 - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

Solution 3:

If you want to eliminate the warning, exclude the Veeam Agent machine from the Recovery Media collection process. Add the following registry key:

1.Run regedit.exe.

2.Locate the HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam EndPoint Backup key.

3.Add the following value under the key:

Name: DisableRECollection

Type: REG_DWORD

Value: 1

4.Go to Control Panel > System and Security > Administrative Tools > Services.

5.Restart the Veeam Agent for Microsoft Windows service.

After the registry key is created, Veeam Agent for Windows does not start the Recovery Media collection process at the end of the backup job.

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

Web Site: carysun.com

Blog Site: checkyourlogs.net

Blog Site: gooddealmart.com

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to Fix Veeam Collecting recovery media files Details Windows recovery image file not found

Author: Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net
Twitter:@SifuSun