URL for Home page: registry value URL and 1 moreComputerHKLM\Software\Policies\Mozilla\Firefox\Homepage

Policy ID
HomepageURL
Scope
Computer Configuration, User Configuration
Supported on
Firefox 60 or later, Firefox 60 ESR or later
Source
Mozilla Firefox Policy Templates (version 8.3)
Category
Mozilla › Firefox › Home page

Registry

URL

REG_SZComputerUser
Enabled value
Depends on the option value
Element
URL:
Value type
REG_SZ
Required
true
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"URL"="<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\Homepage" /v "URL" /t REG_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\Homepage' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'URL' -PropertyType String -Value '<enter value>' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"URL"="<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\Homepage" /v "URL" /t REG_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\Homepage' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'URL' -PropertyType String -Value '<enter value>' -Force | Out-Null

Locked

REG_DWORDComputerUser
Checked
1
Unchecked
0
Element
Don't allow the homepage to be changed.
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Checked
"Locked"=dword:00000001
; Unchecked
"Locked"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "Locked" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "Locked" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'Locked' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'Locked' -PropertyType DWord -Value 0 -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Checked
"Locked"=dword:00000001
; Unchecked
"Locked"=dword:00000000
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "Locked" /t REG_DWORD /d 1 /f
:: Unchecked
reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "Locked" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'Locked' -PropertyType DWord -Value 1 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'Locked' -PropertyType DWord -Value 0 -Force | Out-Null