Skip to main content

Windows Server 2019 SMB1

Not that you would want to but this is how to install SMB1 to Windows Server 2019

All commands should be run from an elevated PowerShell


Install

    dism /online /Enable-Feature /FeatureName:SMB1Protocol /All /source:c:\wim\mount\windows\winsxs /limitaccess 
  
  Reboot the Server
 
    Get-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol"



Enable SMB1

    Set-SmbServerConfiguration -EnableSMB1Protocol $true
    Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol



Disable SMB1

    Set-SmbServerConfiguration -EnableSMB1Protocol $false
    Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol