Policy
Block WebUSB on specific sites
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
Define a list of sites, based on URL patterns, that can't ask the user to grant them 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. URL patterns in this policy can't conflict with those configured in the 'WebUsbAskForUrls' (Allow WebUSB on specific sites) policy. You can't both allow and block a URL. For detailed information on valid url patterns, see https://go.microsoft.com/fwlink/?linkid=2095322. Example value: https://www.contoso.com [*.]contoso.edu
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
Block WebUSB on specific sites ID WebUsbBlockedForUrlsDesc | list | Path Software\Policies\Microsoft\Edge\WebUsbBlockedForUrls Value name 1, 2, … Type REG_SZ | List: standard |