In this article, we will see how to enable the SMB1 file sharing protocol. In modern Windows 10 versions, it is disabled for security reasons. However, if you have computers in your network that run pre-Windows Vista systems or Android or Linux apps that only work with SMB v1, you need to enable it to network with these devices.
The Server Message Block (SMB) Protocol is the network file sharing protocol of Microsoft Windows. The set of message packets defining a particular version of the protocol is called a dialect. The Common Internet File System (CIFS) is a dialect of SMB. Both SMB and CIFS are also available on VMS. It is worth mentioning that both SMB and CIFS are also available on other operating systems like Linux and Android via alternate implementations from third parties. For reference, see the following MSDN article.
Microsoft's implementation of the SMB protocol comes with the following additions:
- Dialect negotiation
- Determining other Microsoft SMB Protocol servers on the network, or network browsing
- Printing over a network
- File, directory, and share access authentication
- File and record locking
- File and directory change notification
- Extended file attribute handling
- Unicode support
- Opportunistic locks
The SMBv1 protocol is outdated and insecure. It was the only choice till Windows XP. It was superseded by SMB2 and later versions which offer superior performance and better security. SMB v1 is not recommended for use any more by Microsoft. Starting in Windows Vista, Microsoft implemented a new version of SMB, known as SMB2. However, older Windows versions and many apps running on Android and Linux do not support recent versions of SMB, making it impossible to network Windows PC with such devices if only SMB v2/v3 are enabled.
SMB1 is disabled by default starting in Windows 10 version 1709 "Fall Creators Update". So, if you have to enable SMB1, here is how it can be done. Before proceeding, ensure that your user account has administrative privileges. Now, follow the instructions below.
To enable SMB1 in Windows 10, do the following.
- Press the Win + R keys to open Run and type
optionalfeatures.exeinto the Run box.
- Find SMB 1.0/CIFS File Sharing Support in the list and check the box next to it.
- Alternatively, you can expand it and enable only client or server, depending on what you want.
- Click on the "Restart button" if prompted.
After that, you will get SMB1 working in Windows 10.
Disabling the options mentioned above will remove SMB1 support from the OS.
Alternatively, you can enable or disable SMB1 using PowerShell.
Enable or disable the SMB1 protocol in Windows 10 using PowerShell
- Open PowerShell as Administrator.Tip: You can add "Open PowerShell As Administrator" context menu.
- Type or copy-paste the following command:
Get-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol"
It will show if you have the SMB1 protocol enabled or not.
- To enable the feature, run the command
Enable-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol" -All
- To disable the feature, run the following command:
Disable-WindowsOptionalFeature -Online -FeatureName "SMB1Protocol"
- Confirm the operation and you are done.