Afficher un message lors de l’ouverture d’un site dans Internet Explorer : valeur de Registre ShowMessageWhenOpeningSitesInInternetExplorerOrdinateurHKLM\Software\Policies\Microsoft\MicrosoftEdge\Main

ID de stratégie
ShowMessageWhenOpeningSitesInInternetExplorer
Étendue
Configuration ordinateur, configuration utilisateur
Pris en charge sur
Microsoft Edge sur Windows 10, version 1607 ou ultérieure
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Microsoft Edge

Registre

ShowMessageWhenOpeningSitesInInternetExplorer

-OrdinateurUtilisateur

ShowMessageWhenOpeningSitesInInternetExplorer

REG_DWORDOrdinateurUtilisateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Afficher le lien Poursuivre dans Microsoft Edge
Options
EntréeValeur stockée
Masquer le lien Poursuivre dans Microsoft Edge1
Afficher le lien Poursuivre dans Microsoft Edge2
Appliquer avec .reg · CMD · PowerShell
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Main]

; Options (en utiliser une seule)
; Masquer le lien Poursuivre dans Microsoft Edge
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000001
; Afficher le lien Poursuivre dans Microsoft Edge
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000002
CMD
:: Options (en utiliser une seule)

:: Masquer le lien Poursuivre dans Microsoft Edge
reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 1 /f
:: Afficher le lien Poursuivre dans Microsoft Edge
reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null

# Options (en utiliser une seule)
# Masquer le lien Poursuivre dans Microsoft Edge
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 1 -Force | Out-Null
# Afficher le lien Poursuivre dans Microsoft Edge
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 2 -Force | Out-Null
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Main]

; Options (en utiliser une seule)
; Masquer le lien Poursuivre dans Microsoft Edge
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000001
; Afficher le lien Poursuivre dans Microsoft Edge
"ShowMessageWhenOpeningSitesInInternetExplorer"=dword:00000002
CMD
:: Options (en utiliser une seule)

:: Masquer le lien Poursuivre dans Microsoft Edge
reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 1 /f
:: Afficher le lien Poursuivre dans Microsoft Edge
reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Main" /v "ShowMessageWhenOpeningSitesInInternetExplorer" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Force | Out-Null

# Options (en utiliser une seule)
# Masquer le lien Poursuivre dans Microsoft Edge
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 1 -Force | Out-Null
# Afficher le lien Poursuivre dans Microsoft Edge
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Main' -Name 'ShowMessageWhenOpeningSitesInInternetExplorer' -PropertyType DWord -Value 2 -Force | Out-Null