Try these steps in order for Windows 11:
- Check the selected output device.
- Select the Speakers icon on the taskbar.
- Select the arrow to the right of the volume slider to open the list of audio devices.
- If the monitor appears there, select it as the output device.
- Make sure the audio device is not muted or disabled.
- Right-click the Speakers icon on the taskbar.
- Select the arrow to the right of the volume slider, then select the settings icon for More mixer settings.
- Confirm the device is not muted.
- Go to Start > Settings > System > Sound.
- Under Advanced, select More sound settings.
- On the Playback tab, select the monitor or audio device, choose Properties, and make sure Device usage is set to Use this device (enable).
- Set the correct default audio device.
- Go to Start > Settings > System > Sound.
- In Output, select the monitor or HDMI audio device to make it the default output device.
- If an external monitor without speakers is selected, there will be no audio, so make sure the correct HDMI display audio device is chosen.
- Check for Windows updates.
- Go to Start > Settings > Windows Update.
- Select Check for updates.
- Install available updates, including audio driver updates, then restart the PC.
- Reinstall the audio driver.
- In the taskbar search box, type Device Manager and open it.
- Expand Sound, video and game controllers.
- Right-click the sound card or audio device and select Uninstall device.
- If prompted, confirm uninstall.
- Restart the PC. Windows should automatically reinstall the audio driver.
- Save open work first, because this step requires a restart.
- If reinstalling does not help, update the driver manually.
- In Device Manager, expand Sound, video and game controllers.
- Right-click the audio device and select Update driver.
- Select Search automatically for drivers.
- If Windows does not find a newer driver, install the latest audio driver from the device manufacturer.
- If sound stopped working after updates, roll back the audio driver.
- In Device Manager, right-click the audio device and select Properties.
- Open the Driver tab.
- Select Roll Back Driver if available.
- Restart Windows audio services.
- In the taskbar search box, type services and open it.
- Restart these services one by one:
- Windows Audio
- Windows Audio Endpoint Builder
- Remote Procedure Call (RPC)
- If the device uses IDT High Definition Audio CODEC, try the manual driver switch.
- In Device Manager, expand Sound, video and game controllers.
- If IDT High Definition Audio CODEC is listed, right-click it and select Update driver.
- Select Browse my computer for drivers > Let me pick from a list of available drivers on my computer.
- Select High Definition Audio Device, then select Next.
A practical order for this specific HDMI scenario is: set the output device, verify it is enabled, reinstall/update the audio driver, then restart audio services.
References: