Use DISM on different parition
I am trying to repair a corrupted windows installation which is on a separate local drive d:
using DISM but I cannot find any information on how to run DISM to a repair a windows installation which is on a separate drive.
How can I run the following command on drive d:
dism /online /cleanup-image /restorehealth
Solution 1:
/Online
means the current running Windows. If you want to serve a different windows, use the Image
parameter:
dism /Image:D:\ /cleanup-image /restorehealth