fbpx

Last Updated on

ADVERTISEMENT

Is Windows 10 giving you a headache?

In this guide, we’ll show you how to repair the Windows image to allow the System File Checker (SFC) to fix the installation.

On Windows 10, the Deployment Image Servicing and Management (DISM) is a tool designed for administrators to prepare, modify, and repair system images, including the Windows Recovery Environment, Windows Setup, and Windows PE.

However, you can also use the tool with Command Prompt to fix common problems with the hidden recovery image on your device.

Usually, when your computer is experiencing performance issues, doesn’t start correctly, or you’re troubleshooting unexpected errors, you can use the System File Checker tool to scan, detect, and replace corrupted or missing system files using the locally available recovery image.

However, if the replacement files inside the Windows 10 image are damaged in any way, the SFC command won’t work.

In this particular situation, you can use DISM to scan and repair the “install.wim” image, which you can then use with SFC to repair your installation.

In this Windows 10 guide, we’ll walk you through the steps to use the DISM and SFC tools with Command Prompt to bring your device back to a healthy system state.

Windows, like the other Operating Systems, is not perfect. One of the most critical problems that can be caused by Malware.

There are millions of malware in circulation.

Malware can literally destroy your Windows PC.

Do you have an Anti-Malware? or is your Anti-Malware really working?

Common Repairs​

ADVERTISEMENT

Windows has pre-installed components and programs to try to repair itself.

The only problem is if they work properly, let’s say it’s a miracle if they work and save Windows.

Repair Windows 10 using SFC

The instructions outlined above will repair any issues inside the local image that’s part of the current installation.

But they don’t fix any problems with the actual Windows 10 installation.

However, now that you have a working image, you can use the System File Checker to repair common issues preventing Windows 10 from running correctly.

To use the SFC command tool to repair the Windows 10 installation, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the “Run as Administrator” option.
  3. Type the following command and press enter: sfc /scannow

You will see something like this:

Repair Windows 10 using DISM

Using the Deployment Image Servicing and Management command tool you have three main options to repair an image of Windows 10, including CheckHealth, ScanHealth, and RestoreHealth, and you want to run them in that hierarchy.

Also, depending on the severity of the issue, there are additional settings that you can use with the RestoreHealth option to repair an image using different sources.

Checking issues with DISM using CheckHealth option​

You can use the CheckHealth option with DISM to quickly determine if there are any corruptions inside the local image. However, the option won’t perform any repairs.

To check for issues within the image with DISM, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the “Run as Administrator” option.
  3. Type the following command to perform a quick health check and press enter: DISM /Online /Cleanup-Image /CheckHealth

Once you complete the steps, the command will run and verify if there is any data corruption that needs fixing.

Checking issues with DISM using ScanHealth option​

Alternatively, you can run DISM with the ScanHealth option to perform a more advanced scan to check if the Windows 10 image has any problems.

To perform an advanced scan with DISM, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to perform an advanced DISM scan and press enter: DISM /Online /Cleanup-Image /ScanHealth

After you complete the steps, the advanced scan will take several minutes to determine if the local image needs repairing.

Repairing issues with DISM using RestoreHealth option​

If there are issues, then you can use DISM with the RestoreHealth option, which will run an advanced scan and repair any problems automatically.

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press enter: DISM /Online /Cleanup-Image /RestoreHealth

Once you complete the steps, the Deployment Image Servicing and Management tool will connect to the Windows Update servers to download and replace any damaged files in the local image for Windows 10 as necessary.

Repairing issues with DISM using WIM image

When using DISM is very much unlikely to run into issues, but if Windows Update is causing problems, you’ll need to use an alternative source to repair the files using another image with the Source option.

Before you can specify a different source, you’ll need an install.wim or install.esd file from another computer, bootable installation media, or ISO file.

Also, it’s essential that the source of the good known files matches the same version, edition, and language of Windows 10 that you’re using.

Download Windows 10 ISO file

The recommended method for accessing a good image is using the Media Creation Tool to download an ISO image of Windows 10.

To download the ISO file of Windows 10, use these steps:

  1. Open this Microsoft support website.
  2. Click the Download tool now button.
  3. Double-click the MediaCreationTool1xxxx.exe file to launch the app.
  4. Click the Accept button to agree to the terms.
  5. Select the Create installation media (USB flash drive, DVD, or ISO file) for another PC option.

6. Click the Next button.

7. Click the Next button again.

8. Select the ISO file option.

9. Click the Next button.

10. Select the destination for the ISO file.

11. Click the Save button.

12. Click the file location link to open File Explorer.

13. Click the Finish button.

14. Double-click the Windows.iso file to mount the image.

15. In File Explorer, note the drive letter for the mounted image.

After you complete the steps, you can use DISM with the Source option to repair the local image of Windows 10.

Fix Windows 10 recovery image

To run DISM specifying a source (install.wim) image, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command and press enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim

4. In the command, make sure to replace “E,” for the letter that corresponds to your ISO mount point.

5. (Optional) Type the following command to limit the use of Windows Update and press enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:F\sources\install.wim /LimitAccess

6. (Optional) Type the following variant of the previous command to accomplish the same task and press enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:F:\sources\install.wim:1 /LimitAccess

Once you complete the steps, the command will scan and repair any issues using the install.wim image that you specified.

7. In the command, make sure to change “C:\$Windows.~BT\Sources,” for the path that corresponds to the location of the install.esd file (if applicable).

8. (Optional) Type the following command to limit the use of Windows Update and press enter:DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\$Windows.~BT\Sources\Install.esd /LimitAccess

9. (Optional) Type the following variant of the previous command to accomplish the same task and press enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:C:\$Windows.~BT\Sources\Install.esd:1 /LimitAccess

10. (Optional) Type the following command to use an install.esd file located in another drive and press enter: DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\Sources\Install.esd

In the command, make sure to change “D:\Sources,” for the path that corresponds to the location of the install.esd file. After you complete the steps, the Deployment Image Servicing and Management command tool will run and repair the damaged files using the files included in the install.esd image. Once the process completes, the log files will be saved on %windir%/Logs/CBS/CBS.log and %windir%\Logs\DISM\dism.log capturing any issues found and those that were fixed.

Reset Windows 10 with CMD

Reset this PC is a built-in feature of Windows 10. When your computer isn’t running well, you can use this feature to restore it to factory default configuration.

To reset Windows 10, type “systemreset -cleanpc” in an elevated command prompt and press enter: systemreset -cleanpc

Run system restore with command prompt

  1. Start your computer and press F8 repeatedly until the Windows advanced options menu appears.
  2. Click “Safe Mode with command prompt” and press Enter.
  3. Sign in using an administrator account if needed. Once the command prompt is showing, type the command: rstrui.exe
  4. Then press Enter.

4. This command will bring you to the interface of System Restore. You can either use recommended restore point or choose a restore point.

5. Then click Next. Follow the instruction to complete system restore.

Conclusion

That’s all we know for now :3

Remember that we constantly update this post like the others.

Hope this post helped you someway.

Thanks for reading.

Remember to share this post with your preferred social network and tell your followers how you find it.

Need help? comment below this post and we will contact you soon if possible.

ADVERTISEMENT
ADVERTISEMENT
Categories: Windows

Jonathan Terreo

Jonathan is a Software/Web Developer that loves blogging in the free time. He loves to upload quality content to his websites. He is a WordPress/SEO expert due to his experience.

Do NOT follow this link or you will be banned from the site! Lorem luctus diam eget at Sed ut non fringilla Aenean sem,