[B]Here are the main options:[/B]
DISM.exe /Online /Cleanup-image /Checkhealth
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
[B]Note:[/B] [COLOR=#666666]If you get an [/COLOR][B]Error: 0x800f081f[/B] then you will have to tell DISM where a copy of Windows 10 is so it can check and copy files.
[B]Using DISM with Source options
[/B]Example 1: [I][B]DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:Windows10SourcesInstall.esd:1 /LimitAccess[/B][/I]
If you want windows update to be used then remove the “/LimitAccess” from the end
I made a copy of my Windows 10 and placed it on my C drive root,
My example: “DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:Windows10SourcesInstall.esd:1 /LimitAccess”
Before you can use the repair commands, you will either need a copy of the install.wim file from another computer, a Windows 10 installation media, or the Windows 10 ISO file. It’s also very important that the source of the known good files matches the same version, edition, and language of the operating system you’re using.
You can download the ISO for Windows 10 using these instructions:
Visit the Microsoft Windows 10 download page.
Click the Download tool now button.
Double-click the file to run the Media Creation Tool.
Follow the on-screen directions to create an ISO file with the same version and edition of your current version of Windows 10.
Once the process completes, double-click the file to mount the ISO, and note the drive letter as you’ll need it set the source path.
Note: If you come across any issues using the ISO using the Media Creation Tool, you can try downloading the Windows 10 installation files from the Microsoft’s Tech Bench Upgrade Program site.
Try [B]CheckHealth[/B] option,[COLOR=#666666]
Go to Task Manager,[/COLOR]
[COLOR=#666666]• File[/COLOR]
[COLOR=#666666]• Run new task[/COLOR]
[COLOR=#666666]• Type in “powershell” without the quotes[/COLOR]
[COLOR=#666666]• Check the box “Create this task with administrator privileges.”[/COLOR]
[COLOR=#666666]• Hit the enter key
[/COLOR][COLOR=#666666]
Now copy and paste “[/COLOR][B]DISM /Online /Cleanup-Image /CheckHealth /source:WIM:C:Windows10SourcesInstall.esd:1 /LimitAccess[/B][COLOR=#666666]” without the quotes. and hit enter.
[/COLOR][COLOR=#666666]
[/COLOR]Try [B]ScanHealth [/B]option,[COLOR=#666666]
Go to Task Manager,[/COLOR]
[COLOR=#666666]• File[/COLOR]
[COLOR=#666666]• Run new task[/COLOR]
[COLOR=#666666]• Type in “powershell” without the quotes[/COLOR]
[COLOR=#666666]• Check the box “Create this task with administrator privileges.”[/COLOR]
[COLOR=#666666]• Hit the enter key
Now copy and paste “[/COLOR][B]DISM /Online /Cleanup-Image /ScanHealth /source:WIM:C:Windows10SourcesInstall.esd:1 /LimitAccess[/B][COLOR=#666666]” without the quotes. and hit enter.
[/COLOR][COLOR=#666666]
[/COLOR]Try [B]RestoreHealth[/B] option,[COLOR=#666666]
Go to Task Manager,[/COLOR]
[COLOR=#666666]• File[/COLOR]
[COLOR=#666666]• Run new task[/COLOR]
[COLOR=#666666]• Type in “powershell” without the quotes[/COLOR]
[COLOR=#666666]• Check the box “Create this task with administrator privileges.”[/COLOR]
[COLOR=#666666]• Hit the enter key
Now copy and paste “[/COLOR][B]DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:Windows10SourcesInstall.esd:1 /LimitAccess[/B][COLOR=#666666]” without the quotes. and hit enter.
[/COLOR]