It sounds like you could have corrupt system files. Open an administrative command prompt and issue these two commands:
SFC /Scannow
DISM /Online /Cleanup-Image /RestoreHealth
did both of those and nothing changed although strangely the first time I ran sfc I tried adding a new device from god mode and it opened like 4 windows including my device manager. The second time i ran sfc it just went back to opening and closing
So I tried reinstalling windows 10 and the problem still occurs. I downloaded a third party bluetooth viewer and its successfully finding the headset I want to connect to but its getting and error code of 10049.