Disclaimer: This article offers advice based on official HP support guidelines. Always back up important data before performing a factory restore.

Open the HP Support Assistant app on your computer and check for software updates. 2. Run a Repair Upgrade on Windows

Does the error happen , or during a restoration attempt ?

Launch the tool as an administrator and enter your computer's specific product ID.