Forum Discussion
BSOD when connecting Xbox controller via bluetooth
1. Open terminal as administrator
2. List drivers with this command: pnputil /enum-drivers > drivers.txt
3. Type pwd and navigate to that path to find the text file. You can just copy paste the response into the file explorer.
4. Open the driver.txt file and search for 1.14.20.740 (this is problematic driver version). Take note of the driver file name. For me it was oem72.inf, for other user it was oem74.inf, for you it may be different.
5. Uninstall the driver by running the command: pnputil /delete-driver driverName.inf /uninstall /force, replacing the "driverName.inf" with what you got from the previous step
6. Restart computer and reconnect your Xbox controller. It should now work.
For those who can't find the drivers.txt file in their C:\Windows\System32 folder: you might be able to find it in the folder you ran the terminal command from. For instance, when I opened the terminal I was already in the C:\Users\<my username> folder. From there I ran the command and the drivers.txt file appeared in the same folder.
But like the previous poster said, typing "pwd" in the prompt after pressing enter on the initial command will reveal its location.