Open in the explorer

Enable / disable CLFS logfile authentication

Activer/désactiver l’authentification du fichier journal CLFS

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Filesystem FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Système de fichiers
Supported on
At least Windows Server 2016, Windows 10 Version 1607 FR: Windows Server 2016, Windows 10 version 1607 ou versions supérieures
ADMX file
FileSys.admx
Internal name
FileSys/ClfsAuthenticationChecking

Explanation

This policy setting configures CLFS logfile authentication, a security feature which aims to harden logfile parsing.

Logfile authentication provides the ability for the CLFS driver to detect malicious modications made to logfiles. If modifications are detected, CLFS will deem the logfile as unsafe for parsing and return an error to the caller. CLFS is able to detect modifications by writing authentication codes to logfiles, which combines file data with a system-unique cryptographic key.

A side effect of logfile authentication is that CLFS will fail to open logfiles that were created on other systems, as these logfiles contain authentication codes created using a system-unique cryptographic key. To open a logfile that was created on another system, an administrator must first use the "fsutil.exe clfs authenticate" command to correct the authentication codes.

If you enable or do not configure this setting, CLFS will refer to local registry settings on whether logfile authentication should be done or not. By default, CLFS will do logfile authentication. The local registry settings for this feature can be found at "HKLM:\SYSTEM\CurrentControlSet\Services\CLFS\Authentication".

If you disable his setting, CLFS will no longer perform logfile authentication. Logfiles will be able to be moved and opened across systems without Administrative action. However, CLFS will open and parse all logfiles, including maliciously crafted logfiles that may compromise the system.

French text from Windows 11 26H2

Ce paramètre de stratégie configure l’authentification des fichiers journaux CLFS, une fonctionnalité de sécurité qui vise à renforcer l’analyse des fichiers journaux.

L’authentification des fichiers journaux permet au pilote CLFS de détecter les modifications malveillantes apportées aux fichiers journaux. Si des modifications sont détectées, CLFS considère que le fichier journal présente un risque pour l’analyse et renvoie une erreur à l’appelant. CLFS est en mesure de détecter les modifications en écrivant des codes d’authentification dans les fichiers journaux, qui combinent les données de fichier avec une clé de chiffrement propre au système.

L’un des effets secondaires de l’authentification des fichiers journaux est que CLFS ne peut pas ouvrir les fichiers journaux créés sur d’autres systèmes, car ces fichiers contiennent des codes d’authentification créés à l’aide d’une clé de chiffrement propre au système. Pour ouvrir un fichier journal créé sur un autre système, l’administrateur doit d’abord utiliser la commande « fsutil.exe clfs authenticate » pour corriger les codes d’authentification.

Si vous activez ou ne configurez pas ce paramètre, CLFS se réfère aux paramètres du registre local pour déterminer si vous devez ou non procéder à l’authentification des fichiers journaux. Par défaut, CLFS effectue l’authentification des fichiers journaux. Les paramètres du registre local pour cette fonctionnalité sont disponibles dans « HKLM:\SYSTEM\CurrentControlSet\Services\CLFS\Authentication ».

Si vous désactivez ce paramètre, CLFS n’effectuera plus l’authentification des fichiers journaux. Vous pourrez déplacer et ouvrir les fichiers journaux d’un système à l’autre sans intervention de l’administration. Cependant, CLFS ouvrira et analysera tous les fichiers journaux, y compris ceux qui ont été conçus de manière malveillante et qui peuvent compromettre le système.

Registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies
Value name
ClfsAuthenticationChecking
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: FileSys/ClfsAuthenticationChecking
$k = 'HKLM:\System\CurrentControlSet\Policies'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ClfsAuthenticationChecking' -Value 1 -Type DWord

Disable

# Disable: FileSys/ClfsAuthenticationChecking
$k = 'HKLM:\System\CurrentControlSet\Policies'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ClfsAuthenticationChecking' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": FileSys/ClfsAuthenticationChecking
$k = 'HKLM:\System\CurrentControlSet\Policies'
Remove-ItemProperty -Path $k -Name 'ClfsAuthenticationChecking' -ErrorAction SilentlyContinue

Availability

Windows 11

✓ 26H2✓ 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016