Le client d’audit ne prend pas en charge la signature
Audit client does not support signing
Explication
Cette stratégie détermine si le serveur SMB enregistre l’événement lorsque le client SMB ne prend pas en charge la signature.
Si vous activez ce paramètre de stratégie, le serveur SMB enregistrera l’événement lorsque le client SMB ne prend pas en charge la signature.
This policy controls whether the SMB server will log the event when the SMB client doesn't support signing.
If you enable this policy setting, the SMB server will log the event when the SMB client doesn't support signing.
Cas d'usage
Journalise (événements 3021/3022 dans SMBServer/Audit) les clients SMB qui ne supportent pas la signature. Avec Windows 11 24H2 et Windows Server 2025, la signature est exigée par défaut pour toutes les connexions SMB : l’audit permet de repérer les appareils tiers incompatibles avant qu’ils cessent de fonctionner.
À lancer quelques semaines avant d’imposer la signature, puis à traiter les appareils listés (mise à jour, remplacement ou exception).
Sources Microsoft : Overview of Server Message Block signing · SMB security hardening
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer- Nom de la valeur
AuditClientDoesNotSupportSigning
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : LanmanServer/Pol_AuditClientDoesNotSupportSigning
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AuditClientDoesNotSupportSigning' -Value 1 -Type DWordDésactiver
# Désactiver : LanmanServer/Pol_AuditClientDoesNotSupportSigning
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AuditClientDoesNotSupportSigning' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : LanmanServer/Pol_AuditClientDoesNotSupportSigning
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
Remove-ItemProperty -Path $k -Name 'AuditClientDoesNotSupportSigning' -ErrorAction SilentlyContinue