DISM.EXE /Online /Cleanup-Image /RestoreHealth


  • Windows 2012 Essentials was continually reporting that there was a pending restart when trying to install any roles and/or features - After several reboots, Windows Updates, Registry Fixes and various other potential fixes I was directed to a blog article that suggested the fix might be to run the DSIM.exe with the arguments /Online /Cleanup-Image /RestoreHealth.

    However, when running the command I continually get an 'Error: 87 the cleanup-image option is unknown', despite it clearly being listed in the /?. I have tried the command on a 2012 box that does not have the issue (mainly for my own sanity) and all seems to be working fine... has any one else come across this problem?  Any suggestions to get round this would be greatly appreciated, this is a client's production server and is mid migration so getting these roles and features on ASAP is really critical!

    Thanks guys.

    Tuesday, August 13, 2013 10:15 AM


All replies