Configure SMB v1 client (extra setting needed for pre-Win8.1/2012R2)
Explanation
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
Registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation- 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: 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 @('<value1>', '<value2>') -Type MultiStringDisable
# Disable: SecGuide/Pol_SecGuide_0003_SMBv1_ClientLMWkstaDepends
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": SecGuide/Pol_SecGuide_0003_SMBv1_ClientLMWkstaDepends
$k = 'HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation'
Remove-ItemProperty -Path $k -Name 'DependOnService' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Configure LanmanWorkstation dependenciesPol_SecGuide_SMB1Win7LMSDepends | Multiline text boxmultiText | DependOnService | REG_MULTI_SZ |
Application
Microsoft Security Baseline (MSS, SecGuide) (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.