Sometimes, you will notice that the windows 10, 11 will not detect the headphones or earphones when plugged in. There maybe couple of reasons for this.
If the problem is not related to drivers, it can be solved by going to sound settings and changing the output device.