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

What Is Network File Sharing in Windows?

Network file sharing lets computers on the same local network access files stored on another device. Instead of using USB drives or cloud storage, users can open shared folders directly in File Explorer using the SMB file sharing protocol built into Windows.

What You Need Before Setting Up File Sharing

Before starting, confirm the following:

  • Two or more Windows computers on the same local network
  • A Private network profile on the computer sharing the folder
  • Network Discovery and File and Printer Sharing enabled
  • A folder selected for sharing
  • Appropriate user accounts and permissions configured
Note: Windows 10 and Windows 11 both support SMB-based sharing, so computers running different versions can share folders with each other.

How to Enable Network File Sharing in Windows

Before sharing any folder, your computer needs three things configured: a Private network profile, Network Discovery, and File and Printer Sharing.

The steps below apply to both Windows 11 and Windows 10, with minor UI differences noted where relevant.

Set Your Network Profile to Private

Windows restricts device visibility on Public networks by design. Switch your profile to Private so other trusted devices on the same network can find your computer.

On Windows 11:

  1. Open Settings and select Network & internet.
  2. Select Wi-Fi or Ethernet, depending on your connection type.select wifi or ethernet
  3. Click your connected network.
  4. Under Network profile type, select Private network.private network

On Windows 10:

  1. Open Settings and select Network & Internet.
  2. Select Wi-Fi or Ethernet.
  3. Click your connected network.
  4. Under Network profile, select Private.
Note: Only use the Private profile on trusted home or office networks. Keep the Public profile when connecting to unfamiliar networks.

Turn On Network Discovery and File Sharing

Network Discovery lets your computer find other devices on the local network. File and Printer Sharing enables other computers to actually access your shared folders. Both settings are managed in the same place.

On Windows 11 (via Settings):

  1. Open Settings and go to Network & internet > Advanced network settings > Advanced sharing settings.advanced network settings
  2. Under Private networks, turn on Network discovery.
  3. Turn on File and printer sharing.turn on network discovery and file and printer sharing

On Windows 10 (and as an alternative path on Windows 11):

  1. Open Control Panel and go to Network and Internet > Network and Sharing Center.
  2. Click Change advanced sharing settings.
  3. Expand Private networks.
  4. Select Turn on network discovery.
  5. Select Turn on file and printer sharing.
  6. Click Save changes.
Tip: If your computer still does not appear under Network in File Explorer after enabling these settings, check that the relevant Windows services are running. This is covered in the troubleshooting section later in this article.

How to Share a Folder Over a Network in Windows

After enabling network discovery and file sharing, you can choose which folders other computers can access. Windows provides both a basic sharing option and advanced permission settings.

Share a Folder with Specific People

  1. Open File Explorer and locate the folder you want to share.
  2. Right-click the folder and select Properties.
  3. Open the Sharing tab.
  4. Click Share… to open the file-sharing dialog.
  5. Select a user from the dropdown list or enter a username.
  6. Click Add and assign Read or Read/Write permissions.
  7. Click Share to complete the process.

properties - advanced sharing - share this folder - permissions

Alternative: If the Share… option is unavailable, select Advanced Sharing, check Share this folder, and configure user permissions through Permissions.

Configure Advanced Sharing and Permissions

Advanced Sharing gives you more control over who can connect and what they can do. You can also set a custom share name and limit the number of simultaneous connections.

  1. Right-click the folder and select Properties.
  2. Open the Sharing tab and click Advanced Sharing.
  3. Check Share this folder.
  4. Enter a name in the Share name field.
  5. Click Permissions.
  6. Select a user or group and assign Read, Change, or Full Control.
  7. Click Apply, then OK.

Windows applies two permission layers to shared folders. Share permissions control network access, while NTFS permissions control access at the file system level via the Security tab. When both are set, the more restrictive permission takes effect. For example, a Read-only NTFS permission overrides Full Control granted through share permissions.

Set Up Password-Protected Sharing

Password-protected sharing requires users to sign in with an account on the host computer before accessing shared folders. This prevents unauthorized users on the same network from connecting.

  1. Open Control Panel and go to Network and Internet > Network and Sharing Center.
  2. Click Change advanced sharing settings.
  3. Expand All networks.
  4. Under Password protected sharing, select Turn on password protected sharing.
  5. Click Save changes.

