Disable changing home page settings
Désactiver la modification de la page d’accueil
Explanation
The Home page specified on the General tab of the Internet Options dialog box is the default Web page that Internet Explorer loads whenever it is run.
If you enable this policy setting, a user cannot set a custom default home page. You must specify which default home page should load on the user machine. For machines with at least Internet Explorer 7, the home page can be set within this policy to override other home page policies.
If you disable or do not configure this policy setting, the Home page box is enabled and users can choose their own home page.
La page d’accueil spécifiée sous l’onglet Général de la boîte de dialogue Options Internet est la page Web par défaut chargée par Internet Explorer à chaque exécution.
Si vous activez ce paramètre de stratégie, l’utilisateur ne peut pas définir de page d’accueil personnalisée par défaut. Vous devez spécifier la page d’accueil par défaut qui doit être chargée sur l’ordinateur de l’utilisateur. Pour les ordinateurs exécutant Internet Explorer 7 ou version ultérieure, la page d’accueil peut être définie avec ce paramètre de stratégie pour remplacer les autres paramètres de stratégie de page d’accueil.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, la zone de texte Page d’accueil est accessible et les utilisateurs peuvent choisir leur propre page d’accueil.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel- Value name
HomePage
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | not defined in the ADMX (see the options below) |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: inetres/RestrictHomePage
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'HomePage' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Home Page
Set-ItemProperty -Path $k -Name 'Start Page' -Value '<value>' -Type StringDisable
# Disable: inetres/RestrictHomePage
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'HomePage' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/RestrictHomePage
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Control Panel'
Remove-ItemProperty -Path $k -Name 'HomePage' -ErrorAction SilentlyContinue
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Start Page' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Home PagePage d’accueilEnterHomePagePrompt | Text boxtext | Start Pagein Software\Policies\Microsoft\Internet Explorer\Main | REG_SZ | Required |