Both Microsoft and user forums report that a particular setting within the (or the older Realtek HD Audio Manager) is a primary culprit and a key solution for front panel jack detection failures in Windows.
Ensure your headphones are pushed all the way into the front port. Sometimes, a loose connection causes this error. Restart Audio Drivers: Right-click the Start button and select Device Manager . Expand Sound, video and game controllers . 917-front audio not connected