Policy
Control use of the WebHID API
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
Setting the policy to 3 lets websites ask for access to HID devices. Setting the policy to 2 denies access to HID devices. Leaving it unset lets websites ask for access, but users can change this setting. This policy can be overridden for specific url patterns using the 'WebHidAskForUrls' (Allow the WebHID API on these sites) and 'WebHidBlockedForUrls' (Block the WebHID API on these sites) policies. Policy options mapping: * BlockWebHid (2) = Do not allow any site to request access to HID devices via the WebHID API * AskWebHid (3) = Allow sites to ask the user to grant access to a HID device Use the preceding information when configuring this policy.
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 |
|---|---|---|---|---|---|
Control use of the WebHID API ID DefaultWebHidGuardSetting | enum | Path Software\Policies\Microsoft\Edge Value name DefaultWebHidGuardSetting Type REG_DWORD | Options: Do not allow any site to request access to HID devices via the WebHID API (2), Allow sites to ask the user to grant access to a HID device (3) |