Control use of the Serial API

Policy ID
DefaultSerialGuardSetting
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 86, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

Description

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.

Options

  • Control use of the Serial API
    • Do not allow any site to request access to serial ports via the Serial API
    • Allow sites to ask for user permission to access a serial port

Registry

ComputerHKEY_LOCAL_MACHINE
  • DefaultSerialGuardSettingREG_DWORD
UserHKEY_CURRENT_USER
  • DefaultSerialGuardSettingREG_DWORD

Other policies in the same category

View all policies in this category (438)