Tracking Protection Mode: registry value CategoryComputerHKLM\Software\Policies\Mozilla\Firefox\EnableTrackingProtection

Policy ID
G_TrackingProtection_Category
Scope
Computer Configuration, User Configuration
Supported on
Firefox 142 or later, Firefox 140.2 ESR or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › Tracking Protection

Registry

Category

REG_SZComputerUser
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Strictstrict
Standardstandard
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Strict
"Category"="strict"
; Standard
"Category"="standard"
CMD
:: Options (use only one)

:: Strict
reg add "HKLM\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "strict" /f
:: Standard
reg add "HKLM\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "standard" /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Force | Out-Null

# Options (use only one)
# Strict
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'strict' -Force | Out-Null
# Standard
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'standard' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Strict
"Category"="strict"
; Standard
"Category"="standard"
CMD
:: Options (use only one)

:: Strict
reg add "HKCU\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "strict" /f
:: Standard
reg add "HKCU\Software\Policies\Mozilla\Firefox\EnableTrackingProtection" /v "Category" /t REG_SZ /d "standard" /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Force | Out-Null

# Options (use only one)
# Strict
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'strict' -Force | Out-Null
# Standard
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\EnableTrackingProtection' -Name 'Category' -PropertyType String -Value 'standard' -Force | Out-Null