-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Operating Systems and Recovery
- Missing Command Prompt

Create an account on the HP Community to personalize your profile and ask a question
06-25-2022 07:08 PM
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?
06-25-2022 07:14 PM
Please check the following list
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands
Regards.
***
**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.
06-25-2022 08:31 PM - edited 06-25-2022 08:35 PM
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
⌨️