Loading...

We've detected that your browser language is Chinese. Would you like to visit our Chinese website? [ Dismiss ]
By: Emma

Windows and Mac computers can share files across the same network almost instantly, without uploading anything to the cloud. The protocol behind this is Server Message Block, or SMB.

This guide covers:

  • How SMB file sharing works
  • How to enable it safely on Windows 10 and 11
  • How to connect Mac and Windows shares
  • How to fix the most common connection errors

What Is SMB File Sharing?

Server Message Block, or SMB, is a client-server protocol that lets devices share files, printers, and other resources over a local network. In simple terms, it’s the language two machines use so one can access files stored on the other.

SMB runs over TCP/IP, typically using port 445. The device holding the files is the server, and the device requesting access is the client. This differs from protocols such as NFS, which is more common in Linux and Unix environments.

A client connection follows four steps:

  1. Negotiate: The client and server agree on the SMB version to use.
  2. Authenticate: The client sends a username and password.
  3. Session setup: The server validates the credentials and opens a session.
  4. Tree connect: The client requests access to a specific shared folder, called a “tree” in SMB terminology.

SMB Versions at a Glance

The protocol has gone through several versions since the 1980s, but SMB3 is the current standard on modern systems, with built-in encryption and better performance than its predecessors. Older versions like SMB1 are outdated, insecure, and disabled by default on most operating systems today.

Version Introduced Key traits
SMB1 1980s Inefficient, known security flaws, disabled by default
SMB2 Windows Vista Fewer, larger packets; supports bigger file sizes and faster transfers
SMB3 Windows 8 / Server 2012 End‑to‑end encryption, multichannel support, better clustering performance

Is SMB Safe to Use at Home and at Work?

Yes, as long as you’re using a modern version of the protocol on a properly configured private network. SMB3 includes end-to-end encryption to keep data safe in transit. The real risk comes from legacy settings or open security gaps, not the protocol itself.

The main risk is the outdated SMB1 protocol, which is vulnerable to exploits like the ransomware attack. Enabling “guest” fallback access is another common gap. It lets users read or modify shared folders without entering credentials, exposing files to anyone connected to the same Wi-Fi or office network.

SMB Security Checklist

A few basic steps keep an SMB share secure:

  • Disable SMB1 on all computers, servers, and network devices.
  • Turn off guest or anonymous access and require a login for every user.
  • Grant minimum permissions, such as read-only access instead of full control, unless write access is needed.
  • Confirm SMB3 encryption is active to prevent eavesdropping on network traffic.

A shared folder is only as safe as its backup plan. Any share holding important data should be backed up regularly to a secondary location, the same as any other server or workstation in the network.

How to Enable SMB Sharing on Windows

Enabling SMB-based file sharing on Windows lets other devices on the local network access files directly. Windows handles this natively, but it’s worth weighing the trade-offs first.

Pros and Cons of Setting up SMB Sharing

Before enabling SMB sharing, it helps to weigh what you gain against the risks involved.

  • Pros:
    • No third-party software needed
    • Supports granular user permissions
    • Fast transfer speeds on local connections
  • Cons:
    • Misconfiguration can expose folders to unauthorized users
    • Local firewall rules can block access unexpectedly
    • Sharing and security permissions need to be kept in sync

Enabling SMB Sharing on Windows 10

  1. Open the Start Menu, search for Control Panel, and select it.enable smb sharing on win 10 - control panel
  2. Go to Network and Internet > Network and Sharing Center > Change advanced sharing settings.enable smb sharing on win 10 - network and internetenable smb sharing on win 10 - network and sharing centerenable smb sharing on win 10 - change advanced sharing settings
  3. Under the active network profile, usually Private, turn on Network discovery and File and printer sharing.
  4. Right-click the folder to share and select Properties.
  5. Open the Sharing tab, click Advanced Sharing, check Share this folder, then click Permissions to set who can access it.
  6. Make sure the accounts added under the Sharing tab also have matching permissions under the Security tab, since a mismatch between the two is the most common cause of access being blocked.

