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 › Security FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Service Journal des événements › Sécurité
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
EventLog.admx
Internal name
EventLog/Channel_Log_FileLogAccess_6

Explanation

This policy setting specifies the security descriptor to use for the log using the Security Descriptor Definition Language (SDDL) string. You cannot configure write permissions for this log.

If you enable this policy setting, only those users whose security descriptor matches the configured specified value can access the log.

If you disable this policy setting, only system software and administrators can 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 ne pouvez pas configurer les autorisations d'écriture pour ce journal.

Si vous activez ce paramètre de stratégie, seuls les utilisateurs dont le descripteur de sécurité correspond à la valeur spécifiée pourront accéder au journal.

Si vous désactivez ce paramètre de stratégie, seuls le logiciel système et les administrateurs pourront 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\Security
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_6
$k = 'HKLM:\System\CurrentControlSet\Services\EventLog\Security'
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_6
# 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_6
$k = 'HKLM:\System\CurrentControlSet\Services\EventLog\Security'
Remove-ItemProperty -Path $k -Name 'CustomSD' -ErrorAction SilentlyContinue

Options (1)

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

Availability