The Expert Crew

Menu
  • Home
  • Android
  • Apple
  • Linux
  • Windows
  • Reviews
  • How To
  • Gaming
    • Xbox
    • PS
    • Nintendo Switch
  • Web

Binance: Buy BTC & 600+ Crypto Ethereum, USDC, XRP and Altcoins with USD Securely

Join Now & Claim Free Bitcoin
Home
How To
How to Share Ubuntu Public Folder with Windows 11

How to Share Ubuntu Public Folder with Windows 11

November 17, 2021

In this post, we’ll look at how to use Samba to share a user’s public folder on Ubuntu with Windows 11 systems. A Public folder exists in every Ubuntu user’s home directory. The Public folder isn’t shared by default, but you can easily share it with others on your local network.

How to Share Ubuntu Public Folder with Windows 11

Users who are directly connected to your local network will be able to browse and access the Public folder if you share it. You can choose to share it with guests (people who do not have a user account) while sharing it.

Samba must be installed in order to share with Windows systems. Samba is a free and open source implementation of the SMB/CIFS network file sharing protocol, which allows users to share files, printers, and other resources. Follow the steps below to begin sharing the public folder in your Ubuntu user’s directory with Windows.

Related: How to Open Power User Tasks Menu in Windows 11

How to share folders on Ubuntu Linux

You’ll find the Public folder in your home directory when you sign in to your Ubuntu desktop and browse the File Explorer. On the Ubuntu system, each account has one. It is possible to share this folder with other users, including Windows users.

If you’re using an Ubuntu Linux system and want to share the Public folder in your home directory, open File Explorer, then right-click on it and select Local Network Share, as shown below.

How to Share Ubuntu Public Folder with Windows 11

To share a folder with others, check the box “Share this folder” in the folder sharing settings pane.

How to Share Ubuntu Public Folder with Windows 11

When you check the box, a pop-up window will appear, requesting that you install a service to share folders. On Ubuntu, this will install Samba. To continue, click the Install service button.

How to Share Ubuntu Public Folder with Windows 11

On the next windows, click Install to install Samba.

How to Share Ubuntu Public Folder with Windows 11

If you want to share folder creation and deletion rights with other Windows users, check the boxes for “Allow others to create and delete files in this folder” and “Guest access.”

Then, to share the folder, click the Create Share button.

How to Share Ubuntu Public Folder with Windows 11

To add your account to the Samba share group on an Ubuntu system, run the commands below. Substitute your own username for theexpertcrew.

sudo gpasswd sambashare -a theexpertcrew

Next, create a Samba password for your account. Replace theexpertcrew again with your own account name.

sudo smbpasswd -a theexpertcrew

Finally, restart Samba.

sudo systemctl restart smbd.service nmbd.service

Related:  How to Add Default Icons to Desktop in Windows 11

How to enable Windows 11 file sharing

After you’ve shared the folder on Ubuntu, the first step in using Windows to access Ubuntu shares is to enable file sharing and network discovery.

To quickly enable file sharing in Windows 11, go to the Start menu and type “Command Prompt” into the search box, as shown below. Then right-click the Command Prompt apps and choose Run as administrator from the context menu.

Run the commands listed below once the command prompt app has opened.

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

In some cases, you’ll also want to change the network profile in Windows 11 to Private mode. To do so, go to Start > Settings > Network & internet > Ethernet > Private and select it.

Related:  How to Uninstall Programs Using CMD on Windows 11

Turn on Public Folder Sharing in Windows 11

To set up file sharing, follow the steps below.

The majority of Windows 11’s settings can be found in one place. Everything can be done from the System Settings pane, including system configurations, new user creation, and Windows updates.

However, the old Control Panel still allows you to change your account username. To get to Control Panel, go to Start and type Control Panel into the search box, as shown in the image below:

Select Network and Internet from the Control Panel, as shown in the image below.

Select Network and Sharing Center in the next pane, as shown below.

Next, select Change advanced sharing settings as highlighted below.

In the Advanced sharing center, select the Private (current profile) and Turn on file and printer sharing.

 Related: How to Sign Out of All Users in Windows 11

Exit after saving your changes.

