Affiche un message à l’ouverture de site dans Microsoft Edge en mode Entreprise : valeur de Registre ShowMessageWhenOpeningSitesInMicrosoftEdgeOrdinateurHKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode
- ID de stratégie
- ShowMessageWhenOpeningSitesInMicrosoftEdge
- Étendue
- Configuration ordinateur, configuration utilisateur
- Pris en charge sur
- Au moins Internet Explorer 11.0 sous Windows 10, version 1607 ou ultérieure
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Composants Windows › Internet Explorer
Registre
ShowMessageWhenOpeningSitesInMicrosoftEdge
REG_DWORDOrdinateurUtilisateur…\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseModeHKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode Clé actuelle
HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode
HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode
- Valeur si activée
- 1
- Valeur si désactivée
- 0
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\Internet Explorer\Main\EnterpriseMode] ; Options (en utiliser une seule) ; Activé "ShowMessageWhenOpeningSitesInMicrosoftEdge"=dword:00000001 ; Désactivé "ShowMessageWhenOpeningSitesInMicrosoftEdge"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "ShowMessageWhenOpeningSitesInMicrosoftEdge" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKLM\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "ShowMessageWhenOpeningSitesInMicrosoftEdge" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -PropertyType DWord -Value 0 -Force | Out-Null
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode] ; Options (en utiliser une seule) ; Activé "ShowMessageWhenOpeningSitesInMicrosoftEdge"=dword:00000001 ; Désactivé "ShowMessageWhenOpeningSitesInMicrosoftEdge"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "ShowMessageWhenOpeningSitesInMicrosoftEdge" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode" /v "ShowMessageWhenOpeningSitesInMicrosoftEdge" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main\EnterpriseMode' -Name 'ShowMessageWhenOpeningSitesInMicrosoftEdge' -PropertyType DWord -Value 0 -Force | Out-Null