Ouvrir dans l'explorateur

Désactiver la navigation InPrivate

Turn off InPrivate Browsing

Type
Ordinateur et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Confidentialité Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Confidentialité EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › PrivacyEN : User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Privacy
Pris en charge sur
Au moins Internet Explorer 8.0 EN : At least Internet Explorer 8.0
Fichier ADMX
inetres.admx
Nom interne
inetres/DisableInPrivateBrowsing

Explication

Texte français issu de 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.

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.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Privacy
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Privacy
Nom de la valeur
EnableInPrivateBrowsing
ÉtatValeur écrite
ActivéREG_DWORD = 0
DésactivéREG_DWORD = 1

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Ordinateur (HKLM)

Activer

# Activer : 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

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : inetres/DisableInPrivateBrowsing
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Privacy'
Remove-ItemProperty -Path $k -Name 'EnableInPrivateBrowsing' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Disponibilité