Control use of the WebUSB API

Policy ID
DefaultWebUsbGuardSetting
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 77, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge › Content settings

Description

Set whether websites can access connected USB devices. You can completely block access or ask the user each time a website wants to get access to connected USB devices.

You can override this policy for specific URL patterns by using the 'WebUsbAskForUrls' (Allow WebUSB on specific sites) and 'WebUsbBlockedForUrls' (Block WebUSB on specific sites) policies.

If you don't configure this policy, sites can ask users whether they can access the connected USB devices ('AskWebUsb') by default, and users can change this setting.

Policy options mapping:

* BlockWebUsb (2) = Do not allow any site to request access to USB devices via the WebUSB API

* AskWebUsb (3) = Allow sites to ask the user to grant access to a connected USB device

Use the preceding information when configuring this policy.

Options

  • Control use of the WebUSB API
    • Do not allow any site to request access to USB devices via the WebUSB API
    • Allow sites to ask the user to grant access to a connected USB device

Registry

ComputerHKEY_LOCAL_MACHINE
  • DefaultWebUsbGuardSettingREG_DWORD
UserHKEY_CURRENT_USER
  • DefaultWebUsbGuardSettingREG_DWORD

Other policies in the same category

View all policies in this category (75)