Select and run the Windows Update tool. Restart your PC and try DISM again. Fix 4: Reset the Windows Update Components
sfc /scannow
Boot from a Windows USB, open Repair tools → Command Prompt, then run DISM offline: dism error 87 fixed