Fix: ESENT 642 wuaung.dll in Macrium During Backup

When taking an image backup in Macrium, you may notice the error ESENT 642 in relation to wuaung.dll. This is actually a Windows update error and is caused by an corrupted Windows Update Datastore.

To fix this issue, we’ll perform a health scan and then restore the datastore if it’s indeed corrupted.

  1. Right-click on the Start menu and select Windows Powershell (Admin). If you’re using an earlier version of Windows, open the Start Menu, type cmd, right-click and open as an administrator.
  2. Type the following command in the shell: exe /Online /Cleanup-image /Scanhealth. Wait while the scan finishes and displays the scan results. If the results don’t show an error, click here and install the latest version to your computer.
  3. If the scan produced an error, run this command and wait for the datastore to be fixed:

dism.exe /Online /Cleanup-image /Restorehealth

Once the restoration is complete, you should be able to take Macrium backups with no errors.

Alternatively, you can download this script by Shawn Brink to reset and reregister Windows Update components.

  1. Download the .bat file from here.
  2. Right-click on bat file and select Run as Administrator.
  3. Wait for the script to do it’s work and then restart your computer when it’s done.
Kevin Arrows
Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Expert Tip

Fix: ESENT 642 wuaung.dll in Macrium During Backup

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested