Policy
Control use of the Serial API
Microsoft Edge
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows7
Set whether websites can access serial ports. You can completely block access or ask the user each time a website wants to get access to a serial port. Setting the policy to 3 lets websites ask for access to serial ports. Setting the policy to 2 denies access to serial ports. You can override this policy for specific URL patterns by using the 'SerialAskForUrls' (Allow the Serial API on specific sites) and 'SerialBlockedForUrls' (Block the Serial API on specific sites) policies. If you don't configure this policy, by default, websites can ask users whether they can access a serial port, and users can change this setting. Policy options mapping: * BlockSerial (2) = Do not allow any site to request access to serial ports via the Serial API * AskSerial (3) = Allow sites to ask for user permission to access a serial port 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 Serial API ID DefaultSerialGuardSetting | enum | Path Software\Policies\Microsoft\Edge Value name DefaultSerialGuardSetting Type REG_DWORD | Options: Do not allow any site to request access to serial ports via the Serial API (2), Allow sites to ask for user permission to access a serial port (3) |