Configure SMB v1 client (extra setting needed for pre-Win8.1/2012R2)
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
APPLIES ONLY TO: Windows 7 and Windows Servers 2008, 2008R2 and 2012 (NOT 2012R2):
To disable client-side processing of the SMBv1 protocol (recommended), do ALL of the following:
* Set the SMBv1 client driver to "Disable driver" using the "Configure SMB v1 client driver" setting;
* Enable this setting;
* In the "Configure LanmanWorkstation dependencies" text box, enter the following three lines of text:
Bowser
MRxSmb20
NSI
To restore the default behavior for client-side SMBv1 protocol processing, do ALL of the following:
* Set the SMBv1 client driver to "Manual start" using the "Configure SMB v1 client driver" setting;
* Enable this setting;
* In the "Configure LanmanWorkstation dependencies" text box, enter the following four lines of text:
Bowser
MRxSmb10
MRxSmb20
NSI
WARNING: DO NOT SELECT THE "DISABLED" RADIO BUTTON UNDER ANY CIRCUMSTANCES!
Changes to this setting require a reboot to take effect.
For more information, see https://support.microsoft.com/kb/2696547
Registre
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
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 : SecGuide/Pol_SecGuide_0003_SMBv1_ClientLMWkstaDepends
$k = 'HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Configure LanmanWorkstation dependencies
Set-ItemProperty -Path $k -Name 'DependOnService' -Value @('<valeur1>', '<valeur2>') -Type MultiStringDésactiver
# Désactiver : SecGuide/Pol_SecGuide_0003_SMBv1_ClientLMWkstaDepends
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : SecGuide/Pol_SecGuide_0003_SMBv1_ClientLMWkstaDepends
$k = 'HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation'
Remove-ItemProperty -Path $k -Name 'DependOnService' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Configure LanmanWorkstation dependenciesPol_SecGuide_SMB1Win7LMSDepends | Zone de texte multilignemultiText | DependOnService | REG_MULTI_SZ |
Application
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.