With the release of Windows 10 v1803 or Spring Creators Update, I decided to do a new installation on my PC. Once that was done, I tried to map the network sharing on the Popcorn Hour VTEN Media Streamer. Unfortunately, I was unable to do this because Microsoft seems to have disabled the SMB1 protocol in this version.
I got the following error message when trying to map the network drive:
You cannot connect to file sharing because it is not secure. This sharing requires SMB1 protocol, which is insecure and can expose your system to attacks.
Since Popcorn Hour runs on Linux and has installed the latest update available, I didn’t have many options for solving this problem. To solve this problem, I had to install and activate the SMB1 protocol using Powershell.
What is the cause of the ‘You cannot connect to the file share because it is not secure’ error
This error is mainly due to the fact that SMB1 is not activated on the system. SMB1 is no longer supported in Windows 10 version 1709 or later. Since SMB1 is a rather old protocol, security threats such as ransomware and other malware can use it to infiltrate your system. Therefore, as a precautionary measure, Microsoft has not included SMB1 protocol by default in Windows 10 versions. It has been replaced by SMBv2 and higher.
Here’s how to solve the “You cannot connect to the file share because it’s not secure” problem
Enable SMBv1 protocol
- Press Win+R to open the Run window and type Control Panel. Press Enter to open the Control Panel.
- Click Programs.
- From the green Programs and Features menu, select Enable or Disable Windows Features.
- Scroll down the list (in alphabetical order) to SMB 1.0/CIFS File Sharing Support. Click the + sign next to it to expand the list.
- Select the check box for SMB 1.0/CIFS Client.
- Click OK to save the settings and restart the system.
- Open the services snap-in by running the services.msc command.
- Verify that the service provider’s feature discovery hosting services and feature discovery resource publishing services are running and working. If not, double-click them and click Start.
- Verify that network discovery is enabled on the system.
- If steps 1 to 3 do not help, contact the software manufacturer of the device that does not allow file sharing because of SMBv1, and ask if they can provide updates for their device with a new version of SMB protocol, such as SMBv2 or SMBv3.
- If you are connecting Windows 10 to a Windows Server and experiencing this problem, first disable SMBv1 on Windows Server. Then make sure that all clients connected to the Windows Server support SMBv2. Once the clients confirm SMBv2, you can upgrade your Windows Server and resolve the issue.
Frequently Asked Questions
- On your computer, open the Control Panel. Click Programs.
- Click the Enable or Disable Windows Features link.
- Expand the option to support SMB 1.0/CIFS file sharing. Select the SMB 1.0/CIFS client check box.
- Click the OK button.
- Now restart your computer.
- Click and open the search bar in Windows 10, in the search bar type "Windows Features".
- Scroll down to SMB/CIFS file sharing support version 1.0.
- Select the Net to SMB 1.0/CIFS File Sharing Support checkbox, and all other child boxes will be populated
- automatically. Click OK to apply the changes.
- Click the Restart Now button to restart your computer.
- Press Windows + R to open the Run dialog box and enter: optional features.
- Expand "SMB 1.0/CIFS file-sharing support" and check the box next to "SMB 1.0/CIFS client".
- Click OK.
- Now the installation will continue and you will be able to access shares again using SMB 1.
Server Message Block (SMB) is a network protocol that allows users to communicate with remote computers and servers - to use their resources or share, open, and modify files. It is also called a server/client protocol because the server has a resource that it can share with the client.