Hi
I've never tried this as a solution to this problem, but you could try disabling the headphone output device in the playback device manager.
- Right click the speaker icon in the tray and click playback devices.
- Right click and show disabled devices.
- Right click the headphone output and disable.