Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Networking

How to Share a Folder or File Over a Network

Anup ThapaBy Anup ThapaDecember 2, 2022
network share folder

Undoubtedly, one of the main benefits of any network is the ability to share resources among the nodes. While the process of sharing files and folders over a network is generally very simple, it can still be intimidating if you’ve never tried it before. This holds even truer if you’re trying to share resources between different platforms (e.g., Windows and macOS).

In some cases, file sharing may not work, even though you’ve seemingly done everything as you’re supposed to. Thus, in this article, we’ll cover the proper steps to share files and folders between different platforms, as well as the troubleshooting steps you can take in case things don’t work out.

Table of Contents

  • How to Network Share Folder?
    • Step 1: Network Discovery/File Sharing Permissions
      • On Windows
      • On macOS
      • On Linux
    • Step 2: Access Shared Files
      • On Windows
      • On macOS
      • On Linux
  • Troubleshooting Network Sharing Problems

How to Network Share Folder?

Sharing a folder over a network involves managing the necessary permissions and then actually sharing the folder. We’ve done this in the first section (Step 1). The second section (Step 2) explains how to access the shared folders.

Step 1: Network Discovery/File Sharing Permissions

You’ll want to start by configuring network discovery and file-sharing permissions on the system where the file or folder you want to share is stored. This section covers how to do this on various platforms such as Windows, Mac, and Linux.

On Windows

On Windows systems, you’ll first want to enable the necessary network discovery and file-sharing settings. Here’s how you can do this:

  1. Press Win + R, paste the following, and hit Enter:
    control /name Microsoft.NetworkAndSharingCenter
  2. Note the current network profile type here and click on Change advanced sharing settings.
    private-network-change-advanced-sharing-settings
  3. Under your current profile, enable the Network Discovery and File Sharing options and save the changes.
    network-discovery-file-sharing-settings
  4. In the All networks section, enable the Turn on password protected sharing option and save the changes.
    password-protected-sharing-windows
  5. Turning on Media streaming is generally not necessary. But in cases where the device doesn’t become accessible on the network, you can always come back and enable this option.
  6. Now, press Win + R, type services.msc, and press Enter.
  7. Ensure the following services are running:
    • Function Discovery Provider Host
    • Function Discovery Resource Publication
    • SSDP Discovery
    • UPnP Device Host
      function-discovery-provider-host-service
  8. If they’re not, double-click the service. Start the service, change the Startup type to Automatic and save the changes.
    function-discovery-provider-host-automatic

At this point, we’ve taken care of the necessary permissions. Now, here’s how you can share a folder over a network:

  1. Right-click the folder and select Properties.
  2. In the Sharing tab, click on Advanced Sharing.
    windows-folder-advanced-sharing
  3. Enable the Share this folder option.
    share-this-folder-windows
  4. (Optional) Click on Permissions and set the access level for the shared folder to Read-only, Change, or Full Control as you prefer.
    folder-sharing-permissions-for-everyone
  5. Press Ok > Ok to apply the changes.
  6. The folder is shared, and the network path should be displayed now. You can also use this path to map a network drive, among other things.

These were the steps to network share a folder. If you’re wondering how to share specific files from a folder, the short answer is that it’s not possible. The recommended workaround in such situations is to organize the files you want to share in one folder and share that folder specifically.

On macOS

Here are the necessary steps to share a folder on macOS:

  1. Click on the Apple menu and select System Preferences > Sharing.
  2. First, toggle on the File Sharing option.
    file-sharing-mac
  3. Note the Mac’s IP here and click on the Options button.
  4. Select the Share files and folders using SMB option.
    share-files-and-folders-using-SMB
  5. Select the Mac account that users will log into when trying to access the shared folder.
  6. Press the Add (+) button under Shared Folders.
  7. Locate and select the folders to share and press Add.

On Linux

