Cipher suite order
Ordre des suites de chiffrement
Explanation
This policy setting determines the cipher suites used by the SMB server.
If you enable this policy setting, cipher suites are prioritized in the order specified.
If you enable this policy setting and do not specify at least one supported cipher suite, or if you disable or do not configure this policy setting, the default cipher suite order is used.
SMB 3.11 cipher suites:
AES_128_GCM
AES_128_CCM
AES_256_GCM
AES_256_CCM
SMB 3.0 and 3.02 cipher suites:
AES_128_CCM
How to modify this setting:
Arrange the desired cipher suites in the edit box, one cipher suite per line, in order from most to least preferred, with the most preferred cipher suite at the top. Remove any cipher suites you don't want to use.
Note: When configuring this security setting, changes will not take effect until you restart Windows.
Ce paramètre de stratégie détermine les suites de chiffrement utilisés par le serveur SMB.
Si vous activez ce paramètre de stratégie, les suites de chiffrement sont définies dans l'ordre spécifié.
Si vous activez ce paramètre de stratégie et que vous ne spécifiez pas au moins une suite de chiffrement prise en charge, ou si vous désactivez ou ne configurez pas ce paramètre de stratégie, l'ordre des suites de chiffrement par défaut sont utilisé.
suites de chiffrement SMB 3.11 :
AES_128_GCM
AES_128_CCM
AES_256_GCM
AES_256_CCM
suites de chiffrement SMB 3.0 et 3.02 :
AES_128_CCM
Comment modifier ce paramètre :
Réorganiser les suites de chiffrement souhaité dans la zone d'édition, d'une suite d'un chiffrement par ligne, dans l'ordre, du plus au moins favori, à la suite de chiffrement favorite en haut. Supprimer toutes les suites de chiffrement que vous ne voulez pas utiliser.
Remarque : lorsque vous configurez ce paramètre de sécurité, les modifications ne prendront effet qu'après le redémarrage de Windows.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanServer- 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: LanmanServer/Pol_CipherSuiteOrder
$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 'CipherSuiteOrder' -Value @('<value1>', '<value2>') -Type MultiStringDisable
# Disable: LanmanServer/Pol_CipherSuiteOrder
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": LanmanServer/Pol_CipherSuiteOrder
$k = 'HKLM:\Software\Policies\Microsoft\Windows\LanmanServer'
Remove-ItemProperty -Path $k -Name 'CipherSuiteOrder' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| MultiText_CipherSuiteOrder | Multiline text boxmultiText | CipherSuiteOrder | REG_MULTI_SZ |