Open in the explorer

Automatically grant permission to these sites to connect to USB devices with the given vendor and product IDs.

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Google › Google Chrome › Content settings User Configuration › Policies › Administrative Templates › Google › Google Chrome › Content settings
Supported on
Microsoft Windows 7 or later
ADMX file
chrome.admx
Internal name
chrome/WebUsbAllowDevicesForUrls

Explanation

Setting the policy lets you list the URL patterns that specify which sites are automatically granted permission to access a USB device with the given vendor and product IDs. Each item in the list requires both devices and urls fields for the policy to be valid. Each item in the devices field can have a vendor_id and product_id field. Omitting the vendor_id field will create a policy matching any device. Omitting the product_id field will create a policy matching any device with the given vendor ID. A policy which has a product_id field without a vendor_id field is invalid.

The USB permission model will grant the specified URL permission to access the USB device as a top-level origin. If embedded frames need to access USB devices, the 'usb' feature-policy header should be used to grant access. The URL must be valid, otherwise the policy is ignored.

Deprecated: The USB permission model used to support specifying both the requesting and embedding URLs. This is deprecated and only supported for backwards compatibility in this manner: if both a requesting and embedding URL is specified, then the embedding URL will be granted the permission as top-level origin and the requesting URL will be ignored entirely.

This policy overrides DefaultWebUsbGuardSetting, WebUsbAskForUrls, WebUsbBlockedForUrls and the user's preferences.

This policy only affects access to USB devices through the WebUSB API. To grant access to USB devices through the Web Serial API see the SerialAllowUsbDevicesForUrls policy.
See https://chromeenterprise.google/policies/?policy=WebUsbAllowDevicesForUrls for more information about schema and formatting.

Example value:

[
{
"devices": [
{
"product_id": 5678,
"vendor_id": 1234
}
],
"urls": [
"https://google.com"
]
}
]

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome
HKEY_CURRENT_USER\Software\Policies\Google\Chrome
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: chrome/WebUsbAllowDevicesForUrls
$k = 'HKLM:\Software\Policies\Google\Chrome'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Automatically grant permission to these sites to connect to USB devices with the given vendor and product IDs.
Set-ItemProperty -Path $k -Name 'WebUsbAllowDevicesForUrls' -Value '<value>' -Type String

Disable

# Disable: chrome/WebUsbAllowDevicesForUrls
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": chrome/WebUsbAllowDevicesForUrls
$k = 'HKLM:\Software\Policies\Google\Chrome'
Remove-ItemProperty -Path $k -Name 'WebUsbAllowDevicesForUrls' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Automatically grant permission to these sites to connect to USB devices with the given vendor and product IDs.WebUsbAllowDevicesForUrlsText boxtextWebUsbAllowDevicesForUrlsREG_SZ
Max length: 1000000

Application

Google Chrome (Google) — November 2026 templates

Official templates downloaded on November 12, 2026.