Allow WebUSB on specific sites

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 global default value from the 'DefaultWebUsbGuardSetting' (Control use of the WebUSB API) policy (if set) or the user's personal configuration is used for all sites.

The URL patterns defined in this policy can't conflict with those configured in the 'WebUsbBlockedForUrls' (Block WebUSB on specific sites) policy - you can't both allow and block a URL. For detailed information on valid url patterns, please see

Example value:

Supported on: Microsoft Edge version 77, Windows 7 or later

Allow WebUSB on specific sites

Registry PathSoftware\Policies\Microsoft\Edge\WebUsbAskForUrls
Value Name{number}
Value TypeREG_SZ
Default Value


Administrative Templates (Computers)

Administrative Templates (Users)