How to set up a shared folder on Windows
Key takeaways
- Set your connection to the Private network profile, then turn on Network discovery and File and printer sharing, and only on a network you trust.
- Use Advanced Sharing to choose a share name, remove Everyone, and give a specific account Read or Change permission.
- Check the folder's Security tab as well as the sharing permissions, because both must allow the account's access.
- Open the share from another PC with the path \\ComputerName\ShareName, and if it fails check the path, permissions, and firewall rather than enabling SMBv1.
A shared folder lets other computers on your local network access files stored on one Windows PC. To set one up, enable sharing on a trusted private network, choose a folder, and give specific users permission to open or change its contents. Windows 11 and Windows 10 both support this kind of local file sharing. (support.microsoft.com)
What do you need before setting up a Windows shared folder?
You need a host PC that stores the folder, another computer that will access it, and a trusted network connecting them. You also need an account authorized to use the share. For this setup, use password-protected access rather than an anonymous guest connection. (support.microsoft.com)
Before changing settings, decide which files belong in the shared folder and who should use them. Start with a dedicated folder containing only the material you intend to share, rather than your whole Documents folder. A folder called TeamFiles, for example, makes a clearer starting point than a collection of unrelated personal files.
Windows 10 note: Regular support ended on October 14, 2025. These sharing instructions still apply, but continued security coverage depends on your edition and any applicable extended-support arrangement. (support.microsoft.com)
Prepare your network for Windows file sharing
Windows distinguishes between public and private networks. A private profile allows discovery and file sharing; use it only when you trust the network’s people and devices. Do not change a café, hotel, or other unfamiliar connection to Private just to make sharing work. (support.microsoft.com)
Set the trusted connection to Private
Open Settings > Network & internet and select your active Wi-Fi or Ethernet connection. Open its properties and choose Private under the network profile setting. The exact labels can vary between Windows versions, so check the properties of the connection you are actually using. (support.microsoft.com)
Enable discovery and file sharing
On the host PC, open Control Panel > Network and Internet > Network and Sharing Center > Change advanced sharing settings. Under the Private profile, turn on Network discovery and File and printer sharing, then save your changes. Discovery helps computers appear in the Network view; file and printer sharing enables the sharing function itself. (learn.microsoft.com)
Keep password-protected sharing enabled for this walkthrough. If a connection later reports that guest access is blocked, use an authorized account instead of weakening Windows security settings. Microsoft advises against disabling SMB signing simply to accommodate guest-based access. (learn.microsoft.com)
Create a shared folder and assign access
Use Advanced Sharing when you want to choose the network share name and explicitly control who can connect. This separates the folder’s location on your disk from the name other computers use to reach it. For example, your local folder might be C:\TeamFiles, while its share name is simply TeamFiles. (learn.microsoft.com)
- Create or select the folder in File Explorer.
- Right-click it and select Properties.
- Open Sharing > Advanced Sharing. Approve an administrator prompt if one appears.
- Select Share this folder and enter a clear Share name.
- Select Permissions. Remove Everyone if present, then add the specific account or group that needs access.
- Assign Read for viewing or Change for editing. Save the settings with OK. (learn.microsoft.com)
For a home or small workgroup setup, consider a separate standard local account on the host for sharing. In Windows Settings, open Accounts > Other users, choose Add account, and follow the options to add a user without a Microsoft account. Give it a strong password; sharing files does not require making that user an administrator. (support.microsoft.com)
Write down the share name and the account you authorized. You will use those details from the second computer, so avoid relying on memory or assuming the folder’s local name is necessarily its network name.
Check the folder’s Security permissions
Sharing permissions are only one part of access control. The folder’s Properties > Security tab also needs to allow the selected account the necessary access. Add or edit that account there if needed, while leaving existing system and administrator entries intact. (learn.microsoft.com)
Choose permissions around the actual task:
- Reference material: Start with read-only access for people who only need to consult or copy files.
- Working documents: Allow editing only for people responsible for updating them.
- Administrative access: Reserve broader control for whoever maintains the folder, rather than assigning it to every participant. (learn.microsoft.com)
How do you access a shared folder on the network in Windows 11 or Windows 10?
To access a shared folder on the network in Windows 11 or Windows 10, open File Explorer and enter its network path in the address bar, using the format \ComputerName\ShareName. When Windows requests credentials, enter an account authorized on the host computer. The network path identifies the host and share—not the folder’s local drive location. (learn.microsoft.com)
For example, if the host is named OFFICE-PC and the share is TeamFiles, enter \OFFICE-PC\TeamFiles. For a local account named ShareUser on that host, use OFFICE-PC\ShareUser as the username and supply its password. Replace these examples with your own computer, share, and account names. (learn.microsoft.com)
Test access before moving important work into the folder. Open a sample document first; if editing is intended, try creating and saving a disposable test file. Run the test from the other computer using the intended account, not just while signed in as the host’s administrator.
Map the Windows network share for regular use
Mapping gives the share a drive letter so you do not need to type its address each time. In Windows 11, open File Explorer > This PC, then choose More (…) > Map network drive; you can also right-click This PC. In Windows 10, select This PC > Computer > Map network drive. (support.microsoft.com)
Choose an available letter, enter the network path, and select Reconnect at sign-in if you want Windows to reconnect automatically. Finish the wizard and provide credentials when requested. Mapping is a shortcut to an existing share; it does not grant additional permissions. (support.microsoft.com)
Why can’t you open the shared folder?
A Windows shared folder can fail because the host is unreachable, the share name is incorrect, sharing is blocked, or the account lacks permission. Check those basics before changing advanced security policies. A message about blocked guest access points to an authentication issue, not necessarily a missing folder. (learn.microsoft.com)
Work through these checks in order:
- Recheck the path. Confirm the host and share names, then retry \ComputerName\ShareName. Do not enter a local path such as C:\TeamFiles on the other PC. (learn.microsoft.com)
- Review sharing settings. Confirm network discovery and file and printer sharing are enabled under the Private profile. (learn.microsoft.com)
- Review both permission locations. Check the account under Sharing > Advanced Sharing > Permissions and under Security. Verify that the intended read or editing access is assigned. (learn.microsoft.com)
- Inspect the firewall exception. Open Windows Security > Firewall & network protection > Allow an app through firewall. Check the relevant sharing entry for your trusted private network instead of turning the firewall off. (support.microsoft.com)
- Treat older-device problems separately. Windows 11 does not include SMBv1 by default. Do not enable this deprecated protocol as a routine fix for sharing between modern Windows PCs. (learn.microsoft.com)
If an older NAS or other third-party device requires guest access, check whether it supports named users and SMB signing. Microsoft specifically discourages disabling signing as a workaround; correcting the device’s authentication or compatibility is the better direction. (learn.microsoft.com)
Keep the setup simple and controlled
Start with one dedicated folder, one authorized account, and the minimum access needed. Test reading and writing separately, then map the share only after direct access works. This makes it easier to identify which setting needs attention.
When sharing is no longer needed, right-click the folder and select Give access to > Remove access; on Windows 11, first select Show more options if necessary. Recheck access from the second computer afterward rather than assuming an old shortcut still reflects the current setup. (support.microsoft.com)
Related guides
- Is it safe to delete duplicate files? What to keep
- ZIP vs GZIP: when to use each
Sources
- File sharing over a network in Windows | Microsoft Support
- Share files in Windows | Microsoft Support
- Essential Network Settings and Tasks in Windows | Microsoft Support
- Can't access shared folders from File Explorer - Windows Client | Microsoft Learn
- Control SMB signing behavior | Microsoft Learn
- Share and NTFS Permissions | Microsoft Learn
- Manage User Accounts in Windows | Microsoft Support
- Net use | Microsoft Learn
- Risks of Allowing Apps Through Windows Firewall | Microsoft Support
- SMBv1 Not Installed by Default in Windows Server and Windows | Microsoft Learn