Much like Windows and Mac, most Linux distros also allow you to share files using the SMB protocol. We’ve used Ubuntu for reference here, but the steps will be similar on other distros as well. Here’s what you need to do:

  1. Locate the folder you want to share, right-click it and select Properties > Sharing. This tab may also be called Local Network Share.
  2. Enable the Share this folder option and press the Create Share button.
    ubuntu-local-network-share
  3. If prompted, select Install service to install the Windows networks sharing service.
    windows-networks-sharing-service-is-not-installed
  4. After installing the Samba package, Select the Add the permissions automatically option when prompted to finish sharing the folder.

Step 2: Access Shared Files

On Mac and Linux systems, you’ll need the IP Address of the source system to access the shared files. This IP address can be useful for Windows as well, but generally, you can just access the shared files using File Explorer in Windows.

First, use the following commands in the source system’s terminal to get the IP Address:

  • Windows: ipconfig
    ipconfig ipv4 value
  • Mac: netstat -nr | grep default
    netstat-nr-grep-default-command
  • Linux: ip addr
    ip-addr-inet-value

On Windows

There are various ways to access shared files on Windows, but here are the two most popular ones:

  1. First, press Win + R to launch Run.
  2. Type \\<IP>, replace <IP> with the source system’s IP Address and press Enter.
    run-dialog-box-enter-ip-address
  3. Enter the source system’s credentials to login and access the files.
  4. Alternatively, you can also launch File Explorer (Win + E) and access the shared files from the Network tab in the same manner.
    windows-file-explorer-network-tab

On macOS

Here’s how you can access shared files on macOS:

  1. Select Go > Connect to server.
  2. Type smb://<IP>, replace IP with the IP address of the source system and hit Enter.
    connect-to-server-mac
  3. Press Connect, enter the source system’s login credentials, and press Connect again.
  4. Locate and mount the necessary volumes to access the shared folders via the Finder.

On Linux

Here are the steps to access shared files on Ubuntu:

  1. Launch the File Browser, which in this case is Nautilus.
  2. Go to the + Other Locations or similar tab.
    connect-to-server-smb-ubuntu
  3. Double-click the source system under the Networks section. Enter the login credentials to access the shared files.
  4. Alternatively, enter the source system’s IP address in the smb://<ip> field at the bottom.

Troubleshooting Network Sharing Problems

When network sharing doesn’t work, the first step is ensuring both computers are on the same network. Basically, the computers should be connected to the same WiFi network or the same router via Ethernet. Another way to confirm this is by checking the device’s IP address. 

class c ip host id network id

We talked about using tools like ipconfig to find out your IP address earlier. As an example, let’s say your device’s local IPv4 address is 192.168.10.7. Here, the network ID portion (the first 3 decimal numbers) will be the same on the second device as well if it’s on the same network.

For instance, 192.168.10.15 would mean it’s on the same network as the network ID is the same. But something like 192.168.18.15 would mean it’s on a different network, as the network ID has changed.

Next, you should make sure the network discovery and file-sharing permissions and necessary services have been configured as instructed in this article. Finally, keeping your system updated can also be key in cases where the problem stems from driver issues or system bugs.

how-to
Anup Thapa
  • Instagram
  • LinkedIn

Anup Thapa primarily covers Windows systems, networking, and computer hardware at TechNewsToday. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields from coding and hardware installation to writing. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skill set, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can reach out to him at anup@technewstoday.com.

Related Posts

intel wireless ac 9560 not working

Intel Wireless AC 9560 Not Working? Try these Fixes

September 16, 2023
does your ip address change when you move

Does Your IP Address Change When You Move?

July 16, 2023
locate wifi access point

How to Locate a Wi-Fi Access Point

July 6, 2023
lease time dhcp

What is DHCP Lease time? Can You Change It?

July 2, 2023
Failed to obtain IP address 1

5 Ways to Fix “Failed to Obtain IP Address”

June 30, 2023
How to Forget a Network

How to Forget a Network on Windows

June 27, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
motherboard form factors

Motherboard Types: ATX, Micro ATX, and Mini ITX Explained

September 28, 2023
how to download and use rufus

How to Download and Use Rufus

September 28, 2023
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 27, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.