browser.cache.disk.parent_directory: registry value browser.cache.disk.parent_directoryUserHKCU\Software\Policies\Mozilla\Firefox\Preferences

Policy ID
browser_cache_disk_parent_directory
Scope
Computer Configuration, User Configuration
Supported on
Firefox 68 or later, Firefox 68 ESR or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › Preferences (Deprecated)

Registry

browser.cache.disk.parent_directory

REG_EXPAND_SZUserComputer
Enabled value
Depends on the option value
Element
-
Value type
REG_EXPAND_SZ
Required
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\Preferences]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE)
"browser.cache.disk.parent_directory"=hex(2):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Policies\Mozilla\Firefox\Preferences" /v "browser.cache.disk.parent_directory" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Preferences' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Preferences' -Name 'browser.cache.disk.parent_directory' -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\Preferences]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE)
"browser.cache.disk.parent_directory"=hex(2):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKLM\Software\Policies\Mozilla\Firefox\Preferences" /v "browser.cache.disk.parent_directory" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Preferences' -Name 'browser.cache.disk.parent_directory' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null