When another computer connects to the shared folder, Windows prompts for the username and password of an account on the host. Make sure the account used has permission to access that folder.

Note: Keep password-protected sharing enabled on any network shared by multiple users. Disabling it removes the authentication requirement entirely.

How to Access Shared Folders from Another Computer

Once a folder is shared, other computers on the same network can connect to it through File Explorer.

Windows supports three access methods: browsing the network, entering a path directly, and mapping the folder as a drive.

Access a Shared Folder Using File Explorer

  1. Open File Explorer on the computer that needs access.
  2. Select Network from the left navigation pane.
  3. Locate the host computer and double-click its name.
  4. Double-click the shared folder you want to open.
  5. Enter the username and password of an authorized account on the host computer if prompted.

If the host computer does not appear under Network, use its IP address instead.

Connect to a Shared Folder Using an IP Address

This method connects directly to the host without relying on network browsing. First, find the host computer’s IP address:

  1. On the host computer, press Win + R, type cmd, and press Enter.
  2. Run ipconfig and note the IPv4 Address of the active network adapter.

Then, on the other computer:

  1. Open File Explorer and click the address bar.
  2. Type the path in this format: \\192.168.1.100\SharedFolder
  3. Replace the IP address and folder name with the actual values.
  4. Press Enter and enter credentials if prompted.
Tip: If the host computer’s IP address changes often, use its computer name instead (\\ComputerName\SharedFolder), or set a DHCP reservation on your router to keep the IP fixed.

Map a Network Drive in Windows

Mapping a shared folder assigns it a drive letter so it appears alongside local drives in File Explorer, useful for folders you access regularly.

On Windows 11:

  1. Open File Explorer and click the three-dot menu at the top.
  2. Select Map network drive.
  3. Choose a drive letter from the dropdown.
  4. Enter the shared folder path, such as \\PC-A\SharedFolder.
  5. Check Reconnect at sign-in to restore the connection automatically on startup.
  6. Check Connect using different credentials if the folder requires a different account.
  7. Click Finish and enter credentials if prompted.

On Windows 10:

Follow the same steps, but access Map network drive from the Computer tab in the File Explorer ribbon.

After mapping, the shared folder appears under This PC with the assigned drive letter.

How to Fix Network File Sharing Not Working in Windows

Network file sharing can fail even when both computers are on the same network.

The most common causes are incorrect network profiles, disabled sharing services, permission conflicts, firewall rules, and SMB file sharing compatibility issues.

Network Computers Are Not Showing Up

Network Discovery is disabled or the required discovery services are not running.

  1. Open Settings > Network & internet and confirm the network profile is set to Private.
  2. Open Control Panel > Network and Internet > Network and Sharing Center.
  3. Click Change advanced sharing settings.
  4. Under Private networks, enable Network discovery and File and printer sharing.
  5. Press Win + R, type services.msc, and press Enter.
  6. Locate Function Discovery Provider Host and Function Discovery Resource Publication. If either is not running, right-click it and select Start.

If the computers are still missing, try accessing the shared folder directly by typing its UNC path in the File Explorer address bar.

Windows Cannot Access the Shared Folder

The network path is incorrect, the host computer is offline, or connectivity has been interrupted.

  1. Confirm both computers are on the same local network and that the host is powered on.
  2. Verify the shared folder name and network path.
  3. Open Command Prompt and run ping 192.168.1.100, replacing the address with the host’s IP.
  4. Try connecting directly using \\192.168.1.100\SharedFolder.

Access Is Denied or Network Credentials Are Required

The connecting user lacks permission, or saved credentials on the connecting computer are outdated.

  1. On the host, right-click the shared folder and select Properties.
  2. Check share permissions under the Sharing tab and NTFS permissions under the Security tab.
  3. On the connecting computer, open Control Panel > Credential Manager > Windows Credentials and remove any outdated credentials for the host.
  4. Reconnect and enter the correct username and password. If the host uses a local account, use the format ComputerName\Username.

