Oculus / Meta Quest 2 USB connection stops working
Situation:
You connect your Quest 2 to your Windows PC by USB cable for use with, eg, MSFS via Oculus Link. For no apparent reason it stops working. The Quest will charge, but not connect to the PC.
Possible solution:
None of the "9 great fixes..." that virtually every site will tell you about.
Something odd has happened with the drivers - to fix it you have to edit the registry etc.
Here's the fix: (the 'EDIT 3 solution') https://www.reddit.com/r/OculusQuest/comments/nkypos/quest_2_not_detecting_pc_connection/
To anyone else who ever has this issue! the way I have fixed it is by first uninstalling the quest (device manager, right click the quests usb composite device then clicking uninstall) then going into the Windows Registry Editor as a system user and removing every Oculus Usb driver and entry (NOTE: these persist through a windows reinstall) these can be found under Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\usbflags\ and Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB (there may not be anything here if you uninstalled the quest). both of these will have registry keys with the vendor ID of 2833, meaning anything that starts with this number is an oculus entry. after removing all of them and restarting try connecting the quest and reinstalling oculus drivers {OCULUSINSTALLDIR}\Support\oculus-drivers\oculus-driver.exe and then you should be able to start oculus and use oculus link!
You may need an advanced registry editor to remove the keys in CurrentControlSet - use "Registrar Registry Manager" Home Edition.