Hi,
Thank you for writing to Microsoft Community Forums.
We understand the difficulties you are facing while sharing the PC screen to the TV. In order to get clarity and to assist you accordingly, please reply with the answers to the questions below.
- What is the Windows 10 version and Build installed? (Type winver in Windows search/Run command)
- What is the model number of the HP PC?
- What is the model number of the Samsung smart TV?
- What type of screen sharing that you have opted? (Extended/duplicate)
- How the PC is connected to the smart TV?
Meanwhile, we would suggest you to refer the steps in these article:
Troubleshoot external monitor connections in Windows 10
Fix connections to wireless displays or docks
We await your response,
Aditya Roy
Microsoft Community – Moderator