Hello Everybody,
I am not able to execute the command
DISM /Online /Cleanup-Image /RestoreHealth
smoothly to completion.
Why am I running this command? Actually, the reason why I ran this command for the first time in my life was some other problem that I had faced in windows 10, and that problem had gotten solved when I ran this command for the first time in my life. And the DISM /Online /Cleanup-Image /RestoreHealth command had run smoothly to its completion when I had executed this command for the first time in my life.
And the reason why I'm running this command now is different. Windows XP, Vista & 7 used to provide two options for checking a drive for errors: "1)" or "1) + 2)". Here "1)" is "Automatically fix file system errors"; and "2)" is "Scan for and attempt recovery of bad sectors". Windows 10 provides just one option in the windows explorer GUI: "1)". Nevertheless, "1) + 2)" can be executed by starting command prompt as administrator and issuing this command: CHKDSK C: /F /V /R /offlinescanandfix
About an year ago, I faced some problem and to solve it I had to use the commands DISM and SFC. Since then, I replaced this old* sequence of mine
{
Windows Update
CHKDSK C: /F /V /R /offlinescanandfix
Windows Defender Full System Virus Scan
Windows Defender Boot-time Virus Scan
Disc Cleanup
Ccleaner Cleanup
Windows Update
CHKDSK C: /F /V /R /offlinescanandfix
Windows Update
}
of tasks that I execute for the sake of maintenance, by the following sequence:
{
Windows Update
CHKDSK C: /F /V /R /offlinescanandfix
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
SFC /scannow
Windows Defender Full System Virus Scan
Windows Defender Boot-time Virus Scan
Disc Cleanup
Ccleaner Cleanup
Windows Update
CHKDSK C: /F /V /R /offlinescanandfix
Windows Update
}
* the oldest version of this sequence included some other things, (like disc defragmentor) between Disc Cleanup and Ccleaner Cleanup, that I - with experience - started to prefer to not execute at all at any moment, after installing the Operating System.
The first three DISM commands ( StartComponentCleanup, CheckHealth & ScanHealth ) are (only this time, unlike the earlier times when the entire sequence used to run smoothly) saying: "The component store is repairable."
And the
DISM /Online /Cleanup-Image /RestoreHealth
command says:
"
Error: 0x800f081f
The source files could not be found. Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see https://go.microsoft.com/fwlink/?LinkId=243077
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
"
I followed the link https://go.microsoft.com/fwlink/?LinkId=243077 and read that webpage. I downloaded the software "MediaCreationTool22H2.exe" from the website https://www.microsoft.com/en-in/software-download/windows10 and then used that software to download the 4.45 GB iso image file of Windows 10 OS DVD. I mounted the iso file as F drive and then executed the command
DISM /Online /Cleanup-Image /RestoreHealth /Source:F:\sources\sxs
The problem still persists.
Will any of the good people here please help me?