I spent many hours trying to resolve this problem. Allow me to make your life easier. HP Smart apparently depended on Adobe Flash. Adobe no longer supports Flash as of earlier this year. Somehow, HP Smart continued to work until just recently. Then it just crapped out with useless error messages. Here's the solution.
It would have been really great if HP had simply caused the following to happen automatically, but they did not -- so you need to do this manually.
1. Download HP Scan and Capture.
For Windows, it can be found at this link:
https://www.microsoft.com/en-us/p/hp-scan-and-capture/9wzdncrfhwl0?activetab=pivot:overviewtab
2. Configure it to meet your needs.
3. Uninstall HP Smart.
=====
Richard L. Kuper
The Kuper Report