Add: registry value SecurityDevices_Add (Add)UserHKCU\Software\Policies\Mozilla\Firefox\SecurityDevices\Add

Policy ID
SecurityDevices_Add
Scope
Computer Configuration, User Configuration
Supported on
Firefox 114 or later, Firefox 102.12 ESR or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › Security Devices

Registry

(list values)

REG_SZUserComputer
Enabled value
Depends on the option value
Element
-
Value type
REG_SZ
Value name prefix
-
Explicit value name
true
Expandable string (REG_EXPAND_SZ)
true
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\SecurityDevices\Add]
"<enter name>"=hex(2):<enter value>
CMD
reg add "HKCU\Software\Policies\Mozilla\Firefox\SecurityDevices\Add" /v "<enter name>" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\SecurityDevices\Add' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\SecurityDevices\Add' -Name '<enter name>' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\SecurityDevices\Add]
"<enter name>"=hex(2):<enter value>
CMD
reg add "HKLM\Software\Policies\Mozilla\Firefox\SecurityDevices\Add" /v "<enter name>" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\SecurityDevices\Add' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\SecurityDevices\Add' -Name '<enter name>' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null