en-US security-baseline computer

Configure SMB v1 client (extra setting needed for pre-Win8.1/2012R2)

Verified with Microsoft Security Baseline (MSS / SecGuide) 25H2 — updated on July 10, 2026

Supported on: Only Windows 7, Windows Server 2008, Windows Server 2008R2, Windows Server 2012

Path in the GPO console

Computer Configuration\Administrative Templates\MS Security Guide

Description

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

HKLM SYSTEM\CurrentControlSet\Services\LanmanWorkstation

More options available

Options

Configure LanmanWorkstation dependencies
DependOnService multiText

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure SMB v1 client (extra setting needed for pre-Win8.1/2012R2)
; State: Enabled
; Supported on: Only Windows 7, Windows Server 2008, Windows Server 2008R2, Windows Server 2012

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation]
"DependOnService"=hex(7):00,00
; REG_MULTI_SZ: one string per input line; edit in regedit if you need richer formatting.
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure SMB v1 client (extra setting needed for pre-Win8.1/2012R2)
# State: Enabled
# Supported on: Only Windows 7, Windows Server 2008, Windows Server 2008R2, Windows Server 2012

$path = 'HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DependOnService' -Value @() -Type MultiString
# REG_MULTI_SZ: one string per input line; edit in regedit if you need richer formatting.

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview