Hello all. I'm attempting to run the command of "DISM.exe /Online /Cleanup-Image /RestoreHealth" in an Admin CMD prompt window, but it keeps throwing an ERROR 87 back at me. Says it doesn't recognize the /Online /Cleanup-image /RestoreHealth option. I used the /? to read the help file, and it includes those options within the help, so I cannot figure out why it won't work. Anyone have any suggestions as to how I can get this to work with 64bit Windows 8.1 Pro VL, with all the latest updates and hotfixes installed? TIA!
The error is due to bad syntax, you didn't leave spaces between switches: Code: Dism /Online /Cleanup-Image /RestoreHealth
That did the job, alright!! What seems strange is that I did a copy/paste directly from the website article of the command, and then I did another copy/paste when I made this post. I double checked, and there are spaces in the copy/paste that I did. However, it did not work when I pasted it into the cmd prompt. When I did a copy/paste of yours, it worked just fine, even though yours had the same spaces that the original did. The only difference was that you left off the ".exe" part. Well, strange or not, yours did, indeed, work just fine, and I thank you for the help, and the lesson!! Take care..
I don't think the .exe extension affects the syntax, but perhaps you wrote the " " in the line. You must do it without quotation marks.
I added the quote marks just for this forum post. I really cannot explain the difference between your code, and the code that I originally did a copy/paste with, except to say that yours' worked, and the original did not.... The important thing is that yours' DID work, so problem solved. Again, many thanx !!