Open in the explorer

Configure log access (legacy)

Configurer l'accès au journal (hérité)

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Event Log Service › Application FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Service Journal des événements › Application
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
EventLog.admx
Internal name
EventLog/Channel_Log_FileLogAccess_5

Explanation

This policy setting specifies the security descriptor to use for the log using the Security Descriptor Definition Language (SDDL) string. You must set both "configure log access" policy settings for this log in order to affect the both modern and legacy tools.

If you enable this policy setting, only those users matching the security descriptor can access the log.

If you disable this policy setting, all authenticated users and system services can write, read, or clear this log.

If you do not configure this policy setting, the previous policy setting configuration remains in effect.

French text from Windows 11 26H2

Ce paramètre de stratégie spécifie le descripteur de sécurité à utiliser pour le journal à l'aide de la chaîne SDDL (Security Descriptor Definition Language). Vous devez définir les deux paramètres de stratégie « configurer l'accès au journal » pour ce journal pour pouvoir affecter les outils modernes et hérités.

Si vous activez ce paramètre de stratégie, seuls les utilisateurs correspondant au descripteur de sécurité pourront accéder au journal.

Si vous désactivez ce paramètre de stratégie, tous les utilisateurs authentifiés et les services système pourront écrire, lire ou effacer ce journal.

Si vous ne configurez pas ce paramètre de stratégie, la configuration précédente du paramètre de stratégie est conservée.

Registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\Application
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: EventLog/Channel_Log_FileLogAccess_5
$k = 'HKLM:\System\CurrentControlSet\Services\EventLog\Application'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Log Access
Set-ItemProperty -Path $k -Name 'CustomSD' -Value '<value>' -Type String

Disable

# Disable: EventLog/Channel_Log_FileLogAccess_5
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": EventLog/Channel_Log_FileLogAccess_5
$k = 'HKLM:\System\CurrentControlSet\Services\EventLog\Application'
Remove-ItemProperty -Path $k -Name 'CustomSD' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Log AccessAccès au journalChannel_Log_FileLogAccessText boxtextCustomSDREG_SZ

Availability