Disabling Server Message Block V2

How to disable Server Message Block V2 (SMB2) to resolve any problems that occur when SMB2 is used with IBM Spectrum Archive™.

About this task

A user who is accessing a Spectrum Archive volume from network sharing with SMB2 protocol might find that a file is not listed in the directory file list. In this case, the file is in the Spectrum Archive volume but a user cannot see it in the list from the client/server. The file can be seen only from a local server. If this problem occurs on your client/server, you can disable SMB2 to resolve the situation.
Note: You can disable SMB2 on a Windows client (Windows 2008, Windows Vista, or later) by completing steps 1 and 2. To disable SMB2 on a Windows server (Windows 2008 R2, Windows Server 2012, or Windows Server 2012 R2), go to step 3.

Procedure

  1. On the client/server, open a command prompt as an administrator.
  2. Run following command and then restart the client.
    sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
    sc config mrxsmb20 start= disabled
    Notes:
    • There is a space after the = symbol in both commands.
    • If you choose to re-enable SMB2, run the following command:
      sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
      sc config mrxsmb20 start= auto
  3. If you also want to disable (or re-enable) SMB2 on the server, change a registry value as follows:
    Note: This section contains instructions for editing the registry. If you make any error when you edit the registry, you can potentially cause Windows to fail or be unable to start, requiring you to reinstall Windows. Edit the registry at your own risk. Always back up the registry before you make changes, according to the Microsoft website instructions.
    1. From the Start menu, click Run....
    2. Type regedit in the "Open" field and click OK.
    3. Expand and locate the registry subtree as follows:
      HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ LanmanServer \ Parameters
    4. Add a REG_DWORD key with the name of Smb2.
      Value name Smb2
      Value type REG_DWORD
      0 = disabled
      1 = enabled
    5. Set the value to 0 to disable SMB2, or set it to 1 to re-enable SMB2.
    6. Restart the server.