Audit server does not support signing
Le serveur d’Audit ne prend pas en charge la signature
Explanation
This policy controls whether the SMB client will enable the audit event when the SMB server doesn't support signing.
If you enable this policy setting, the SMB client will log the event when the SMB server doesn't support signing.
If you disable or do not configure this policy setting, the SMB client will not log the event.
Cette stratégie détermine si le client SMB activera l’événement d’audit lorsque le serveur SMB ne prend pas en charge la signature.
Si vous activez ce paramètre de stratégie, le client SMB enregistrera l’événement lorsque le serveur SMB ne prend pas en charge la signature.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le client SMB n’enregistrera pas l’événement.
Use cases
On the client side, logs (events 31998/31999 in SMBClient/Audit) SMB servers that do not support signing. Essential before moving workstations to Windows 11 24H2, which rejects unsigned connections by default: it reveals the affected NAS devices, printers and Linux or legacy servers.
Microsoft sources: Overview of Server Message Block signing · SMB security hardening
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanWorkstation- Value name
AuditServerDoesNotSupportSigning
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: LanmanWorkstation/Pol_AuditServerDoesNotSupportSigning
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AuditServerDoesNotSupportSigning' -Value 1 -Type DWordDisable
# Disable: LanmanWorkstation/Pol_AuditServerDoesNotSupportSigning
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AuditServerDoesNotSupportSigning' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": LanmanWorkstation/Pol_AuditServerDoesNotSupportSigning
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation'
Remove-ItemProperty -Path $k -Name 'AuditServerDoesNotSupportSigning' -ErrorAction SilentlyContinue