Hi GP. I'm Greg, an installation specialist, 9 year Windows MVP and Independent Advisor, here to help you.
Make sure you're following this guide:
https://www.howtogeek.com/269093/how-to-cast-yo...
Troubleshooting:
https://answers.microsoft.com/en-us/windows/for...
If nothing else helps I'd contact HP Support to find out if your PC can be made capable for this.
I hope this helps. Feel free to ask back any questions and let us know how it goes. I will keep working with you until it's resolved.
______________________________________________
Standard Disclaimer: There are links to non-Microsoft websites. The pages appear to be providing accurate, safe information. Watch out for ads on the sites that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the sites before you decide to download and install it.