How to Use SMB File Sharing on Windows 10

Allow sharing before you share: Windows 10 shares folders over SMB only after network discovery and file and printer sharing are on for a private network. Once they are, you give people access to a folder, and another PC connects by typing \\ComputerName\FolderName in the File Explorer address bar or by mapping it as a drive. Nothing needs to be installed, because SMB (Server Message Block) is the file sharing protocol built into Windows.

Share or connect? A checklist for each PC

Most sharing problems come from doing a step on the wrong computer. Decide which PC holds the files (the sharing PC) and which one wants to open them (the connecting PC), then work through the column that applies.

On the sharing PC (has the files) On the connecting PC (wants the files)
Network set to Private On the same network as the sharing PC
Network discovery and file and printer sharing turned on Network discovery on if you want to browse the Network list
Folder shared with Give access to Knows the path, such as \\DESKTOP-PC\Shared
A user account and password the other person can sign in with Signs in with that account when Windows asks

If you are only on the connecting side, for example opening a folder someone else already shared, you can skip ahead to opening the share. Connecting to an SMB share in Windows 10 covers that side in more depth, including NAS drives.

Windows 10 reached end of support on October 14, 2025. In the words of Microsoft’s file sharing over a network page, Microsoft no longer provides free software updates, technical assistance or security fixes for it, and your PC will still work. That matters for SMB, because file sharing is a network-facing feature: keep sharing to networks you trust.

Set the network to Private and allow sharing

Windows treats a Public network (a café or airport) as unsafe and hides your PC there. Your home or office network needs to be Private before sharing works.

  1. If you are on Wi-Fi, select the Wi-Fi icon on the taskbar, select Properties under your network’s name, and under Network profile choose Private. Microsoft’s Public and Private network page describes this for Windows 10 version 1709 and later.
  2. Select Start, then Settings > Network & internet, and on the right side select Sharing options.
  3. Under Private, select Turn on network discovery and Turn on file and printer sharing.
  4. Save the changes if Windows asks.

Network discovery lets PCs see each other in File Explorer’s Network list. File and printer sharing is what lets other devices open your shared folders.

About password protected sharing

Further down the same page, under All Networks, is password protected sharing. Microsoft lists turning it off as a troubleshooting step. Treat that as a last resort for a home network you fully trust: with it off, anyone on the network can open folders shared with Everyone, with no password. The safer setup is to leave it on and have people sign in with an account that exists on the sharing PC.

Give people access to a folder

Microsoft documents two routes in Windows 10. Both open the same sharing window.

  1. In File Explorer, right-click (or press and hold) the folder, then select Give access to > Specific people. Alternatively, select the folder, open the Share tab at the top of File Explorer, and in the Share with section select Specific people.
  2. Choose a user on the network to share with, or select Everyone to give all network users access, then select Add.
  3. Choose the permission level for each person: read only, or read and write if they need to add, change or delete files.
  4. Select Share. Windows shows the network path for the folder.
  5. Write the path down or copy it, then select Done.

The path has the form \\ComputerName\FolderName. For example, a folder called Shared on a PC named DESKTOP-PC becomes \\DESKTOP-PC\Shared. If the computer name is hard to type, the other PC can use the sharing PC’s IP address instead (\\192.168.1.20\Shared); checking your IP address on Windows 10 shows where to find it.

Pick the account people will use

The person connecting signs in as a user of the sharing PC, not with their own PC’s account. A common setup in a small office is to create one standard local account on the sharing PC just for file access and share the folder with that account only. Give read and write access only to people who need to change files: read only is enough for a folder of reference documents or photos.

Check what you’re sharing, and remove access

To list every folder this PC shares, type \\localhost in the File Explorer address bar and press Enter. Microsoft suggests this check because the right-click menu does not tell you at a glance what is shared.

To stop sharing a folder, right-click it and select Give access to > Remove access (older versions of Windows 10 call this Stop sharing). Microsoft notes that Remove access appears on every folder, even ones that were never shared, so its presence does not mean the folder is shared.

Open the share from another PC or a Mac

On the connecting PC, open the share once to test it, then map it if you will use it every day.

  1. Open File Explorer.
  2. Select the address bar, type the path (for example \\DESKTOP-PC\Shared or \\192.168.1.20\Shared) and press Enter.
  3. Enter the user name and password of the account on the sharing PC when asked.
