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

Explanation

This policy setting specifies the security descriptor to use for the log using the Security Descriptor Definition Language (SDDL) string.

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

If you disable this policy setting, only system software and administrators can write or clear this log, and any authenticated user can read events from it.

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).

Si vous activez ce paramètre de stratégie, seuls les utilisateurs dont le descripteur de sécurité correspond à la valeur configuré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 écrire dans ce journal ou l'effacer, et tout utilisateur authentifié pourra en lire les événements.

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\System
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_8
$k = 'HKLM:\System\CurrentControlSet\Services\EventLog\System'
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_8
# 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_8
$k = 'HKLM:\System\CurrentControlSet\Services\EventLog\System'
Remove-ItemProperty -Path $k -Name 'CustomSD' -ErrorAction SilentlyContinue

Options (1)

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

Availability