• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Microsoft Windows 11

I enter the command Prompt "dism.exe /Online /Cleanup-image /Restorehealth." I got an error message that read:  The Online /Cleanup-image /Restorehealth option is unknown.  What would I need to do to obtain this command prompt option?

2 REPLIES 2
HP Recommended

@ReeseX 

 

Please check the following list

 

           https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands

 

Regards.

BH
***
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.




HP Recommended

Hello @ReeseX 

 


@ReeseX wrote:

I enter the command Prompt "dism.exe /Online /Cleanup-image /Restorehealth." I got an error message that read:  The Online /Cleanup-image /Restorehealth option is unknown.  What would I need to do to obtain this command prompt option?


Wrong (there is period at the end of Restorehealth)

"dism.exe /Online /Cleanup-image /Restorehealth."

 

Correct (without a period at the end of Restorehealth)

"dism.exe /Online /Cleanup-image /Restorehealth"

 

Correct (without a period at the end of Restorehealth)

dism.exe /Online /Cleanup-image /Restorehealth

 

These are unique parameters:

/Online

/Cleanup-image

/Restorehealth

 

best regards

---

Dear Community Member, please click the button [ YES ] on "Was this reply helpful?" to say Thanks and

make it easier for other people to find this type of solution by marking the reply ▶️ [ Accept as Solution ] ◀️

Do this on the post I wrote that helped solve it.

Thank you very much

             ⌨️

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.