Enable SMB over QUIC
Activer SMB sur QUIC
Explanation
This policy setting controls whether the SMB server will enable SMB over QUIC.
If you disable this policy setting, the SMB server will not accept connections over QUIC.
If you do not configure this policy setting, the SMB server may accept connections over QUIC.
Ce paramètre de stratégie contrôle si le serveur SMB active SMB sur QUIC.
Si vous désactivez ce paramètre de stratégie, le serveur SMB n’accepte pas les connexions via QUIC.
Si vous ne configurez pas ce paramètre de stratégie, le serveur SMB peut accepter des connexions via QUIC.
Use cases
Enables SMB over QUIC, available in all Windows Server 2025 editions: traffic is encrypted with TLS 1.3 and a certificate, letting remote or mobile users reach a file server without a VPN. Client access control can restrict connections to listed certificates.
Reserve it for a server whose certificate and network exposure (UDP 443) you control.
Microsoft source: SMB security hardening
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer- Value name
EnableSMBQUIC
| 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: LanmanServer/Pol_EnableSMBQUIC
$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 'EnableSMBQUIC' -Value 1 -Type DWordDisable
# Disable: LanmanServer/Pol_EnableSMBQUIC
$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 'EnableSMBQUIC' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": LanmanServer/Pol_EnableSMBQUIC
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
Remove-ItemProperty -Path $k -Name 'EnableSMBQUIC' -ErrorAction SilentlyContinue