Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix you cant connect to the file share because its not secure windows 10?

· 4 min read · Home Tech

In this article
  1. What Causes This Error?
  2. How SMB Versions Work
  3. How to Fix It (Step-by-Step)
  4. Common Problems and Pitfalls
  5. Security Considerations
  6. Alternatives to SMB
  7. Frequently Asked Questions

If you see "You can't connect to the file share because it's not secure" on Windows 10, the fix is to enable SMB2 or SMB3 (and disable SMB1) or adjust the client's minimum SMB protocol version via Group Policy or Registry. This error typically appears when the server uses an older SMB protocol (like SMB1) that Windows 10 no longer trusts by default. Below, I'll explain why this happens, how to fix it safely, and how to avoid it in the future.

What Causes This Error?

Windows 10 blocks connections to file shares that use SMB1 (Server Message Block version 1) because SMB1 is outdated and has known security vulnerabilities (e.g., WannaCry ransomware). Microsoft disabled SMB1 by default in Windows 10 to protect users. If you try to connect to a network share (like a NAS, an old Windows 7 machine, or a Linux server with SMB1 enabled), Windows 10 may show the "not secure" error. The error can also appear if the client is configured to require SMB2 or higher, but the server only supports SMB1.

How SMB Versions Work

SMB (Server Message Block) is a network file-sharing protocol. Versions:

  • SMB1 – Old (1980s), insecure, slow, no encryption.
  • SMB2.0/2.1 – Introduced in Windows Vista/7, more secure, better performance.
  • SMB3.0+ – Windows 8/10, adds encryption, secure dialect negotiation, and more.

Windows 10 supports SMB2 and SMB3 by default. The error occurs when the server only offers SMB1, or when your client is configured to reject SMB1 (which is the default).

How to Fix It (Step-by-Step)

You have two main options: enable SMB1 on the client (not recommended for security) or update the server to support SMB2/3. Here's how to do both.

Option 1: Enable SMB1 on Windows 10 (Temporary Fix)

  1. Open Control Panel → Programs → Turn Windows features on or off.
  2. Scroll down and check SMB 1.0/CIFS File Sharing Support.
  3. Click OK, restart your PC.

After restart, try connecting again. This is a quick fix but weakens security. Only use it if the server cannot be upgraded.

Option 2: Enable SMB2/3 on the Server (Recommended)

If the server is a Windows machine:

  • On Windows 7/Server 2008 R2: Ensure SMB2 is enabled (it is by default).
  • On Windows Server 2003 or older: Upgrade or install SMB2 (not possible).

If the server is a NAS or Linux device, change its SMB configuration to support SMB2/3. For example, in Samba, set server min protocol = SMB2 in /etc/samba/smb.conf.

Option 3: Adjust Group Policy (For Advanced Users)

You can force the client to use SMB2 even if the server offers SMB1 (but this won't help if the server only supports SMB1). Steps:

  1. Press Win+R, type gpedit.msc (Pro/Enterprise only).
  2. Navigate to Computer Configuration → Administrative Templates → Network → Lanman Workstation.
  3. Enable Enable insecure guest logons (if needed) or set Minimum SMB protocol version to SMB2.

If you don't have gpedit, use Registry Editor:

  1. Open regedit.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters.
  3. Create a DWORD MinSMBVersion and set it to 2 (or 0 for no minimum).

Common Problems and Pitfalls

  • Error still appears after enabling SMB1 – Make sure you restarted the PC and that the server actually supports SMB1 (some NAS devices disable it by default).
  • Guest access issues – If the share requires guest login, Windows 10 disables insecure guest logons by default. Enable it via Group Policy or Registry (as above).
  • Firewall blocking – Ensure port 445 (SMB) is open on both sides.
  • Network discovery off – Turn on network discovery in Control Panel → Network and Sharing Center.

Security Considerations

Enabling SMB1 is risky because it lacks encryption and has known vulnerabilities. Microsoft recommends keeping SMB1 disabled. If you must use SMB1, limit it to isolated networks and never expose it to the internet. For long-term, upgrade the server to support SMB2/3, or use a different protocol like FTP or WebDAV.

Alternatives to SMB

If you can't fix SMB, consider:

  • FTP/SFTP – Use FileZilla or built-in Windows FTP.
  • WebDAV – Map a drive over HTTPS.
  • Cloud storage – OneDrive, Google Drive, etc.

Frequently Asked Questions

Why does Windows 10 say "not secure" when connecting to my NAS?

Because your NAS is likely configured to use SMB1 only. Check your NAS settings and enable SMB2/3 (most modern NAS support it).

Is it safe to enable SMB1?

No, it's not recommended. SMB1 has known vulnerabilities that can allow malware to spread. Only enable it temporarily and on a trusted network.

How do I check which SMB version is in use?

Open PowerShell as admin and run Get-SmbServerConfiguration to see the server's settings, or Get-SmbConnection to see active connections.

Can I fix this without enabling SMB1?

Yes, update the server to support SMB2/3. For Windows servers, ensure they are running at least Windows 7/Server 2008 R2. For Samba, change the config.

What if I don't have gpedit.msc?

Use the Registry Editor method described above, or use PowerShell to set the registry key.