Results 1 to 3 of 3

Thread: How to enable and disable SMBv1, SMBv2, and SMBv3

  1. #1

    Default How to enable and disable SMBv1, SMBv2, and SMBv3

    Hi Friedrich,

    Please look at this MS article:

    How to enable and disable SMBv1, SMBv2, and SMBv3:
    http://support.microsoft.com/kb/2696547?

    As you know it's only possible to turn off oplocks when SMB2 (and SMB3)
    has been turned off.

    In the article I read the following:
    To disable SMBv2 and SMBv3 on the SMB CLIENT, run the following commands:
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
    sc.exe config mrxsmb20 start= disabled
    Can this be done with SetupBuilder?

    Then there's something new about Windows 8 and Windows Server 2012:
    To disable SMBv2 and SMBv3 on the SMB SERVER, run the following cmdlet:
    Set-SmbServerConfiguration -EnableSMB2Protocol $false
    Can this be done with SetupBuilder?

    After SMB2/SMB3 has been turned off, I can disable oplocks with the
    registry setting so that TPS files don't get corrupted.

    I hope something can be made with SetupBuilder.
    --
    Best regards,
    Jeffrey

  2. #2

    Default Re: How to enable and disable SMBv1, SMBv2, and SMBv3

    Hi Jeffrey,

    > In the article I read the following:
    > To disable SMBv2 and SMBv3 on the SMB CLIENT, run the following commands:
    > sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
    > sc.exe config mrxsmb20 start= disabled
    > Can this be done with SetupBuilder?

    Yes. Just use the "Run Command Line..." or "Run Program..." script
    functions.

    > Then there's something new about Windows 8 and Windows Server 2012:
    > To disable SMBv2 and SMBv3 on the SMB SERVER, run the following cmdlet:
    > Set-SmbServerConfiguration -EnableSMB2Protocol $false
    > Can this be done with SetupBuilder?

    See above. A "cmdlet" is executed in the PowerShell process. Call
    PowerShell.exe to start a Windows PowerShell session and execute your
    cmdlet:

    http://technet.microsoft.com/en-us/l.../hh847736.aspx

    Friedrich

  3. #3

    Default Re: How to enable and disable SMBv1, SMBv2, and SMBv3

    Thanks a lot!

    Best regards,
    Jeffrey

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •