Prevent the computer from loading toolbars and Browser Helper Objects when InPrivate Browsing starts
Empêcher l’ordinateur de charger des barres d’outils et des objets application d’assistance du navigateur lorsque la navigation InPrivate démarre
Explanation
This policy setting allows you to choose whether or not toolbars and Browser Helper Objects (BHOs) are loaded by default during an InPrivate Browsing session.
Toolbars and BHOs may store data about a user's browsing session. By default, the computer does not load them when InPrivate Browsing starts.
If you enable this policy setting, toolbars and BHOs are not loaded by default during an InPrivate Browsing session.
If you disable this policy setting, toolbars and BHOs are loaded by default during an InPrivate Browsing session.
If you do not configure this policy setting, it can be configured on the Privacy tab in Internet Options.
Ce paramètre de stratégie vous permet de déterminer si le chargement par défaut des barres d’outils et des objets application d’assistance du navigateur doit être effectué au cours d’une session de navigation InPrivate.
Les barres d’outils et les objets d’assistance du navigateur peuvent stocker des données relatives à la session de navigation d’un utilisateur. Par défaut, l’ordinateur ne les charge pas au démarrage de la navigation InPrivate.
Si vous activez ce paramètre de stratégie, les barres d’outils et les objets application d’assistance du navigateur ne sont pas chargés par défaut au cours d’une session de navigation InPrivate.
Si vous désactivez ce paramètre de stratégie, les barres d’outils et les objets application d’assistance du navigateur sont chargés par défaut au cours d’une session de navigation InPrivate.
Si vous ne configurez pas ce paramètre de stratégie, il peut être configuré sous l’onglet Confidentialité, dans Options Internet.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIEHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE- Value name
DisableToolbars
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
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.
Computer (HKLM)
Enable
# Enable: inetres/DisableInPrivateToolbars
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableToolbars' -Value 1 -Type DWordDisable
# Disable: inetres/DisableInPrivateToolbars
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableToolbars' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/DisableInPrivateToolbars
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Safety\PrivacIE'
Remove-ItemProperty -Path $k -Name 'DisableToolbars' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"