Scroll down to All networks on the same Advance sharing options page.

Settings for Public folder sharing, Media streaming, File sharing connections, and Password protected sharing should all be available there. In private networks, Windows should automatically enable file and printer sharing. In some cases, however, this will not be possible.

If your private network’s printers and shared resources aren’t automatically discovered, the File sharing option may be disabled.

Only people with accounts on the local computer or in a domain environment will be able to access shared files and printers if password protected sharing is enabled.

Make your changes, save them, and then exit the program.

Navigate to the Ubuntu Public folder using the server’s hostname or IP address after sharing has been enabled. Fill in the Samba account name and password you created earlier when prompted.

You should now be able to see the Public folder that you shared.

 Related: How to Disable Sound Devices in Windows 11

People also ask

How do I share a folder between Ubuntu and Windows?

Now go to the folder you’d like to share with Ubuntu, right-click it, and choose “Properties.” Click the “Advanced Sharing” button on the “Sharing” tab. To continue, check (select) the “Share this folder” option before clicking the “Permissions” button. It’s now time to configure the permissions.

How do I share files from Ubuntu 20.04 to Windows?

Share Ubuntu folder on SAMBA
  1. Open Ubuntu’s File Manager.
  2. Right-click on the folder that you want to share.
  3. Here we are sharing the Pictures folder of our Ubuntu 20.04 LTS PC.
  4. Select the Properties option.
  5. Click on the Local Network Share TAB.
  6. Select the box given in front of the option “Share this folder“.

How do I share a folder between Linux and Windows?

Click “Properties” after right-clicking the folder you want to share over the network. Click the “Advanced Sharing” button on the “Sharing” tab of the properties window. Enable the “Share this folder” option in the “Advanced Sharing” window that appears, then click the “Permissions” button.

How do I share a folder in Windows?

Share a folder, drive, or printer
  1. Right-click the folder or drive you want to share and select “Share with others.”
  2. Then select Properties…
  3. Share this folder by clicking the Share button.
  4. Type the share’s name (as it appears to other computers), the maximum number of simultaneous users, and any comments that should appear beside it in the appropriate fields.
 Related: How to Install HEVC Codecs on Windows 11
Share
Tweet
Pinterest
Reddit
Tumblr
Vkontakte
Prev Article
Next Article

Related Articles

How to Turn Off AirTag Alerts When Someone Borrows Your Stuff
I know there is an AirTag, iPhone; you don’t need …

How to Turn Off AirTag Alerts When Someone Borrows Your Stuff

How to Create a System Image Backup in Windows 11
Because Windows can crash at any time, it’s a good …

How to Create a System Image Backup in Windows 11

How to Make a Bootable CD/DVD/USB to Install Windows
Do you need installation media to reinstall Windows? Here’s how …

How to Make a Bootable CD/DVD/USB to Install Windows

How to Fix “ No Audio Output Device Is Installed ” in Windows 10
Do you see a volume icon with a red X-shaped …

How to Fix “ No Audio Output Device Is Installed ” in Windows 10

How to Fix a Touchpad Not Working in Linux easily
  Over the years since its inception, Linux has gotten …

How to Fix a Touchpad Not Working in Linux easily

No Responses

  1. Pingback: How to Join Windows 11 Insider Program - The Expert Crew
  2. Pingback: How To Speed Up Windows 11 - The Expert Crew

Win an iPhone 13 Pro Max!

Related Posts

  • How to Add Optional Features in Windows 11
    How to Add Optional Features in Windows 11

Featured Products

  • Hostinger Web Hosting Review
    Hostinger Web Hosting Review
  • HostGator Web Hosting Review
    HostGator Web Hosting Review
  • Bluehost Web Hosting review
    Bluehost Web Hosting review
  • Best Web Hosting Services: The Top Web Hosts of 2022
    Best Web Hosting Services: The Top Web …
  • Binance Review 2022 – Should You Use It?
    Binance Review 2022 – Should You Use …

The Expert Crew

Linux & Windows 10/11 & Android Tips, Tricks, Help, Support, Downloads, Features
Copyright © 2022 The Expert Crew
About us | Contact Us | Disclaimer | Privacy Policy | Terms of Service