Its actualy well known issue for Realtek drivers, you're not the only person with this problem..the only work around is reboot while headphones are plugged, this usually only needs to be done once for most models/versions
Using third-party driver update software may solve your problem, such as Driver Fusion or Driver Talent.