Here is what is so weird. I've been on windows insider for 11 since the begining. Im running x570auros master had both 3000 and now 5000.. Alot of my issues have been with pcie4 m.2 drives. Everything will be fine then after an update or firmware. I'll have a drive that while loading a game. Windows will give me a device not found or crash bsod. Then it will just keep getting worse till eventually the drive "acts" like it's dead. Usually have to remove from the motherboard to keep from crashing. What's even wielder is I have 3 m.2s installed Only drives attached though the chipset will do this. One will work fine for a few days after the first ones removed. Then the other will do the same thing different brand drives also. Games will crash randomly to bsod even running off hdds sometimes.
I'll try everything to get it working again stock settings no luck usually. Usually have to install a backup of windows from before.the problems.
I think for some reason secure boot is causing these issues if it's not setup properly in bios.
This just happened again the other day. I reset the to the default keys in Secureboot and cleared the tpm
Now it's running like a dream my m.2 drives that I thought were dead are working great to.
Don't know if this has been my issue all this time or there were bugs that caused this before and I fixed it by accident when I would recover from. A backup and do default keys in secureboot Just make sure it's not in custom mode after keys are reset. It will say it's active and enabled, but it's NOT until you put secureboot back in standard mode.
Anyway that's what's eventually worked for me.