Default Result: registry value DefaultResultUserHKCU\Software\Policies\Mozilla\Firefox\ContentAnalysis

Policy ID
ContentAnalysis_DefaultResult
Scope
Computer Configuration, User Configuration
Supported on
Firefox 138 or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › Content Analysis (DLP)

Registry

DefaultResult

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Deny the request0
Warn the user and allow them to choose whether to allow or deny1
Allow the request2
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\ContentAnalysis]

; Options (use only one)
; Deny the request
"DefaultResult"=dword:00000000
; Warn the user and allow them to choose whether to allow or deny
"DefaultResult"=dword:00000001
; Allow the request
"DefaultResult"=dword:00000002
CMD
:: Options (use only one)

:: Deny the request
reg add "HKCU\Software\Policies\Mozilla\Firefox\ContentAnalysis" /v "DefaultResult" /t REG_DWORD /d 0 /f
:: Warn the user and allow them to choose whether to allow or deny
reg add "HKCU\Software\Policies\Mozilla\Firefox\ContentAnalysis" /v "DefaultResult" /t REG_DWORD /d 1 /f
:: Allow the request
reg add "HKCU\Software\Policies\Mozilla\Firefox\ContentAnalysis" /v "DefaultResult" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Force | Out-Null

# Options (use only one)
# Deny the request
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Name 'DefaultResult' -PropertyType DWord -Value 0 -Force | Out-Null
# Warn the user and allow them to choose whether to allow or deny
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Name 'DefaultResult' -PropertyType DWord -Value 1 -Force | Out-Null
# Allow the request
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Name 'DefaultResult' -PropertyType DWord -Value 2 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\ContentAnalysis]

; Options (use only one)
; Deny the request
"DefaultResult"=dword:00000000
; Warn the user and allow them to choose whether to allow or deny
"DefaultResult"=dword:00000001
; Allow the request
"DefaultResult"=dword:00000002
CMD
:: Options (use only one)

:: Deny the request
reg add "HKLM\Software\Policies\Mozilla\Firefox\ContentAnalysis" /v "DefaultResult" /t REG_DWORD /d 0 /f
:: Warn the user and allow them to choose whether to allow or deny
reg add "HKLM\Software\Policies\Mozilla\Firefox\ContentAnalysis" /v "DefaultResult" /t REG_DWORD /d 1 /f
:: Allow the request
reg add "HKLM\Software\Policies\Mozilla\Firefox\ContentAnalysis" /v "DefaultResult" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Force | Out-Null

# Options (use only one)
# Deny the request
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Name 'DefaultResult' -PropertyType DWord -Value 0 -Force | Out-Null
# Warn the user and allow them to choose whether to allow or deny
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Name 'DefaultResult' -PropertyType DWord -Value 1 -Force | Out-Null
# Allow the request
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\ContentAnalysis' -Name 'DefaultResult' -PropertyType DWord -Value 2 -Force | Out-Null