Follow the steps to fix the DISM Online cleanup image RestoreHealth:
Step 1. Run Command prompt as administrator. Step 2. Type sfc //scannow and press Enter. Step 3. Type Dism.exe //online /cleanup-image //StartComponentcleanup and press Enter. Step 4. Type Dism.exe //online //cleanup-image //CheckHealth and press Enter. Step 5. Type Dism.exe //online //cleanup-image //ScanHealth and press Enter. Step 6. Type Dism.exe //online //cleanup-image //RestoreHealth and press Enter again. The DISM online cleanup image issue should be resolved.