Open in the explorer

Turn off InPrivate Browsing

Désactiver la navigation InPrivate

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Privacy User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Privacy FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › ConfidentialitéFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Confidentialité
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/DisableInPrivateBrowsing

Explanation

This policy setting allows you to turn off the InPrivate Browsing feature.

InPrivate Browsing prevents Internet Explorer from storing data about a user's browsing session. This includes cookies, temporary Internet files, history, and other data.

If you enable this policy setting, InPrivate Browsing is turned off.

If you disable this policy setting, InPrivate Browsing is available for use.

If you do not configure this policy setting, InPrivate Browsing can be turned on or off through the registry.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de désactiver la fonctionnalité de navigation InPrivate.

La navigation InPrivate empêche Internet Explorer de stocker des informations sur la session de navigation d’un utilisateur. Cela inclut notamment les cookies, les fichiers Internet temporaires, l’historique et d’autres données.

Si vous activez ce paramètre de stratégie, la navigation InPrivate est désactivée.

Si vous désactivez ce paramètre de stratégie, la navigation InPrivate est disponible.

Si vous ne configurez pas ce paramètre de stratégie, la navigation InPrivate peut être activée ou désactivée via le Registre.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Privacy
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Privacy
Value name
EnableInPrivateBrowsing
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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/DisableInPrivateBrowsing
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableInPrivateBrowsing' -Value 0 -Type DWord

Disable

# Disable: inetres/DisableInPrivateBrowsing
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableInPrivateBrowsing' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/DisableInPrivateBrowsing
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
Remove-ItemProperty -Path $k -Name 'EnableInPrivateBrowsing' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability