Value: registry value Value (PDFAltText)UserHKCU\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText

Policy ID
PDFAltText_Value
Scope
Computer Configuration, User Configuration
Supported on
Firefox 149.0.2 or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › AI Controls › PDF Image Alt Text

Registry

Value

REG_SZUserComputer
Enabled value
Depends on the option value
Element
-
Options
ItemStored value
Availableavailable
Blockedblocked
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText]

; Options (use only one)
; Available
"Value"="available"
; Blocked
"Value"="blocked"
CMD
:: Options (use only one)

:: Available
reg add "HKCU\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText" /v "Value" /t REG_SZ /d "available" /f
:: Blocked
reg add "HKCU\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText" /v "Value" /t REG_SZ /d "blocked" /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText' -Force | Out-Null

# Options (use only one)
# Available
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText' -Name 'Value' -PropertyType String -Value 'available' -Force | Out-Null
# Blocked
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText' -Name 'Value' -PropertyType String -Value 'blocked' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText]

; Options (use only one)
; Available
"Value"="available"
; Blocked
"Value"="blocked"
CMD
:: Options (use only one)

:: Available
reg add "HKLM\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText" /v "Value" /t REG_SZ /d "available" /f
:: Blocked
reg add "HKLM\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText" /v "Value" /t REG_SZ /d "blocked" /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText' -Force | Out-Null

# Options (use only one)
# Available
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText' -Name 'Value' -PropertyType String -Value 'available' -Force | Out-Null
# Blocked
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\AIControls\PDFAltText' -Name 'Value' -PropertyType String -Value 'blocked' -Force | Out-Null