The key is to discover some difference between when the microphone/headset work and when they do not work.
First boot with mic/headset plugged in as usual and you know that they will not work.
Look in Device Manager > Audio inputs and outputs - are the mic and headset listed? Be sure that Device Manager > View > "Show hidden devices" is selected. Rlght click each device and check the Properties of all listed devices.
If the mic and headset are listed, click " Scan for hardware changes" - do the mic and headset then start to work without being unplugged and replugged?
Next, take a very close look in Task Manager, Resource Monitor, and Process Explorer (Microsoft, free).
I suggest working with only one of the tools at a time to make it easier to watch.
Look for and pay attention to any processes, services, etc. relating to audio. (However, the issue may not be audio per se - just need to start somewhere.)
Leave the observation window(s) open unplug and replug the mic/headset as you normally do to get them to work.
Watch for what changes in the windows. Likely you will see something else launch and run.
My thought is that the problem is with PnP (Plug and Play)
FYI:
https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/introduction-to-plug-and-play
https://www.minitool.com/news/how-to-enable-plug-and-play.html
Read first, then look for anything apparently amiss. Plug and Play Services perhaps.....
The mic/headset not being recognized during a normal boot. However unplugging and plugging them in launches gets things going.
May just need something added to Task Manager > Startup....