This particular command line is used to repair an online Windows image. The \RestoreHealth part of this command primarily instructs DISM to repair the online Windows image but also opens the gate for the user to specify additional repair source locations which DISM can search for the files required to repair the online Windows image. When running this command line on Windows 10, however, some Windows users may face failure and the following error message.
This error message basically states that DISM was unable to find the files required to fix the online Windows image in their default location. To resolve this issue, you have to either run a component clean up and then an SFC Scan or provide DISM with a location that contains the files it needs to attempt the image repair. You can also fix this by upgrading Windows via the media creation tool on the Microsoft website.
Method 1: Performing a Component Cleanup
By using DISM component cleanup switch, you can clean up the image and get everything running properly again. Here’s how to get it done. At this point, Dism /Online /Cleanup-Image /RestoreHealth should work again.
Method 2: Getting Source from Windows Image
With a fresh Windows 10 image, you can run the DISM command with a location that contains the files it needs to attempt the image repair. Please make sure that you download the Windows 10 ISO file from the Tech Bench dump link provided above as doing so will result in you ending up with an ISO containing the Install.wim file, which is what you need. Downloading a Windows 10 ISO from the Microsoft Media Creation Tool will result in you ending up with an ISO containing an Install.esd file, which is pretty much useless for the purposes of fixing error 0x800f081f.
Method 3: Upgrading Windows
Though this is a long process, it solves the problem by reinstalling the entire Windows core with the latest image from Microsoft, hence fixing the issue. This tool will work on Windows 7, Windows 8.1, or Windows 10.
Fix: Windows Update Error 0x800F081FHow to Fix Error Code ‘DISM Error 1910’Fix: DISM error 1726 “The remote procedure call failed"Fix: DISM error 87 on Windows 10