Windows File Explorer with a network share path typed in the address bar and Map network drive highlighted
(1) Type the network path in the address bar, or (2) use Map network drive for quick access. (Illustration)

Give the share a drive letter

  1. In File Explorer, select This PC in the left pane.
  2. On the Computer tab, select Map network drive.
  3. In the Drive list, pick a letter.
  4. In the Folder box, type the path, or select Browse to find it.
  5. Select Reconnect at sign-in if you want the drive back every time you sign in, then select Finish.

On a Windows 11 PC, the command sits under the More menu instead; see mapping a network drive in Windows 11, which also explains the stricter signing rules there. Browsing the Network list rather than typing a path is covered in accessing a shared folder on a network in Windows 10.

Macs can open a Windows share too. Apple’s guide to connecting a Mac to shared computers uses Go > Connect to Server in the Finder; type an address in the form smb://DESKTOP-PC/Shared (Apple lists smb://DNSname/sharename and smb://IPaddress/sharename), select Connect, then enter the same user name and password.

Which SMB version Windows 10 uses, and why old devices fail

Modern Windows connects with SMB 2 or SMB 3 without any setting from you. There is no switch to flip to “enable SMB” for normal sharing between current PCs.

The trouble starts with very old devices: some early NAS drives, printers that scan to a folder, and media players only speak SMB1. Microsoft says SMBv1 has significant security vulnerabilities and strongly encourages you not to use it, and it isn’t installed by default in Windows 11, or in Windows 10 editions other than Home and Pro. Microsoft’s advice is to update the old device (ask the manufacturer for firmware that supports SMB 2.02 or later) or replace it, rather than reinstalling SMB1 on your PC. If a legacy device leaves you no other choice, enabling SMB1 on Windows 11 explains the risks before any steps.

Guest access is the other common wall. According to Microsoft’s guest logons page, starting with Windows 10 version 1709, SMB2 and SMB3 clients no longer allow guest account access to a remote server by default (the page lists which editions this applies to), and Microsoft recommends upgrading or replacing devices that only support guest sign-in. Microsoft also notes, on the same SMBv1 page linked above, that in Windows 11, version 24H2, SMB signing is required by default, which can prevent connections to workgroup computers, guest-authenticated shares or third-party SMB servers that don’t support signing, and it advises against turning signing off. Sharing with a real account and password avoids the guest problem; an old device that cannot sign needs a firmware update or replacement.

Fix it by the message you see

“Network discovery is turned off”

Select the yellow banner at the top of the Network folder, then select Turn on network discovery and file sharing.

“You can’t connect to the file share because it’s not secure”

This message, along with “The specified network name is no longer available”, “Unspecified error 0x80004005”, “System Error 64” and “Error 58”, appears in Microsoft’s list of errors you see when a device needs SMB1. Update or replace the device as described above.

Access is denied, or the password is refused

Use the user name and password of an account on the sharing PC, not your own PC’s account. Check that the account is in the folder’s Give access to list with the permission it needs. If Windows keeps offering an old password, remove the saved credential for that PC in Credential Manager (search for Credential Manager from Start) and connect again.

The sharing PC doesn’t appear under Network

Type the path directly instead of browsing; the Network list is often slower to update than the share itself. If you need to find the sharing PC’s address, seeing all IP addresses on your network in Windows 10 helps. If browsing still fails, Microsoft suggests making sure these services are set to Automatic in the Services app (search for services.msc): Function Discovery Provider Host, Function Discovery Resource Publication, SSDP Discovery and UPnP Device Host.

“The network path was not found”

Check the spelling of the computer and folder names, make sure the sharing PC is on and awake, and confirm both PCs are on the same network with the profile set to Private. A security suite that manages its own firewall may also need file and printer sharing allowed on the private network. Never turn the firewall off to make sharing work.

SMB sharing questions

Can I reach my share from outside the house?

Not safely with SMB on its own. SMB is meant for a local network and should never be opened directly to the internet through your router. To get files while away, use a VPN into your network, or keep those files in OneDrive, which Microsoft suggests for sharing over the internet.

What happened to HomeGroup?

Microsoft removed HomeGroup from Windows 10. Older instructions that mention it no longer apply; use Give access to and SMB sharing as described here.

Where do I find the sharing PC’s name?

The name appears in the network path Windows shows when you share a folder.

If you connect to the same NAS or PC from several computers, a mapped drive with Reconnect at sign-in saves the most time; for a Synology box in particular, mapping a Synology drive on Windows 11 walks through the NAS side.