I had an issue earlier today where my microphone was not being detected on my semi-new Windows box. The system uses a Gigabyte motherboard with onboard Realtek audio. All drivers from the driver CD had been installed. But my microphone and front panel input options in the Windows Volume Control were all greyed out.
I am not sure what the exact solution was, but I did all the following things: