• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

TweakHound

Computer stuff...

  • Home
  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8
  • Windows 10
  • Linux
  • Tweak Guides
  • Site Info
    • About
    • About Me
    • TweakHound’s World
    • Contact
    • My Computers
    • Old Articles
    • Privacy Policy
    • Old Index
    • Advanced Search

Get Rid Of SMB1 In Windows 7

win7orb

May 22, 2017, 07:33(EDT) By Eric (a.k.a. TweakHound)

A reader was confused by all the steps in Microsoft’s How to enable and disable SMBv1, SMBv2, and SMBv3 in Windows and Windows Server.
Should he use PowerShell, Registry Editor, Group Policy? Should he disable it on Client or Server or both?
Because it is a security risk, it is important to ditch SMB1 on all platforms.
You should get rid of both the client and server.
In Windows 7 I do this via PowerShell. It is fast and easy.
You must run PowerShell as Admin.

Press the Windows + R keys > type powershell (press the Enter key)
> copy and paste the following command:
Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters” SMB1 -Type DWORD -Value 0 -Force
> now press the Enter key
> copy and paste the following command: sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
> now press the Enter key
> copy and paste the following command: sc.exe config mrxsmb10 start= disabled
> now press the Enter key > Reboot

———-
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.

PS C:\Users\Eric> Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Service
s\LanmanServer\Parameters” SMB1 -Type DWORD -Value 0 -Force
PS C:\Users\Eric> sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
[SC] ChangeServiceConfig SUCCESS
PS C:\Users\Eric> sc.exe config mrxsmb10 start= disabled
[SC] ChangeServiceConfig SUCCESS
PS C:\Users\Eric>
———-

Tagged With: How-To's, Security, Windows 7

Reader Interactions

Comments

  1. Calvin says

    May 22, 2017, 11:59(EDT) at 11:59

    Thanks, Eric. I must admit that I had the same questions/confusion.

    Calvin

  2. Tim says

    May 22, 2017, 13:36(EDT) at 13:36

    I was unclear on the first part of that(Registry) and am not familiar with PowerShell. Thanks for clarifying the proper sequence and commands with instructions.

  3. BW says

    May 22, 2017, 15:05(EDT) at 15:05

    I thought you could just uninstall SMB1 from Programs and Features?

    • Eric (a.k.a. TweakHound) says

      May 22, 2017, 15:09(EDT) at 15:09

      Not in Windows 7.

      • Joshua says

        May 22, 2017, 22:05(EDT) at 22:05

        Thank you, Seven is now good also.

  4. Calvin says

    May 24, 2017, 08:01(EDT) at 08:01

    Does getting rid of SMB1 in Win 7 have any affect on using the “run” command to access a HHD attached to the router. When I use Run \\192.168.0.1 as before I now get the message “The specified server cannot perform the requested operation”. When I checked the start properties box I noticed that “Run” was no longer checked. I checked the box but still no luck. Currently at a loss for what else could have caused this.

  5. jeremy says

    June 14, 2017, 15:46(EDT) at 15:46

    I, like Calvin was not aware this would disable samba-shares completely. I think I cannot do without it. What’s the command to re-enable it? I use samba shares for easy filesharing on my home network between windows and linux machines. Or is there a a simple (gui + drag and drop based) alternative for linux and windows machines?

    • Eric (a.k.a. TweakHound) says

      June 14, 2017, 16:03(EDT) at 16:03

      https://www.cyberciti.biz/faq/how-to-configure-samba-to-use-smbv2-and-disable-smbv1-on-linux-or-unix/

      • Eric (a.k.a. TweakHound) says

        June 14, 2017, 16:16(EDT) at 16:16

        but if you insist on keeping smb1:
        https://support.microsoft.com/en-us/help/2696547/how-to-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and-windows-server

Primary Sidebar

Popular Posts

Tweaking Windows 10

Software I Use – 2021 Edition

Timer Tweaks Benchmarked

Win10 – Get Auto-Login Back

Recent Posts

  • Wise Disk Cleaner 11.2.4
  • Patch Tuesday
  • Patch Tuesday
  • Monday News
  • BleachBit 5.0.0
  • Saturday News
  • Patch Tuesday
  • Weekend News
  • New Graphics Drivers
  • RIP Woody Leonhard
buywin10th2

Tags

  • Android
  • Backup
  • Beer
  • Computer Hardware
  • Computer News
  • Cool Tools
  • Freeware
  • How-To's
  • Linux
  • Off Topic
  • openSUSE
  • Playlists
  • Privacy
  • Security
  • Software
  • This Site
  • vacation
  • Veterans
  • Windows 10
  • Windows 11
  • Windows 7
  • Windows 8
  • Windows Vista
  • Windows XP

Catagories

  • Android
  • Backup
  • Beer
  • Computer Hardware
  • Computer News
  • Cool Tools
  • Freeware
  • Freeware Machines
  • How-To's
  • Linux
  • News From The Web
  • Off Topic
  • openSUSE
  • Privacy
  • Security
  • Software
  • Tweak Guides
  • Veterans
  • Windows
  • Windows 10
  • Windows 11
  • Windows 7
  • Windows 8
  • Windows Vista
  • Windows XP

TweakHound - Optimize Your Computing Experience! TweakHound - Optimize Your Computing Experience!

Copyright 2002-2025 by Eric Vaughan All material contain here is the property of the materials owner. Windows, Windows XP, Windows Vista, Windows Seven, Windows 8, Windows 10, Windows 11, Microsoft, and all associated logos are trademarks/property of Microsoft. You may not use or copy any material from tweakhound.com without expressed written permission. Hotlinking to any material within this site is forbidden. Privacy Policy