How to detect enable and disable SMBv1, SMBv2, and SMBv3 in Windows command


How to detect enable and disable SMBv1, SMBv2, and SMBv3 in Windows

https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3

SMB v1 on SMB Client
  • Detect

    cmd
    sc.exe qc lanmanworkstation
    
  • Disable:

    cmd
    sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
    sc.exe config mrxsmb10 start= disabled
    
  • Enable:

    cmd
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
    sc.exe config mrxsmb10 start= auto
    

SMB v2/v3 on SMB Client

  • Detect:

    cmd
    sc.exe qc lanmanworkstation
    
  • Disable:

    cmd
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
    sc.exe config mrxsmb20 start= disabled 
    
  • Enable:

    cmd
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
    sc.exe config mrxsmb20 start= auto

Comments

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass