Page de démarrage : valeur de Registre StartPageOrdinateurHKLM\Software\Policies\Mozilla\Firefox\Homepage

ID de stratégie
HomepageStartPage
Étendue
Configuration ordinateur, configuration utilisateur
Pris en charge sur
Firefox 64 ou supérieur, Firefox 60.4 ESR ou supérieur
Source
Mozilla Firefox Policy Templates (version 8.3)
Catégorie
Mozilla › Firefox › Page d'accueil

Registre

StartPage

REG_SZOrdinateurUtilisateur
Valeur si activée
Dépend de la valeur de l'option
Élément
-
Options
EntréeValeur stockée
Aucunenone
Page d'accueilhomepage
Sessions précédentesprevious-session
Page d'accueil (Verrouillé)homepage-locked
Appliquer avec .reg · CMD · PowerShell
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Aucune
"StartPage"="none"
; Page d'accueil
"StartPage"="homepage"
; Sessions précédentes
"StartPage"="previous-session"
; Page d'accueil (Verrouillé)
"StartPage"="homepage-locked"
CMD
:: Options (en utiliser une seule)

:: Aucune
reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "none" /f
:: Page d'accueil
reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage" /f
:: Sessions précédentes
reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "previous-session" /f
:: Page d'accueil (Verrouillé)
reg add "HKLM\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage-locked" /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Force | Out-Null

# Options (en utiliser une seule)
# Aucune
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'none' -Force | Out-Null
# Page d'accueil
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage' -Force | Out-Null
# Sessions précédentes
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'previous-session' -Force | Out-Null
# Page d'accueil (Verrouillé)
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage-locked' -Force | Out-Null
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Aucune
"StartPage"="none"
; Page d'accueil
"StartPage"="homepage"
; Sessions précédentes
"StartPage"="previous-session"
; Page d'accueil (Verrouillé)
"StartPage"="homepage-locked"
CMD
:: Options (en utiliser une seule)

:: Aucune
reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "none" /f
:: Page d'accueil
reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage" /f
:: Sessions précédentes
reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "previous-session" /f
:: Page d'accueil (Verrouillé)
reg add "HKCU\Software\Policies\Mozilla\Firefox\Homepage" /v "StartPage" /t REG_SZ /d "homepage-locked" /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Force | Out-Null

# Options (en utiliser une seule)
# Aucune
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'none' -Force | Out-Null
# Page d'accueil
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage' -Force | Out-Null
# Sessions précédentes
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'previous-session' -Force | Out-Null
# Page d'accueil (Verrouillé)
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\Homepage' -Name 'StartPage' -PropertyType String -Value 'homepage-locked' -Force | Out-Null