Hello,
Did you try to use the HP Scan & Capture and Windows Fax and Scan apps to try and scan?
Also, while installing the printer on your new Windows 10 PC, what is the error that you are getting? If possible reply with the screen shot of the error.
Thanks, I will watch for your reply!
Cheers
Please click "Accepted as Solution" on the post that solves your issue to help others find the solution. To show appreciation for my help, please click the "Thumbs Up Icon" below!