Most Windows PCs and laptops play sound through a Realtek codec, and most sudden audio problems trace back to its driver: a Windows update replaces it with a generic one, or the wrong package gets installed. Here is how to identify what you have and put the right driver back - step by step.
Quick answer
Open Device Manager, expand Sound, video and game controllers, right-click Realtek(R) Audio, choose Uninstall device with "Attempt to remove the driver" checked, restart the PC - Windows reinstalls a clean copy. If the entry says "High Definition Audio Device" instead, install the Realtek package from your PC or motherboard manufacturer's support page (methods 3 and 4 below).
A generic Microsoft driver replaces the manufacturer's package - sound works at a basic level, but features and stability suffer, or output disappears.
Modern Windows uses DCH drivers paired with the Realtek Audio Console app. Mixing a legacy driver with a DCH system (or the reverse) breaks controls and jack detection.
Laptop and motherboard vendors tune the Realtek driver for their boards. A package for a different board may install but behave wrongly.
Equalizers and "audio enhancer" utilities install their own virtual devices and can mute or bypass the real output.
Roll Back is only available while Windows still keeps the previous driver - use it soon after the problem starts.
Stay safe: Avoid random "Realtek driver download" sites. They repack old drivers and often bundle unwanted software - the manufacturer's page has the same driver, matched to your hardware and free.
If you do not know the exact model, several devices need attention at once, or the manual route did not find a match - Outbyte Driver Updater identifies your installed hardware automatically and updates the drivers from official sources, with a backup before every change. The scan and diagnosis are free.
Download Driver Updater Downloads Outbyte Driver Updater for Windows 11, 10, 8 and 7. Free 2-day trial, no credit card required.That is Microsoft's generic driver. It appears when Windows cannot find (or was told to replace) the Realtek package. Basic playback works, but jack detection, effects and the Realtek console do not - installing the manufacturer's package brings the proper entry back.
That is by design - Realtek distributes audio drivers through PC and motherboard manufacturers, who tune them for their boards. Download from your device maker's support page, or let Windows Update deliver it.
No. The right driver is the one built for your board and Windows version. If sound works and nothing bothers you, keep what you have; update when something is actually broken or the manufacturer fixes a bug that affects you.