Enabling SMB Sharing on Windows 11

  1. Open Settings with Win + I.
  2. Go to Network & internet > Advanced network settings > Advanced sharing settings.win 11 setting advanced network settings
  3. Expand Private networks and turn on both Network discovery and File and printer sharing.win 11 network discovery and file and printer sharing
  4. Right-click the folder to share and select Properties.
  5. Open the Sharing tab, click Advanced Sharing, check Share this folder, and set access under Permissions.properties - advanced sharing - share this folder - permissions

For Windows 11 24H2: Starting with version 24H2, Windows requires SMB signing on all connections by default and disables insecure guest fallback on Pro editions. Connecting to an older NAS or router that doesn’t support signing can produce the error 0xc000a000 (STATUS_INVALID_SIGNATURE) or a message about your organization’s security policies blocking guest access. To confirm this is the cause, check Event Viewer under Applications and Services Logs > Microsoft > Windows > SMBClient for connection failure events.

PowerShell Alternative

For IT admins managing multiple machines, PowerShell offers a faster way to set up a share. Run PowerShell as administrator and use the following commands:

powershell
# Enable the firewall rules needed for SMB traffic
Enable-NetFirewallRule -DisplayGroup "File and Printer Sharing"

# Create a new SMB share named "MyShare" pointing to a local folder
New-SmbShare -Name "MyShare" -Path "C:\SharedFolder" -FullAccess "Everyone"

Note: Granting FullAccess to Everyone is convenient for testing but should be scoped to specific users or groups in any real deployment.

How to Connect Mac to Win SMB Share (and Win to Mac)

Connecting Mac and Windows over SMB works well once you know the small differences in how each system handles addresses and credentials.

Because macOS and Windows format network paths and login details differently, cross-platform sharing needs a few specific adjustments.

Connecting Mac to a Windows SMB Share

Apple includes a native SMB client in Finder, so no third-party tools are needed to access Windows files from a Mac.

  1. Open Finder, click Go in the menu bar, and select Connect to Server (or press Cmd + K).
  2. In the Server Address field, type the share address in the format smb://IP_ADDRESS or mb://COMPUTER_NAME, for example smb://192.168.1.50. Click Connect.
  3. Select Registered User and enter the Windows credentials.

Tip: If the correct password is rejected, try PCNAME\username instead of just the username, where PCNAME is the Windows computer’s name. If the Windows account uses a Microsoft account, try the full email address instead.

Connecting Windows to a Mac SMB Share

To let a Windows PC access files on a Mac, SMB sharing needs to be turned on and configured first.

  1. On the Mac, go to the Apple menu > System Settings > General > Sharing.
  2. Turn on File Sharing, then click the Info (i) button next to it.
  3. Click Options.
  4. Confirm Share files and folders using SMB is checked.
  5. Under Windows File Sharing, check the box next to the user account to use, enter that account’s password, and click Done.
  6. On the Windows PC, press Win + R, type \\MAC_IP_ADDRESS or \\MAC_COMPUTER_NAME.local, and press Enter. Enter the Mac username and password when prompted.

Why one-directional connections happen?

A Mac can often browse Windows files while the Windows PC can’t reach the Mac. This is usually because step 5 was skipped. macOS needs the specific user account checked under Windows File Sharing, with its password entered, before it can store credentials in a format Windows can authenticate against.

Common SMB Sharing Errors and Fixes

SMB connections usually fail for one of a few reasons: firewall blocks, credential mismatches, or outdated device settings. Check these in order.

1. Port 445 connectivity

Windows: Test-NetConnection -ComputerName TARGET_IP -Port 445

Mac: nc -zv TARGET_IP 445

If it times out, check Windows Defender Firewall or antivirus software on the host, and allow port 445 inbound.

2. Credential and permission mismatches

Constant password prompts or “Access Denied” usually means a login format issue.

