Turn off Event Viewer "Events.asp" links
Désactiver les liens « Events.asp » de l’observateur d’événements
Explanation
This policy setting specifies whether "Events.asp" hyperlinks are available for events within the Event Viewer application.
The Event Viewer normally makes all HTTP(S) URLs into hyperlinks that activate the Internet browser when clicked. In addition, "More Information" is placed at the end of the description text if the event is created by a Microsoft component. This text contains a link (URL) that, if clicked, sends information about the event to Microsoft, and allows users to learn more about why that event occurred.
If you enable this policy setting, event description hyperlinks are not activated and the text "More Information" is not displayed at the end of the description.
If you disable or do not configure this policy setting, the user can click the hyperlink, which prompts the user and then sends information about the event over the Internet to Microsoft. Also, see "Events.asp URL", "Events.asp program", and "Events.asp Program Command Line Parameters" settings in "Administrative Templates/Windows Components/Event Viewer".
Ce paramètre de stratégie indique si les liens hypertexte « Events.asp » sont disponibles pour les événements dans l’application Observateur d’événements.
L’observateur d’événements transforme normalement toutes les adresses URL HTTP(S) en liens hypertexte ouvrant le navigateur Web. De plus, « Informations supplémentaires » est ajouté à la fin du texte de description si l’événement est créé par un composant Microsoft. Ce texte contient un lien (URL) qui, en cas de clic, envoie à Microsoft des informations sur l’événement et permet aux utilisateurs d’obtenir plus d’informations sur cet événement.
Si vous activez ce paramètre de stratégie, les liens hypertexte de la description de l’événement ne sont pas activés et le texte « Informations supplémentaires » n’est pas affiché à la fin de la description.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut cliquer sur le lien hypertexte qui demande confirmation à l’utilisateur avant d’envoyer les informations sur l’événement par Internet à Microsoft. Consultez également les paramètres « URL Events.asp », « Programme Events.asp » et « Paramètres de ligne de commande du programme Events.asp » dans « Modèles d’administration/Composants Windows/Observateur d’événements ».
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EventViewer- Value name
MicrosoftEventVwrDisableLinks
| 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.
Enable
# Enable: ICM/EventViewer_DisableLinks
$k = 'HKLM:\Software\Policies\Microsoft\EventViewer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MicrosoftEventVwrDisableLinks' -Value 1 -Type DWordDisable
# Disable: ICM/EventViewer_DisableLinks
$k = 'HKLM:\Software\Policies\Microsoft\EventViewer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MicrosoftEventVwrDisableLinks' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ICM/EventViewer_DisableLinks
$k = 'HKLM:\Software\Policies\Microsoft\EventViewer'
Remove-ItemProperty -Path $k -Name 'MicrosoftEventVwrDisableLinks' -ErrorAction SilentlyContinue