Control use of the Serial API

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.

Støttes av: Microsoft Edge version 86, Windows 7 or later

Control use of the Serial API


  1. Do not allow any site to request access to serial ports via the Serial API
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Microsoft\Edge
    Value NameDefaultSerialGuardSetting
    Value TypeREG_DWORD
    Value2
  2. Allow sites to ask for user permission to access a serial port
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Policies\Microsoft\Edge
    Value NameDefaultSerialGuardSetting
    Value TypeREG_DWORD
    Value3


msedge.admx

Administrative maler (datamaskiner)

Administrative maler (brukere)