For local accounts, try TARGET_COMPUTER_NAME\username; for Microsoft accounts, try the full email. Also check that the Sharing tab and Security (NTFS) tab permissions match — a mismatch here blocks the connection.

3. SMB signing and guest policy (Windows 11 24H2+)

Windows 11 24H2 requires SMB signing and blocks guest logins by default, which can break older NAS connections.

Best fix: update the NAS firmware. Workaround: enable insecure guest logons via gpedit.msc under Computer Configuration > Administrative Templates > Network > Lanman Workstation, though this lowers security.

4. Outdated SMB1-only devices

Old NAS units and printers that only support SMB1 can appear offline, since modern systems disable SMB1 by default.

Update the firmware if possible. If not, replacing an outdated QNAP or Synology NAS is more sustainable than re-enabling SMB1.

When SMB Is Not Enough: i2Share for Team File Collaboration

SMB is reliable for local, device-to-device file access, but it wasn’t built for how most teams actually work today. It has no built-in way to manage permissions across a growing user base, no version history, and no easy way to share files securely with people outside the local network.

For businesses that need more than basic file access, i2Share is built for team-wide collaboration rather than single-device sharing.

Where SMB simply exposes a folder, i2Share adds the structure a growing team needs. It centralizes storage and management for office files, images, videos, and CAD files, with real-time sync across desktops and mobile devices, plus secure sharing both inside and outside the business.

i2Share log in page

A few features stand out for teams that have outgrown SMB shares:

  • Granular access controls: Permission approval workflows and validity controls manage who can see and edit specific files, going well beyond SMB’s basic read/write settings.
  • Multi-device sync with offline editing: Files stay current across desktops and mobile devices, with automatic sync once a device reconnects.
  • Built-in ransomware protection: Continuous data protection (CDP) allows fast rollback and recovery of affected files and directories after an attack, addressing a risk that a plain SMB share has no defense against.
  • Cross-location access: Multi-site deployment supports businesses with multiple offices, with unified access and cache acceleration to keep performance consistent across locations.

For a small home network, SMB is still the simplest option. But once file sharing needs to scale across a team, with proper permissions, audit visibility, and protection against data loss, a platform like i2Share fills the gap SMB was never designed to cover.

FREE Trial for 60-Day

FAQ

Q1: What is an SMB file share?

It’s a folder shared over a network using the SMB protocol, so other devices can access it like a local folder.

 

Q2: How do I set up SMB file sharing?

You turn on network discovery and file sharing in your OS settings, then share the specific folder with the right permissions.

 

Q3: Is SMB still safe to use?

Yes, it’s safe as long as it’s SMB2 or SMB3 on a private network. SMB1 and open guest access are the real risks.

 

Q4: How can I use SMB to transfer files

You connect to the share’s address, such as \\COMPUTER_NAME\ShareName on Windows or smb://IP_ADDRESS on Mac, then drag and drop files as usual.

Conclusion

SMB remains one of the simplest ways to move files between Windows, Mac, and NAS devices on the same network. Getting it right comes down to a few basics: use SMB2 or SMB3, keep guest access locked down, and match permissions correctly between the Sharing and Security tabs on Windows.

For teams that outgrow a basic SMB share, Info2soft offers i2Share for structured, secure file collaboration across a growing business. If SMB connections still act up after working through this guide, the diagnostic order in the troubleshooting section is the fastest way to narrow down the cause.

Emma is the bridge between complex engineering and the people who need it. As a content creator at Info2soft, she spends her days translating "tech-speak" into clear, actionable stories about data resilience. She’s not just documenting software; she's uncovering how data replication and recovery actually change the way businesses run.

More Related Articles

Ready to Enhance Business Data Security?

· Enterprise & Mid-market Customers Worldwide

· Support team available to assist you throughout your trial

· Start a 60-day free trial or view demo to see how Info2Soft protects enterprise data.

Please fill out the form and submit it, our customer service representative will contact you soon.
By submitting this form, I confirm that I have read and agree to the Privacy Notice.
{{ isSubmitting ? 'Submitting...' : 'Submit' }}