Comparar edições
Manage Firefox updates
Edição 288404:
Edição 288404 de AliceWyman em
Edição 316621:
Edição 316621 de jager.gab.2 em
Palavras-chave:
Firefox, Enterprise, Updates
Firefox, Enterprise, Updates
Resumo em resultado de pesquisas:
Learn about automatic updates for Firefox deployments and how to ensure that the latest security patches are applied and all features are available.
Learn about automatic updates for Firefox deployments and how to ensure that the latest security patches are applied and all features are available.
Conteúdo:
[[Template:enterprise]]
We recommend keeping automatic updates enabled for all Firefox deployments to ensure that the latest security patches are applied and all features are available, but your specific environment may prevent automatic updates.
Both Firefox Rapid Release and Firefox Extended Support Release can be used in your Enterprise environments. If you're concerned about frequent large updates, we recommend checking out [[Choose a Firefox update channel]] to learn more about Firefox Extended Support Release.
{| class="wikitable"
|+
|-
!
! '''Major update frequency'''
! '''Major update scope'''
! '''Minor update frequency'''
! '''Minor update scope'''
|-
| '''ESR'''
| Every year
[https://whattrainisitnow.com/calendar/ See calendar]
| New features delivered and bugs fixed in the last 12 months.
| Every 4 weeks or when necessary
| Critical stability or security bug fixing
|-
| '''RR'''
| Every four weeks
[https://whattrainisitnow.com/calendar/ See calendar]
| New features delivered and bugs fixed in the last 4 weeks
| When necessary in-between major releases
| Critical stability or security bug fixing
|}
=Disable Firefox updates=
Automatic updates are enabled by default, but you can disable them using the [https://mozilla.github.io/policy-templates/#disableappupdate DisableAppUpdate policy].
<!-- The Managing Firefox Enterprise article has never been approved. See https://support.mozilla.org/en-US/kb/managing-firefox-enterprise/revision/173219 -->
<!-- Refer to the [[Managing Firefox Enterprise]] help article to learn how to set and manage policies.-->
[[Template:enterprise]]
We recommend keeping automatic updates enabled for all Firefox deployments to ensure that the latest security patches are applied and all features are available, but your specific environment may prevent automatic updates.
Both Firefox Rapid Release and Firefox Extended Support Release can be used in your Enterprise environments. If you're concerned about frequent large updates, we recommend checking out [[Choose a Firefox update channel]] to learn more about Firefox Extended Support Release.
{| class="wikitable"
|+
|-
!
! '''Major update frequency'''
! '''Major update scope'''
! '''Minor update frequency'''
! '''Minor update scope'''
|-
| '''ESR'''
| Every year
[https://whattrainisitnow.com/calendar/ See calendar]
| New features delivered and bugs fixed in the last 12 months.
| Every 4 weeks or when necessary
| Critical stability or security bug fixing
|-
| '''RR'''
| Every four weeks
[https://whattrainisitnow.com/calendar/ See calendar]
| New features delivered and bugs fixed in the last 4 weeks
| When necessary in-between major releases
| Critical stability or security bug fixing
|}
=Disable Firefox updates=
Automatic updates are enabled by default, but you can disable them using the [https://mozilla.github.io/policy-templates/#disableappupdate DisableAppUpdate policy].
When updates are enabled, they can be installed silently without user approval by enabling the [https://mozilla.github.io/policy-templates/#appautoupdate AppAutoUpdate policy].
=Troubleshooting Firefox update issues=
If a workstation does not receive Firefox updates, the following PowerShell checks can help identify the root cause.
==Check local Group Policy (GPO) registry keys==
Run the following command:
<code>
Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Mozilla\Firefox" |
Select-Object DisableAppUpdate, AppAutoUpdate
</code>
'''Expected values:'''
{| class="wikitable"
|+
|-
! '''Registry value'''
! '''Expected value'''
|-
| <code>DisableAppUpdate</code>
| 0
|-
| <code>AppAutoUpdate</code>
| 1
|}
If these values are not set as expected, Firefox updates may be disabled by local or domain Group Policy.
==Check the installed Firefox version==
Run the following PowerShell command:
<code>
Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" |
Where-Object { $_.PSChildName -like "Mozilla Firefox*" } |
ForEach-Object {
Get-ItemProperty $_.PsPath |
Select-Object DisplayName, DisplayVersion, Publisher, InstallDate
}
</code>
Compare the installed version with the latest Firefox ESR version available on Mozilla’s website.
==Check the scheduled task==
Firefox relies on a background scheduled task to download and apply updates.
Run the following PowerShell command:
<code>
Get-ScheduledTask |
Where-Object { $_.TaskName -like "*Firefox Background Update*" } |
ForEach-Object { Get-ScheduledTaskInfo $_ }
</code>
'''-> Ensure that:'''
* The task exists
* The task is enabled
* The task runs successfully without errors
==Check Mozilla Maintenance Service==
On Windows, Firefox updates may require the Mozilla Maintenance Service to be installed and running. This service allows Firefox to apply updates without requiring administrative privileges.
===Check if the service exists and its status===
Run the following PowerShell command:
<code>
Get-Service -Name MozillaMaintenance -ErrorAction SilentlyContinue |
Select-Object Name, DisplayName, Status, StartType
</code>
'''-> Expected behavior:'''
* The service exists
* Status is <code>Running</code> (or <code>Stopped</code>, but able to start)
* <code>StartType</code> is set to <code>Automatic</code> or <code>Manual</code>
* If the service is missing, Firefox may not be able to apply updates automatically.
===Start the service manually ''(if required)''===
If the service exists but is not running, try starting it. Run the following PowerShell command:
<code>
Start-Service -Name MozillaMaintenance
</code>
Check again that the service starts without errors.
===Reinstall the Mozilla Maintenance Service===
If the service is missing or corrupted, it can be reinstalled using the Firefox installer:
# Download the Firefox installer matching your deployment (ESR or standard release).
# Run the installer as Administrator.
# Ensure that ''Install Mozilla Maintenance Service'' is selected.
After installation, recheck the service status.
==Check BITS transfers (Background Intelligent Transfer Service)==
Firefox uses BITS to download updates in the background.
Run the following PowerShell command:
<code>
Get-BitsTransfer |
Where-Object { $_.DisplayName -match 'mozilla' -or $_.RemoteName -match 'mozilla' } |
ForEach-Object {
$job = $_
foreach ($file in $job.FileList) {
[PSCustomObject]@{
DisplayName = $job.DisplayName
JobState = $job.JobState
BytesTransferredMB = [math]::Round($file.BytesTransferred / 1MB, 2)
BytesRemainingMB = [math]::Round(($file.BytesTotal - $file.BytesTransferred) / 1MB, 2)
ProgressPercent = if ($file.BytesTotal -gt 0) {
[math]::Round(($file.BytesTransferred / $file.BytesTotal * 100), 2)
} else { 0 }
RemoteURL = $file.RemoteName
LocalPath = $file.LocalName
}
}
}
</code>
'''-> What to check'''
* JobState shows the current transfer state (transferring, suspended, completed, or error).
* ProgressPercent indicates download progress.
* RemoteURL shows the URL used by Firefox to retrieve the update.
'''-> If the download is blocked'''
If progress does not advance or the job fails, verify that the URL shown in RemoteURL is not blocked by your network, firewall, or proxy.
To confirm, copy and paste the URL into a browser and check whether the download starts successfully.
==List Firefox-related files in <code>C:\ProgramData</code>==
Firefox update files are downloaded and stored in the following location.
Run the following PowerShell command:
<code>
Get-ChildItem -Path "C:\ProgramData\Mozilla-*" -Recurse |
Select-Object @{ Name="Path"; Expression={$_.FullName} },
@{ Name="Type"; Expression={ if ($_.PSIsContainer) { "Directory" } else { "File" } } },
@{ Name="Size"; Expression={$_.Length} },
@{ Name="LastModified"; Expression={$_.LastWriteTime}
}
</code>
This helps verify whether update files were downloaded and identify incomplete or stalled files.
<!-- The Managing Firefox Enterprise article has never been approved. See https://support.mozilla.org/en-US/kb/managing-firefox-enterprise/revision/173219 -->
<!-- Refer to the [[Managing Firefox Enterprise]] help article to learn how to set and manage policies.-->