ADMX Viewer →

Control use of the Web Serial API

Computer Configuration and User Configuration > Administrative Templates > Mozilla > Firefox

ComputerUser Policy name DefaultSerialGuardSetting firefox.admx Mozilla Firefox v8.4

Registry

Key (computer)HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox
Key (user)HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox
Value namenone on the policy itself; the options below write their own values
Supported onFirefox 151 or later
NamespaceMozilla.Policies.Firefox

Options

OptionValue writtenType and rangeDefault
DefaultSerialGuardSetting DefaultSerialGuardSetting
  • 2 Do not allow any site to request access to serial ports via the Web Serial API
  • 3 Allow sites to ask the user to grant access to a serial port
none

What each state writes

Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.

Computer Configuration

Enabled

Choose at least one option above - this policy has no value of its own, so everything it writes comes from the options you pick.

Disabled
HKLM\Software\Policies\Mozilla\Firefox DefaultSerialGuardSetting value removed
Not configured
HKLM\Software\Policies\Mozilla\Firefox DefaultSerialGuardSetting value removed

User Configuration

Enabled

Choose at least one option above - this policy has no value of its own, so everything it writes comes from the options you pick.

Disabled
HKCU\Software\Policies\Mozilla\Firefox DefaultSerialGuardSetting value removed
Not configured
HKCU\Software\Policies\Mozilla\Firefox DefaultSerialGuardSetting value removed

In Intune

Intune sets third-party templates by importing the ADMX first. In the admin center that is Devices > Configuration > Import ADMX, then a profile from Imported Administrative templates. With a custom (OMA-URI) profile instead, ingest the file once and then set the policy:

1. Ingest the ADMX./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/MozillaFirefox/Policy/firefox
String value: the whole contents of firefox.admx. "MozillaFirefox" is a name you choose; use the same one below.
2. Set it (device)./Device/Vendor/MSFT/Policy/Config/MozillaFirefox~Policy~firefox/DefaultSerialGuardSetting
2. Set it (user)./User/Vendor/MSFT/Policy/Config/MozillaFirefox~Policy~firefox/DefaultSerialGuardSetting
Value to enable<enabled/><data id="DefaultSerialGuardSetting" value="2"/>
Value to disable<disabled/>

Path format from Microsoft's ADMX ingestion documentation; the category part comes from this ADMX.

Build it

Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.

Keep it set across your fleet

Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.

How Conformance works · Your baseline from this site

Source: Mozilla Firefox policy templates, version v8.4, published by Mozilla 2026-10-13. Policy names and option labels are Mozilla's.

ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.