Turn on Notification bar notification for intranet content
Activer la notification de contenu intranet dans la Barre de notification
Explanation
This policy setting causes a Notification bar notification to appear when intranet content is loaded and the intranet mapping rules have not been configured. The Notification bar allows the user to enable intranet mappings, if they require them.
If you enable this policy setting, a Notification bar notification appears whenever the user browses to a page that loads content from an intranet site.
If you disable this policy setting, a Notification bar notification does not appear when the user loads content from an intranet site that is being treated as though it is in the Internet zone.
If this policy setting is not configured, a Notification bar notification appears for intranet content loaded on a browser on a computer that is not a domain member, until the user turns off the Notification bar.
Ce paramètre de stratégie entraîne l’affichage d’une Barre de notification lorsque du contenu intranet est chargé alors que les règles de mappage intranet n’ont pas été configurées. La Barre de notification permet à l’utilisateur d’activer les mappages intranet, le cas échéant.
Si vous activez ce paramètre de stratégie, une Barre de notification s’affiche chaque fois que l’utilisateur accède à une page qui charge du contenu à partir d’un site intranet.
Si vous désactivez ce paramètre de stratégie, aucune Barre de notification ne s’affiche lorsque l’utilisateur charge du contenu à partir d’un site intranet considéré comme s’il faisait partie de la zone Internet.
Si vous ne configurez pas ce paramètre de stratégie, une Barre de notification s’affiche pour le contenu intranet chargé dans un navigateur sur un ordinateur qui n’est pas membre d’un domaine, tant que l’utilisateur ne désactive pas la Barre de notification.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet SettingsHKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings- Value name
WarnOnIntranet
| 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/SecurityPage_WarnOnIntranet
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnIntranet' -Value 1 -Type DWordDisable
# Disable: inetres/SecurityPage_WarnOnIntranet
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnIntranet' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/SecurityPage_WarnOnIntranet
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
Remove-ItemProperty -Path $k -Name 'WarnOnIntranet' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"