How to Add Repair Windows Image Context Menu in Windows 10


If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem.

For example, you would use DISM to fix Windows component store corruption when a sfc /scannow command is unable to repair corrupted or modified system files because the component store (source) is corrupted. SFC should be able to repair the files afterwards.

This tutorial will show you how to add a Repair Windows Image desktop context menu in Windows 10.

The Check Health of Windows Image item in the context menu will run the Dism /Online /Cleanup-Image /CheckHealth command to only check whether the image has been flagged as corrupted by a failed process and whether the corruption can be repaired. This is just a quick way to see if corruption currently exists, and to inform you if there is corruption. This does not fix anything or create a log. This will finish running almost instantly.

How to Add Repair Windows Image Context Menu in Windows 10-dism_checkhealth.png

The Repair Windows Image item in the context menu will run the Dism /Online /Cleanup-Image /RestoreHealth command to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the "C:\Windows\Logs\DISM\dism.log" log file. This can take around 10-15 minutes up to a few hours to finish depending on the level of corruption. It will stay at 20% for a while before continuing. An Internet connection is required for "Repair Windows Image".

How to Add Repair Windows Image Context Menu in Windows 10-dism_restorehealth.png

You must be signed in as an administrator to add, remove, and use the "Repair Windows Image" context menu.


EXAMPLE: Repair Windows Image context menu
How to Add Repair Windows Image Context Menu in Windows 10-repair_windows_image_context_menu.jpg



Here's How:

1 Do step 2 (add-right click), step 3 (add-Shift+right click) , or step 4 (remove) below for what you would like to do.


2 To Add Right Click "Repair Windows Image" Context Menu

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Add_Repair_Windows_Image_context_menu.reg

Download


3 To Add Shift + Right Click "Repair Windows Image" Context Menu

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Add_Shift+right_click_Repair_Windows_Image_context_menu.reg

Download


4 To Remove "Repair Windows Image" Context Menu

This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 5 below.

Remove_Repair_Windows_Image_context_menu.reg

Download


5 Save the .reg file to your desktop.

6 Double click/tap on the downloaded .reg file to merge it.

7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

8 You can now delete the downloaded .reg file if you like.


That's it,
Shawn