Check Windows Firewall and Network Sharing Services

Windows Firewall is blocking incoming connections, or a required sharing service has stopped.

  1. Open Windows Security > Firewall & network protection > Allow an app through firewall.
  2. Find File and Printer Sharing and make sure it is enabled for Private networks.

Also open services.msc and confirm these are running: Server, Workstation, Function Discovery Provider Host, Function Discovery Resource Publication. Right-click any stopped service and select Start.

Resolve SMB Compatibility and Authentication Issues

The two computers are using incompatible SMB versions or authentication settings.

  1. Confirm both computers support SMB 2.0 or later. Windows 10 and 11 both include SMB 2.x and 3.x by default.
  2. Do not enable SMB 1.0 to fix connection problems. Windows 11 excludes it by default because of known security vulnerabilities, including its role in the WannaCry ransomware outbreak. For guidance on protecting your data from ransomware, see how to protect backups from ransomware.
  3. Check whether the connecting device relies on guest access—Windows 10 and 11 block insecure guest authentication by default.
  4. If an older device only supports SMB 1.0, check whether a firmware update is available before changing any Windows security settings.

Windows Network File Sharing: Security Tips and Best Practices

Incorrect sharing configurations can expose sensitive data to anyone on the same network. These practices help keep shared folders accessible to the right people while reducing unnecessary risk.

Use Specific User Accounts and Restrict Permissions

Assign access to specific users or groups rather than granting access to Everyone. Use Read permissions for users who only need to view files, and assign Change or Full Control only when necessary.

Review both share permissions and NTFS permissions periodically to prevent unauthorized users from modifying or deleting shared files.

Keep Password-Protected Sharing Enabled

Password-protected sharing requires valid credentials before anyone can access a shared folder. This prevents other devices on the network from connecting without authorization.

On shared office networks, avoid using a single set of credentials across multiple users. Individual accounts with strong passwords give you better control over who can access what.

Avoid Enabling SMB 1.0 Unless Absolutely Necessary

SMB 1.0 is an outdated protocol with well-documented security vulnerabilities. Its role in the 2017 WannaCry ransomware outbreak demonstrated the risks of keeping legacy protocols active.

Windows 11 does not enable SMB 1.0 by default. If an older NAS or file server in your environment still depends on it, check whether a firmware update is available rather than re-enabling SMB 1.0 on Windows.

Stop Sharing Folders When They Are No Longer Needed

Unused shared folders are unnecessary exposure points. Review your shared resources periodically and remove access when a folder is no longer in use.

To stop sharing a folder:

  1. Right-click the folder and select Properties.
  2. Open the Sharing tab and click Advanced Sharing.
  3. Uncheck Share this folder.
  4. Click Apply, then OK.

To review all active shared folders on a computer, open Computer Management > System Tools > Shared Folders > Shares.

FAQ

Q1: How do I share files between two computers on the same network?

Enable Network Discovery and File and Printer Sharing on both computers, share a folder on one, then access it from the other via Network in File Explorer or by its UNC path. See our guide on how to share files between computers on the same network.

 

Q2: Do both computers need to be on the same Wi-Fi network?

Yes, both computers should be on the same local network. Sharing across different networks requires a VPN or additional router configuration.

 

Q3: Can I share files between Windows 10 and Windows 11?

Yes. Both versions use SMB 2.0 and 3.0 by default, so they are fully compatible with each other.

 

Q4: How do I find the network path of a shared folder?

Right-click the folder, select Properties, and open the Sharing tab. The path is listed in \\ComputerName\ShareName format.

 

Q5: Can I share files between computers without a password?

Yes. Go to Control Panel > Network and Sharing Center > Change advanced sharing settings, expand All networks, and select Turn off password protected sharing. Only do this on small, trusted private networks.

Conclusion

Windows network file sharing works well for small networks once the right settings are in place. Set the network profile to Private, enable Network Discovery and File and Printer Sharing, share the folder with the right permissions, and keep password-protected sharing on.

For teams that need more than Windows built-in sharing offers, i2Share provides centralized file management, cross-device sync, granular permission controls, and ransomware recovery, all from a single platform. Learn more at Info2soft.

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' }}