I'm not sure exactly what it is what you are asking, Peter. I am unable to view the files you have at Dropbox without running the command myself.
In order to complete this you need to have Windows Setup Media.
These are the instructions and there seems to be several different ways to achieve the attempt at correcting the corrupted files.
As for .wim files, they are windows imaging files and I'm not sure about the .erd files.
Here is a program to help users with corrupt windows files..
This program will run System File Checker and DISM commands to repair an online Windows image
and will look for the setup media to use as a repair source
Step 1: Download and Extract > IMAGE_HEALTH.ZIP to a root drive (ie C:\Image_Health )
Step 2: Right-Click IMAGE_HEALTH.CMD > Select Properties > Select Unblock
Step 3: Insert your Windows Setup Media ( Mounted ISO or DVD or USB )
Step 4: Right Click on IMAGE_HEALTH.CMD and Run as Administrator
The preferred method of use would be to select
Option 1 ScanHealth > if shows as repairable,
then
Option 2 RestoreHealth > if shows as needing source file,
then
Option 3 RestoreHealth /source
Note: Dism uses the component store as it's main source for Image Repair, and windows updates are placed in the component store, so best to try to use current component store for RestoreHealth,
before selecting Option 3 and redirecting the repair source, to the windows setup media..
Option 4 > will analyze the component store, it will tell you if the store can be cleaned up -
Option 5 > will cleanup (Remove) superseded windows files over 45 days old in the component store
Option 6 > will cleanup (Remove) ALL superseded windows files in the component store
Option 7 > will run Revert Pending Dism Actions (UnLock, The Locked Disk Message)
Option 8 > will export 3rd Party System Drivers into a "Drivers" folder
Option 9 > will run System File Checker SFC /Scannow
Note: SFC has been known to flag perfectly good files as corrupt, although this does not harm anything other, then the user now thinking the system is corrupt, and resulting in false positive confusion about the corruption
Option 10 > will run Disk Cleanup Manager in Extended Mode
Option 11 > will run ShowKeyPlus to retrieve windows product key
Note: There are log files to help you and others troubleshoot dism issues,
C:\Windows\Logs\CBS\CBS.log
C:\Windows\Logs\DISM\dism.log
It is advised to delete those .log files first, then run the program and post the .log(s) as .txt files in forum..