Please try the below steps :
1. Right click on Speaker ICON in System Tray.
2. In the playback tab, select Digital output device or HDMI option.
3.Click Set Default and click OK. Then the HDMI sound output will be set as default.
If you do not see the Digital Output Device or HDMI option in the Playback tab, right click on the blank place, then click Show disconnected devices and Show disabled devices on the context menu. Then set it as default device.
Note : Please make sure that Windows is upto date.
Please click ‘Accepted 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.
I am an HP Employee