Hi,
After the Wlindows 11 24H2 update 2025-01, cumulative and .Net, I had the same issue that my output sound device had disappeared and got the "No audio device is installed" message.
The only place where i could see the loudspeaker device, was when I went into Control Panel -> Sound (mmsys.cpl). The device was there, but it had been inactivated. I activated it and everything was good again!