Control use of Web Bluetooth API in Edge browser

Microsoft Edge browser allows its users to define a list of sites, based on URL patterns, that can ask the user for access to a USB device. If you don’t configure this policy, the user’s personal configuration is used for all sites or the global default value from the DefaultWebUsbGuardSetting policy is used. Please note that the method involves making changes to the Registry Editor. Serious changes can occur if you make changes to the Registry Editor incorrectly. Create a System Restore point before proceeding further. Press Win+R in combination to open the Run dialog box. Type Regedit in the empty field of the box and hit Enter key. When the Registry Editor opens, navigate to the following path address – In the right-pane, double-click the DefaultWebUsbGuardSetting entry. If the entry doesn’t exist, you’ll need to create one.

When the Edit String box appears, enter the value 2 to block or prevent any site to request access to USB devices via the WebUSB API.

Similarly, to allow sites to ask the user to grant access to a connected USB device, change the value from 2 to 3. When done, close the Registry Editor and exit. Restart your PC to allow the changes to take effect. For your information, the Group Policy options for mapping Control use of the Web Bluetooth API setting are as follows:

BlockWebBluetooth (2) = Do not allow any site to request access to Bluetooth devices via the Web Bluetooth APIAskWebBluetooth (3) = Allow sites to ask the user to grant access to a nearby Bluetooth device

Hope that helps!