Web Site and download the Sound Drivers for this model HP or use the Slipstreamed CD that came with the system to install the sound drivers by going to the Computer Management choosing Devices and then right clicking on any devices with a yellow circle with a black Exclamation Mark through them and chose Update Driver.
As you've used a different Install CD that was not Slipstreamed for that computer you'll most likely find that several other things are not working as well so you can correct this by either downloading the drivers from HP for that Model computer or using your original Slipstreamed Install CD which has all the drivers for the supplied hardware.
You would be better off choosing to download the new drivers as they should work better than any older ones that where supplied with the computer when it was originally made.
Col