Policy
Block the Serial API on specific sites
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
Specifies URL patterns for sites that aren't allowed to request access to a serial port. If not configured, Microsoft Edge uses the value from the DefaultSerialGuardSetting policy (if set), or the user's settings. For unmatched sites, the following order applies: 1. SerialAskForUrls (if matched). 2. DefaultSerialGuardSetting (if set). 3. User's settings. URL patterns in this policy must not conflict with those in SerialAskForUrls. This policy takes precedence. For detailed information about 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 the Serial API on specific sites ID SerialBlockedForUrlsDesc | list | Path Software\Policies\Microsoft\Edge\SerialBlockedForUrls Value name 1, 2, … Type REG_SZ | List: standard |