Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allow the Serial API on specific sites
Supported versions
- On Windows and macOS since 86 or later
Description
Specifies URL patterns for sites that are 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:
SerialBlockedForUrls (if matched).
DefaultSerialGuardSetting (if set).
User's settings.
If URL patterns in this policy conflict with those in SerialBlockedForUrls, they will be ignored.
For detailed information about valid url patterns, please see https://go.microsoft.com/fwlink/?linkid=2095322.
Supported features
- Can be mandatory: Yes
- Can be recommended: No
- Dynamic Policy Refresh: Yes
- Per Profile: Yes
- Applies to a profile that is signed in with a Microsoft account: No
Data type
- List of strings
Windows information and settings
Group Policy (ADMX) info
- GP unique name: SerialAskForUrls
- GP name: Allow the Serial API on specific sites
- GP path (Mandatory): Administrative Templates/Microsoft Edge
- GP path (Recommended): N/A
- GP ADMX file name: MSEdge.admx
Example value
https://www.contoso.com
[*.]contoso.edu
Registry settings
- Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\SerialAskForUrls
- Path (Recommended): N/A
- Value name: 1, 2, 3, ...
- Value type: List of REG_SZ
Example registry value
SOFTWARE\Policies\Microsoft\Edge\SerialAskForUrls\1 =
https://www.contoso.com
SOFTWARE\Policies\Microsoft\Edge\SerialAskForUrls\2 =
[*.]contoso.edu
Mac information and settings
- Preference Key name: SerialAskForUrls
- Example value:
<array>
<string>https://www.contoso.com</string>
<string>[*.]contoso.edu</string>
</array>