IN never came with w10 from, HP ever.
ok, HP told you not to use W10 , HP does not support w10 on this PC, now you can but some things will be dead.
I can list them all but will not now.
musical OS day, ?wow !@
you installed W7 from whom and what, ? MS disks or HP?
you installed w10 from whom? not HP but was MS, so was a fresh install or upgrade install, I cant guess or see what you did, not ever.
why not just run w7 and not upgrade, so HP will give you full support , why not?
head set, so does that mean , 3.5mm phone jacks dead
or are those USB head sets. we cant guess that either.
USB phones will cause chaos if not set up manually, ask.
3.5mm is child's play,
I own many 8540w, laptops.
all run W10 but I had to get the drivers to all dead chip from the chip maker, HP does not have them, because they dont support w10 here, nor do the security software work at all ever, there.
and more, the speaker control panel buttons are dead too...
until i fixed that panel, with a HP w7 force fed driver.
this pc came with XP ,vista or w7 , 32 and 64bit.
so what did you load, 32 or 64 bit, i cant guess that either.
so let me guess,
3.5mm dead, but not internal speakers,
so load this HP driver, off your official HP page.
its shows audio there see that, sp12345.exe
match the BITS (32/64) hint hint
IDT High-Definition (HD) Audio Driver
this driver is certified on w7 only.
so if it dont work then we go the chip makers site
for a newer driver,
it must be a 4 way match.
and driver to match.
in all cases.
full support here, at HP
link is 64bit. back up one page to get 32'