Download Directory: registry value DownloadDirectoryUserHKCU\Software\Policies\Mozilla\Firefox
- Policy ID
- DownloadDirectory
- 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
Registry
DownloadDirectory
REG_EXPAND_SZUserComputer…\Software\Policies\Mozilla\FirefoxHKCU\Software\Policies\Mozilla\Firefox Current key
HKLM\Software\Policies\Mozilla\Firefox
HKLM\Software\Policies\Mozilla\Firefox
- Enabled value
- Depends on the option value
- Element
- -
- Value type
- REG_EXPAND_SZ
- 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] ; 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) "DownloadDirectory"=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" /v "DownloadDirectory" /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' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox' -Name 'DownloadDirectory' -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] ; 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) "DownloadDirectory"=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" /v "DownloadDirectory" /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' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox' -Name 'DownloadDirectory' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null