8

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
1
  • have you tried it? Does it work? Jul 23, 2016 at 8:21

2 Answers 2

15

/Online means the current running Windows. If you want to serve a different windows, use the Image parameter:

dism /Image:D:\ /cleanup-image /restorehealth
-1

I used this command: DISM.exe /Image=D:\ /Cleanup-Image /RestoreHealth then I hit enter. The HDD I was running dism on was in a docking station, connected by usb cable. Hope this helps?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .